Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=9afd6c8dbd9b9bde8acd6f6676b21821700ab7f2

commit 9afd6c8dbd9b9bde8acd6f6676b21821700ab7f2
Author: James Buren <[email protected]>
Date:   Thu Jun 7 00:00:40 2012 -0500

vsftpd-3.0.0-2-x86_64
* convert to systemd schema

diff --git a/source/network-extra/vsftpd/FrugalBuild 
b/source/network-extra/vsftpd/FrugalBuild
index eb0ed8f..1cfd1b6 100644
--- a/source/network-extra/vsftpd/FrugalBuild
+++ b/source/network-extra/vsftpd/FrugalBuild
@@ -4,18 +4,21 @@

pkgname=vsftpd
pkgver=3.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="A very secure ftp server"
url="https://security.appspot.com/vsftpd.html";
license="GPL2"
_F_archive_grepv="pre"
up2date="Flasttar $url"
-source=(https://security.appspot.com/downloads/$pkgname-$pkgver.tar.gz 
rc.vsftpd)
+source=(https://security.appspot.com/downloads/$pkgname-$pkgver.tar.gz 
rc.vsftpd vsftpd.service)
groups=('network-extra')
archs=('i686' 'x86_64' 'arm')
depends=('libcap>=2.19' 'openssl>=1.0.0' 'pam')
backup=(etc/vsftpd.conf)
-signatures=($source.asc '')
+signatures=($source.asc '' '')
+_F_sysvinit_units=(vsftpd)
+_F_systemd_units=(vsftpd=)
+Finclude systemd

build()
{
@@ -45,6 +48,8 @@ build()
#Fexerel xinetd.d/vsftpd /etc/xinetd.d/vsftpd
Fdocrel BENCHMARKS REFS REWARD SPEED TUNING
cp -r SECURITY EXAMPLE $Fdestdir/usr/share/doc/$pkgname-$pkgver/
+       Ffile /lib/systemd/system/vsftpd.service
+       Fgenscriptlet
}


diff --git a/source/network-extra/vsftpd/vsftpd.service 
b/source/network-extra/vsftpd/vsftpd.service
new file mode 100644
index 0000000..2b7c78e
--- /dev/null
+++ b/source/network-extra/vsftpd/vsftpd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Very Secure FTP Server
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/vsftpd
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to