summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2016-07-21 11:45:47 +0200
committerJason A. Donenfeld <zx2c4@gentoo.org>2016-07-21 11:46:04 +0200
commit6104bc0a791c9c9cf30fd716e0b56d69629e557e (patch)
tree925c722b3380117a0ed217440bee5bcea1cc7952 /net-misc/wireguard
parentmedia-video/vlc: Removed old. (diff)
downloadgentoo-6104bc0a791c9c9cf30fd716e0b56d69629e557e.tar.gz
gentoo-6104bc0a791c9c9cf30fd716e0b56d69629e557e.tar.bz2
gentoo-6104bc0a791c9c9cf30fd716e0b56d69629e557e.zip
net-misc/wireguard: version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-misc/wireguard')
-rw-r--r--net-misc/wireguard/Manifest2
-rw-r--r--net-misc/wireguard/wireguard-0.0.20160721.ebuild (renamed from net-misc/wireguard/wireguard-0.0.20160711.ebuild)5
-rw-r--r--net-misc/wireguard/wireguard-9999.ebuild5
3 files changed, 7 insertions, 5 deletions
diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index d9809bd8bb8f..1ae6f352a9ec 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20160711.tar.xz 105808 SHA256 4ab876642236abcac416f7b75cf5e9e28b8581d5b7741d36a437af08c42d8081 SHA512 7405ab5d6fd176a72813d57cd9d5fc3ff5043ee9d476d86071c287e207ed784a6991457417cc05c930e966da109662c3ee2d6c035c68488c7f623a4f7f8514ad WHIRLPOOL 3a3c7b6a80b09f5d933bbdd9a61c96d56a81927971361628a3f5541b8b3dedf45e4c5cf07559bb0d1dc65fc329b812ed57b74a88a8d37443822c567418b6a0ed
+DIST WireGuard-experimental-0.0.20160721.tar.xz 109004 SHA256 af4fc72a8dab1a5f966cc2a2be1f0d329932b32df64c1a5dc226f5c2e31ffa25 SHA512 c45d727d58c5d3ba45215aab13ea4fa44e356eaa5dee113634cd9362e57b70331c3758ddccd97af40008d0e54089b51d5bbd961c303313ff560aa55f093d2ec5 WHIRLPOOL db95e24d2b79a0c63af6d065126cbfcaef93faf466f7c63d605dfb1a57f168589c0bba43a0ffaee1536972be760c946efd431f2c1418f5da7e51d0a1e829b4d7
diff --git a/net-misc/wireguard/wireguard-0.0.20160711.ebuild b/net-misc/wireguard/wireguard-0.0.20160721.ebuild
index ab901cd4639f..ecbf8d17d386 100644
--- a/net-misc/wireguard/wireguard-0.0.20160711.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20160721.ebuild
@@ -28,8 +28,9 @@ RDEPEND="${DEPEND}"
MODULE_NAMES="wireguard(net:src)"
BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
-CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA"
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA ~IP6_NF_IPTABLES"
WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
+WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."
pkg_setup() {
linux-mod_pkg_setup
@@ -43,7 +44,7 @@ src_prepare() {
src_compile() {
linux-mod_src_compile
- emake -C src/tools
+ emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
}
src_install() {
diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index ab901cd4639f..ecbf8d17d386 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -28,8 +28,9 @@ RDEPEND="${DEPEND}"
MODULE_NAMES="wireguard(net:src)"
BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
-CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA"
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA ~IP6_NF_IPTABLES"
WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
+WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."
pkg_setup() {
linux-mod_pkg_setup
@@ -43,7 +44,7 @@ src_prepare() {
src_compile() {
linux-mod_src_compile
- emake -C src/tools
+ emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
}
src_install() {