From 6fc156e71ae3451240157a8c1a47481538b144ec Mon Sep 17 00:00:00 2001 From: James Meyer Date: Fri, 7 Dec 2012 09:08:32 -0600 Subject: inetutils: removed gets patch, no longer needed --- abs/core/inetutils/PKGBUILD | 11 ++++++----- abs/core/inetutils/__changelog | 2 -- abs/core/inetutils/ftpd.service | 10 ++++++++++ 3 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 abs/core/inetutils/__changelog create mode 100644 abs/core/inetutils/ftpd.service diff --git a/abs/core/inetutils/PKGBUILD b/abs/core/inetutils/PKGBUILD index aeea05d..38c9cfc 100644 --- a/abs/core/inetutils/PKGBUILD +++ b/abs/core/inetutils/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 157926 2012-04-30 06:14:42Z eric $ +# $Id: PKGBUILD 165908 2012-09-03 17:29:57Z eric $ # Maintainer: Eric BĂ©langer pkgname=inetutils pkgver=1.9.1 -pkgrel=2 +pkgrel=4 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,12 +25,12 @@ sha1sums=('86b7eb11cfdaefb1d4e9bfc10620beaf8f09bc90' '27d99b910eec0fc26bd79ccc2c1de26608330298' '81f10b3b688e3952f793b35bcef63b5bf257a92b' '81f4a8da823cf0bb14284fc71ee6108849691eda' + 'fb607dafe177f074e14891dd887ef9e9ab67a875' 'eb952b0b9c3e3d429d8e21b110249e495f0e0e63') build() { cd "${srcdir}/${pkgname}-${pkgver}" - sed -i '/gets is a security hole/d' lib/stdio.in.h - + 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 \ @@ -68,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/abs/core/inetutils/__changelog b/abs/core/inetutils/__changelog deleted file mode 100644 index b5d6eea..0000000 --- a/abs/core/inetutils/__changelog +++ /dev/null @@ -1,2 +0,0 @@ -sed -i '/gets is a security hole/d' lib/stdio.in.h - diff --git a/abs/core/inetutils/ftpd.service b/abs/core/inetutils/ftpd.service new file mode 100644 index 0000000..5708bdf --- /dev/null +++ b/abs/core/inetutils/ftpd.service @@ -0,0 +1,10 @@ +[Unit] +Description=FTPD Daemon +After=network.target + +[Service] +ExecStart=/usr/sbin/ftpd -D +Type=forking + +[Install] +WantedBy=multi-user.target -- cgit v0.12