Package Details: wide-dhcpv6 20080615-19

Git Clone URL: https://aur.archlinux.org/wide-dhcpv6.git (read-only, click to copy)
Package Base: wide-dhcpv6
Description: An open source implementation of DHCPv6 developed by KAME project (with Debian patches)
Upstream URL: https://sourceforge.net/projects/wide-dhcpv6/
Licenses: custom
Submitter: Foucault
Maintainer: Foucault
Last Packager: Foucault
Votes: 7
Popularity: 0.000000
First Submitted: 2013-07-27 23:47 (UTC)
Last Updated: 2022-11-29 18:21 (UTC)

Latest Comments

1 2 3 Next › Last »

lkrms commented on 2022-07-05 04:25 (UTC)

I can't believe it took you 23 minutes to update the PKGBUILD and reply... could you move a little faster next time, please? ;P

(THANK YOU)

More seriously, I have another patch for you to consider. As @thx1138 mentioned, the upstream Debian package has been updated. It has two additional patches:

  • 0021-Make-sla-len-config-optional.patch
  • 0022-Make-sla-id-config-optional.patch

The others are unchanged (aside from cosmetic differences in command-line argument order), so the PKGBUILD only needs to pull the updated tar and carry on:

diff --git a/PKGBUILD b/PKGBUILD
index 1607b5e..6347da1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ backup=('etc/wide-dhcpv6/dhcp6c.conf' 'etc/conf.d/startpd.conf')
 options=('emptydirs')

 source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
-        "https://deb.debian.org/debian/pool/main/w/${pkgname}/${pkgname}_${pkgver}-22.debian.tar.xz"
+        "https://deb.debian.org/debian/pool/main/w/${pkgname}/${pkgname}_${pkgver}-23.debian.tar.xz"
         "0000-noyywrap-option.patch"
         "0002-Fix-makefile.patch"
         "dhcp6c.service"
@@ -21,7 +21,7 @@ source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgna
 install='dhcp6c.install'

 md5sums=('1011e165850fe40d3e332dad2bfd30b3'
-         '5e40a641ff20c8c0aceea269c1f1921e'
+         '32aa3aa2cb7f48f9ecb394814cf62575'
          '6bc5f3779f04cd1c74469b4942c1061d'
          'dfba035ab0fd99ae56ab2e37a000cba0'
          '7606280036a1a2c7c0a38af84803f41c'

Foucault commented on 2022-07-04 16:14 (UTC)

Good catch! I updated the PKGBUILD.

lkrms commented on 2022-07-04 15:51 (UTC)

In a clean chroot, this package fails to build with the following error:

mkdir -p /build/wide-dhcpv6/pkg/wide-dhcpv6//usr/bin /build/wide-dhcpv6/pkg/wide-dhcpv6//usr/share/man/man5 /build/wide-dhcpv6/pkg/wide-dhcpv6//usr/share/man/man8                                                                                
/usr/bin/install -c -s -o bin -g bin dhcp6c dhcp6s dhcp6relay dhcp6ctl /build/wide-dhcpv6/pkg/wide-dhcpv6//usr/bin                                                                                                                                
/usr/bin/install: invalid user ‘bin’                                                                                                                                                                                                              
make: *** [Makefile:111: install] Error 1                                                                                                                                 

One option is to depend on systemd--to provision the bin user requested by filesystem--but tying wide-dhcp6 to systemd doesn't make a lot of sense, and the bin user is deprecated anyway.

Suggested patch, for consistency with most other Arch packages:

diff --git a/PKGBUILD b/PKGBUILD
index 264e0ef..ee9382c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -46,7 +46,9 @@ build() {
     --mandir=/usr/share/man \
     --with-localdbdir=/var/lib/dhcpv6 \
     --sysconfdir=/etc/wide-dhcpv6 \
-    --sbindir=/usr/bin
+    --sbindir=/usr/bin \
+    --with-user=root \
+    --with-group=root
   # -j > 1 breaks build dependencies
   make -j1
 }

Thanks for keeping this package going while other IPv6-PD implementations continue to be unconfigurable and/or limited :)

thx1138 commented on 2021-12-02 02:25 (UTC) (edited on 2021-12-02 02:48 (UTC) by thx1138)

https://ftp.debian.org/debian/pool/main/w/wide-dhcpv6/wide-dhcpv6_20080615-22.debian.tar.xz

is now

https://deb.debian.org/debian/pool/main/w/wide-dhcpv6/wide-dhcpv6_20080615-23.debian.tar.xz

thx1138 commented on 2019-04-14 10:01 (UTC)

BTW, building 20080615-22, the 0001-renew.patch has already been applied, so would be removed from the PKGBUILD. That seems to be the only build change.

thx1138 commented on 2019-04-14 08:19 (UTC)

Hmm - so, the current debian version from unstable/Sid is wide-dhcpv6_20080615-22.debian.tar.xz 2018-11-03 rather than wide-dhcpv6_20080615-12.debian.tar.gz 2013-08-12

Why so conservative?

The subsequent releases address a number of bugs: https://github.com/rogers0/packaging_wide-dhcpv6/blob/master/debian/changelog

GeneArch commented on 2019-04-11 15:36 (UTC)

FYI - This no longer works - error is: RROR: Failure while downloading http://ftp.de.debian.org/debian/pool/main/w/wide-dhcpv6/wide-dhcpv6_20080615-11.1.debian.tar.gz

2bluesc commented on 2015-10-21 20:34 (UTC)

I think you're right. Looks like network-online.target would also replace NetworkManager.service and simplify things even more.

Foucault commented on 2015-10-21 19:47 (UTC)

Yes indeed network-online seems a more viable option. netctl@%i is too specific. However that NetworkManager service is strange. Do you use both netctl and NetworkManager?

2bluesc commented on 2015-10-21 19:42 (UTC)

Maybe network-online.target is ideal, initial testing on my machine looks good: [Unit] Description=WIDE-DHCPv6 Client on interface %I +After=network-online.target -After=network.target -Requires=network.target Before=dnsmasq.service Before=NetworkManager.service Documentation=man:dhcp6c(8) man:dhcp6c.conf(5)