aboutsummaryrefslogtreecommitdiffstats
path: root/net/radvd
diff options
context:
space:
mode:
authorfarrokhi <farrokhi@FreeBSD.org>2017-07-04 14:08:18 +0800
committerfarrokhi <farrokhi@FreeBSD.org>2017-07-04 14:08:18 +0800
commit753cf5e924c819b590fcd002c8b6b1fa8083fc66 (patch)
treed6bea9cb4d72482985625ae5651bc1eeffa60ed0 /net/radvd
parent9c11312e2b3b061c69921da22ff901f2545a2389 (diff)
downloadfreebsd-ports-gnome-753cf5e924c819b590fcd002c8b6b1fa8083fc66.tar.gz
freebsd-ports-gnome-753cf5e924c819b590fcd002c8b6b1fa8083fc66.tar.zst
freebsd-ports-gnome-753cf5e924c819b590fcd002c8b6b1fa8083fc66.zip
Update net/radvd to 2.17
Diffstat (limited to 'net/radvd')
-rw-r--r--net/radvd/Makefile2
-rw-r--r--net/radvd/distinfo6
-rw-r--r--net/radvd/files/patch-device-bsd44.c19
3 files changed, 16 insertions, 11 deletions
diff --git a/net/radvd/Makefile b/net/radvd/Makefile
index 23fa18cd4e68..2b8b077f108c 100644
--- a/net/radvd/Makefile
+++ b/net/radvd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= radvd
-PORTVERSION= 2.16
+PORTVERSION= 2.17
CATEGORIES= net ipv6
MASTER_SITES= http://www.litech.org/radvd/dist/
diff --git a/net/radvd/distinfo b/net/radvd/distinfo
index 04749a8382e1..f05a778a4800 100644
--- a/net/radvd/distinfo
+++ b/net/radvd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1489679486
-SHA256 (radvd-2.16.tar.gz) = fe2d81b00120215b244749bdbb234579a059e71cc6d54bcdc56c68ae8f0c2e35
-SIZE (radvd-2.16.tar.gz) = 213901
+TIMESTAMP = 1499147909
+SHA256 (radvd-2.17.tar.gz) = 53757e7f2164899e1145482f1ae91829600a6e2f6fec29cfb3b350a3bb45bd5d
+SIZE (radvd-2.17.tar.gz) = 214937
diff --git a/net/radvd/files/patch-device-bsd44.c b/net/radvd/files/patch-device-bsd44.c
index f0db30ac2512..79c0c84c1cc5 100644
--- a/net/radvd/files/patch-device-bsd44.c
+++ b/net/radvd/files/patch-device-bsd44.c
@@ -1,9 +1,12 @@
---- device-bsd44.c.orig 2015-11-19 13:58:52 UTC
+--- device-bsd44.c.orig 2017-06-29 04:32:29 UTC
+++ device-bsd44.c
-@@ -116,6 +116,24 @@ int update_device_info(int sock, struct
+@@ -126,7 +126,28 @@ ret:
+ return -1;
+ }
- int setup_allrouters_membership(int sock, struct Interface *iface)
- {
+-int setup_allrouters_membership(int sock, struct Interface *iface) { return 0; }
++int setup_allrouters_membership(int sock, struct Interface *iface)
++{
+ struct ipv6_mreq mreq;
+
+ memset(&mreq, 0, sizeof(mreq));
@@ -15,13 +18,15 @@
+ flog(LOG_ERR, "inet_pton failed");
+ return (-1);
+ }
-+
++
+ if (setsockopt(sock, IPPROTO_IPV6, IPV6_JOIN_GROUP,
+ &mreq, sizeof(mreq)) < 0) {
+ flog(LOG_ERR, "can't join ipv6-allrouters on %s", iface->props.name);
+ return (-1);
+ }
+
- return 0;
- }
++ return 0;
++}
+ int set_interface_linkmtu(const char *iface, uint32_t mtu)
+ {