[arch-commits] Commit in inetutils/repos (21 files)
Eric Bélanger
eric at archlinux.org
Tue Oct 4 00:28:35 UTC 2011
Date: Monday, October 3, 2011 @ 20:28:34
Author: eric
Revision: 139637
db-move: moved inetutils from [testing] to [core] (x86_64)
Added:
inetutils/repos/core-x86_64/PKGBUILD
(from rev 139635, inetutils/repos/testing-x86_64/PKGBUILD)
inetutils/repos/core-x86_64/dnsdomainname
(from rev 139635, inetutils/repos/testing-x86_64/dnsdomainname)
inetutils/repos/core-x86_64/domainname
(from rev 139635, inetutils/repos/testing-x86_64/domainname)
inetutils/repos/core-x86_64/ftpd.conf
(from rev 139635, inetutils/repos/testing-x86_64/ftpd.conf)
inetutils/repos/core-x86_64/ftpd.rc
(from rev 139635, inetutils/repos/testing-x86_64/ftpd.rc)
inetutils/repos/core-x86_64/inetutils.install
(from rev 139635, inetutils/repos/testing-x86_64/inetutils.install)
inetutils/repos/core-x86_64/rexec.xinetd
(from rev 139635, inetutils/repos/testing-x86_64/rexec.xinetd)
inetutils/repos/core-x86_64/rlogin.xinetd
(from rev 139635, inetutils/repos/testing-x86_64/rlogin.xinetd)
inetutils/repos/core-x86_64/rsh.xinetd
(from rev 139635, inetutils/repos/testing-x86_64/rsh.xinetd)
inetutils/repos/core-x86_64/talk.xinetd
(from rev 139635, inetutils/repos/testing-x86_64/talk.xinetd)
inetutils/repos/core-x86_64/telnet.xinetd
(from rev 139635, inetutils/repos/testing-x86_64/telnet.xinetd)
Deleted:
inetutils/repos/core-x86_64/PKGBUILD
inetutils/repos/core-x86_64/ftpd.conf
inetutils/repos/core-x86_64/ftpd.rc
inetutils/repos/core-x86_64/inetutils.install
inetutils/repos/core-x86_64/rexec.xinetd
inetutils/repos/core-x86_64/rlogin.xinetd
inetutils/repos/core-x86_64/rsh.xinetd
inetutils/repos/core-x86_64/talk.xinetd
inetutils/repos/core-x86_64/telnet.xinetd
inetutils/repos/testing-x86_64/
-------------------+
PKGBUILD | 134 +++++++++++++++++++++++++++-------------------------
dnsdomainname | 3 +
domainname | 3 +
ftpd.conf | 8 +--
ftpd.rc | 74 ++++++++++++++--------------
inetutils.install | 40 +++++++--------
rexec.xinetd | 20 +++----
rlogin.xinetd | 20 +++----
rsh.xinetd | 20 +++----
talk.xinetd | 20 +++----
telnet.xinetd | 20 +++----
11 files changed, 189 insertions(+), 173 deletions(-)
Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD 2011-10-04 00:28:33 UTC (rev 139636)
+++ core-x86_64/PKGBUILD 2011-10-04 00:28:34 UTC (rev 139637)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
-
-pkgname=inetutils
-pkgver=1.8
-pkgrel=3
-pkgdesc="A collection of common network programs"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/inetutils/"
-license=('GPL')
-depends=('readline' 'ncurses' 'pam')
-provides=('netkit-ftp' 'netkit-rsh' 'netkit-telnet' 'netkit-ntalk')
-conflicts=('netkit-ftp' 'netkit-rsh' 'netkit-telnet' 'netkit-ntalk')
-replaces=('netkit-ftp' 'netkit-rsh' 'netkit-telnet' 'netkit-ntalk')
-backup=('etc/conf.d/ftpd' 'etc/xinetd.d/telnet' 'etc/xinetd.d/talk' \
- 'etc/xinetd.d/rexec' 'etc/xinetd.d/rlogin' 'etc/xinetd.d/rsh')
-options=('!emptydirs')
-install=inetutils.install
-source=(http://ftp.gnu.org/gnu/inetutils/${pkgname}-${pkgver}.tar.gz \
- ftpd.rc ftpd.conf telnet.xinetd talk.xinetd rexec.xinetd rlogin.xinetd rsh.xinetd)
-md5sums=('ad8fdcdf1797b9ca258264a6b04e48fd' 'c167200f6faeb64659e69ced2a9d672a'\
- 'e6e6e5990a2e8159a276fef8fbf54c04' '8596208d119045543c5fb644e1d713d5'\
- '2c3655985cf122591d71d031af84ff90' 'c490ea36751ac5f1d61d2c014959a3d1'\
- 'c25d8382a994de84d9c6962d804f689b' 'c3aa508a9d1293a787341108cd49c1b7')
-sha1sums=('598445859b511f73681e4d74a41d65cd6ae0f83e' '84dc802b5e57b5e04c847572225a3b9612017155'\
- '68a590083b45997dfdb80e666b2de762f494ba74' 'bfad98a4a62f1fff8779f076c6019ed07f9111af'\
- '27d99b910eec0fc26bd79ccc2c1de26608330298' '87aa4f38ebee9dac5dcaa04cbc3f2f0906bec605'\
- '81f10b3b688e3952f793b35bcef63b5bf257a92b' '81f4a8da823cf0bb14284fc71ee6108849691eda')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --libexec=/usr/sbin --localstatedir=/var \
- --mandir=/usr/share/man --infodir=/usr/share/info \
- --without-wrap --with-pam \
- --enable-ftp --enable-ftpd \
- --enable-telnet --enable-telnetd \
- --enable-talk --enable-talkd \
- --enable-rlogin --enable-rlogind \
- --enable-rsh --enable-rshd \
- --enable-rexec --enable-rexecd \
- --enable-rcp \
- --disable-tftp --disable-tftpd \
- --disable-ping --disable-ping6 \
- --disable-logger --disable-syslogd \
- --disable-inetd --disable-whois \
- --disable-uucpd --disable-hostname \
- --disable-ifconfig --disable-traceroute
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -D -m755 "${srcdir}/ftpd.rc" "${pkgdir}/etc/rc.d/ftpd"
- install -D -m644 "${srcdir}/ftpd.conf" "${pkgdir}/etc/conf.d/ftpd"
- 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}/rexec.xinetd" "${pkgdir}/etc/xinetd.d/rexec"
- install -D -m644 "${srcdir}/rlogin.xinetd" "${pkgdir}/etc/xinetd.d/rlogin"
- install -D -m644 "${srcdir}/rsh.xinetd" "${pkgdir}/etc/xinetd.d/rsh"
-}
Copied: inetutils/repos/core-x86_64/PKGBUILD (from rev 139635, inetutils/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=inetutils
+pkgver=1.8
+pkgrel=5
+pkgdesc="A collection of common network programs"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/inetutils/"
+license=('GPL')
+groups=('base')
+depends=('readline' 'ncurses' 'pam')
+provides=('netkit-ftp' 'netkit-rsh' 'netkit-telnet' 'netkit-ntalk')
+conflicts=('netkit-ftp' 'netkit-rsh' 'netkit-telnet' 'netkit-ntalk')
+replaces=('netkit-ftp' 'netkit-rsh' 'netkit-telnet' 'netkit-ntalk')
+backup=('etc/conf.d/ftpd' 'etc/xinetd.d/telnet' 'etc/xinetd.d/talk' \
+ 'etc/xinetd.d/rexec' '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} \
+ ftpd.rc ftpd.conf telnet.xinetd talk.xinetd rexec.xinetd rlogin.xinetd rsh.xinetd \
+ dnsdomainname domainname)
+sha1sums=('598445859b511f73681e4d74a41d65cd6ae0f83e'
+ 'c439b577214017be9cccd1b2fbba048964386a0e'
+ '84dc802b5e57b5e04c847572225a3b9612017155'
+ '68a590083b45997dfdb80e666b2de762f494ba74'
+ 'bfad98a4a62f1fff8779f076c6019ed07f9111af'
+ '27d99b910eec0fc26bd79ccc2c1de26608330298'
+ '87aa4f38ebee9dac5dcaa04cbc3f2f0906bec605'
+ '81f10b3b688e3952f793b35bcef63b5bf257a92b'
+ '81f4a8da823cf0bb14284fc71ee6108849691eda'
+ 'ac69756d6cc50157d430d863db04a5aac4688380'
+ 'eb952b0b9c3e3d429d8e21b110249e495f0e0e63')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --libexec=/usr/sbin --localstatedir=/var \
+ --mandir=/usr/share/man --infodir=/usr/share/info \
+ --without-wrap --with-pam \
+ --enable-ftp --enable-ftpd \
+ --enable-telnet --enable-telnetd \
+ --enable-talk --enable-talkd \
+ --enable-rlogin --enable-rlogind \
+ --enable-rsh --enable-rshd \
+ --enable-rexec --enable-rexecd \
+ --enable-rcp --enable-hostname \
+ --disable-tftp --disable-tftpd \
+ --disable-ping --disable-ping6 \
+ --disable-logger --disable-syslogd \
+ --disable-inetd --disable-whois \
+ --disable-uucpd --disable-ifconfig --disable-traceroute
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}/bin"
+ ln -s /usr/bin/hostname "${pkgdir}/bin/hostname"
+ install -D -m755 "${srcdir}/domainname" "${pkgdir}/bin/domainname"
+ install -D -m755 "${srcdir}/dnsdomainname" "${pkgdir}/bin/dnsdomainname"
+ echo ".so man1/hostname.1" > "${pkgdir}/usr/share/man/man1/domainname.1"
+ echo ".so man1/hostname.1" > "${pkgdir}/usr/share/man/man1/dnsdomainname.1"
+ install -D -m755 "${srcdir}/ftpd.rc" "${pkgdir}/etc/rc.d/ftpd"
+ install -D -m644 "${srcdir}/ftpd.conf" "${pkgdir}/etc/conf.d/ftpd"
+ 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}/rexec.xinetd" "${pkgdir}/etc/xinetd.d/rexec"
+ install -D -m644 "${srcdir}/rlogin.xinetd" "${pkgdir}/etc/xinetd.d/rlogin"
+ install -D -m644 "${srcdir}/rsh.xinetd" "${pkgdir}/etc/xinetd.d/rsh"
+}
Copied: inetutils/repos/core-x86_64/dnsdomainname (from rev 139635, inetutils/repos/testing-x86_64/dnsdomainname)
===================================================================
--- core-x86_64/dnsdomainname (rev 0)
+++ core-x86_64/dnsdomainname 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/bin/hostname -y "$@"
Copied: inetutils/repos/core-x86_64/domainname (from rev 139635, inetutils/repos/testing-x86_64/domainname)
===================================================================
--- core-x86_64/domainname (rev 0)
+++ core-x86_64/domainname 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/bin/hostname -d "$@"
Deleted: core-x86_64/ftpd.conf
===================================================================
--- core-x86_64/ftpd.conf 2011-10-04 00:28:33 UTC (rev 139636)
+++ core-x86_64/ftpd.conf 2011-10-04 00:28:34 UTC (rev 139637)
@@ -1,4 +0,0 @@
-#
-# Parameters to be passed to ftpd
-#
-FTPD_ARGS=""
Copied: inetutils/repos/core-x86_64/ftpd.conf (from rev 139635, inetutils/repos/testing-x86_64/ftpd.conf)
===================================================================
--- core-x86_64/ftpd.conf (rev 0)
+++ core-x86_64/ftpd.conf 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,4 @@
+#
+# Parameters to be passed to ftpd
+#
+FTPD_ARGS=""
Deleted: core-x86_64/ftpd.rc
===================================================================
--- core-x86_64/ftpd.rc 2011-10-04 00:28:33 UTC (rev 139636)
+++ core-x86_64/ftpd.rc 2011-10-04 00:28:34 UTC (rev 139637)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/ftpd
-
-PID=$(pidof -o %PPID /usr/sbin/ftpd)
-case "$1" in
- start)
- stat_busy "Starting ftpd"
- [ -z "$PID" ] && /usr/sbin/ftpd -D $FTPD_ARGS
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ftpd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping ftpd"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ftpd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: inetutils/repos/core-x86_64/ftpd.rc (from rev 139635, inetutils/repos/testing-x86_64/ftpd.rc)
===================================================================
--- core-x86_64/ftpd.rc (rev 0)
+++ core-x86_64/ftpd.rc 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/ftpd
+
+PID=$(pidof -o %PPID /usr/sbin/ftpd)
+case "$1" in
+ start)
+ stat_busy "Starting ftpd"
+ [ -z "$PID" ] && /usr/sbin/ftpd -D $FTPD_ARGS
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon ftpd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping ftpd"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon ftpd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Deleted: core-x86_64/inetutils.install
===================================================================
--- core-x86_64/inetutils.install 2011-10-04 00:28:33 UTC (rev 139636)
+++ core-x86_64/inetutils.install 2011-10-04 00:28:34 UTC (rev 139637)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(inetutils.info.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
Copied: inetutils/repos/core-x86_64/inetutils.install (from rev 139635, inetutils/repos/testing-x86_64/inetutils.install)
===================================================================
--- core-x86_64/inetutils.install (rev 0)
+++ core-x86_64/inetutils.install 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(inetutils.info.gz)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
Deleted: core-x86_64/rexec.xinetd
===================================================================
--- core-x86_64/rexec.xinetd 2011-10-04 00:28:33 UTC (rev 139636)
+++ core-x86_64/rexec.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -1,10 +0,0 @@
-service exec
-{
- flags = REUSE
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/rexecd
- log_on_failure += USERID
- disable = yes
-}
Copied: inetutils/repos/core-x86_64/rexec.xinetd (from rev 139635, inetutils/repos/testing-x86_64/rexec.xinetd)
===================================================================
--- core-x86_64/rexec.xinetd (rev 0)
+++ core-x86_64/rexec.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,10 @@
+service exec
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/sbin/rexecd
+ log_on_failure += USERID
+ disable = yes
+}
Deleted: core-x86_64/rlogin.xinetd
===================================================================
--- core-x86_64/rlogin.xinetd 2011-10-04 00:28:33 UTC (rev 139636)
+++ core-x86_64/rlogin.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -1,10 +0,0 @@
-service login
-{
- flags = REUSE
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/rlogind
- log_on_failure += USERID
- disable = yes
-}
Copied: inetutils/repos/core-x86_64/rlogin.xinetd (from rev 139635, inetutils/repos/testing-x86_64/rlogin.xinetd)
===================================================================
--- core-x86_64/rlogin.xinetd (rev 0)
+++ core-x86_64/rlogin.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,10 @@
+service login
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/sbin/rlogind
+ log_on_failure += USERID
+ disable = yes
+}
Deleted: core-x86_64/rsh.xinetd
===================================================================
--- core-x86_64/rsh.xinetd 2011-10-04 00:28:33 UTC (rev 139636)
+++ core-x86_64/rsh.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -1,10 +0,0 @@
-service shell
-{
- flags = REUSE
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/rshd
- log_on_failure += USERID
- disable = yes
-}
Copied: inetutils/repos/core-x86_64/rsh.xinetd (from rev 139635, inetutils/repos/testing-x86_64/rsh.xinetd)
===================================================================
--- core-x86_64/rsh.xinetd (rev 0)
+++ core-x86_64/rsh.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,10 @@
+service shell
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/sbin/rshd
+ log_on_failure += USERID
+ disable = yes
+}
Deleted: core-x86_64/talk.xinetd
===================================================================
--- core-x86_64/talk.xinetd 2011-10-04 00:28:33 UTC (rev 139636)
+++ core-x86_64/talk.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -1,10 +0,0 @@
-service ntalk
-{
- flags = REUSE
- socket_type = dgram
- wait = yes
- user = root
- server = /usr/sbin/talkd
- log_on_failure += USERID
- disable = yes
-}
Copied: inetutils/repos/core-x86_64/talk.xinetd (from rev 139635, inetutils/repos/testing-x86_64/talk.xinetd)
===================================================================
--- core-x86_64/talk.xinetd (rev 0)
+++ core-x86_64/talk.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,10 @@
+service ntalk
+{
+ flags = REUSE
+ socket_type = dgram
+ wait = yes
+ user = root
+ server = /usr/sbin/talkd
+ log_on_failure += USERID
+ disable = yes
+}
Deleted: core-x86_64/telnet.xinetd
===================================================================
--- core-x86_64/telnet.xinetd 2011-10-04 00:28:33 UTC (rev 139636)
+++ core-x86_64/telnet.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -1,10 +0,0 @@
-service telnet
-{
- flags = REUSE
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/telnetd
- log_on_failure += USERID
- disable = yes
-}
Copied: inetutils/repos/core-x86_64/telnet.xinetd (from rev 139635, inetutils/repos/testing-x86_64/telnet.xinetd)
===================================================================
--- core-x86_64/telnet.xinetd (rev 0)
+++ core-x86_64/telnet.xinetd 2011-10-04 00:28:34 UTC (rev 139637)
@@ -0,0 +1,10 @@
+service telnet
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/sbin/telnetd
+ log_on_failure += USERID
+ disable = yes
+}
More information about the arch-commits
mailing list