Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=152aed55a4a40d836680e89d5414b832ab46f995
commit 152aed55a4a40d836680e89d5414b832ab46f995 Author: James Buren <[email protected]> Date: Wed Jun 6 23:14:28 2012 -0500 dhcp-4.2.4-1-x86_64 * convert to systemd schema diff --git a/source/network-extra/dhcp/FrugalBuild b/source/network-extra/dhcp/FrugalBuild index 1cab059..3c6b0b8 100644 --- a/source/network-extra/dhcp/FrugalBuild +++ b/source/network-extra/dhcp/FrugalBuild @@ -2,7 +2,7 @@ # Maintainer: bouleetbil <[email protected]> pkgname=dhcp -pkgver=4.2.2 +pkgver=4.2.4 pkgrel=1 pkgdesc="The ISC DHCP server" url="http://www.isc.org/software/dhcp/" @@ -14,13 +14,14 @@ backup=('etc/dhcpd.conf') #Check only the production release. The -Px suffix means Patch and x the number of the patch #See http://www.isc.org/software/version-numbering up2date="lynx -dump http://www.isc.org/downloads/current|grep -m1 'DHCP'|sed 's/.* \([0-9\.] *\)/\1/'" -source=(ftp://ftp.isc.org/isc/$pkgname/$pkgname-$pkgver.tar.gz \ - rc.dhcpd rc.dhcpd-hu.po README.Frugalware dhclient.conf) -sha1sums=('a2d5d5bf0fb2a98e9e3e18b243d0a07e12837f81' \ +source=(ftp://ftp.isc.org/isc/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz \ + rc.dhcpd rc.dhcpd-hu.po README.Frugalware dhclient.conf dhcpd.service) +sha1sums=('ba877b6af5f21df84831f698187814668432e8fe' \ '4b8d8813f497d3a9aa21eeb113ae965b7b7fdf81' \ 'fd70ba41e16c15d69529eeb216be103e042f3437' \ '0510d9057df9dcf1c476961930f0ac65f7de87f9' \ - 'b905bf424af0d521fbfc66ad2a216358226845ba') + 'b905bf424af0d521fbfc66ad2a216358226845ba' \ + 'd966b6646b09c2ef6101c69daa1864a42ca61112') subpkgs=('dhclient') subdescs=('The ISC DHCP client') subgroups=('network-extra') @@ -28,6 +29,10 @@ subdepends=('glibc') subbackup=('etc/dhclient.conf') subarchs=('i686 x86_64') +_F_sysvinit_units=(dhcpd) +_F_systemd_units=(dhcpd=) +Finclude systemd + DIRS='client common dhcpctl dst minires server omapip relay' build() @@ -38,6 +43,8 @@ build() --with-srv-lease-file=/var/state/dhcp/dhcpd.leases Fmakeinstall Frcd2 dhcpd + Ffile /lib/systemd/system/dhcpd.service + Fgenscriptlet Ffile $pkgname-$pkgver/server/dhcpd.conf /etc/dhcpd.conf Ffile dhclient.conf /etc/dhclient.conf diff --git a/source/network-extra/dhcp/dhcpd.service b/source/network-extra/dhcp/dhcpd.service new file mode 100644 index 0000000..baa07e6 --- /dev/null +++ b/source/network-extra/dhcp/dhcpd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Dynamic Host Control Protocol +After=network.target + +[Service] +ExecStart=/usr/sbin/dhcpd +Type=forking + +[Install] +WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
