summaryrefslogtreecommitdiff
path: root/net/ndisc6
diff options
context:
space:
mode:
Diffstat (limited to 'net/ndisc6')
-rw-r--r--net/ndisc6/Makefile18
-rw-r--r--net/ndisc6/distinfo6
-rw-r--r--net/ndisc6/files/patch-src_ndisc.c (renamed from net/ndisc6/files/patch-src-ndisc.c)13
3 files changed, 20 insertions, 17 deletions
diff --git a/net/ndisc6/Makefile b/net/ndisc6/Makefile
index 4e3aacd07893..c6dc7f1f3b88 100644
--- a/net/ndisc6/Makefile
+++ b/net/ndisc6/Makefile
@@ -1,11 +1,9 @@
PORTNAME= ndisc6
-PORTVERSION= 1.0.7
-PORTREVISION= 1
+DISTVERSION= 1.0.8
CATEGORIES= net
-MASTER_SITES= http://www.remlab.net/files/ndisc6/ \
- http://people.via.ecp.fr/~rem/www.remlab.net/files/ndisc6/
+MASTER_SITES= http://www.remlab.net/files/ndisc6/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= takefu@airport.fm
COMMENT= IPv6 network diagnostic tools
WWW= https://www.remlab.net/ndisc6/
@@ -15,25 +13,21 @@ USES= compiler:c11 localbase perl5 tar:bzip2
USE_RC_SUBR= rdnssd
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --disable-suid-install \
--localstatedir="${PREFIX}/var"
CONFIGURE_ENV= PERL=${LOCALBASE}/bin/perl
MAKE_ENV= CHOWNPROG=:
+PORTDOCS= AUTHORS NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
-NLS_USES= gettext
+NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
NLS_LDFLAGS= -lintl
-PORTDOCS= AUTHORS NEWS README
-
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${PORTDOCS:M*:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/net/ndisc6/distinfo b/net/ndisc6/distinfo
index d6cfee417fa5..a652f106a0fb 100644
--- a/net/ndisc6/distinfo
+++ b/net/ndisc6/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679850838
-SHA256 (ndisc6-1.0.7.tar.bz2) = edc431d70510d7321a5a39d243de0d0f63846dc9145b3b549c7348cc2bc96609
-SIZE (ndisc6-1.0.7.tar.bz2) = 262144
+TIMESTAMP = 1755061334
+SHA256 (ndisc6-1.0.8.tar.bz2) = 1f2fb2dc1172770aa5a09d39738a44d8b753cc5e2e25e306ca78682f9fea0b4f
+SIZE (ndisc6-1.0.8.tar.bz2) = 262355
diff --git a/net/ndisc6/files/patch-src-ndisc.c b/net/ndisc6/files/patch-src_ndisc.c
index 08d52dc50c91..053a8e8380de 100644
--- a/net/ndisc6/files/patch-src-ndisc.c
+++ b/net/ndisc6/files/patch-src_ndisc.c
@@ -1,6 +1,15 @@
---- src/ndisc.c.orig 2016-12-07 16:43:04 UTC
+--- src/ndisc.c.orig 2023-11-10 15:28:07 UTC
+++ src/ndisc.c
-@@ -532,7 +532,7 @@ parseadv (const uint8_t *buf, size_t len, const struct
+@@ -451,7 +451,7 @@ parsednssl (const uint8_t *opt)
+ parsednssl (const uint8_t *opt)
+ {
+ const uint8_t *base;
+- uint8_t optlen = opt[1];
++ uint16_t optlen = opt[1];
+ if (optlen < 2)
+ return -1;
+
+@@ -559,7 +559,7 @@ parseadv (const uint8_t *buf, size_t len, const struct
printf (_("Stateful other conf. : %3s\n"),
gettext ((v & ND_RA_FLAG_OTHER) ? N_ ("Yes") : N_("No")));
printf (_("Mobile home agent : %3s\n"),