svn commit: r430966 - in head/net/radvd: . files
Babak Farrokhi
farrokhi at FreeBSD.org
Mon Jan 9 14:50:54 UTC 2017
Author: farrokhi
Date: Mon Jan 9 14:50:52 2017
New Revision: 430966
URL: https://svnweb.freebsd.org/changeset/ports/430966
Log:
Update net/radvd to 2.15
Reviewed by: bapt
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D9091
Modified:
head/net/radvd/Makefile
head/net/radvd/distinfo
head/net/radvd/files/patch-device-bsd44.c
head/net/radvd/pkg-plist
Modified: head/net/radvd/Makefile
==============================================================================
--- head/net/radvd/Makefile Mon Jan 9 14:50:23 2017 (r430965)
+++ head/net/radvd/Makefile Mon Jan 9 14:50:52 2017 (r430966)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= radvd
-PORTVERSION= 1.15
+PORTVERSION= 2.15
CATEGORIES= net ipv6
MASTER_SITES= http://www.litech.org/radvd/dist/
@@ -16,10 +16,10 @@ CONFIGURE_ARGS= --program-transform-name
USES= gmake pkgconfig
USE_RC_SUBR= radvd
-PORTDOCS= CHANGES-1 COPYRIGHT INTRO.html README TODO
+PORTDOCS= CHANGES COPYRIGHT INTRO.html README TODO
post-install:
- ${INSTALL_DATA} ${WRKSRC}/radvd.conf.example ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/radvd.conf.example ${STAGEDIR}${PREFIX}/etc/radvd.conf.sample
${INSTALL} -d ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S.^.${WRKSRC}/.} ${STAGEDIR}${DOCSDIR}
Modified: head/net/radvd/distinfo
==============================================================================
--- head/net/radvd/distinfo Mon Jan 9 14:50:23 2017 (r430965)
+++ head/net/radvd/distinfo Mon Jan 9 14:50:52 2017 (r430966)
@@ -1,2 +1,3 @@
-SHA256 (radvd-1.15.tar.gz) = ba2e16bf0b2ac0030aacb0927304603f7ebbd317fdf30a24ee6f9ba06428391d
-SIZE (radvd-1.15.tar.gz) = 185528
+TIMESTAMP = 1483864860
+SHA256 (radvd-2.15.tar.gz) = 83dd770595e6182757fd652cfc46ee462b73d8d34ba0848a1d481c4d51143607
+SIZE (radvd-2.15.tar.gz) = 214256
Modified: head/net/radvd/files/patch-device-bsd44.c
==============================================================================
--- head/net/radvd/files/patch-device-bsd44.c Mon Jan 9 14:50:23 2017 (r430965)
+++ head/net/radvd/files/patch-device-bsd44.c Mon Jan 9 14:50:52 2017 (r430966)
@@ -1,13 +1,16 @@
---- device-bsd44.c.orig 2014-07-21 07:21:42 UTC
+
+$FreeBSD$
+
+--- device-bsd44.c.orig 2015-11-19 13:58:52 UTC
+++ device-bsd44.c
-@@ -171,6 +171,24 @@ int setup_linklocal_addr(struct Interfac
+@@ -116,6 +116,24 @@ int update_device_info(int sock, struct
- int setup_allrouters_membership(struct Interface *iface)
+ int setup_allrouters_membership(int sock, struct Interface *iface)
{
+ struct ipv6_mreq mreq;
+
+ memset(&mreq, 0, sizeof(mreq));
-+ mreq.ipv6mr_interface = iface->if_index;
++ mreq.ipv6mr_interface = iface->props.if_index;
+
+ /* all-routers multicast address */
+ if (inet_pton(AF_INET6, "ff02::2",
@@ -18,7 +21,7 @@
+
+ if (setsockopt(sock, IPPROTO_IPV6, IPV6_JOIN_GROUP,
+ &mreq, sizeof(mreq)) < 0) {
-+ flog(LOG_ERR, "can't join ipv6-allrouters on %s", iface->Name);
++ flog(LOG_ERR, "can't join ipv6-allrouters on %s", iface->props.name);
+ return (-1);
+ }
+
Modified: head/net/radvd/pkg-plist
==============================================================================
--- head/net/radvd/pkg-plist Mon Jan 9 14:50:23 2017 (r430965)
+++ head/net/radvd/pkg-plist Mon Jan 9 14:50:52 2017 (r430966)
@@ -1,4 +1,4 @@
-etc/radvd.conf.example
+ at sample etc/radvd.conf.sample
sbin/radvd
sbin/radvdump
man/man5/radvd.conf.5.gz
More information about the svn-ports-all
mailing list