dhcpcd: switch to systemd, drop openrc support.

This commit is contained in:
Juan RP
2011-10-11 03:25:46 +02:00
parent 62aaf952d7
commit fcb23579d7
3 changed files with 12 additions and 26 deletions

View File

@@ -1,6 +1,7 @@
# Template file for 'dhcpcd'
pkgname=dhcpcd
version=5.2.12
revision=1
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
build_style=configure
configure_args="--libexecdir=/lib/dhcpcd"
@@ -19,11 +20,9 @@ Add_dependency run glibc
Add_dependency build ntp
conf_files="/etc/dhcpcd.conf"
openrc_services="dhcpcd default false"
post_install()
{
chmod 755 ${DESTDIR}/sbin/dhcpcd
# Install the OpenRC service
install -D -m755 ${FILESDIR}/dhcpcd.rc ${DESTDIR}/etc/init.d/dhcpcd
vinstall ${FILESDIR}/dhcpcd.service 644 lib/systemd/system
}