mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/dhcpcd: Split OpenRC scripts, explicitly config, modernise
This commit is contained in:
parent
8ed8b59660
commit
3154f29478
@ -3,7 +3,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=dhcpcd
|
||||
pkgver=6.11.5
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="RFC2131 compliant DHCP client"
|
||||
url="https://roy.marples.name/projects/dhcpcd/"
|
||||
arch="all"
|
||||
@ -12,7 +12,7 @@ depends=""
|
||||
depends_dev=""
|
||||
makedepends="$depends_dev linux-headers bsd-compat-headers dbus-dev"
|
||||
install=""
|
||||
subpackages="$pkgname-doc"
|
||||
subpackages="$pkgname-doc $pkgname-openrc"
|
||||
source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.xz
|
||||
busybox-logger.patch
|
||||
fix-chrony-conf-location.patch
|
||||
@ -31,25 +31,25 @@ build() {
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/lib/$pkgname \
|
||||
--dbdir=/var/lib/$pkgname \
|
||||
|| return 1
|
||||
make || return 1
|
||||
--rundir=/run \
|
||||
--enable-ipv6 \
|
||||
--without-dev \
|
||||
--without-udev
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm755 "$srcdir"/dhcpcd.initd \
|
||||
"$pkgdir"/etc/init.d/dhcpcd || return 1
|
||||
"$pkgdir"/etc/init.d/dhcpcd
|
||||
}
|
||||
|
||||
md5sums="2465624b62c1154f0e89dc69c42c849b dhcpcd-6.11.5.tar.xz
|
||||
231d2b03e7e93fa6cc7406889e9945e3 busybox-logger.patch
|
||||
3445d2e63c1401a705b34f6142fbe71e fix-chrony-conf-location.patch
|
||||
5cd5809d11b77b30f21df8418729d70b dhcpcd.initd"
|
||||
sha256sums="6f9674dc7e27e936cc787175404a6171618675ecfb6903ab9887b1b66a87d69e dhcpcd-6.11.5.tar.xz
|
||||
aec6c5d7a41551ca7cd3849a53621692ee0a1a6d259892beaf448eb1f2d4af01 busybox-logger.patch
|
||||
08dd172591ec4698f28059e4c692c3ca2fe9ed4d13244be05860813b8ba5c6af fix-chrony-conf-location.patch
|
||||
6bb9b8b0075e45e63e898ed043f3c5951dc3e95c1fa62d22cc6e0616c792ecd1 dhcpcd.initd"
|
||||
sha512sums="a23d5dde66567c4addbc86c8b3fbf2c5d4dba3b463659729778a310306ab0e949be8998154ef15401ac2d289bde2f090d44492bba6a1becd2f01890d4efe7051 dhcpcd-6.11.5.tar.xz
|
||||
83dc7bfd36b6b416c931775bb35a0d2951ed04c421195c45bfed80a11a7adbed7c80ade1c1246847c2fb1bf15a7b6e83100f16605ee84f750440d7bc9f7f5ef3 busybox-logger.patch
|
||||
4e07c886d89aa4962e683383098d343030a24838e3c3d86ac79c00aad87dcaf41352ac04556a2bf0e00c1b9bad370351e254e83fa76f6e299102fd292b5f6a70 fix-chrony-conf-location.patch
|
||||
|
Loading…
Reference in New Issue
Block a user