diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-08-09 22:58:29 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-08-09 22:58:29 +0000 |
commit | 96540e2dfb86585f13ebf2c7731d5a3548eeb19b (patch) | |
tree | 45128f31289fe74b61ea9155e7df783f368a3c44 /net-misc | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-96540e2dfb86585f13ebf2c7731d5a3548eeb19b.tar.gz gentoo-2-96540e2dfb86585f13ebf2c7731d5a3548eeb19b.tar.bz2 gentoo-2-96540e2dfb86585f13ebf2c7731d5a3548eeb19b.zip |
*** empty log message ***
Diffstat (limited to 'net-misc')
43 files changed, 943 insertions, 0 deletions
diff --git a/net-misc/bind/bind-8.2.2-P5-r1.ebuild b/net-misc/bind/bind-8.2.2-P5-r1.ebuild new file mode 100644 index 000000000000..a41ad40d96b1 --- /dev/null +++ b/net-misc/bind/bind-8.2.2-P5-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/bind/bind-8.2.2-P5-r1.ebuild,v 1.1 2000/08/09 22:58:28 achim Exp $ + +P=bind-8.2.2-P5 +A=bind-src.tar.gz +S=${WORKDIR}/src +CATEGORY="net-misc" +DESCRIPTION="Name Server" +SRC_URI="ftp://ftp.isc.org/isc/bind/src/8.2.2-P5/"${A} +HOMEPAGE="http://www.isc.org/products/BIND" + +src_compile() { + make clean + make depend + make all +} + +src_unpack() { + + unpack ${A} + cd ${S}/port/linux + cp Makefile.set Makefile.set.orig + sed -e 's/CDEBUG=-O -g/CDEBUG=${CFLAGS}/' Makefile.set.orig > Makefile.set + cp Makefile.set Makefile.set.orig + sed -e 's/DESTETC=\/etc/DESTETC=\/etc\/bind/' Makefile.set.orig > Makefile.set + cd ${S}/bin + cp Makefile Makefile.orig + sed -e 's/CDEBUG= -g/#CDEBUG= -g/' Makefile.orig > Makefile + cp Makefile Makefile.orig + sed -e 's/CFLAGS=/#CFLAGS=/' Makefile.orig > Makefile +} + +src_install() { + into /usr + for x in addr dig dnsquery host mkservdb nslookup nsupdate + do + dobin bin/${x}/${x} + done + for x in dnskeygen irpd named named-bootconf named-xfer ndc + do + dosbin bin/${x}/${x} + done + + dodoc CHANGES DNSSEC SUPPORT README LICENSE* TODO + docinto conf + dodoc conf/README + docinto conf/recursive + dodoc conf/recursive/* + docinto conf/recursive/pri + dodoc conf/recursive/pri/* + docinto conf/workstation + dodoc conf/workstation/* + docinto conf/workstation/pri + dodoc conf/workstation/pri/* + dodir /etc/rc.d/init.d + cp ${O}/files/named ${D}/etc/rc.d/init.d + cp ${O}/files/named.conf ${D}/usr/doc/${P}/conf/workstation/named.conf.gentoolinux + dodir /etc/bind + dodir /var/bind +} + +pkg_config() { + + . ${ROOT}/etc/rc.d/config/functions + + if [ -e ${ROOT}/etc/bind/named.conf ]; then + echo "You already have a named.conf in ${ROOT}/etc/bind/named.conf, not creating one." + else + install -m0644 ${ROOT}/usr/doc/bind-8.2.2-P5/conf/workstation/named.conf.gentoolinux ${ROOT}/etc/bind/named.conf + mkdir ${ROOT}/var/bind/pri + gzip -d ${ROOT}/usr/doc/bind-8.2.2-P5/conf/workstation/root.cache.gz + gzip -d ${ROOT}/usr/doc/bind-8.2.2-P5/conf/workstation/pri/*.gz + install -m0644 ${ROOT}/usr/doc/bind-8.2.2-P5/conf/workstation/root.cache ${ROOT}/var/bind/root.cache + install -m0644 ${ROOT}/usr/doc/bind-8.2.2-P5/conf/workstation/pri/* ${ROOT}/var/bind/pri/ + fi + echo; + ${ROOT}/usr/sbin/rc-update add named + echo; einfo "BIND enabled." +} + diff --git a/net-misc/bind/files/digest b/net-misc/bind/files/digest new file mode 100644 index 000000000000..1e403b5294d0 --- /dev/null +++ b/net-misc/bind/files/digest @@ -0,0 +1 @@ +MD5 81a6a106fe7ab9708a83e3aa8b2aa965 bind-src.tar.gz diff --git a/net-misc/bind/files/named b/net-misc/bind/files/named new file mode 100755 index 000000000000..583c1990311e --- /dev/null +++ b/net-misc/bind/files/named @@ -0,0 +1,31 @@ +#!/bin/sh +#RCUPDATE:2 3 4:75:This line is required for script management + +. /etc/rc.d/config/functions + +SERVICE=named +opts="start stop restart" + +PIDFILE=/var/run/named.pid +EXE=/usr/sbin/named + +start() { + ebegin "Starting $SERVICE..." + start-stop-daemon --start --quiet --exec $EXE + eend $? "Started $SERVICE." "Error Starting $SERVICE." +} + +stop() { + ebegin "Stopping $SERVICE..." + start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $EXE + eend $? "Stopped $SERVICE." "Error Stopping $SERVICE." +} + +restart() { + stop + start +} + +doservice ${@} + + diff --git a/net-misc/bind/files/named.conf b/net-misc/bind/files/named.conf new file mode 100644 index 000000000000..47fd59deb49f --- /dev/null +++ b/net-misc/bind/files/named.conf @@ -0,0 +1,21 @@ +options { + directory "/var/bind"; +}; + +zone "." { + type hint; + file "root.cache"; +}; + +zone "localhost" { + notify no; + type master; + file "pri/localhost"; +}; + +zone "0.0.127.in-addr.arpa" { + notify no; + type master; + file "pri/127.0.0"; +}; + diff --git a/net-misc/dhcp/dhcp-3.0b1pl17.ebuild b/net-misc/dhcp/dhcp-3.0b1pl17.ebuild new file mode 100644 index 000000000000..77e3c9a64d99 --- /dev/null +++ b/net-misc/dhcp/dhcp-3.0b1pl17.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0b1pl17.ebuild,v 1.1 2000/08/09 22:58:28 achim Exp $ + +P=dhcp-3.0b1pl17 +A="${P}.tar.gz" +S=${WORKDIR}/${P} +CATEGORY="net-misc" +DESCRIPTION="ISC Dynamic Host Configuration Protocol" +SRC_URI="ftp://ftp.isc.org/isc/dhcp/${P}.tar.gz" +HOMEPAGE="http://www.isc.org/products/DHCP/" + + +src_compile() { + + cd ${S} + echo "CC = gcc ${CFLAGS}" > site.conf + echo "ETC = /etc/dhcp" >> site.conf + ./configure + make +} + +src_install () { + + cd ${S}/client + into /usr + dosbin dhclient + doman *.5 *.8 + insinto /etc/dhcp + doins dhclient.conf + newins scripts/linux dhclient-script + + cd ${S}/common + doman *.5 + + cd ${S}/relay + dosbin dhcrelay + doman *.8 + + cd ${S}/server + dosbin dhcpd + doman *.5 *.8 + doins dhcpd.conf + + cd ${S} + dodoc COPYRIGHT DOCUMENTATION ISC-LICENSE README RELNOTES + docinto doc + dodoc doc/* +} + + diff --git a/net-misc/dhcp/files/digest b/net-misc/dhcp/files/digest new file mode 100644 index 000000000000..c49db56e3442 --- /dev/null +++ b/net-misc/dhcp/files/digest @@ -0,0 +1 @@ +MD5 9e5202eefc133bd30a46882239123be4 dhcp-3.0b1pl17.tar.gz diff --git a/net-misc/hylafax/files/digest b/net-misc/hylafax/files/digest new file mode 100644 index 000000000000..e0cff0735a0a --- /dev/null +++ b/net-misc/hylafax/files/digest @@ -0,0 +1 @@ +MD5 d69c311c00d2959bb1adedb0cb6a2324 hylafax-cvs-000614.tar.bz2 diff --git a/net-misc/hylafax/files/hylafax-cvs-000614.patch.gz b/net-misc/hylafax/files/hylafax-cvs-000614.patch.gz Binary files differnew file mode 100644 index 000000000000..ee9d2c7bc25b --- /dev/null +++ b/net-misc/hylafax/files/hylafax-cvs-000614.patch.gz diff --git a/net-misc/hylafax/hylafax-cvs-000614-r1.ebuild b/net-misc/hylafax/hylafax-cvs-000614-r1.ebuild new file mode 100644 index 000000000000..73535adfb326 --- /dev/null +++ b/net-misc/hylafax/hylafax-cvs-000614-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-cvs-000614-r1.ebuild,v 1.1 2000/08/09 22:58:28 achim Exp $ + +P=hylafax-cvs-000614 +A=${P}.tar.bz2 +S=${WORKDIR}/hylafax +CATEGORY="net-misc" +DESCRIPTION="HylaFAX Faxserver" +SRC_URI="ftp://gentoolinux.sourceforge.net/pub/gentoolinux/current/distfiles/"${A} +HOMEPAGE="http://www.hylafax.org" + +src_unpack() { + unpack ${A} + cd ${S} + zcat ${O}/files/${P}.patch.gz | patch -p1 +} + +src_compile() { + cd ${S} + make +} + +src_install() { + cd ${S} + dodir /usr/bin + dodir /usr/sbin + dodir /usr/lib/fax + dodir /usr/libexec + dodir /usr/man + dodir /var/spool/fax + dodir /etc/rc.d/init.d + make BASEDIR=${D} install + prepman + + dodoc COPYRIGHT README TODO VERSION + docinto html + dodoc html/*.html html/*.gif + for i in Majordomo Modems Modems/Hayes Modems/Supra Modems/Telebit \ + Modems/ZyXEL + do + docinto html/$i + dodoc html/$i/*.html + done + docinto html/icons + dodoc html/icons/*.gif +} + + + + + diff --git a/net-misc/ipchains-firewall/files/digest b/net-misc/ipchains-firewall/files/digest new file mode 100644 index 000000000000..965d3535de85 --- /dev/null +++ b/net-misc/ipchains-firewall/files/digest @@ -0,0 +1 @@ +MD5 013009f8c1462548c48c29ba4dacce9f ipchains-firewall-1.7.0.tar.gz diff --git a/net-misc/ipchains-firewall/ipchains-firewall-1.7.0-r1.ebuild b/net-misc/ipchains-firewall/ipchains-firewall-1.7.0-r1.ebuild new file mode 100644 index 000000000000..d647f2587858 --- /dev/null +++ b/net-misc/ipchains-firewall/ipchains-firewall-1.7.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipchains-firewall/ipchains-firewall-1.7.0-r1.ebuild,v 1.1 2000/08/09 22:58:28 achim Exp $ + +P=ipchains-firewall-1.7.0 +A=${P}.tar.gz +S=${WORKDIR}/ipchains-firewall-1.7 +CATEGORY="net-misc" +DESCRIPTION="IP-Chains Firewall Script " +SRC_URI="http://firewall.langistix.com/download/"${A} +HOMEPAGE="http://firewall.langistix.com/" + +src_compile() { + cd ${S} +} + +src_install() { + cd ${S} + into /usr + dosbin firewall.sh + dodoc README + cd midentd-1.6 + insinto /etc + doins midentd.conf midentd.mircusers + dodir /var/log + touch ${D}/var/log/midentd.log + chown nobody ${D}/var/log/midentd.log + dosbin midentd midentd.logcycle + docinto midentd + dodoc CHANGES README LICENSE +} + + + + diff --git a/net-misc/netkit-bootpd/files/digest b/net-misc/netkit-bootpd/files/digest new file mode 100644 index 000000000000..fca493e92772 --- /dev/null +++ b/net-misc/netkit-bootpd/files/digest @@ -0,0 +1 @@ +MD5 00d211115b11aec2e214b701fe72f397 netkit-bootparamd-0.17.tar.gz diff --git a/net-misc/netkit-bootpd/netkit-bootpd-0.17-r1.ebuild b/net-misc/netkit-bootpd/netkit-bootpd-0.17-r1.ebuild new file mode 100644 index 000000000000..c091e10f9332 --- /dev/null +++ b/net-misc/netkit-bootpd/netkit-bootpd-0.17-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-bootpd/netkit-bootpd-0.17-r1.ebuild,v 1.1 2000/08/09 22:58:28 achim Exp $ + +P=netkit-bootpd-0.17 +A=netkit-bootparamd-0.17.tar.gz +S=${WORKDIR}/netkit-bootparamd-0.17 +DESCRIPTION="Netkit - bootp" +CATEGORY=net-misc +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" + +src_compile() { + ./configure + make +} + +src_install() { + into /usr + dosbin rpc.bootparamd/bootparamd + dosym bootparamd /usr/sbin/rpc.bootparamd + doman rpc.bootparamd/bootparamd.8 + dosym bootparamd.8.gz /usr/man/man8/rpc.bootparamd.8.gz + doman rpc.bootparamd/bootparams.5 + dodoc README ChangeLog + newdoc rpc.bootparamd/README README.bootparamd +} + + diff --git a/net-misc/netkit-fingerd/files/digest b/net-misc/netkit-fingerd/files/digest new file mode 100644 index 000000000000..1c94cbe5cd59 --- /dev/null +++ b/net-misc/netkit-fingerd/files/digest @@ -0,0 +1 @@ +MD5 52bf281aac8814bf56cdc92f7661ee75 bsd-finger-0.17.tar.gz diff --git a/net-misc/netkit-fingerd/netkit-fingerd-0.17-r1.ebuild b/net-misc/netkit-fingerd/netkit-fingerd-0.17-r1.ebuild new file mode 100644 index 000000000000..1e9d9da50cfa --- /dev/null +++ b/net-misc/netkit-fingerd/netkit-fingerd-0.17-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-fingerd/netkit-fingerd-0.17-r1.ebuild,v 1.1 2000/08/09 22:58:28 achim Exp $ + +P=netkit-fingerd-0.17 +A=bsd-finger-0.17.tar.gz +S=${WORKDIR}/bsd-finger-0.17 +DESCRIPTION="Netkit - fingerd" +CATEGORY=net-misc +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" + +src_compile() { + cd ${S} + ./configure + make +} + +src_install() { + into /usr + dobin finger/finger + dosbin fingerd/fingerd + dosym fingerd /usr/sbin/in.fingerd + doman finger/finger.1 + doman fingerd/fingerd.8 + dosym fingerd.8.gz /usr/man/man8/in.fingerd.8.gz + dodoc README ChangeLog BUGS +} + + + diff --git a/net-misc/netkit-routed/files/digest b/net-misc/netkit-routed/files/digest new file mode 100644 index 000000000000..1b837fd1ca27 --- /dev/null +++ b/net-misc/netkit-routed/files/digest @@ -0,0 +1 @@ +MD5 3a9507876db23109be6d1f41ced5570a netkit-routed-0.17.tar.gz diff --git a/net-misc/netkit-routed/netkit-routed-0.17-r1.ebuild b/net-misc/netkit-routed/netkit-routed-0.17-r1.ebuild new file mode 100644 index 000000000000..c74a093c9f4b --- /dev/null +++ b/net-misc/netkit-routed/netkit-routed-0.17-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-routed/netkit-routed-0.17-r1.ebuild,v 1.1 2000/08/09 22:58:28 achim Exp $ + +P=netkit-routed-0.17 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Netkit - routed" +CATEGORY=net-misc +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" + +src_compile() { + ./configure + make +} + +src_install() { + into /usr + dosbin ripquery/ripquery + doman ripquery/ripquery.8 + dosbin routed/routed + dosym routed /usr/sbin/in.routed + doman routed/routed.8 + dosym routed.8.gz /usr/man/man8/in.routed.8.gz + dodoc README ChangeLog + newdoc routed/README README.routed +} + + diff --git a/net-misc/netkit-rsh/files/digest b/net-misc/netkit-rsh/files/digest new file mode 100644 index 000000000000..e9b559a0d711 --- /dev/null +++ b/net-misc/netkit-rsh/files/digest @@ -0,0 +1 @@ +MD5 65f5f28e2fe22d9ad8b17bb9a10df096 netkit-rsh-0.17.tar.gz diff --git a/net-misc/netkit-rsh/files/rlogind-auth.diff b/net-misc/netkit-rsh/files/rlogind-auth.diff new file mode 100644 index 000000000000..5f05a2133462 --- /dev/null +++ b/net-misc/netkit-rsh/files/rlogind-auth.diff @@ -0,0 +1,12 @@ +*** rlogind/auth.c.orig Wed Aug 9 21:52:14 2000 +--- rlogind/auth.c Wed Aug 9 21:52:35 2000 +*************** +*** 51,54 **** +--- 51,56 ---- + #include <unistd.h> + #include <string.h> ++ #include <stdio.h> ++ #include <grp.h> + + #include <security/pam_appl.h> + diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r1.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r1.ebuild new file mode 100644 index 000000000000..8c82268028fe --- /dev/null +++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/netkit-rsh-0.17-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=netkit-rsh-0.17 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Netkit - rshd" +CATEGORY=net-misc +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" + +src_compile() { + ./configure + make +} + +src_unpack () { + unpack ${A} + cd ${S} + patch -p0 < ${O}/files/rlogind-auth.diff +} + +src_install() { + into /usr + dobin rcp/rcp + doman rcp/rcp.1 + dobin rexec/rexec + doman rexec/rexec.1 + dosbin rexecd/rexecd + dosym rexecd /usr/sbin/in.rexecd + doman rexecd/rexecd.8 + dosym rexecd.8.gz /usr/man/man8/in.rexecd.8.gz + dobin rlogin/rlogin + doman rlogin/rlogin.1 + dosbin rlogind/rlogind + dosym rlogind /usr/sbin/in.rlogind + doman rlogind/rlogind.8 + dosym rlogind.8.gz /usr/man/man8/in.rlogind.8.gz + dobin rsh/rsh + doman rsh/rsh.1 + dosbin rshd/rshd + dosym rshd /usr/sbin/in.rshd + doman rshd/rshd.8 + dosym rshd.8.gz /usr/man/man8/in.rshd.8.gz + dodoc README ChangeLog BUGS + newdoc rexec/README README.rexec + +} + + diff --git a/net-misc/netkit-talk/files/digest b/net-misc/netkit-talk/files/digest new file mode 100644 index 000000000000..30b880857e24 --- /dev/null +++ b/net-misc/netkit-talk/files/digest @@ -0,0 +1 @@ +MD5 e3c57208f8644ae206dab5e236daf7b3 netkit-ntalk-0.17.tar.gz diff --git a/net-misc/netkit-talk/netkit-talk-0.17-r1.ebuild b/net-misc/netkit-talk/netkit-talk-0.17-r1.ebuild new file mode 100644 index 000000000000..2a88ce964ac4 --- /dev/null +++ b/net-misc/netkit-talk/netkit-talk-0.17-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-talk/netkit-talk-0.17-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=netkit-talk-0.17 +A=netkit-ntalk-0.17.tar.gz +S=${WORKDIR}/netkit-ntalk-0.17 +DESCRIPTION="Netkit - talkd" +CATEGORY=net-misc +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" + +src_compile() { + ./configure + make +} + +src_install() { + into /usr + dobin talk/talk + doman talk/talk.1 + dosbin talkd/talkd + dosym talkd /usr/sbin/in.talkd + doman talkd/talkd.8 + dosym talkd.8.gz /usr/man/man8/in.talkd.8.gz + dodoc README ChangeLog BUGS +} + + diff --git a/net-misc/netkit-telnetd/files/digest b/net-misc/netkit-telnetd/files/digest new file mode 100644 index 000000000000..6293c0a93645 --- /dev/null +++ b/net-misc/netkit-telnetd/files/digest @@ -0,0 +1 @@ +MD5 d6beabaaf53fe6e382c42ce3faa05a36 netkit-telnet-0.17.tar.gz diff --git a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r1.ebuild b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r1.ebuild new file mode 100644 index 000000000000..3d10542940e3 --- /dev/null +++ b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/netkit-telnetd-0.17-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=netkit-telnetd-0.17 +A=netkit-telnet-0.17.tar.gz +S=${WORKDIR}/netkit-telnet-0.17 +DESCRIPTION="Standard Linux telnet client" +CATEGORY=net-misc +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" + +src_compile() { + ./configure --prefix=/usr + cp MCONFIG MCONFIG.orig + sed -e "s/-pipe -O2/${CFLAGS}/" MCONFIG.orig > MCONFIG + make + cd telnetlogin + make +} + +src_install() { + into /usr + dobin telnet/telnet + dosbin telnetd/telnetd + dosym telnetd /usr/sbin/in.telnetd + dosbin telnetlogin/telnetlogin + doman telnet/telnet.1 + doman telnetd/*.8 + dosym telentd.8.gz /usr/man/man8/in.telnetd.8.gz + doman telnetlogin/telnetlogin.8 + dodoc BUGS ChangeLog README + newdoc telnet/README README.telnet + newdoc telnet/TODO TODO.telnet + +} + + diff --git a/net-misc/netkit-timed/files/digest b/net-misc/netkit-timed/files/digest new file mode 100644 index 000000000000..3d9b4090a062 --- /dev/null +++ b/net-misc/netkit-timed/files/digest @@ -0,0 +1 @@ +MD5 1bffb4db753d9e5be227e444cf119bfe netkit-timed-0.17.tar.gz diff --git a/net-misc/netkit-timed/files/timed b/net-misc/netkit-timed/files/timed new file mode 100755 index 000000000000..96e9a8aa7d0b --- /dev/null +++ b/net-misc/netkit-timed/files/timed @@ -0,0 +1,35 @@ +#!/bin/sh +#RCUPDATE:3 4:71:This line is required for script management + +. /etc/rc.d/config/functions +. /etc/rc.d/config/basic + +SERVICE=timed +EXE="/usr/sbin/timed" +opts="start stop reconfig restart" + +start() { + ebegin "Starting ${SERVICE}" + start-stop-daemon --start --quiet --exec $EXE -- $TIMED 1>&2 + eend $? "Error starting ${SERVICE}." +} + +stop() { + ebegin "Stopping ${SERVICE}" + start-stop-daemon --stop --quiet -u root -n $SERVICE 1>&2 + eend $? "Error stopping ${SERVICE}." +} + +reconfig () { + ebegin "Reconfiguring ${SERVICE}" + start-stop-daemon --stop --quiet -u root -n $SERVICE --signal 1 1>&2 + eend $? "Error reconfiguring ${SERVICE}." +} + +restart () { + stop + start +} +doservice ${@} + + diff --git a/net-misc/netkit-timed/netkit-timed-0.17-r1.ebuild b/net-misc/netkit-timed/netkit-timed-0.17-r1.ebuild new file mode 100644 index 000000000000..ff739fa7fa28 --- /dev/null +++ b/net-misc/netkit-timed/netkit-timed-0.17-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-timed/netkit-timed-0.17-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=netkit-timed-0.17 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Netkit - timed" +CATEGORY=net-misc +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" + +src_compile() { + ./configure + make +} + +src_install() { + + into /usr + dosbin timed/timed/timed + doman timed/timed/timed.8 + dosbin timed/timedc/timedc + doman timed/timedc/timedc.8 + dodoc README ChangeLog BUGS + dodir /etc/rc.d/init.d + cp ${O}/files/timed ${D}/etc/rc.d/init.d/timed +} + +pkg_config() { + + . /etc/rc.d/config/functions + + echo "Generating symlinks..." + ${ROOT}/usr/sbin/rc-update add timed + +} + + diff --git a/net-misc/nut/files/digest b/net-misc/nut/files/digest new file mode 100644 index 000000000000..29002576f332 --- /dev/null +++ b/net-misc/nut/files/digest @@ -0,0 +1 @@ +MD5 98314d5eb66db0e0eb367623cff16e56 nut-0.44.0.tar.gz diff --git a/net-misc/nut/files/upsd b/net-misc/nut/files/upsd new file mode 100755 index 000000000000..9226b7dfa18d --- /dev/null +++ b/net-misc/nut/files/upsd @@ -0,0 +1,33 @@ +#!/bin/sh +#RCUPDATE:2 3 4:75:This line is required for script management + +. /etc/rc.d/config/functions + +SERVICE=upsd +opts="start stop restart" + +PIDFILE=/var/run/upsd.pid +EXE=/usr/bin/upsd + +start() { + ebegin "Starting $SERVICE..." + start-stop-daemon --start --quiet --exec $EXE + eend $? "Started $SERVICE." "Error Starting $SERVICE." +} + +stop() { + ebegin "Stopping $SERVICE..." + start-stop-daemon --stop --quiet --exec $EXE + eend $? "Stopped $SERVICE." "Error Stopping $SERVICE." +} + +restart() { + + stop + start + +} + +doservice ${@} + + diff --git a/net-misc/nut/nut-0.44.0-r1.ebuild b/net-misc/nut/nut-0.44.0-r1.ebuild new file mode 100644 index 000000000000..1ae54aa04bb1 --- /dev/null +++ b/net-misc/nut/nut-0.44.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/nut-0.44.0-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=nut-0.44.0 +A=${P}.tar.gz +S=${WORKDIR}/${P} +CATEGORY="net-misc" +DESCRIPTION="Network-UPS Tools" +SRC_URI="http://www.exploits.org/nut/release/"${A} +HOMEPAGE="http://www.exploits.org/nut/" + + +src_unpack() { + unpack ${A} +} + +src_compile() { + cd ${S} + ./configure --host=${CHOST} --prefix=/usr --sysconfdir=/etc/nut + make + make cgi +} + +src_install() { + cd ${S} + make BASEPATH=${D}/usr CONFPATH=${D}/etc/nut STATEPATH=${D}/var/state/ups \ + install + cd clients + exeinto /usr/local/httpd/cgi-bin/nut + doexe *.cgi + into /usr + dolib upsfetch.o + insinto /usr/include + doins upsfetch.h + cd .. + rmdir ${D}/usr/misc + insinto /etc/rc.d/init.d + doins ${O}/files/upsd + dodoc COPYING CREDITS Changes QUICKSTART README + docinto docs + dodoc docs/*.txt docs/FAQ docs/Changes.trust + docinto cables + dodoc docs/cables/*.txt +} + + +pkg_config() { + + . ${ROOT}/etc/rc.d/config/functions + + einfo "Generating symlinks..." + ${ROOT}/usr/sbin/rc-update add upsd + +} + + diff --git a/net-misc/openssh/files/digest b/net-misc/openssh/files/digest new file mode 100644 index 000000000000..3eab6281f5bd --- /dev/null +++ b/net-misc/openssh/files/digest @@ -0,0 +1 @@ +MD5 9525a5a130470290b4adba1f58a7ca8b openssh-2.1.1p4.tar.gz diff --git a/net-misc/openssh/files/sshd b/net-misc/openssh/files/sshd new file mode 100755 index 000000000000..a9427815d1a1 --- /dev/null +++ b/net-misc/openssh/files/sshd @@ -0,0 +1,44 @@ +#!/bin/sh +#RCUPDATE:2 3 4:75:This line is required for script management + +. /etc/rc.d/config/functions + +SERVICE="Secure Shell" +opts="start stop restart" + +PIDFILE=/var/run/sshd.pid +EXE=/usr/sbin/sshd + +start() { + + if [ ! -e /etc/ssh/ssh_host_key ] ; then + einfo "Generate Hostkey..." + /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' + fi + + if [ ! -e /etc/ssh/ssh_host_dsa_key ] ; then + einfo "Generate DSA-Hostkey..." + /usr/bin/ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N '' + fi + + ebegin "Starting $SERVICE..." + start-stop-daemon --start --quiet --exec $EXE + eend $? "Started $SERVICE." "Error Starting $SERVICE." +} + +stop() { + ebegin "Stopping $SERVICE..." + start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $EXE + eend $? "Stopped $SERVICE." "Error Stopping $SERVICE." +} + +restart() { + + stop + start + +} + +doservice ${@} + + diff --git a/net-misc/openssh/openssh-2.1.1p4.ebuild b/net-misc/openssh/openssh-2.1.1p4.ebuild new file mode 100644 index 000000000000..12464b05b3b1 --- /dev/null +++ b/net-misc/openssh/openssh-2.1.1p4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-2.1.1p4.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=openssh-2.1.1p4 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Port of OpenBSD's free SSH release" +CATEGORY=net-misc +SRC_URI="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/"${A} +HOMEPAGE="http://www.openssh.com/" + +src_compile() { + ./configure --prefix=/usr --sysconfdir=/etc/ssh \ + --libexecdir=/usr/libexec --mandir=/usr/man \ + --enable-gnome-askpass \ + --with-tcp-wrappers --with-ipv4-default --host=${CHOST} + make +} + +src_unpack() { + unpack ${A} + cd ${S} +# patch -p0 < contrib/chroot.diff +} + +src_install() { + make manpages install-files DESTDIR=${D} + prepman + dodoc ChangeLog COPYING.* CREDITS OVERVIEW README* TODO UPGRADING + dodir /etc/rc.d/init.d/ + cp ${O}/files/sshd ${D}/etc/rc.d/init.d/sshd +} + +pkg_config() { + + # Make ssh start at boot + echo "Generating symlinks" + ${ROOT}/usr/sbin/rc-update add sshd + +} + + diff --git a/net-misc/rsync/files/digest b/net-misc/rsync/files/digest new file mode 100644 index 000000000000..a52195267d10 --- /dev/null +++ b/net-misc/rsync/files/digest @@ -0,0 +1 @@ +MD5 fb2653d816c87b1d7804651e65cc927d rsync-2.4.4.tar.gz diff --git a/net-misc/rsync/rsync-2.4.4-r1.ebuild b/net-misc/rsync/rsync-2.4.4-r1.ebuild new file mode 100644 index 000000000000..f6dd99bfa690 --- /dev/null +++ b/net-misc/rsync/rsync-2.4.4-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-2.4.4-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=rsync-2.4.4 +A=${P}.tar.gz +S=${WORKDIR}/${P} +CATEGORY="net-misc" +DESCRIPTION="File transfer program to keep remote files into sync" +SRC_URI="ftp://rsync.samba.org/pub/rsync/${A}" +HOMEPAGE="http://rsync.samba.org" + + +src_compile() { + + cd ${S} + ./configure --prefix=/usr --sysconfdir=/etc/rsync --host=${CHOST} + make + +} + +src_install () { + + cd ${S} + make prefix=${D}/usr install + prepman + dodir /etc/rsync + dodoc COPYING README + +} + + diff --git a/net-misc/snarf/files/digest b/net-misc/snarf/files/digest new file mode 100644 index 000000000000..eea4197b031d --- /dev/null +++ b/net-misc/snarf/files/digest @@ -0,0 +1 @@ +MD5 a57813f477fcc4c0dc5bd2c5e3c38f33 snarf-2.0.9.tar.gz diff --git a/net-misc/snarf/snarf-2.0.9-r1.ebuild b/net-misc/snarf/snarf-2.0.9-r1.ebuild new file mode 100644 index 000000000000..9e7788df2a40 --- /dev/null +++ b/net-misc/snarf/snarf-2.0.9-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/snarf/snarf-2.0.9-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=snarf-2.0.9 +A=${P}.tar.gz +S=${WORKDIR}/${P} +CATEGORY="net-misc" +DESCRIPTION="A full featured small web-spider" +SRC_URI="http://www.xach.com/snarf/"${A} +HOMEPAGE="http://www.xach.com/snarf/" + +src_compile() { + cd ${S} + ./configure --host=${CHOST} --prefix=/usr + make +} + +src_install() { + cd ${S} + into /usr + dobin snarf + doman snarf.1 + dodoc COPYING ChangeLog README TODO +} + + + diff --git a/net-misc/sslwrap/files/digest b/net-misc/sslwrap/files/digest new file mode 100644 index 000000000000..90c6f7946e48 --- /dev/null +++ b/net-misc/sslwrap/files/digest @@ -0,0 +1 @@ +MD5 1aaccd6cd4c0822f798ff67061d0c90d sslwrap.tar.gz diff --git a/net-misc/sslwrap/sslwrap-2.0.5-r1.ebuild b/net-misc/sslwrap/sslwrap-2.0.5-r1.ebuild new file mode 100644 index 000000000000..a73b3a64d81f --- /dev/null +++ b/net-misc/sslwrap/sslwrap-2.0.5-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/sslwrap/sslwrap-2.0.5-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=sslwrap-2.0.5 +A=sslwrap.tar.gz +S=${WORKDIR}/sslwrap205 +CATEGORY="net-misc" +DESCRIPTION="TSL/SSL - Port Wrapper" +SRC_URI="http://www.rickk.com/sslwrap/"${A} +HOMEPAGE="http://www.rickk.com/sslwrap/" + +src_unpack () { + unpack ${A} + cd ${S} + cp Makefile Makefile.orig + sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile +} + +src_compile() { + cd ${S} + make +} + +src_install() { + cd ${S} + into /usr + dosbin sslwrap + dodoc README + docinto html + dodoc docs.html +} + + + diff --git a/net-misc/wget/files/digest b/net-misc/wget/files/digest new file mode 100644 index 000000000000..3e03558f217b --- /dev/null +++ b/net-misc/wget/files/digest @@ -0,0 +1,2 @@ +MD5 47680b25bf893afdb0c43b24e3fc2fd6 wget-1.5.3.tar.gz +MD5 5528c7295855e24f8eaab4f4332b7d79 wget-new-percentage-3.0.tgz diff --git a/net-misc/wget/wget-1.5.3-r1.ebuild b/net-misc/wget/wget-1.5.3-r1.ebuild new file mode 100644 index 000000000000..5291ba6e270f --- /dev/null +++ b/net-misc/wget/wget-1.5.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.5.3-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=wget-1.5.3 +A="${P}.tar.gz wget-new-percentage-3.0.tgz" +S=${WORKDIR}/${P} +DESCRIPTION="Network utility to retrieve files from the WWW" +CATEGORY="net-misc" +SRC_URI="ftp://prep.ai.mit.edu/gnu/wget/${P}.tar.gz + http://www.biscom.net/~cade/away/projects/wget-new-percentage-3.0.tgz" +HOMEPAGE="http://www.cg.tuwien.ac.at/~prikryl/wget.html" + +src_unpack () { + unpack ${A} + cd ${S}/src + cp ../../wget-new-percentage/wget-new-percentage.c . + patch retr.c < ../../wget-new-percentage/wget-new-percentage.diff +} +src_compile() { + ./configure --prefix=/usr --sysconfdir=/etc/wget --disable-debug + make +} + +src_install() { + cd ${S} + make prefix=${D}/usr sysconfdir=${D}/etc/wget install + prepinfo + dodoc AUTHORS COPYING ChangeLog MACHINES MAILING-LIST NEWS README TODO + dodoc doc/sample.wgetrc +} + + diff --git a/net-misc/whois/files/digest b/net-misc/whois/files/digest new file mode 100644 index 000000000000..539eb5307e7e --- /dev/null +++ b/net-misc/whois/files/digest @@ -0,0 +1 @@ +MD5 8308d14315d9f1202abb1c21e9b1abf2 whois_4.5.0.tar.gz diff --git a/net-misc/whois/whois-4.5.0-r1.ebuild b/net-misc/whois/whois-4.5.0-r1.ebuild new file mode 100644 index 000000000000..81ea5e0a8f66 --- /dev/null +++ b/net-misc/whois/whois-4.5.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.5.0-r1.ebuild,v 1.1 2000/08/09 22:58:29 achim Exp $ + +P=whois-4.5.0 +A=whois_4.5.0.tar.gz +S=${WORKDIR}/whois-4.4.15 +CATEGORY="net-misc" +DESCRIPTION="Whois Client" +SRC_URI="http://www.linux.it/~md/software/${A}" + +src_unpack() { + unpack ${A} + cd ${S} + cp Makefile Makefile.orig + sed -e "s/-O2/$CFLAGS/" Makefile.orig > Makefile + cd po + cp Makefile Makefile.orig + sed -e "s:/usr/bin/install:install:" Makefile.orig > Makefile + +} +src_compile() { + cd ${S} + make + make mkpasswd +} + +src_install() { + cd ${S} + dodir /usr/bin + dodir /usr/man/man1 + dodir /usr/share/locale + make BASEDIR=${D} prefix=/usr install + prepman + dobin mkpasswd + doman mkpasswd.1 + dodoc README TODO debian/changelog debian/copyright + +} + + + + |