summaryrefslogtreecommitdiff
path: root/core/inetutils
diff options
context:
space:
mode:
Diffstat (limited to 'core/inetutils')
-rw-r--r--core/inetutils/PKGBUILD26
-rw-r--r--core/inetutils/dnsdomainname3
2 files changed, 9 insertions, 20 deletions
diff --git a/core/inetutils/PKGBUILD b/core/inetutils/PKGBUILD
index b8dc47e3e..d3bd5bbe1 100644
--- a/core/inetutils/PKGBUILD
+++ b/core/inetutils/PKGBUILD
@@ -1,35 +1,29 @@
-# $Id: PKGBUILD 187028 2013-06-03 11:15:10Z allan $
+# $Id: PKGBUILD 194664 2013-09-20 17:37:51Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=inetutils
-pkgver=1.9.1
-pkgrel=6
+pkgver=1.9.1.341
+pkgrel=1
pkgdesc="A collection of common network programs"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/inetutils/"
license=('GPL3')
groups=('base')
depends=('pam')
+makedepends=('help2man')
backup=('etc/xinetd.d/telnet' 'etc/xinetd.d/talk' \
'etc/xinetd.d/rlogin' 'etc/xinetd.d/rsh')
options=('!emptydirs')
install=inetutils.install
-source=(http://ftp.gnu.org/gnu/inetutils/${pkgname}-${pkgver}.tar.gz{,.sig} \
- telnet.xinetd talk.xinetd rlogin.xinetd rsh.xinetd \
- ftpd.service dnsdomainname)
-sha1sums=('86b7eb11cfdaefb1d4e9bfc10620beaf8f09bc90'
+source=(ftp://ftp.archlinux.org/other/packages/inetutils/${pkgname}-${pkgver}.tar.xz{,.sig} \
+ telnet.xinetd talk.xinetd rlogin.xinetd rsh.xinetd ftpd.service)
+sha1sums=('eaccc1568c9cc624f6cda3a265fb92ec72c7304d'
'SKIP'
'2b2dd71eb3233e5090f4c2df8abe9b4924d323f3'
'b15ab4faa9d97652e182c98c1e3a3b3cbbf6383c'
'd9b8f8aab094ecb779d0f16f21b4683ab327516f'
'26763ae31b8a5be256666a0ba55746941d75d6ee'
- 'e4a764828b57f1e907ec96f4ae0e0cf0d3e2e802'
- 'eb952b0b9c3e3d429d8e21b110249e495f0e0e63')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- sed -i 's|_GL_WARN_ON_USE (gets|//_GL_WARN_ON_USE (gets|' lib/stdio.in.h
-}
+ 'e4a764828b57f1e907ec96f4ae0e0cf0d3e2e802')
build() {
cd ${pkgname}-${pkgver}
@@ -41,7 +35,7 @@ build() {
--enable-talk --enable-talkd \
--enable-rlogin --enable-rlogind \
--enable-rsh --enable-rshd \
- --enable-rcp --enable-hostname \
+ --enable-rcp --enable-hostname --enable-dnsdomainname \
--disable-rexec --disable-rexecd \
--disable-tftp --disable-tftpd \
--disable-ping --disable-ping6 \
@@ -60,8 +54,6 @@ package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
- install -D -m755 "${srcdir}/dnsdomainname" "${pkgdir}/usr/bin/dnsdomainname"
- echo ".so man1/hostname.1" > "${pkgdir}/usr/share/man/man1/dnsdomainname.1"
install -D -m644 "${srcdir}/telnet.xinetd" "${pkgdir}/etc/xinetd.d/telnet"
install -D -m644 "${srcdir}/talk.xinetd" "${pkgdir}/etc/xinetd.d/talk"
install -D -m644 "${srcdir}/rlogin.xinetd" "${pkgdir}/etc/xinetd.d/rlogin"
diff --git a/core/inetutils/dnsdomainname b/core/inetutils/dnsdomainname
deleted file mode 100644
index a1b8a8c31..000000000
--- a/core/inetutils/dnsdomainname
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec /usr/bin/hostname -d "$@"