diff options
-rw-r--r-- | main/dhcpcd/APKBUILD | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/main/dhcpcd/APKBUILD b/main/dhcpcd/APKBUILD index b72c8cd9c0..7ca8a27edc 100644 --- a/main/dhcpcd/APKBUILD +++ b/main/dhcpcd/APKBUILD @@ -2,8 +2,8 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dhcpcd -pkgver=6.10.3 -pkgrel=1 +pkgver=6.11.1 +pkgrel=0 pkgdesc="RFC2131 compliant DHCP client" url="http://roy.marples.name/projects/dhcpcd/" arch="all" @@ -18,22 +18,16 @@ source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.xz dhcpcd.initd " -prepare() { - cd "$srcdir/$pkgname-$pkgver" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - -} - +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$builddir" CFLAGS="$CFLAGS -D_GNU_SOURCE -DHAVE_PRINTF_M" ./configure \ --build=$CBUILD \ --host=$CHOST \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ --libexecdir=/usr/lib/$pkgname \ --dbdir=/var/lib/$pkgname \ || return 1 @@ -41,18 +35,18 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm755 "$srcdir"/dhcpcd.initd \ "$pkgdir"/etc/init.d/dhcpcd || return 1 } -md5sums="818c284742908e26af4a3a5c6d1e5297 dhcpcd-6.10.3.tar.xz +md5sums="8acf2c0295f0c132a1e9f8060665b53d dhcpcd-6.11.1.tar.xz 231d2b03e7e93fa6cc7406889e9945e3 busybox-logger.patch 5cd5809d11b77b30f21df8418729d70b dhcpcd.initd" -sha256sums="b586c1f770373f83e3f574c683c66bea217a6d6c89b8e91dbdb6f75aa654c8d5 dhcpcd-6.10.3.tar.xz +sha256sums="5c823d607ed1d7513d16ec51c54e21657f1324899e0ba333a497682d88a8c6ee dhcpcd-6.11.1.tar.xz aec6c5d7a41551ca7cd3849a53621692ee0a1a6d259892beaf448eb1f2d4af01 busybox-logger.patch 6bb9b8b0075e45e63e898ed043f3c5951dc3e95c1fa62d22cc6e0616c792ecd1 dhcpcd.initd" -sha512sums="6ebcb720909f4d167d064d5e8ed961c331470762e89f4e5c145f048424ef170ffc218e9a9dcc94e3a8dce6ccc147710ec2ef17627a708918203858f3dcdca43d dhcpcd-6.10.3.tar.xz +sha512sums="50ef755b13a96fe484623d9f2dbd91407fbea5ca728fd05dbf4259a61611a07cf3ffad7e8d20ecd513dbef80602074809abd1f5177daaa51ceccc2af5c88269f dhcpcd-6.11.1.tar.xz 83dc7bfd36b6b416c931775bb35a0d2951ed04c421195c45bfed80a11a7adbed7c80ade1c1246847c2fb1bf15a7b6e83100f16605ee84f750440d7bc9f7f5ef3 busybox-logger.patch 6d3220155f2d9ed3e3a00afd378eeb70d435e19804201f8bb35498f1f7f3dfdaeaa2f4a01a18f5e96b457d9c173bc6a206b3e67ebf6d95da7e7b350dcd153fde dhcpcd.initd" |