Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=c9efb7606f860e883b3495c642c17a4237d2eebc
commit c9efb7606f860e883b3495c642c17a4237d2eebc Author: James Buren <[email protected]> Date: Thu Jun 7 01:29:14 2012 -0500 noip2-2.1.9-3-x86_64 * convert to use systemd schema diff --git a/source/network-extra/noip2/FrugalBuild b/source/network-extra/noip2/FrugalBuild index 1762f79..f34bf2d 100644 --- a/source/network-extra/noip2/FrugalBuild +++ b/source/network-extra/noip2/FrugalBuild @@ -4,17 +4,30 @@ pkgname=noip2 pkgver=2.1.9 -pkgrel=2 +pkgrel=3 pkgdesc="A client program to auto-update dynamic DNS on www.no-ip.com" url="http://www.no-ip.com/" depends=('glibc') groups=('network-extra') archs=('i686' 'x86_64') up2date="lynx -dump '$url/downloads.php?page=linux'|grep Download|tail -n1|sed 's/.*d \(.*\).*/\1/'" -source=($url/client/linux/noip-duc-linux.tar.gz rc.$pkgname makefile.patch) +source=($url/client/linux/noip-duc-linux.tar.gz rc.$pkgname $pkgname.service makefile.patch) _F_cd_path="noip-$pkgver-1" +backup=(etc/no-ip2.conf) sha1sums=('1de79cacbf8ac3e6a08530d167a33e3c35a4dd18' \ '6e9839b22ced08e80ff8a74884fc8f454b7662da' \ + '54ceb642c1ba7b22a5df4eb6d0cf783227bbd959' \ '7c442b8aaa362323c97f554e187aa9987f914f19') +_F_sysvinit_units=($pkgname) +_F_systemd_units=($pkgname=) +Finclude systemd + +build() +{ + Fbuild + Ffile /lib/systemd/system/$pkgname.service + Fgenscriptlet +} + # optimization OK diff --git a/source/network-extra/noip2/noip2.service b/source/network-extra/noip2/noip2.service new file mode 100644 index 0000000..db58e2a --- /dev/null +++ b/source/network-extra/noip2/noip2.service @@ -0,0 +1,10 @@ +[Unit] +Description=noip2 daemon +After=network.target + +[Service] +ExecStart=/usr/bin/noip2 -c /etc/no-ip2.conf +Type=forking + +[Install] +WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
