[arch-commits] Commit in dhcp/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Tue Mar 6 06:53:07 UTC 2018
Date: Tuesday, March 6, 2018 @ 06:53:02
Author: eworm
Revision: 317860
upgpkg: dhcp 4.4.1-2
fix IPv6 configuration (FS#49578)
Modified:
dhcp/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-06 05:15:49 UTC (rev 317859)
+++ PKGBUILD 2018-03-06 06:53:02 UTC (rev 317860)
@@ -7,7 +7,7 @@
# separate patch levels with a period to maintain proper versioning.
pkgver=4.4.1
-pkgrel=1
+pkgrel=2
arch=('x86_64')
license=('custom:isc-dhcp')
url="https://www.isc.org/software/dhcp"
@@ -65,9 +65,9 @@
install -D -m644 "${srcdir}/dhcpd4.service" "${pkgdir}/usr/lib/systemd/system/dhcpd4.service"
install -D -m644 "${srcdir}/dhcpd6.service" "${pkgdir}/usr/lib/systemd/system/dhcpd6.service"
- # move back to config. This file is in backup array, so pacman will not overwrite a changed config.
+ # move and install config files in place
mv "${pkgdir}/etc/dhcpd.conf.example" "${pkgdir}/etc/dhcpd.conf"
- cp "${pkgdir}/etc/dhcpd.conf" "${pkgdir}/etc/dhcpd6.conf"
+ install -D -m644 doc/examples/dhcpd-dhcpv6.conf "${pkgdir}/etc/dhcpd6.conf"
# Remove dhclient
make -C client DESTDIR="${pkgdir}" uninstall
More information about the arch-commits
mailing list