1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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$
PORTNAME= ndisc6
PORTVERSION= 1.0.3
PORTREVISION= 1
PORTVERSION= 1.0.4
CATEGORIES= net ipv6
MASTER_SITES= http://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
USES= tar:bzip2 perl5
USE_GCC= any
USES= compiler:c11 perl5 tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-suid-install --localstatedir="${PREFIX}/var"

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1542928199
SHA256 (ndisc6-1.0.3.tar.bz2) = 0f41d6caf5f2edc1a12924956ae8b1d372e3b426bd7b11eed7d38bc974eec821
SIZE (ndisc6-1.0.3.tar.bz2) = 260294
TIMESTAMP = 1547299650
SHA256 (ndisc6-1.0.4.tar.bz2) = abb1da4a98d94e5abe1dd7b1c975de540306b0581cbbd36aff035118b2f25c1f
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
@@ -5713,7 +5713,7 @@ fi
@@ -5900,7 +5900,7 @@ fi
if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then
case $host_os in
@ -9,7 +9,7 @@
esac
fi
fi
@@ -5759,7 +5759,7 @@ fi
@@ -5946,7 +5946,7 @@ fi
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
if test -n "$GCC"; then
case $host_os in
@ -18,7 +18,7 @@
esac
fi
fi
@@ -6597,7 +6597,7 @@ fi
@@ -6784,7 +6784,7 @@ fi
if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then
case $host_os in
@ -27,7 +27,7 @@
esac
fi
fi
@@ -6643,7 +6643,7 @@ fi
@@ -6830,7 +6830,7 @@ fi
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
if test -n "$GCC"; then
case $host_os in

View File

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

View File

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

View File

@ -1,6 +1,6 @@
--- rdnssd/rdnssd.h.orig 2011-10-17 15:35:11 UTC
+++ rdnssd/rdnssd.h
@@ -32,24 +32,6 @@ extern const rdnss_src_t rdnss_netlink,
--- rdnss/rdnssd.h.orig 2016-12-07 18:11:55 UTC
+++ rdnss/rdnssd.h
@@ -32,24 +32,6 @@ extern const rdnss_src_t rdnss_netlink, rdnss_icmp;
#define ND_OPT_RDNSS 25
#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
@@ -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"),
gettext ((v & ND_RA_FLAG_OTHER) ? N_ ("Yes") : N_("No")));
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_GB/LC_MESSAGES/ndisc6.mo
%%NLS%%share/locale/fr/LC_MESSAGES/ndisc6.mo
%%NLS%%share/locale/sv/LC_MESSAGES/ndisc6.mo
@owner nobody
@dir var/run/rdnssd