summaryrefslogtreecommitdiffstats
path: root/inetutils
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 11:56:26 +0100
committerLukc <lukc@upyum.com>2010-12-12 11:56:26 +0100
commitc080bceaf48f763a6ba74b6b697fdcf62b809ada (patch)
tree808bf0ee42f040476c508fc1a5fb080499dca546 /inetutils
parent02bf6ae4936620397c59c46cfa5eb67830d69f2d (diff)
downloadopt-c080bceaf48f763a6ba74b6b697fdcf62b809ada.tar.gz
opt-c080bceaf48f763a6ba74b6b697fdcf62b809ada.tar.bz2
opt-c080bceaf48f763a6ba74b6b697fdcf62b809ada.tar.xz
opt-c080bceaf48f763a6ba74b6b697fdcf62b809ada.zip
Recette de inetutils ajoutée.
Diffstat (limited to 'inetutils')
-rw-r--r--inetutils/.footprint19
-rw-r--r--inetutils/.md5sum3
-rw-r--r--inetutils/.sha256sum3
-rw-r--r--inetutils/Pkgfile27
-rw-r--r--inetutils/Pkgfile.old31
-rwxr-xr-xinetutils/inetd23
-rw-r--r--inetutils/inetd.conf23
7 files changed, 129 insertions, 0 deletions
diff --git a/inetutils/.footprint b/inetutils/.footprint
new file mode 100644
index 0000000..f1ed55c
--- /dev/null
+++ b/inetutils/.footprint
@@ -0,0 +1,19 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/inetd.conf
+drwxr-xr-x root/root etc/rc.d/
+-rwxr-xr-x root/root etc/rc.d/inetd
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/ftp
+-rwxr-xr-x root/root usr/bin/telnet
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/inetd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/dir
+-rw-r--r-- root/root usr/share/info/inetutils.info
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/ftp.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/inetd.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/telnet.1.bz2
diff --git a/inetutils/.md5sum b/inetutils/.md5sum
new file mode 100644
index 0000000..406fa41
--- /dev/null
+++ b/inetutils/.md5sum
@@ -0,0 +1,3 @@
+87fdb9f85d8fc140b2f873e8e4e18440 inetd
+dd0d71e008809420edada02dda7a3149 inetd.conf
+ad8fdcdf1797b9ca258264a6b04e48fd inetutils-1.8.tar.gz
diff --git a/inetutils/.sha256sum b/inetutils/.sha256sum
new file mode 100644
index 0000000..4332557
--- /dev/null
+++ b/inetutils/.sha256sum
@@ -0,0 +1,3 @@
+8f8535be476a3fcee4c21195a2ca483ae6fe718cd33752d854bf5aa84ecca6db inetd
+35c5c1d8b4d48cdd708440863fea126c82c8248f8b964e5cf454ee3dd19e40f9 inetd.conf
+c8500baee04b9ea408c9e65e24ad7f5b41e7d96d42fb1d29abf25b52b68311c7 inetutils-1.8.tar.gz
diff --git a/inetutils/Pkgfile b/inetutils/Pkgfile
new file mode 100644
index 0000000..0575a69
--- /dev/null
+++ b/inetutils/Pkgfile
@@ -0,0 +1,27 @@
+description="Inetd daemon, FTP and telnet client."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.gnu.org/software/inetutils/inetutils.html"
+depends=(readline ncurses)
+
+name=inetutils
+version=1.8
+release=1
+source=(http://ftp.gnu.org/gnu/inetutils/inetutils-1.8.tar.gz inetd.conf inetd)
+build ()
+{
+ cd inetutils-$version;
+ ./configure \
+ --prefix=$prefix \
+ --libexecdir=$prefix/sbin \
+ --mandir=$mandir \
+ --localstatedir=/var \
+ --sysconfdir=$sysconfdir \
+ --disable-{servers,clients} \
+ --enable-{inetd,ftp,telnet};
+ make;
+ make DESTDIR=$PKG install;
+ install -d $PKG/etc/rc.d;
+ install -m 644 $SRC/inetd.conf $PKG$sysconfdir;
+ install -m 755 $SRC/inetd $PKG$sysconfdir/rc.d;
+}
diff --git a/inetutils/Pkgfile.old b/inetutils/Pkgfile.old
new file mode 100644
index 0000000..af58f1f
--- /dev/null
+++ b/inetutils/Pkgfile.old
@@ -0,0 +1,31 @@
+# Description: Inetd daemon, FTP and telnet client
+# URL: http://www.gnu.org/software/inetutils/inetutils.html
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: readline ncurses
+
+name=inetutils
+version=1.8
+release=1
+source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
+ inetd.conf inetd)
+
+build() {
+ cd inetutils-$version
+
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/sbin \
+ --mandir=/usr/man \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ --disable-{servers,clients} \
+ --enable-{inetd,ftp,telnet}
+
+ make
+ make DESTDIR=$PKG install
+
+ install -d $PKG/etc/rc.d
+ install -m 644 $SRC/inetd.conf $PKG/etc
+ install -m 755 $SRC/inetd $PKG/etc/rc.d
+
+ rm -r $PKG/usr/share
+}
diff --git a/inetutils/inetd b/inetutils/inetd
new file mode 100755
index 0000000..b70001c
--- /dev/null
+++ b/inetutils/inetd
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# /etc/rc.d/inetd: start/stop inet daemon
+#
+
+case $1 in
+start)
+ /usr/sbin/inetd
+ ;;
+stop)
+ killall -q /usr/sbin/inetd
+ ;;
+restart)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+*)
+ echo "usage: $0 [start|stop|restart]"
+ ;;
+esac
+
+# End of file
diff --git a/inetutils/inetd.conf b/inetutils/inetd.conf
new file mode 100644
index 0000000..00ac639
--- /dev/null
+++ b/inetutils/inetd.conf
@@ -0,0 +1,23 @@
+#
+# /etc/inetd.conf: inetd(8) configuration
+#
+# Do 'killall -HUP inetd' to make inetd re-read this file.
+#
+
+# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
+
+# ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
+# telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
+# nntp stream tcp nowait root /usr/sbin/tcpd in.nntpd
+# smtp stream tcp nowait root /usr/sbin/tcpd sendmail -v
+# shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
+# login stream tcp nowait root /usr/sbin/tcpd in.rlogind
+# exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
+# talk dgram udp wait root /usr/sbin/tcpd in.talkd
+# ntalk dgram udp wait root /usr/sbin/tcpd in.talkd
+# pop2 stream tcp nowait root /usr/sbin/tcpd in.pop2d
+# pop3 stream tcp nowait root /usr/sbin/tcpd in.pop3d
+# imap stream tcp nowait root /usr/sbin/tcpd in.imapd
+# auth stream tcp nowait nobody /usr/sbin/in.identd in.identd
+
+# End of file