diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/dhcpcd/APKBUILD | 11 | ||||
-rw-r--r-- | main/dhcpcd/dhcpcd.initd | 17 |
2 files changed, 24 insertions, 4 deletions
diff --git a/main/dhcpcd/APKBUILD b/main/dhcpcd/APKBUILD index ec04e0ac7..5f85d9f86 100644 --- a/main/dhcpcd/APKBUILD +++ b/main/dhcpcd/APKBUILD @@ -2,15 +2,16 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dhcpcd pkgver=5.2.5 -pkgrel=0 +pkgrel=1 pkgdesc="RFC2131 compliant DHCP client" url="http://roy.marples.name/projects/dhcpcd/" license="BSD-2" depends= -makedepends="" +makedepends= install= subpackages="$pkgname-doc" -source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2" +source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2 + dhcpcd.initd" build() { cd "$srcdir/$pkgname-$pkgver" @@ -23,6 +24,8 @@ build() { package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install + install -Dm755 "$srcdir"/dhcpcd.initd "$pkgdir"/etc/init.d/dhcpcd } -md5sums="79f5452252026c0547886f89ab87adf1 dhcpcd-5.2.5.tar.bz2" +md5sums="79f5452252026c0547886f89ab87adf1 dhcpcd-5.2.5.tar.bz2 +ecbd807cf3f87d7c5b6095bf63f26894 dhcpcd.initd" diff --git a/main/dhcpcd/dhcpcd.initd b/main/dhcpcd/dhcpcd.initd new file mode 100644 index 000000000..d88b0610d --- /dev/null +++ b/main/dhcpcd/dhcpcd.initd @@ -0,0 +1,17 @@ +#!/sbin/runscript +# Copyright 2007-2008 Roy Marples <roy@marples.name> +# All rights reserved. Released under the 2-clause BSD license. + +command=/sbin/dhcpcd +pidfile=/var/run/dhcpcd.pid +command_args=-q +name="DHCP Client Daemon" + +depend() +{ + provide net + need localmount + use logger network + after bootmisc modules + before dns +} |