diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /inetutils | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
Diffstat (limited to 'inetutils')
-rw-r--r-- | inetutils/.footprint | 15 | ||||
-rw-r--r-- | inetutils/.md5sum | 3 | ||||
-rw-r--r-- | inetutils/Pkgfile | 21 | ||||
-rw-r--r-- | inetutils/Pkgfile.old | 31 | ||||
-rwxr-xr-x | inetutils/inetd | 23 | ||||
-rw-r--r-- | inetutils/inetd.conf | 23 |
6 files changed, 116 insertions, 0 deletions
diff --git a/inetutils/.footprint b/inetutils/.footprint new file mode 100644 index 0000000..5a881ba --- /dev/null +++ b/inetutils/.footprint @@ -0,0 +1,15 @@ +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/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/ftp.1.gz +-rw-r--r-- root/root usr/man/man1/inetd.1.gz +-rw-r--r-- root/root usr/man/man1/telnet.1.gz +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/inetd 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/Pkgfile b/inetutils/Pkgfile new file mode 100644 index 0000000..b77a431 --- /dev/null +++ b/inetutils/Pkgfile @@ -0,0 +1,21 @@ +description="Inetd daemon, FTP and telnet client" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +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=/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/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 |