Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=90f57989748862e32e9357a62da79df9aec9d39d
commit 90f57989748862e32e9357a62da79df9aec9d39d Author: James Buren <[email protected]> Date: Thu Jun 7 01:45:18 2012 -0500 denyhosts-2.6-4-x86_64 * convert to use systemd schema diff --git a/source/network-extra/denyhosts/FrugalBuild b/source/network-extra/denyhosts/FrugalBuild index 81b9f46..de17a0c 100644 --- a/source/network-extra/denyhosts/FrugalBuild +++ b/source/network-extra/denyhosts/FrugalBuild @@ -4,15 +4,18 @@ pkgname=denyhosts pkgver=2.6 -pkgrel=3 +pkgrel=4 pkgdesc="DenyHosts is a utility to help sys admins thwart ssh hackers" license="GPL2" Finclude sourceforge -source=(${source/denyhosts-/DenyHosts-} $url/faq.html rc.$pkgname $pkgname.cfg) +source=(${source/denyhosts-/DenyHosts-} http://$pkgname.sf.net/faq.html rc.$pkgname $pkgname.service $pkgname.cfg) groups=('network-extra') archs=('i686' 'x86_64') depends=('python>=2.7') backup=('etc/denyhosts.cfg') +_F_sysvinit_units=($pkgname) +_F_systemd_units=($pkgname=) +Finclude systemd build() { @@ -26,10 +29,13 @@ build() Ffile /etc/$pkgname.cfg Frcd2 Fdoc faq.html + Ffile /lib/systemd/system/$pkgname.service + Fgenscriptlet } sha1sums=('02143843cb7c37c986c222b7acc11f7b75eb7373' \ - '8041db79843e31f93485d02962f2cba8c7842c19' \ + '1b5277da9da5474af2eab1468a6bf6219f346b6e' \ 'df7005841b199f21f3c8cf9e8efbc8dbfc9d443a' \ + '0c5343b66970b4084b9bf600fc4d71447288adbc' \ 'a8d7e5762e6b5c6d9f70243e98bc96cec760b1b3') diff --git a/source/network-extra/denyhosts/denyhosts.service b/source/network-extra/denyhosts/denyhosts.service new file mode 100644 index 0000000..a27dc9c --- /dev/null +++ b/source/network-extra/denyhosts/denyhosts.service @@ -0,0 +1,11 @@ +[Unit] +Description=DenyHosts +After=network.target + +[Service] +ExecStart=/usr/bin/denyhosts --daemon --config=/etc/denyhosts.cfg +PIDFile=/var/run/denyhosts.pid +Type=forking + +[Install] +WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
