diff options
| author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-01-20 21:43:57 +0000 |
|---|---|---|
| committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-01-20 21:43:57 +0000 |
| commit | f2573c3d521f189ec16fde21938aa0da39eb9c3c (patch) | |
| tree | d9a49636813138c4ac608a95c09ab0f38a747a45 /net/ndisc6/files/patch-rdnss_merge-hook.in | |
| parent | Update MASTER_SITES and WWW (diff) | |
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)
Notes
Notes:
svn path=/head/; revision=490814
Diffstat (limited to 'net/ndisc6/files/patch-rdnss_merge-hook.in')
| -rw-r--r-- | net/ndisc6/files/patch-rdnss_merge-hook.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/ndisc6/files/patch-rdnss_merge-hook.in b/net/ndisc6/files/patch-rdnss_merge-hook.in new file mode 100644 index 000000000000..03c296e38be7 --- /dev/null +++ b/net/ndisc6/files/patch-rdnss_merge-hook.in @@ -0,0 +1,28 @@ +--- rdnss/merge-hook.in.orig 2014-12-14 10:13:57 UTC ++++ rdnss/merge-hook.in +@@ -19,7 +19,7 @@ + + set -e + +-PATH=/sbin:/bin ++PATH=/sbin:/bin:/usr/bin + + # Max number of nameserver options taken into account. Should be as + # defined in <resolv.h> +@@ -31,14 +31,14 @@ MAXNS=3 + # will limit the IPv6 entries it adds to $RDNSS_LIMIT only. + RDNSS_LIMIT=$(($MAXNS - 1)) + +-sysconfdir='@SYSCONFDIR@' ++sysconfdir='/etc' + localstatedir='@LOCALSTATEDIR@' + resolvconf="$sysconfdir/resolv.conf" + myresolvconf="$localstatedir/run/rdnssd/resolv.conf" + + # These should be POSIX-compliant BREs + RE_NSV4='^nameserver *\([0-9]\{1,3\}\.\)\{3,3\}[0-9]\{1,3\} *$' +-RE_NSV4OR6='^nameserver *[a-fA-F0-9:\.]\{1,46\}\(%[a-zA-Z0-9]\{1,\}\)\{,1\} *$' ++RE_NSV4OR6='^nameserver *[a-fA-F0-9:\.]\{1,46\}\(%[a-zA-Z0-9]\{1,\}\)\{0,1\} *$' + + # Count how many IPv6 nameservers we can fit + |
