[arch-commits] Commit in inetutils/trunk (PKGBUILD ftpd.service)

Eric Bélanger eric at archlinux.org
Sat Aug 18 22:29:45 UTC 2012


    Date: Saturday, August 18, 2012 @ 18:29:45
  Author: eric
Revision: 165417

upgpkg: inetutils 1.9.1-3

Add unit file for systemd, Add build fix

Added:
  inetutils/trunk/ftpd.service
Modified:
  inetutils/trunk/PKGBUILD

--------------+
 PKGBUILD     |    7 +++++--
 ftpd.service |    9 +++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-08-18 18:30:01 UTC (rev 165416)
+++ PKGBUILD	2012-08-18 22:29:45 UTC (rev 165417)
@@ -3,7 +3,7 @@
 
 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 @@
 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 @@
           '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 @@
   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"
 }

Added: ftpd.service
===================================================================
--- ftpd.service	                        (rev 0)
+++ ftpd.service	2012-08-18 22:29:45 UTC (rev 165417)
@@ -0,0 +1,9 @@
+[Unit]
+Description=FTPD Daemon
+
+[Service]
+ExecStart=/usr/sbin/ftpd -D
+Type=forking
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list