[arch-commits] Commit in dhcpcd/repos/testing-x86_64 (10 files)
Antonio Rojas
arojas at archlinux.org
Mon Apr 20 16:06:30 UTC 2020
Date: Monday, April 20, 2020 @ 16:06:28
Author: arojas
Revision: 380632
archrelease: copy trunk to testing-x86_64
Added:
dhcpcd/repos/testing-x86_64/PKGBUILD
(from rev 380631, dhcpcd/trunk/PKGBUILD)
dhcpcd/repos/testing-x86_64/dhcpcd.service
(from rev 380631, dhcpcd/trunk/dhcpcd.service)
dhcpcd/repos/testing-x86_64/dhcpcd.sysusers
(from rev 380631, dhcpcd/trunk/dhcpcd.sysusers)
dhcpcd/repos/testing-x86_64/dhcpcd.tmpfiles
(from rev 380631, dhcpcd/trunk/dhcpcd.tmpfiles)
dhcpcd/repos/testing-x86_64/dhcpcd_.service
(from rev 380631, dhcpcd/trunk/dhcpcd_.service)
Deleted:
dhcpcd/repos/testing-x86_64/PKGBUILD
dhcpcd/repos/testing-x86_64/dhcpcd.service
dhcpcd/repos/testing-x86_64/dhcpcd.sysusers
dhcpcd/repos/testing-x86_64/dhcpcd.tmpfiles
dhcpcd/repos/testing-x86_64/dhcpcd_.service
-----------------+
PKGBUILD | 147 ++++++++++++++++++++++++++++--------------------------
dhcpcd.service | 26 ++++-----
dhcpcd.sysusers | 2
dhcpcd.tmpfiles | 4 -
dhcpcd_.service | 30 +++++------
5 files changed, 108 insertions(+), 101 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-20 16:05:34 UTC (rev 380631)
+++ PKGBUILD 2020-04-20 16:06:28 UTC (rev 380632)
@@ -1,70 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Tom Killian <tom.archlinux.org>
-# Contributor: Judd Vinet <jvinet.zeroflux.org>
-
-pkgname=dhcpcd
-pkgver=9.0.1
-pkgrel=3
-pkgdesc="RFC2131 compliant DHCP client daemon"
-url="https://roy.marples.name/projects/dhcpcd/"
-arch=('x86_64')
-license=('BSD')
-depends=('glibc' 'sh' 'udev' 'systemd-libs')
-optdepends=('openresolv: resolvconf support')
-provides=('dhcp-client')
-backup=('etc/dhcpcd.conf')
-options=('emptydirs') # We Need the Empty /var/lib/dhcpcd Directory
-source=("https://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz"
- dhcpcd_.service
- dhcpcd.service
- dhcpcd.sysusers
- dhcpcd.tmpfiles)
-validpgpkeys=('A785ED2755955D9E93EA59F6597F97EA9AD45549') # Roy Marples (NetBSD) <roy at NetBSD.org>
-sha256sums=('faa6da04904e2a5b809a40760db7535aab2fca02d8cf30c3bba5f7b433b773b2'
- '37acd53a589711f5e1db2fcaebb4ccf1c90dc4bcd309626bde25beb7b630a545'
- '20bccbf8a05b1bc2be365c8b4b526c38c752f48229ba53c3be113ac5b634f210'
- 'df33c69a79fb30895217db8fe6a46ad0658a70b32a280bc91fc04a09b584fa62'
- 'e0cef3b7cbe047393e4ecb60369f67d2d73e616b56cea9401070f2aff28a7434')
-
-build() {
- cd ${pkgname}-${pkgver}
-
- # configure variables
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --sbindir=/usr/bin \
- --libexecdir=/usr/lib/dhcpcd \
- --dbdir=/var/lib/dhcpcd \
- --runstatedir=/run \
- --privsepuser=dhcpcd
-
- # Build
- make
-}
-
-
-check() {
- cd ${pkgname}-${pkgver}
-
- make test
-}
-
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-
- # Install License
- install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # Set Options in /etc/dhcpcd.conf
- echo noipv4ll >> "${pkgdir}/etc/dhcpcd.conf" # Disable ip4vall
-
- # install systemd files
- install -Dm644 "${srcdir}/dhcpcd_.service" "${pkgdir}/usr/lib/systemd/system/dhcpcd at .service"
- install -Dm644 "${srcdir}/dhcpcd.service" "${pkgdir}/usr/lib/systemd/system/dhcpcd.service" # FS#31543
- install -Dm644 "${srcdir}/dhcpcd.sysusers" "${pkgdir}/usr/lib/sysusers.d/dhcpcd.conf"
- install -Dm644 "${srcdir}/dhcpcd.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/dhcpcd.conf"
-}
Copied: dhcpcd/repos/testing-x86_64/PKGBUILD (from rev 380631, dhcpcd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-20 16:06:28 UTC (rev 380632)
@@ -0,0 +1,77 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Tom Killian <tom.archlinux.org>
+# Contributor: Judd Vinet <jvinet.zeroflux.org>
+
+pkgname=dhcpcd
+pkgver=9.0.1
+pkgrel=4
+pkgdesc="RFC2131 compliant DHCP client daemon"
+url="https://roy.marples.name/projects/dhcpcd/"
+arch=('x86_64')
+license=('BSD')
+depends=('glibc' 'sh' 'udev' 'systemd-libs')
+optdepends=('openresolv: resolvconf support')
+provides=('dhcp-client')
+backup=('etc/dhcpcd.conf')
+options=('emptydirs') # We Need the Empty /var/lib/dhcpcd Directory
+source=("https://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz"
+ dhcpcd-no-abort-if-ipv6-disabled.patch::"https://github.com/rsmarples/dhcpcd/commit/e46138e7.patch"
+ dhcpcd_.service
+ dhcpcd.service
+ dhcpcd.sysusers
+ dhcpcd.tmpfiles)
+validpgpkeys=('A785ED2755955D9E93EA59F6597F97EA9AD45549') # Roy Marples (NetBSD) <roy at NetBSD.org>
+sha256sums=('faa6da04904e2a5b809a40760db7535aab2fca02d8cf30c3bba5f7b433b773b2'
+ '8a5f25d147cb6ff8c347bfb6605b7a991bc6ac8170d92b139ee7a3ce64b8a4a6'
+ '37acd53a589711f5e1db2fcaebb4ccf1c90dc4bcd309626bde25beb7b630a545'
+ '20bccbf8a05b1bc2be365c8b4b526c38c752f48229ba53c3be113ac5b634f210'
+ 'df33c69a79fb30895217db8fe6a46ad0658a70b32a280bc91fc04a09b584fa62'
+ 'e0cef3b7cbe047393e4ecb60369f67d2d73e616b56cea9401070f2aff28a7434')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../dhcpcd-no-abort-if-ipv6-disabled.patch # Don't abort if IPv6 is disabled
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # configure variables
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib/dhcpcd \
+ --dbdir=/var/lib/dhcpcd \
+ --runstatedir=/run \
+ --privsepuser=dhcpcd
+
+ # Build
+ make
+}
+
+
+check() {
+ cd ${pkgname}-${pkgver}
+
+ make test
+}
+
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # Install License
+ install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # Set Options in /etc/dhcpcd.conf
+ echo noipv4ll >> "${pkgdir}/etc/dhcpcd.conf" # Disable ip4vall
+
+ # install systemd files
+ install -Dm644 "${srcdir}/dhcpcd_.service" "${pkgdir}/usr/lib/systemd/system/dhcpcd at .service"
+ install -Dm644 "${srcdir}/dhcpcd.service" "${pkgdir}/usr/lib/systemd/system/dhcpcd.service" # FS#31543
+ install -Dm644 "${srcdir}/dhcpcd.sysusers" "${pkgdir}/usr/lib/sysusers.d/dhcpcd.conf"
+ install -Dm644 "${srcdir}/dhcpcd.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/dhcpcd.conf"
+}
Deleted: dhcpcd.service
===================================================================
--- dhcpcd.service 2020-04-20 16:05:34 UTC (rev 380631)
+++ dhcpcd.service 2020-04-20 16:06:28 UTC (rev 380632)
@@ -1,13 +0,0 @@
-[Unit]
-Description=dhcpcd on all interfaces
-Wants=network.target
-Before=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/dhcpcd/pid
-ExecStart=/usr/bin/dhcpcd -q -b
-ExecStop=/usr/bin/dhcpcd -x
-
-[Install]
-WantedBy=multi-user.target
Copied: dhcpcd/repos/testing-x86_64/dhcpcd.service (from rev 380631, dhcpcd/trunk/dhcpcd.service)
===================================================================
--- dhcpcd.service (rev 0)
+++ dhcpcd.service 2020-04-20 16:06:28 UTC (rev 380632)
@@ -0,0 +1,13 @@
+[Unit]
+Description=dhcpcd on all interfaces
+Wants=network.target
+Before=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dhcpcd/pid
+ExecStart=/usr/bin/dhcpcd -q -b
+ExecStop=/usr/bin/dhcpcd -x
+
+[Install]
+WantedBy=multi-user.target
Deleted: dhcpcd.sysusers
===================================================================
--- dhcpcd.sysusers 2020-04-20 16:05:34 UTC (rev 380631)
+++ dhcpcd.sysusers 2020-04-20 16:06:28 UTC (rev 380632)
@@ -1 +0,0 @@
-u dhcpcd - "dhcpcd privilege separation" /var/lib/dhcpcd
Copied: dhcpcd/repos/testing-x86_64/dhcpcd.sysusers (from rev 380631, dhcpcd/trunk/dhcpcd.sysusers)
===================================================================
--- dhcpcd.sysusers (rev 0)
+++ dhcpcd.sysusers 2020-04-20 16:06:28 UTC (rev 380632)
@@ -0,0 +1 @@
+u dhcpcd - "dhcpcd privilege separation" /var/lib/dhcpcd
Deleted: dhcpcd.tmpfiles
===================================================================
--- dhcpcd.tmpfiles 2020-04-20 16:05:34 UTC (rev 380631)
+++ dhcpcd.tmpfiles 2020-04-20 16:06:28 UTC (rev 380632)
@@ -1,2 +0,0 @@
-d /var/lib/dhcpcd 0700 dhcpcd dhcpcd -
-d /run/dhcpcd 0755 dhcpcd dhcpcd -
Copied: dhcpcd/repos/testing-x86_64/dhcpcd.tmpfiles (from rev 380631, dhcpcd/trunk/dhcpcd.tmpfiles)
===================================================================
--- dhcpcd.tmpfiles (rev 0)
+++ dhcpcd.tmpfiles 2020-04-20 16:06:28 UTC (rev 380632)
@@ -0,0 +1,2 @@
+d /var/lib/dhcpcd 0700 dhcpcd dhcpcd -
+d /run/dhcpcd 0755 dhcpcd dhcpcd -
Deleted: dhcpcd_.service
===================================================================
--- dhcpcd_.service 2020-04-20 16:05:34 UTC (rev 380631)
+++ dhcpcd_.service 2020-04-20 16:06:28 UTC (rev 380632)
@@ -1,15 +0,0 @@
-[Unit]
-Description=dhcpcd on %I
-Wants=network.target
-Before=network.target
-BindsTo=sys-subsystem-net-devices-%i.device
-After=sys-subsystem-net-devices-%i.device
-
-[Service]
-Type=forking
-PIDFile=/run/dhcpcd/%I.pid
-ExecStart=/usr/bin/dhcpcd -q -w %I
-ExecStop=/usr/bin/dhcpcd -x %I
-
-[Install]
-WantedBy=multi-user.target
Copied: dhcpcd/repos/testing-x86_64/dhcpcd_.service (from rev 380631, dhcpcd/trunk/dhcpcd_.service)
===================================================================
--- dhcpcd_.service (rev 0)
+++ dhcpcd_.service 2020-04-20 16:06:28 UTC (rev 380632)
@@ -0,0 +1,15 @@
+[Unit]
+Description=dhcpcd on %I
+Wants=network.target
+Before=network.target
+BindsTo=sys-subsystem-net-devices-%i.device
+After=sys-subsystem-net-devices-%i.device
+
+[Service]
+Type=forking
+PIDFile=/run/dhcpcd/%I.pid
+ExecStart=/usr/bin/dhcpcd -q -w %I
+ExecStop=/usr/bin/dhcpcd -x %I
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list