summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-23 00:03:08 +0000
committerroot <root@rshg054.dnsready.net>2012-08-23 00:03:08 +0000
commitc40883520f917311c212dc4a22e86be30cef658f (patch)
treeef8badd68c32564574e9b9317db1884fdaf98d2f /core
parent297a042ac9a7bbd2b18a9551f5fa4fe43faf53b2 (diff)
Thu Aug 23 00:03:08 UTC 2012
Diffstat (limited to 'core')
-rw-r--r--core/inetutils/PKGBUILD9
-rw-r--r--core/inetutils/ftpd.service9
2 files changed, 15 insertions, 3 deletions
diff --git a/core/inetutils/PKGBUILD b/core/inetutils/PKGBUILD
index a4bf827ca..c8908f544 100644
--- a/core/inetutils/PKGBUILD
+++ b/core/inetutils/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 157926 2012-04-30 06:14:42Z eric $
+# $Id: PKGBUILD 165512 2012-08-21 19:57:33Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=inetutils
pkgver=1.9.1
-pkgrel=2
+pkgrel=3
pkgdesc="A collection of common network programs"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/inetutils/"
@@ -16,7 +16,7 @@ options=('!emptydirs')
install=inetutils.install
source=(http://ftp.gnu.org/gnu/inetutils/${pkgname}-${pkgver}.tar.gz{,.sig} \
ftpd.rc ftpd.conf telnet.xinetd talk.xinetd rlogin.xinetd rsh.xinetd \
- dnsdomainname)
+ ftpd.service dnsdomainname)
sha1sums=('86b7eb11cfdaefb1d4e9bfc10620beaf8f09bc90'
'ff0aad9946a38915580b094dadf67e790e8a2f87'
'84dc802b5e57b5e04c847572225a3b9612017155'
@@ -25,10 +25,12 @@ sha1sums=('86b7eb11cfdaefb1d4e9bfc10620beaf8f09bc90'
'27d99b910eec0fc26bd79ccc2c1de26608330298'
'81f10b3b688e3952f793b35bcef63b5bf257a92b'
'81f4a8da823cf0bb14284fc71ee6108849691eda'
+ '1c5ff1b6166c7401ef0956ce6eab30450ff95eaf'
'eb952b0b9c3e3d429d8e21b110249e495f0e0e63')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|_GL_WARN_ON_USE (gets|//_GL_WARN_ON_USE (gets|' lib/stdio.in.h
./configure --prefix=/usr --libexec=/usr/sbin --localstatedir=/var \
--sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info \
--without-wrap --with-pam \
@@ -66,4 +68,5 @@ package() {
install -D -m644 "${srcdir}/talk.xinetd" "${pkgdir}/etc/xinetd.d/talk"
install -D -m644 "${srcdir}/rlogin.xinetd" "${pkgdir}/etc/xinetd.d/rlogin"
install -D -m644 "${srcdir}/rsh.xinetd" "${pkgdir}/etc/xinetd.d/rsh"
+ install -D -m644 "${srcdir}/ftpd.service" "${pkgdir}/usr/lib/systemd/system/ftpd.service"
}
diff --git a/core/inetutils/ftpd.service b/core/inetutils/ftpd.service
new file mode 100644
index 000000000..985eb9756
--- /dev/null
+++ b/core/inetutils/ftpd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=FTPD Daemon
+
+[Service]
+ExecStart=/usr/sbin/ftpd -D
+Type=forking
+
+[Install]
+WantedBy=multi-user.target