net/ndisc6: Update to 1.0.4

ndisc6 1.0.4 now requires a C11-capable compiler and no longer needs
the 'variable length array in structure' GCC extension.  As such
we can build it with Clang now.  This also removes the GCC run
dependency which was the initial request in the PR [1].

Changes:	http://git.remlab.net/gitweb/?p=ndisc6.git;a=blob_plain;f=NEWS;hb=81bdcb51b576a394ba01f5a8022e5b9354e431a6
PR:		233187
Reported by:	hashiz@meridiani.jp [1]
Submitted by:	tobik
Approved by:	m.tsatsenko@gmail.com (maintainer)
MFH:		2019Q1 (bug fixes and fewer run dependencies)
This commit is contained in:
Tobias Kortkamp 2019-01-20 21:43:57 +00:00
parent 4450817ac9
commit f2573c3d52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490814
8 changed files with 20 additions and 21 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= ndisc6 PORTNAME= ndisc6
PORTVERSION= 1.0.3 PORTVERSION= 1.0.4
PORTREVISION= 1
CATEGORIES= net ipv6 CATEGORIES= net ipv6
MASTER_SITES= http://www.remlab.net/files/ndisc6/ \ MASTER_SITES= http://www.remlab.net/files/ndisc6/ \
http://people.via.ecp.fr/~rem/www.remlab.net/files/ndisc6/ http://people.via.ecp.fr/~rem/www.remlab.net/files/ndisc6/
@ -13,8 +12,7 @@ COMMENT= IPv6 network diagnostic tools
LICENSE= GPLv2 LICENSE= GPLv2
USES= tar:bzip2 perl5 USES= compiler:c11 perl5 tar:bzip2
USE_GCC= any
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-suid-install --localstatedir="${PREFIX}/var" CONFIGURE_ARGS= --disable-suid-install --localstatedir="${PREFIX}/var"

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1542928199 TIMESTAMP = 1547299650
SHA256 (ndisc6-1.0.3.tar.bz2) = 0f41d6caf5f2edc1a12924956ae8b1d372e3b426bd7b11eed7d38bc974eec821 SHA256 (ndisc6-1.0.4.tar.bz2) = abb1da4a98d94e5abe1dd7b1c975de540306b0581cbbd36aff035118b2f25c1f
SIZE (ndisc6-1.0.3.tar.bz2) = 260294 SIZE (ndisc6-1.0.4.tar.bz2) = 264071

View file

@ -1,6 +1,6 @@
--- configure.orig 2014-12-14 10:09:45 UTC --- configure.orig 2019-01-06 14:36:38 UTC
+++ configure +++ configure
@@ -5713,7 +5713,7 @@ fi @@ -5900,7 +5900,7 @@ fi
if test "X$additional_includedir" = "X/usr/local/include"; then if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in
@ -9,7 +9,7 @@
esac esac
fi fi
fi fi
@@ -5759,7 +5759,7 @@ fi @@ -5946,7 +5946,7 @@ fi
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in
@ -18,7 +18,7 @@
esac esac
fi fi
fi fi
@@ -6597,7 +6597,7 @@ fi @@ -6784,7 +6784,7 @@ fi
if test "X$additional_includedir" = "X/usr/local/include"; then if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in
@ -27,7 +27,7 @@
esac esac
fi fi
fi fi
@@ -6643,7 +6643,7 @@ fi @@ -6830,7 +6830,7 @@ fi
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in

View file

@ -1,5 +1,5 @@
--- rdnssd/merge-hook.in.orig 2014-12-14 10:13:57 UTC --- rdnss/merge-hook.in.orig 2014-12-14 10:13:57 UTC
+++ rdnssd/merge-hook.in +++ rdnss/merge-hook.in
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
set -e set -e

View file

@ -1,5 +1,5 @@
--- rdnssd/rdnssd.c.orig 2014-12-14 10:39:28 UTC --- rdnss/rdnssd.c.orig 2014-12-14 10:39:28 UTC
+++ rdnssd/rdnssd.c +++ rdnss/rdnssd.c
@@ -28,6 +28,7 @@ @@ -28,6 +28,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <locale.h> #include <locale.h>

View file

@ -1,6 +1,6 @@
--- rdnssd/rdnssd.h.orig 2011-10-17 15:35:11 UTC --- rdnss/rdnssd.h.orig 2016-12-07 18:11:55 UTC
+++ rdnssd/rdnssd.h +++ rdnss/rdnssd.h
@@ -32,24 +32,6 @@ extern const rdnss_src_t rdnss_netlink, @@ -32,24 +32,6 @@ extern const rdnss_src_t rdnss_netlink, rdnss_icmp;
#define ND_OPT_RDNSS 25 #define ND_OPT_RDNSS 25
#define ND_OPT_DNSSL 31 #define ND_OPT_DNSSL 31

View file

@ -1,6 +1,6 @@
--- src/ndisc.c.orig 2014-12-14 10:39:28 UTC --- src/ndisc.c.orig 2016-12-07 16:43:04 UTC
+++ src/ndisc.c +++ src/ndisc.c
@@ -532,7 +532,7 @@ parseadv (const uint8_t *buf, size_t len @@ -532,7 +532,7 @@ parseadv (const uint8_t *buf, size_t len, const struct
printf (_("Stateful other conf. : %3s\n"), printf (_("Stateful other conf. : %3s\n"),
gettext ((v & ND_RA_FLAG_OTHER) ? N_ ("Yes") : N_("No"))); gettext ((v & ND_RA_FLAG_OTHER) ? N_ ("Yes") : N_("No")));
printf (_("Mobile home agent : %3s\n"), printf (_("Mobile home agent : %3s\n"),

View file

@ -26,5 +26,6 @@ sbin/tracert6
%%NLS%%share/locale/en/LC_MESSAGES/ndisc6.mo %%NLS%%share/locale/en/LC_MESSAGES/ndisc6.mo
%%NLS%%share/locale/en_GB/LC_MESSAGES/ndisc6.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/ndisc6.mo
%%NLS%%share/locale/fr/LC_MESSAGES/ndisc6.mo %%NLS%%share/locale/fr/LC_MESSAGES/ndisc6.mo
%%NLS%%share/locale/sv/LC_MESSAGES/ndisc6.mo
@owner nobody @owner nobody
@dir var/run/rdnssd @dir var/run/rdnssd