summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-02-07 15:55:15 +0000
committerAchim Gottinger <achim@gentoo.org>2001-02-07 15:55:15 +0000
commit20679156a1fa704fec1fab5a9c8693166c701bca (patch)
treea62659954140718f26c91857fb2cd8e2ff4c5217
parent*** empty log message *** (diff)
downloadhistorical-20679156a1fa704fec1fab5a9c8693166c701bca.tar.gz
historical-20679156a1fa704fec1fab5a9c8693166c701bca.tar.bz2
historical-20679156a1fa704fec1fab5a9c8693166c701bca.zip
Maintainence and FHS 2.1 fixes for RC4
-rw-r--r--sys-apps/at/at-3.1.8-r2.ebuild71
-rw-r--r--sys-apps/bash/bash-2.04-r2.ebuild72
-rw-r--r--sys-apps/bzip2/bzip2-1.0.1-r1.ebuild58
-rw-r--r--sys-apps/console-data/console-data-1999.08.29-r2.ebuild34
-rw-r--r--sys-apps/console-tools/console-tools-0.2.3-r3.ebuild61
-rw-r--r--sys-apps/cpio/cpio-2.4.2-r3.ebuild47
-rw-r--r--sys-apps/daemontools/daemontools-0.70-r1.ebuild42
-rw-r--r--sys-apps/dcron/dcron-2.7-r3.ebuild65
-rw-r--r--sys-apps/debianutils/debianutils-1.13.3-r2.ebuild42
-rw-r--r--sys-apps/devfsd/devfsd-1.3.11.ebuild44
-rw-r--r--sys-apps/devfsd/files/digest-devfsd-1.3.111
-rw-r--r--sys-apps/diffutils/diffutils-2.7-r2.ebuild30
-rw-r--r--sys-apps/e2fsprogs/e2fsprogs-1.19-r1.ebuild56
-rw-r--r--sys-apps/ed/ed-0.2-r1.ebuild29
-rw-r--r--sys-apps/file/file-3.33-r1.ebuild32
-rw-r--r--sys-apps/fileutils/fileutils-4.0.36-r2.ebuild38
-rw-r--r--sys-apps/findutils/findutils-4.1-r4.ebuild56
-rw-r--r--sys-apps/gawk/gawk-3.0.6-r2.ebuild41
-rw-r--r--sys-apps/gluelog/gluelog-1.0-r2.ebuild40
-rw-r--r--sys-apps/grep/grep-2.4.2-r2.ebuild32
-rw-r--r--sys-apps/groff/groff-1.16.1-r1.ebuild37
-rw-r--r--sys-apps/grub/grub-0.5.96.1-r2.ebuild35
-rw-r--r--sys-apps/gzip/gzip-1.2.4a-r2.ebuild54
-rw-r--r--sys-apps/hdparm/hdparm-3.9-r3.ebuild35
-rw-r--r--sys-apps/ipchains/ipchains-1.3.10-r1.ebuild43
-rw-r--r--sys-apps/iproute2/iproute2-2.2.4-r1.ebuild59
-rw-r--r--sys-apps/iptables/iptables-1.2-r1.ebuild36
-rw-r--r--sys-apps/isapnptools/isapnptools-1.23-r1.ebuild42
-rw-r--r--sys-apps/less/less-358-r2.ebuild33
-rw-r--r--sys-apps/lilo/lilo-21.6-r1.ebuild76
-rw-r--r--sys-apps/man-pages/files/digest-man-pages-1.342
-rw-r--r--sys-apps/man-pages/man-pages-1.34.ebuild48
-rw-r--r--sys-apps/man/man-1.5.1h-r2.ebuild69
-rw-r--r--sys-apps/modutils/files/digest-modutils-2.4.21
-rw-r--r--sys-apps/modutils/modutils-2.4.2.ebuild27
-rw-r--r--sys-apps/most/most-4.9.0-r2.ebuild33
-rw-r--r--sys-apps/net-tools/net-tools-1.57-r2.ebuild49
-rw-r--r--sys-apps/netkit-base/netkit-base-0.17-r2.ebuild42
-rwxr-xr-xsys-apps/portage/files/newbin/dobin28
-rwxr-xr-xsys-apps/portage/files/newbin/doinfo21
-rwxr-xr-xsys-apps/portage/files/newbin/doman27
-rwxr-xr-xsys-apps/portage/files/newbin/ebuild931
-rwxr-xr-xsys-apps/portage/files/newbin/newdoc4
-rwxr-xr-xsys-apps/portage/files/newbin/prepalldocs23
-rwxr-xr-xsys-apps/portage/files/newbin/prepman28
-rw-r--r--sys-apps/portage/portage-1.4-r15.ebuild58
-rw-r--r--sys-apps/procps/procps-2.0.7-r2.ebuild58
-rw-r--r--sys-apps/psmisc/psmisc-19-r2.ebuild38
-rw-r--r--sys-apps/raidtools/raidtools-0.90-r2.ebuild51
-rw-r--r--sys-apps/reiserfs-utils/reiserfs-utils-3.6.25-r2.ebuild46
-rw-r--r--sys-apps/sed/sed-3.02.80-r1.ebuild34
-rw-r--r--sys-apps/setserial/setserial-2.17-r2.ebuild36
-rw-r--r--sys-apps/sh-utils/sh-utils-2.0j-r2.ebuild48
-rw-r--r--sys-apps/shadow/shadow-20001016-r2.ebuild83
-rw-r--r--sys-apps/sharutils/sharutils-4.2.1-r3.ebuild52
-rw-r--r--sys-apps/star/star-1.3_alpha8-r1.ebuild43
-rw-r--r--sys-apps/sysklogd/sysklogd-1.4-r2.ebuild40
-rw-r--r--sys-apps/sysvinit/sysvinit-2.78-r2.ebuild46
-rw-r--r--sys-apps/tar/tar-1.13.18-r2.ebuild35
-rw-r--r--sys-apps/tcp-wrappers/files/tcp_wrappers_7.6-ipv6-1.6.diff.gzbin0 -> 8385 bytes
-rw-r--r--sys-apps/tcp-wrappers/files/tcp_wrappers_7.6.dif185
-rw-r--r--sys-apps/tcp-wrappers/tcp-wrappers-7.6-r2.ebuild46
-rw-r--r--sys-apps/texinfo/texinfo-4.0-r2.ebuild48
-rw-r--r--sys-apps/textutils/textutils-2.0.10-r1.ebuild36
-rw-r--r--sys-apps/ucspi-tcp/ucspi-tcp-0.88-r1.ebuild36
-rw-r--r--sys-apps/util-linux/util-linux-2.10q-r1.ebuild49
-rw-r--r--sys-apps/vim-nogui/vim-nogui-5.7-r3.ebuild45
-rw-r--r--sys-apps/watchpid/watchpid-0.1-r1.ebuild26
-rw-r--r--sys-apps/which/which-2.12-r1.ebuild27
-rw-r--r--sys-apps/xinetd/xinetd-2.1.8.8_p3-r5.ebuild45
70 files changed, 3885 insertions, 0 deletions
diff --git a/sys-apps/at/at-3.1.8-r2.ebuild b/sys-apps/at/at-3.1.8-r2.ebuild
new file mode 100644
index 000000000000..f363889500c7
--- /dev/null
+++ b/sys-apps/at/at-3.1.8-r2.ebuild
@@ -0,0 +1,71 @@
+# 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/sys-apps/at/at-3.1.8-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A="${P}.tar.bz2 ${P}.dif"
+S=${WORKDIR}/${P}
+DESCRIPTION="queues jobs for later execution"
+SRC_URI="ftp://jurix.jura.uni-sb.de/pub/jurix/source/chroot/appl/at/${P}.tar.bz2
+ ftp://jurix.jura.uni-sb.de/pub/jurix/source/chroot/appl/at/${P}.dif"
+HOMEPAGE=""
+
+DEPEND="virtual/glibc
+ >=sys-devel/flex-2.5.4a"
+
+RDEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${P}.tar.bz2
+ cd ${S}
+ patch -p0 < ${DISTDIR}/${P}.dif
+
+}
+
+src_compile() {
+
+ try ./configure --host=${CHOST/-pc/} --sysconfdir=/etc/at \
+ --with-jobdir=/var/cron/atjobs \
+ --with-atspool=/var/cron/atspool \
+ --with-etcdir=/etc/at \
+ --with-daemon_username=at \
+ --with-daemon_groupname=at
+
+ try pmake
+
+}
+
+
+src_install() {
+
+ into /usr
+ chmod 755 batch
+ chmod 755 atrun
+ dobin at batch
+ dosym at /usr/bin/atrm
+ dosym at /usr/bin/atq
+ dosbin atd atrun
+
+ for i in atjobs atspool
+ do
+ dodir /var/cron/${i}
+ fperms 700 /var/cron/${i}
+ fowners at.at /var/cron/${i}
+ done
+
+ dodir /etc/rc.d/init.d
+ cp ${FILESDIR}/atd ${D}/etc/rc.d/init.d/
+ dodir /etc/at
+ cp ${FILESDIR}/at.deny ${D}/etc/at/
+
+ doman at.1 at_allow.5 atd.8 atrun.8
+
+ dodoc COPYING ChangeLog Copyright
+ docinto txt
+ dodoc Problems README
+
+}
+
+
+
diff --git a/sys-apps/bash/bash-2.04-r2.ebuild b/sys-apps/bash/bash-2.04-r2.ebuild
new file mode 100644
index 000000000000..276db997b164
--- /dev/null
+++ b/sys-apps/bash/bash-2.04-r2.ebuild
@@ -0,0 +1,72 @@
+# 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/sys-apps/bash/bash-2.04-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="The standard GNU Bourne again shell"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/bash/${A}
+ ftp://ftp.gnu.org/gnu/bash/${A}"
+
+HOMEPAGE="http://www.gnu.org/software/bash/bash.html"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2
+ readline? ( >=sys-libs/readline-4.1-r2 )
+ tex? ( app-text/tetex )"
+
+src_compile() {
+
+ local myconf
+ if [ "`use readline`" ]
+ then
+ myconf="--with-installed-readline"
+ fi
+
+ try ./configure --prefix=/ --mandir=/usr/share/man \
+ --infodir=/usr/share/info --host=${CHOST} \
+ --disable-profiling --with-curses \
+ --enable-static-link ${myconf}
+
+ try pmake
+
+ if [ "`use tex`" ]
+ then
+ cd support
+ cp texi2html texi2html.orig
+ sed -e "s:/usr/local/bin/perl:/usr/bin/perl:" \
+ texi2html.orig > texi2html
+ cd ../doc
+ try make
+ fi
+
+}
+
+
+
+src_install() {
+
+ make prefix=${D}/usr mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info install
+ dodir /bin
+ mv ${D}/usr/bin/bash ${D}/bin
+ dosym bash /bin/sh
+ doman doc/*.1
+
+ if [ -z "`use readline`" ]
+ then
+ doman doc/*.3
+ fi
+ dodoc README NEWS AUTHORS CHANGES COMPAT COPYING Y2K
+ dodoc doc/FAQ doc/INTRO
+
+ if [ "`use tex`" ]
+ then
+ docinto html
+ dodoc doc/*.html
+ docinto ps
+ dodoc doc/*.ps
+ fi
+
+}
+
diff --git a/sys-apps/bzip2/bzip2-1.0.1-r1.ebuild b/sys-apps/bzip2/bzip2-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..92fb2fadbf05
--- /dev/null
+++ b/sys-apps/bzip2/bzip2-1.0.1-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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/bzip2/bzip2-1.0.1-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="A high-quality data compressor used extensively by Gentoo"
+SRC_URI="ftp://sourceware.cygnus.com/pub/bzip2/v100/${A}
+ ftp://ftp.freesoftware.com/pub/sourceware/bzip2/v100/${A}"
+
+HOMEPAGE="http://sourceware.cygnus.com/bzip2/"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ # bzip2's try makefile does not use CFLAGS so we hard-wire the compile
+ # options using sed ;)
+
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/" \
+ -e "s:/man/man1:/man/man1:" Makefile.orig > Makefile
+
+ cp Makefile-libbz2_so Makefile-libbz2.orig
+ sed -e "s/-O2/${CFLAGS}/" Makefile-libbz2.orig > Makefile-libbz2_so
+
+}
+
+src_compile() {
+
+ try pmake -f Makefile-libbz2_so all
+ try pmake all
+
+}
+src_install() {
+
+ dodir /usr/share/man/man1
+ try make PREFIX=${D}/usr install
+ rm -rf ${D}/usr/man
+
+ dolib.so libbz2.so.1.0.1
+ mv ${D}/usr/bin ${D}
+ preplib /usr
+
+ dodoc README LICENSE CHANGES Y2K_INFO
+ docinto txt
+ dodoc bzip2.txt
+ docinto ps
+ dodoc manual.ps
+ docinto html
+ dodoc manual_*.html
+
+}
+
+
diff --git a/sys-apps/console-data/console-data-1999.08.29-r2.ebuild b/sys-apps/console-data/console-data-1999.08.29-r2.ebuild
new file mode 100644
index 000000000000..a95c203b9be8
--- /dev/null
+++ b/sys-apps/console-data/console-data-1999.08.29-r2.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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/console-data/console-data-1999.08.29-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Data (fonts, keymaps) for the consoletools package"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/keyboards/${P}.tar.gz"
+HOMEPAGE="http://altern.org/ydirson/en/lct/data.html"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ # do not use pmake
+ try make
+
+}
+
+src_install() {
+
+ try make DESTDIR=${D} install
+
+ dodoc ChangeLog
+ docinto txt
+ dodoc doc/README.*
+ docinto txt/fonts
+ dodoc doc/fonts/*
+ docinto txt/keymaps
+ dodoc doc/keymaps/*
+
+
+}
+
+
diff --git a/sys-apps/console-tools/console-tools-0.2.3-r3.ebuild b/sys-apps/console-tools/console-tools-0.2.3-r3.ebuild
new file mode 100644
index 000000000000..7be6dc227831
--- /dev/null
+++ b/sys-apps/console-tools/console-tools-0.2.3-r3.ebuild
@@ -0,0 +1,61 @@
+# 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/sys-apps/console-tools/console-tools-0.2.3-r3.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Console and font utilities"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/keyboards/${P}.tar.gz"
+HOMEPAGE="http://altern.org/ydirson/en/lct/"
+
+DEPEND="virtual/glibc
+ >=sys-devel/flex-2.5.4a-r2
+ >=sys-devel/gettext-0.10.35-r2"
+RDEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ gzip -dc ${FILESDIR}/${PN}-${PV}.patch.gz | patch -p1
+
+}
+
+src_compile() {
+
+ local myconf
+
+ if [ "$DEBUG" ]
+ then
+ myconf="--enable-debugging"
+ fi
+
+ try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST}
+ try make $MAKEOPTS all
+}
+
+src_install() {
+
+ # DESTDIR does not work correct
+ try make prefix=${D}/usr mandir=${D}/usr/share/man install
+
+ MOPREFIX="console-tools"
+ domo ${S}/po/*.gmo
+
+ dodoc BUGS COPYING* CREDITS ChangeLog NEWS README RELEASE TODO
+ docinto txt
+ dodoc doc/*.txt doc/README.*
+ docinto sgml
+ dodoc doc/*.sgml
+ docinto txt/contrib
+ dodoc doc/contrib/*
+ docinto txt/dvorak
+ dodoc doc/dvorak/*
+ docinto txt/file-formats
+ dodoc doc/file-formats/*
+ doman doc/man/*.[1-8]
+
+}
+
+
+
diff --git a/sys-apps/cpio/cpio-2.4.2-r3.ebuild b/sys-apps/cpio/cpio-2.4.2-r3.ebuild
new file mode 100644
index 000000000000..35fa44950604
--- /dev/null
+++ b/sys-apps/cpio/cpio-2.4.2-r3.ebuild
@@ -0,0 +1,47 @@
+# 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/sys-apps/cpio/cpio-2.4.2-r3.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+
+A="${P}.tar.gz"
+S=${WORKDIR}/${P}
+DESCRIPTION="A file archival tool which can also read and write tar files"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/cpio/${A}
+ ftp://prep.ai.mit.edu/gnu/cpio/${A}"
+
+HOMEPAGE="http://www.gnu.org/software/cpio/cpio.html"
+
+DEPEND="virtual/glibc"
+
+RDEPEND="virtual/glibc
+ sys-apps/star"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ try pmake
+
+}
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ mv rmt.c rmt.c.orig
+ sed -e "78d" rmt.c.orig > rmt.c
+ mv userspec.c userspec.c.orig
+ sed -e "85d" userspec.c.orig > userspec.c
+}
+
+src_install() {
+
+ #dobin cpio mt; now we're using Schilly's enhanced mt from star
+ dobin cpio
+ doman cpio.1
+ doinfo cpio.info
+
+ dodoc COPYING* ChangeLog NEWS README
+
+}
+
diff --git a/sys-apps/daemontools/daemontools-0.70-r1.ebuild b/sys-apps/daemontools/daemontools-0.70-r1.ebuild
new file mode 100644
index 000000000000..1255fbbf9a9c
--- /dev/null
+++ b/sys-apps/daemontools/daemontools-0.70-r1.ebuild
@@ -0,0 +1,42 @@
+# 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/sys-apps/daemontools/daemontools-0.70-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Collection of tools for managing UNIX services"
+SRC_URI="http://cr.yp.to/daemontools/${P}.tar.gz"
+HOMEPAGE="http://cr.yp.to/daemontools.html"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}
+ echo "gcc ${CFLAGS}" > conf-cc
+ echo "gcc" > conf-ld
+
+}
+
+src_compile() {
+
+ try pmake
+}
+
+src_install() {
+
+ for i in svscan supervise svc svok svstat fghack multilog tai64n \
+ tai64nlocal softlimit setuidgid envuidgid envdir setlock
+ do
+ dobin $i
+ done
+
+ dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
+
+}
+
+
+
diff --git a/sys-apps/dcron/dcron-2.7-r3.ebuild b/sys-apps/dcron/dcron-2.7-r3.ebuild
new file mode 100644
index 000000000000..09d6f08e005f
--- /dev/null
+++ b/sys-apps/dcron/dcron-2.7-r3.ebuild
@@ -0,0 +1,65 @@
+# 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/sys-apps/dcron/dcron-2.7-r3.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=dcron27.tgz
+S=${WORKDIR}/dcron
+DESCRIPTION="A cute little cron from Matt Dillon (kung-fu master)"
+SRC_URI="http://apollo.backplane.com/FreeSrc/${A}"
+
+HOMEPAGE="http://apollo.backplane.com"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s:-O2:${CFLAGS}:" \
+ -e "s:strip.*::" Makefile.orig > Makefile
+
+}
+
+src_compile() {
+
+ try make
+
+}
+
+src_install() {
+
+ #to use cron, you must be part of the "cron" group
+
+ dobin crontab
+ dosbin crond
+ chown root.wheel ${D}/usr/sbin/crond
+ chown root.cron ${D}/usr/bin/crontab
+ chmod 700 ${D}/usr/sbin/crond
+ chmod 4755 ${D}/usr/bin/crontab
+ doman *.[18]
+ diropts -m0750
+ dodir /var/spool/cron/crontabs /var/cron/lastrun
+
+ dodoc CHANGELOG README
+
+ #set up supervise support
+
+ exeinto /var/lib/supervise/services/dcron
+ newexe ${FILESDIR}/dcron-run run
+
+ #this next line tells svcan to start the log process too (and set up a pipe)
+ chmod +t ${D}/var/lib/supervise/services/dcron
+ exeinto /var/lib/supervise/services/dcron/log
+ newexe ${FILESDIR}/log-run run
+
+ #install rc script
+ exeinto /etc/rc.d/init.d
+ doexe ${FILESDIR}/dcron ${FILESDIR}/svc-dcron
+
+ insinto /etc
+ doins ${FILESDIR}/crontab
+
+}
+
diff --git a/sys-apps/debianutils/debianutils-1.13.3-r2.ebuild b/sys-apps/debianutils/debianutils-1.13.3-r2.ebuild
new file mode 100644
index 000000000000..1a22e5353ec5
--- /dev/null
+++ b/sys-apps/debianutils/debianutils-1.13.3-r2.ebuild
@@ -0,0 +1,42 @@
+# 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/sys-apps/debianutils/debianutils-1.13.3-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A selection of tools from Debian"
+SRC_URI="ftp://ftp.debian.org/debian/dists/potato/main/source/base/debianutils_${PV}.tar.gz"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s/-O2 -g/${CFLAGS}/" Makefile.orig > Makefile
+}
+
+src_compile() {
+
+ try pmake
+}
+
+
+src_install() {
+
+ into /
+ dobin run-parts readlink tempfile mktemp
+ insopts -m755
+ exeinto /usr/sbin
+ doexe savelog
+
+ doman mktemp.1 readlink.1 tempfile.1 run-parts.8 savelog.8
+
+ cd debian
+ dodoc changelog control copyright
+
+}
+
+
+
diff --git a/sys-apps/devfsd/devfsd-1.3.11.ebuild b/sys-apps/devfsd/devfsd-1.3.11.ebuild
new file mode 100644
index 000000000000..29ad35150794
--- /dev/null
+++ b/sys-apps/devfsd/devfsd-1.3.11.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 Your Name <your email>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/devfsd/devfsd-1.3.11.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="Daemon for the Lunx Device Filesystem"
+SRC_URI="ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/devfsd-v${PV}.tar.gz"
+HOMEPAGE="http://www.atnf.csiro.au/~rgooch/linux/"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ ls
+ cp GNUmakefile GNUmakefile.orig
+ sed -e "s:-O2:${CFLAGS}:" GNUmakefile.orig > GNUmakefile
+
+}
+
+src_compile() {
+
+ try make
+}
+
+src_install () {
+
+ into /
+ dosbin devfsd
+ into /usr
+ doman devfsd.8
+ insinto /etc
+ doins devfsd.conf modules.devfs
+ exeinto /etc/rc.d/init.d
+ doexe ${FILESDIR}/devfsd
+
+}
+
+pkg_postinst () {
+
+ rc-update add devfsd
+
+}
+
diff --git a/sys-apps/devfsd/files/digest-devfsd-1.3.11 b/sys-apps/devfsd/files/digest-devfsd-1.3.11
new file mode 100644
index 000000000000..e219fc6f4935
--- /dev/null
+++ b/sys-apps/devfsd/files/digest-devfsd-1.3.11
@@ -0,0 +1 @@
+MD5 8bbd8558ee83a625a404c6069b66d4e0 devfsd-v1.3.11.tar.gz
diff --git a/sys-apps/diffutils/diffutils-2.7-r2.ebuild b/sys-apps/diffutils/diffutils-2.7-r2.ebuild
new file mode 100644
index 000000000000..e12ef33493cb
--- /dev/null
+++ b/sys-apps/diffutils/diffutils-2.7-r2.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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/diffutils-2.7-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Tools to make diffs and compare files"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/diffutils/${A}
+ ftp://ftp.gnu.org/gnu/diffutils/${A}"
+
+HOMEPAGE="http://www.gnu.org/software/diffutils/diffutils.html"
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ try pmake
+
+}
+
+src_install() {
+
+ doinfo *.info*
+ dobin cmp diff diff3 sdiff
+
+ dodoc COPYING ChangeLog NEWS README
+}
+
+
diff --git a/sys-apps/e2fsprogs/e2fsprogs-1.19-r1.ebuild b/sys-apps/e2fsprogs/e2fsprogs-1.19-r1.ebuild
new file mode 100644
index 000000000000..4fd3c4d3bec0
--- /dev/null
+++ b/sys-apps/e2fsprogs/e2fsprogs-1.19-r1.ebuild
@@ -0,0 +1,56 @@
+# 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/sys-apps/e2fsprogs/e2fsprogs-1.19-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard ext2 filesystem utilities"
+SRC_URI="ftp://download.sourceforge.net/pub/sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://e2fsprogs.sourceforge.net/"
+
+DEPEND="virtual/glibc
+ >=sys-devel/gettext-0.10.35-r2"
+RDEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr \
+ --mandir=/usr/share/man --infodir=/usr/share/info \
+ --enable-elf-shlibs --enable-nls
+
+ # Parallel make sometimes fails
+ try make
+
+}
+
+src_install() {
+
+ local myopts
+ if [ "$DEBUG" ]
+ then
+ myopts="STRIP=\"echo\""
+ fi
+ myopts="${myopts} mandir=/usr/share/man infodir=/usr/share/info"
+
+ try make DESTDIR=${D} ${myopts} install
+ try make DESTDIR=${D} ${myopts} install-libs
+
+ dodoc COPYING ChangeLog README RELEASE-NOTES SHLIBS
+ docinto e2fsck
+ dodoc e2fsck/ChangeLog e2fsck/CHANGES
+ for i in e2p et ext2fs ss uuid
+ do
+ docinto lib/${i}
+ dodoc lib/${i}/ChangeLog
+ done
+ docinto misc
+ dodoc misc/ChangeLog
+ docinto resize
+ dodoc resize/ChangeLog
+ docinto util
+ dodoc util/ChangeLog
+
+}
+
+
+
diff --git a/sys-apps/ed/ed-0.2-r1.ebuild b/sys-apps/ed/ed-0.2-r1.ebuild
new file mode 100644
index 000000000000..df77f7ba0ee8
--- /dev/null
+++ b/sys-apps/ed/ed-0.2-r1.ebuild
@@ -0,0 +1,29 @@
+#!/usr/bin/ebuild
+# 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/sys-apps/ed/ed-0.2-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Your basic line editor"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/ed/${A}
+ ftp://ftp.gnu.org/pub/gnu/ed/${A}"
+HOMEPAGE="http://www.gnu.org/software/ed/"
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/ --host=${CHOST}
+ try pmake
+}
+
+src_install() {
+
+ try make prefix=${D}/ mandir=${D}/usr/share/man/man1 infodir=${D}/usr/share/info \
+ install
+ dodoc COPYING ChangeLog NEWS POSIX README THANKS TODO
+
+}
+
+
diff --git a/sys-apps/file/file-3.33-r1.ebuild b/sys-apps/file/file-3.33-r1.ebuild
new file mode 100644
index 000000000000..ebc49518c2dc
--- /dev/null
+++ b/sys-apps/file/file-3.33-r1.ebuild
@@ -0,0 +1,32 @@
+# 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/sys-apps/file/file-3.33-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Program to identify a file's format by scanning binary data for patters"
+#unfortunately, this ftp site doesn't support passive ftp
+#maybe we can find an alternative for those behind firewalls, or mirror
+#on cvs.gentoo.org
+SRC_URI="ftp://ftp.astron.com/pub/file/${A}"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --datadir=/usr/share/misc --host=${CHOST}
+ try pmake
+}
+
+src_install() {
+
+ dobin file
+ doman file.1 magic.4
+ insinto /usr/share/misc
+ doins magic magic.mime
+ dodoc LEGAL.NOTICE MAINT README
+}
+
+
+
diff --git a/sys-apps/fileutils/fileutils-4.0.36-r2.ebuild b/sys-apps/fileutils/fileutils-4.0.36-r2.ebuild
new file mode 100644
index 000000000000..efcb064a6980
--- /dev/null
+++ b/sys-apps/fileutils/fileutils-4.0.36-r2.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/sys-apps/fileutils/fileutils-4.0.36-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls, etc)"
+SRC_URI="ftp://alpha.gnu.org/gnu/fetish/${A}"
+HOMEPAGE="http://www.gnu.org/software/fileutils/fileutils.html"
+
+DEPEND="virtual/glibc
+ >=sys-devel/gettext-0.10.35-r2"
+
+RDEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --bindir=/bin
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info bindir=${D}/bin install
+
+ cd ${D}
+ dodir /usr/bin
+ rm -rf usr/lib
+ cd usr/bin
+ ln -s ../../bin/* .
+
+
+ cd ${S}
+ dodoc COPYING NEWS README* THANKS TODO ChangeLog ChangeLog-1997 AUTHORS
+
+}
+
diff --git a/sys-apps/findutils/findutils-4.1-r4.ebuild b/sys-apps/findutils/findutils-4.1-r4.ebuild
new file mode 100644
index 000000000000..3285f57e76db
--- /dev/null
+++ b/sys-apps/findutils/findutils-4.1-r4.ebuild
@@ -0,0 +1,56 @@
+# 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/sys-apps/findutils/findutils-4.1-r4.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="GNU utilities to find files"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/findutils/${A}
+ ftp://prep.ai.mit.edu/gnu/findutils/${A}"
+HOMEPAGE="http://www.gnu.org/software/findutils/findutils.html"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ echo "Applying Patch..."
+ #using sed to apply minor patches to files
+ cd ${S}
+
+ cd find
+ cp fstype.c fstype.c.orig
+ sed -e "33d" -e "34d" fstype.c.orig > fstype.c
+ cp parser.c parser.c.orig
+ sed -e "55d" parser.c.orig > parser.c
+ cp pred.c pred.c.orig
+ sed -e '29i\' -e '#define FNM_CASEFOLD (1<<4)' pred.c.orig > pred.c
+ cd ${S}/lib
+ cp nextelem.c nextelem.c.orig
+ sed -e "35d" nextelem.c.orig > nextelem.c
+ cd ${S}/xargs
+ cp xargs.c xargs.c.orig
+ sed -e "63d" -e "64d" xargs.c.orig > xargs.c
+}
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+
+ # do not use pmake recursive
+ try make LOCATE_DB=/var/lib/misc/locatedb \
+ libexecdir=/usr/lib/find $MAKEOPTS
+}
+
+src_install() {
+
+ try make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info libexecdir=${D}/usr/lib/find \
+ LOCATE_DB=${D}/var/lib/misc/locatedb install
+ dosed "s:TMPDIR=/usr/tmp:TMPDIR=/tmp:" usr/bin/updatedb
+
+ rm -fr ${D}/usr/var
+ dodoc COPYING NEWS README TODO ChangeLog
+
+}
+
diff --git a/sys-apps/gawk/gawk-3.0.6-r2.ebuild b/sys-apps/gawk/gawk-3.0.6-r2.ebuild
new file mode 100644
index 000000000000..d1445c5da629
--- /dev/null
+++ b/sys-apps/gawk/gawk-3.0.6-r2.ebuild
@@ -0,0 +1,41 @@
+# 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/sys-apps/gawk/gawk-3.0.6-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="GNU awk pattern-matching language"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/gawk/${A}
+ ftp://prep.ai.mit.edu/gnu/gawk/${A}"
+HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --libexecdir=/usr/lib/awk --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST}
+ try make ${MAKEOPTS}
+
+}
+
+src_install() {
+
+ try make prefix=${D}/usr mandir=${D}/usr/share/man/man1 infodir=${D}/usr/share/info libexecdir=${D}/usr/lib/awk install
+
+ dodoc ChangeLog ACKNOWLEDGMENT COPYING FUTURES
+ dodoc LIMITATIONS NEWS PROBLEMS README
+ docinto README_d
+ dodoc README_d/*
+ docinto atari
+ dodoc atari/ChangeLog atari/README.1st
+ docinto awklib
+ dodoc awklib/ChangeLog
+ docinto pc
+ dodoc pc/ChangeLog
+ docinto posix
+ dodoc posix/ChangeLog
+
+}
+
+
+
diff --git a/sys-apps/gluelog/gluelog-1.0-r2.ebuild b/sys-apps/gluelog/gluelog-1.0-r2.ebuild
new file mode 100644
index 000000000000..44e29dc3cc58
--- /dev/null
+++ b/sys-apps/gluelog/gluelog-1.0-r2.ebuild
@@ -0,0 +1,40 @@
+# 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/sys-apps/gluelog/gluelog-1.0-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Pipe and socket fittings for the system and kernel logs"
+SRC_URI=""
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ mkdir ${S}
+
+ cd ${FILESDIR}
+ try gcc ${CFLAGS} gluelog.c -o ${S}/gluelog
+ try gcc ${CFLAGS} glueklog.c -o ${S}/glueklog
+}
+
+src_install() {
+
+ dodir /usr/sbin
+ dosbin ${S}/gluelog ${S}/glueklog
+ exeopts -m0750 -g wheel
+ dodir /var/log
+ local x
+ for x in syslog klog
+ do
+ exeinto /var/lib/supervise/services/${x}
+ newexe ${FILESDIR}/${x}-run run
+ install -d -m0750 -o daemon -g wheel ${D}/var/log/${x}.d
+ exeinto /etc/rc.d/init.d
+ doexe ${FILESDIR}/svc-${x}
+ done
+
+ dodoc ${FILESDIR}/README
+
+}
+
diff --git a/sys-apps/grep/grep-2.4.2-r2.ebuild b/sys-apps/grep/grep-2.4.2-r2.ebuild
new file mode 100644
index 000000000000..d07ef91970c1
--- /dev/null
+++ b/sys-apps/grep/grep-2.4.2-r2.ebuild
@@ -0,0 +1,32 @@
+# 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/sys-apps/grep/grep-2.4.2-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="GNU regular expression matcher"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/grep/${A}
+ ftp://prep.ai.mit.edu/gnu/grep/${A}"
+HOMEPAGE="http://www.gnu.org/software/grep/grep.html"
+
+DEPEND="virtual/glibc
+ >=sys-devel/gettext-0.10.35-r2"
+
+RDEPEND="virtual/glibc"
+
+src_compile() {
+ try ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST}
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ try make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info install
+
+ dodoc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
+
+}
+
+
+
diff --git a/sys-apps/groff/groff-1.16.1-r1.ebuild b/sys-apps/groff/groff-1.16.1-r1.ebuild
new file mode 100644
index 000000000000..4abe6bf1ff23
--- /dev/null
+++ b/sys-apps/groff/groff-1.16.1-r1.ebuild
@@ -0,0 +1,37 @@
+# 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/sys-apps/groff/groff-1.16.1-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Text formatter used for man pages"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/groff/${A}
+ ftp://prep.ai.mit.edu/gnu/groff/${A}"
+HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
+
+DEPEND="virtual/glibc"
+
+RDEPEND="$DEPEND
+ sys-devel/perl"
+
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man
+ # pmake does not work !
+ try make
+}
+
+src_install() {
+
+ dodir /usr
+ try make prefix=${D}/usr manroot=${D}/usr/share/man install
+
+ dodoc NEWS PROBLEMS PROJECTS README TODO VERSION \
+ BUG-REPORT COPYING ChangeLog FDL MORE.STUFF \
+ REVISION
+
+}
+
+
diff --git a/sys-apps/grub/grub-0.5.96.1-r2.ebuild b/sys-apps/grub/grub-0.5.96.1-r2.ebuild
new file mode 100644
index 000000000000..6ca49979acd6
--- /dev/null
+++ b/sys-apps/grub/grub-0.5.96.1-r2.ebuild
@@ -0,0 +1,35 @@
+# 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/sys-apps/grub/grub-0.5.96.1-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="GNU GRUB boot loader"
+SRC_URI="ftp://alpha.gnu.org/gnu/grub/${A}"
+HOMEPAGE="http://www.gnu.org/software/grub"
+
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2-r2"
+
+src_compile() {
+
+ try ./configure --prefix=/usr \
+ --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST}
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ try make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info install
+
+ dodir /boot/boot/grub
+ cd ${D}/usr/share/grub/i386-pc
+ cp stage1 stage2 *stage1_5 ${D}/boot/boot/grub
+
+ cd ${S}
+ dodoc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
+}
+
+
+
diff --git a/sys-apps/gzip/gzip-1.2.4a-r2.ebuild b/sys-apps/gzip/gzip-1.2.4a-r2.ebuild
new file mode 100644
index 000000000000..1269271f6f87
--- /dev/null
+++ b/sys-apps/gzip/gzip-1.2.4a-r2.ebuild
@@ -0,0 +1,54 @@
+# 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/sys-apps/gzip/gzip-1.2.4a-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard GNU compressor"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/gzip/${A}
+ ftp://prep.ai.mit.edu/gnu/gzip/${A}"
+HOMEPAGE="http://www.gnu.org/software/gzip/gzip.html"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+ try ./configure --host=${CHOST} --prefix=/usr --exec-prefix=/ \
+ --mandir=/usr/share/man --infodir=/usr/share/info
+ try pmake
+}
+
+src_install() {
+
+ dodir /usr/bin /usr/share/man/man1
+ try make prefix=${D}/usr exec_prefix=${D}/ mandir=${D}/usr/share/man/man1 infodir=${D}/usr/share/info install
+
+ cd ${D}/bin
+ for i in gzexe zforce zgrep zmore znew zcmp
+ do
+ cp ${i} ${i}.orig
+ sed -e "1d" -e "s:${D}::" ${i}.orig > ${i}
+ rm ${i}.orig
+ chmod 755 ${i}
+ done
+
+ cd ${D}/usr/share/man/man1
+
+ for i in gzexe gzip zcat zcmp zdiff zforce \
+ zgrep zmore znew
+ do
+ rm ${i}.1
+ ln -s gunzip.1.gz ${i}.1.gz
+ done
+
+ cd ${S}
+ rm -rf ${D}/usr/man ${D}/usr/lib
+
+ dodoc ChangeLog COPYING NEWS README THANKS TODO
+ docinto txt
+ dodoc algorithm.doc gzip.doc
+}
+
+
+
+
diff --git a/sys-apps/hdparm/hdparm-3.9-r3.ebuild b/sys-apps/hdparm/hdparm-3.9-r3.ebuild
new file mode 100644
index 000000000000..3c9241d3d75e
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-3.9-r3.ebuild
@@ -0,0 +1,35 @@
+# 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/sys-apps/hdparm/hdparm-3.9-r3.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Utility to change hard drive performance parameters"
+SRC_URI="http://metalab.unc.edu/pub/Linux/system/hardware/${A}"
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ mv Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/" -e "s:-s::" \
+ Makefile.orig > Makefile
+
+}
+
+src_compile() {
+ try pmake all
+}
+
+src_install() {
+
+
+ dosbin hdparm
+ doman hdparm.8
+ dodoc hdparm-*.lsm Changelog
+
+}
+
+
diff --git a/sys-apps/ipchains/ipchains-1.3.10-r1.ebuild b/sys-apps/ipchains/ipchains-1.3.10-r1.ebuild
new file mode 100644
index 000000000000..916a2313b31e
--- /dev/null
+++ b/sys-apps/ipchains/ipchains-1.3.10-r1.ebuild
@@ -0,0 +1,43 @@
+# 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/sys-apps/ipchains/ipchains-1.3.10-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="2.2 kernel equivalent of ipfwadm"
+SRC_URI="http://netfilter.kernelnotes.org/ipchains/${A}"
+HOMEPAGE="http://netfilter.filewatcher.org/ipchains/"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ mv Makefile Makefile.orig
+ sed -e "s/= -g -O/= ${CFLAGS}/" Makefile.orig > Makefile
+ cd ${S}/libipfwc
+ mv Makefile Makefile.orig
+ sed -e "s/= -g -O/= ${CFLAGS}/" Makefile.orig > Makefile
+}
+
+src_compile() {
+
+ try make clean
+ try make ${MAKEOPTS} all
+
+}
+
+src_install() {
+
+ into /
+ dosbin ipchains
+ doman ipfw.4 ipchains.8
+ dodoc COPYING README
+ docinto ps
+ dodoc ipchains-quickref.ps
+
+}
+
+
diff --git a/sys-apps/iproute2/iproute2-2.2.4-r1.ebuild b/sys-apps/iproute2/iproute2-2.2.4-r1.ebuild
new file mode 100644
index 000000000000..1c284d423be9
--- /dev/null
+++ b/sys-apps/iproute2/iproute2-2.2.4-r1.ebuild
@@ -0,0 +1,59 @@
+# 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/sys-apps/iproute2/iproute2-2.2.4-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=iproute2-2.2.4-now-ss001007.tar.gz
+S=${WORKDIR}/iproute2
+DESCRIPTION="Kernel 2.4 routing and traffic control utilities"
+SRC_URI="ftp://ftp.inr.ac.ru/ip-routing/${A}"
+
+DEPEND="virtual/glibc
+ tex? ( app-text/tetex )"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/g" Makefile.orig > Makefile
+
+}
+
+src_compile() {
+
+ try make ${MAKEOPTS}
+ if [ "`use tex`" ]
+ then
+ cd doc
+ try make
+ fi
+}
+
+
+src_install() {
+
+ into /
+ cd ${S}/ip
+ dosbin ifcfg ip routef routel rtacct rtmon rtpr
+ cd ${S}/tc
+ dosbin tc
+ cd ${S}
+ dodoc README* RELNOTES
+ docinto examples/diffserv
+ dodoc examples/diffserv/*
+ docinto examples
+ dodoc examples/*
+ dodir /etc/iproute2
+ insinto /etc/iproute2
+ doins ${S}/etc/iproute2/*
+
+ if [ "`use tex`" ]
+ then
+ docinto ps
+ dodoc doc/*.ps
+ fi
+
+}
+
+
diff --git a/sys-apps/iptables/iptables-1.2-r1.ebuild b/sys-apps/iptables/iptables-1.2-r1.ebuild
new file mode 100644
index 000000000000..5b7fbea4acc9
--- /dev/null
+++ b/sys-apps/iptables/iptables-1.2-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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iptables/iptables-1.2-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.bz2
+S=${WORKDIR}/${P}
+DESCRIPTION="Kernel 2.4 routing and traffic control utilities"
+SRC_URI="http://netfilter.kernelnotes.org/${A}"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ mv Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/g" -e "s:/usr/local:/usr:g" Makefile.orig > Makefile
+
+}
+
+src_compile() {
+
+ try pmake
+}
+
+
+src_install() {
+
+ dodir /usr/lib /usr/share/man/man8 /usr/sbin
+ try make LIBDIR=${D}/usr/lib BINDIR=${D}/usr/sbin MANDIR=${D}/usr/share/man install
+
+ dodoc COPYING KNOWN_BUGS
+}
+
+
diff --git a/sys-apps/isapnptools/isapnptools-1.23-r1.ebuild b/sys-apps/isapnptools/isapnptools-1.23-r1.ebuild
new file mode 100644
index 000000000000..ee5fc9472d7a
--- /dev/null
+++ b/sys-apps/isapnptools/isapnptools-1.23-r1.ebuild
@@ -0,0 +1,42 @@
+# 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/sys-apps/isapnptools/isapnptools-1.23-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tgz
+S=${WORKDIR}/${P}
+DESCRIPTION="Tools for configuring ISA PnP devices"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/hardware/${A}"
+HOMEPAGE="http://www.roestock.demon.co.uk/isapnptools/"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ cp pnpdump_main.c pnpdump_main.c.orig
+ sed -e "s/^static FILE\* o_file.*//" \
+ -e "s/o_file/stdout/g" \
+ -e "s/stdout_name/o_file_name/g" pnpdump_main.c.orig > pnpdump_main.c
+
+}
+
+src_compile() {
+
+ try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST}
+ try make ${MAKEOPTS}
+
+}
+
+src_install() {
+
+ try make DESTDIR=${D} install
+
+ dodoc AUTHORS ChangeLog COPYING README NEWS
+
+ docinto txt
+ dodoc doc/README* doc/*.txt test/*.txt
+ dodoc etc/isapnp.*
+
+}
+
diff --git a/sys-apps/less/less-358-r2.ebuild b/sys-apps/less/less-358-r2.ebuild
new file mode 100644
index 000000000000..5d4a6d7cd803
--- /dev/null
+++ b/sys-apps/less/less-358-r2.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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/less-358-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Excellent text file viewer"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/less/${A}
+ ftp://ftp.gnu.org/pub/gnu/less/${A}"
+HOMEPAGE="http://www.gnu.org/software/less/less.html"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ try pmake
+
+}
+
+src_install() {
+
+ dobin less lessecho lesskey
+
+ newman lesskey.nro lesskey.1
+ newman less.nro less.1
+
+ dodoc COPYING NEWS README LICENSE
+}
+
+
+
diff --git a/sys-apps/lilo/lilo-21.6-r1.ebuild b/sys-apps/lilo/lilo-21.6-r1.ebuild
new file mode 100644
index 000000000000..66a668abc3ae
--- /dev/null
+++ b/sys-apps/lilo/lilo-21.6-r1.ebuild
@@ -0,0 +1,76 @@
+# 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/sys-apps/lilo/lilo-21.6-r1.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard Linux boot loader"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/"${A}
+
+DEPEND="virtual/glibc
+ >=sys-devel/bin86-0.15.4-r1"
+
+RDEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s:-g:${CFLAGS}:" \
+ Makefile.orig > Makefile
+
+}
+
+src_compile() {
+
+ try pmake
+}
+
+src_install() {
+
+ into /
+ dosbin lilo
+ into /usr
+ dosbin keytab-lilo.pl
+ dodir /boot
+ insinto /boot
+ doins boot-text.b boot-menu.b chain.b os2_d.b
+ doman manPages/*.[5-8]
+ dodoc CHANGES COPYING INCOMPAT QuickInst README*
+}
+
+pkg_preinst() {
+
+ . ${ROOT}/etc/rc.d/config/functions
+
+ if [ ! -L $ROOT/boot/boot.b -a -f $ROOT/boot/boot.b ]
+ then
+ einfo "Saving old boot.b..."
+ mv $ROOT/boot/boot.b $ROOT/boot/boot.old;
+ fi
+
+ if [ ! -L $ROOT/boot/chain.b -a -f $ROOT/boot/chain.b ]
+ then
+ einfo "Saving old chain.b..."
+ mv $ROOT/boot/chain.b $ROOT/boot/chain.old;
+ fi
+
+ if [ ! -L $ROOT/boot/os2_d.b -a -f $ROOT/boot/os2_d.b ]
+ then
+ einfo "Saving old os2_d.b..."
+ mv $ROOT/boot/os2_d.b $ROOT/boot/os2_d.old;
+ fi
+}
+
+pkg_postinst() {
+
+ . ${ROOT}/etc/rc.d/config/functions
+
+ einfo "Activating boot-menu..."
+ ln -sf boot-menu.b $ROOT/boot/boot.b;
+
+}
+
+
diff --git a/sys-apps/man-pages/files/digest-man-pages-1.34 b/sys-apps/man-pages/files/digest-man-pages-1.34
new file mode 100644
index 000000000000..e05e50c08ee7
--- /dev/null
+++ b/sys-apps/man-pages/files/digest-man-pages-1.34
@@ -0,0 +1,2 @@
+MD5 13d544485d6021e3b0585ad963bfd814 man-pages-1.34.tar.gz
+MD5 17135e48a2813766e2db94ccb7339168 netman-20000610.tgz
diff --git a/sys-apps/man-pages/man-pages-1.34.ebuild b/sys-apps/man-pages/man-pages-1.34.ebuild
new file mode 100644
index 000000000000..6588a7f7fdf1
--- /dev/null
+++ b/sys-apps/man-pages/man-pages-1.34.ebuild
@@ -0,0 +1,48 @@
+# 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/sys-apps/man-pages/man-pages-1.34.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A="${P}.tar.gz netman-20000610.tgz"
+S=${WORKDIR}/${P}
+DESCRIPTION="A somewhat comprehensive collection of Linux man pages"
+
+SRC_URI="ftp://ftp.kernel.org/pub/linux/docs/manpages/${P}.tar.gz
+ ftp://ftp.de.kernel.org/pub/linux/docs/manpages/${P}.tar.gz
+ ftp://ftp.uk.kernel.org/pub/linux/docs/manpages/${P}.tar.gz
+ ftp://ftp.suse.com/pub/people/ak/netman/netman-20000610.tgz"
+
+DEPEND=""
+
+
+src_unpack() {
+
+ unpack ${P}.tar.gz
+ cd ${S}
+ unpack netman-20000610.tgz
+ tar xzf ${FILESDIR}/man2.tar.gz
+ for x in 2 3 7
+ do
+ mv netman/*.$x man$x
+ done
+
+}
+
+src_install() {
+
+ for x in 1 2 3 4 5 6 7 8
+ do
+ doman man$x/*.[1-9]
+ done
+ dodoc man-pages-1.31.Announce README
+ docinto netman
+ dodoc netman/FIXME netman/README
+}
+
+
+
+
+
+
+
+
diff --git a/sys-apps/man/man-1.5.1h-r2.ebuild b/sys-apps/man/man-1.5.1h-r2.ebuild
new file mode 100644
index 000000000000..316c535e3ab3
--- /dev/null
+++ b/sys-apps/man/man-1.5.1h-r2.ebuild
@@ -0,0 +1,69 @@
+# 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/sys-apps/man/man-1.5.1h-r2.ebuild,v 1.1 2001/02/07 15:55:15 achim Exp $
+
+P=man-1.5h1
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard commands to read man pages"
+SRC_URI="ftp://ftp.win.tue.nl/pub/linux-local/utils/man/${A}"
+
+DEPEND="virtual/glibc"
+RDEPEND="virtual/glibc
+ sys-apps/groff"
+
+src_unpacks() {
+ unpack ${A}
+ cd ${S}
+ cp configure configure.orig
+ sed -e 's!/bin:/usr/bin:/usr/ucb:/usr/local/bin:$PATH!/bin /usr/bin /usr/ucb /usr/local/bin $PATH!' configure.orig > configure
+}
+
+src_compile() {
+
+ try ./configure +sgid +fsstnd +lang all
+ for FOOF in src man2html
+ do
+ try pmake ${FOOF}/Makefile MANCONFIG=/usr/share/misc/man.conf
+ cd ${S}/${FOOF}
+ cp Makefile Makefile.orig
+ sed -e "s/gcc -O/gcc ${CFLAGS}/" Makefile.orig > Makefile
+ cd ${S}
+ done
+ try make
+
+}
+
+
+src_install() {
+
+ cd src
+
+ exeopts -s -m 2555 -o root -g man
+ exeinto /usr/bin
+ doexe man
+
+ dobin apropos whatis
+ dosbin makewhatis
+
+ insinto /usr/share/misc
+
+ doins ${FILESDIR}/man.conf
+
+ cd ${S}/man2html
+ dobin man2html
+ doman man2html.1
+
+ cd ${S}/man
+ cp Makefile Makefile.orig
+ echo "BINROOTDIR=${D}" > Makefile
+ cat Makefile.orig >> Makefile
+ try make installsubdirs mandir=${D}/usr/share/man
+
+ cd ${S}
+ dodoc COPYING LSM README* TODO
+
+}
+
+
diff --git a/sys-apps/modutils/files/digest-modutils-2.4.2 b/sys-apps/modutils/files/digest-modutils-2.4.2
new file mode 100644
index 000000000000..0e98cfea5a5a
--- /dev/null
+++ b/sys-apps/modutils/files/digest-modutils-2.4.2
@@ -0,0 +1 @@
+MD5 a8a8268d07d3780a64e17870a9ea3080 modutils-2.4.2.tar.bz2
diff --git a/sys-apps/modutils/modutils-2.4.2.ebuild b/sys-apps/modutils/modutils-2.4.2.ebuild
new file mode 100644
index 000000000000..280ba863f7dc
--- /dev/null
+++ b/sys-apps/modutils/modutils-2.4.2.ebuild
@@ -0,0 +1,27 @@
+# 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/sys-apps/modutils/modutils-2.4.2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+A=${P}.tar.bz2
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard kernel module utilities"
+SRC_URI="http://www.kernel.org/pub/linux/utils/kernel/modutils/v2.4/${A}"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/ --mandir=/usr/share/man --host=${CHOST} --disable-strip
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ try make prefix=${D} mandir=${D}/usr/share/man install
+ dodoc COPYING CREDITS ChangeLog NEWS README TODO
+}
+
+
+
+
diff --git a/sys-apps/most/most-4.9.0-r2.ebuild b/sys-apps/most/most-4.9.0-r2.ebuild
new file mode 100644
index 000000000000..2dedffbafdfd
--- /dev/null
+++ b/sys-apps/most/most-4.9.0-r2.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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/most/most-4.9.0-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="An extremely excellent text file reader"
+
+SRC_URI="ftp://space.mit.edu/pub/davis/most/${A}"
+
+DEPEND=">=sys-libs/slang-1.4.2
+ >=sys-libs/ncurses-5.2-r2"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ #*possible* (not definite) pmake problems, let's not risk it.
+ # do not use pmake recursive
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ dobin src/objs/most
+ doman most.1
+
+ dodoc COPYING COPYRIGHT README changes.txt
+ docinto txt
+ dodoc default.rc lesskeys.rc most-fun.txt
+}
+
+
diff --git a/sys-apps/net-tools/net-tools-1.57-r2.ebuild b/sys-apps/net-tools/net-tools-1.57-r2.ebuild
new file mode 100644
index 000000000000..c09efa56a0e0
--- /dev/null
+++ b/sys-apps/net-tools/net-tools-1.57-r2.ebuild
@@ -0,0 +1,49 @@
+# 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/sys-apps/net-tools/net-tools-1.57-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+P=net-tools-1.57
+A=${P}.tar.bz2
+S=${WORKDIR}/${P}
+DESCRIPTION="standard Linux network tools"
+SRC_URI="http://www.tazenda.demon.co.uk/phil/net-tools/${A}"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/config.h .
+ cp ${FILESDIR}/config.make .
+ cp Makefile Makefile.orig
+ sed -e "s/-O2 -Wall -g/${CFLAGS}/" Makefile.orig > Makefile
+ cd man
+ cp Makefile Makefile.orig
+ sed -e "s:/usr/man:/usr/share/man:" Makefile.orig > Makefile
+
+}
+
+src_compile() {
+
+ try make ${MAKEOPTS}
+ cd po
+ try make ${MAKEOPTS}
+
+}
+
+src_install() {
+
+ try make BASEDIR=${D} install
+ mv ${D}/bin/* ${D}/sbin
+ for i in hostname domainname netstat dnsdomainname ypdomainname nisdomainname
+ do
+ mv ${D}/sbin/${i} ${D}/bin
+ done
+
+ dodoc COPYING README README.ipv6 TODO
+}
+
+
+
diff --git a/sys-apps/netkit-base/netkit-base-0.17-r2.ebuild b/sys-apps/netkit-base/netkit-base-0.17-r2.ebuild
new file mode 100644
index 000000000000..41662d655e02
--- /dev/null
+++ b/sys-apps/netkit-base/netkit-base-0.17-r2.ebuild
@@ -0,0 +1,42 @@
+# 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/sys-apps/netkit-base/netkit-base-0.17-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+P=netkit-base-0.17
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard linux net thingees -- inetd, ping"
+SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure
+ cp MCONFIG MCONFIG.orig
+ #sed -e "s/-O2/${CFLAGS} -Wstrict-prototypes -fomit-frame-pointer/"
+ sed -e "s:^CFLAGS=.*:CFLAGS=${CFLAGS} -Wall -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline:" \
+ MCONFIG.orig > MCONFIG
+
+ try make ${MAKEOPTS}
+}
+
+
+src_install() {
+
+ into /
+ dobin ping/ping
+ into /usr
+ dosbin inetd/inetd
+
+ doman inetd/inetd.8 inetd/daemon.3 ping/ping.8
+
+ dodoc BUGS ChangeLog README
+ docinto samples
+ dodoc etc.sample/*
+
+}
+
+
+
diff --git a/sys-apps/portage/files/newbin/dobin b/sys-apps/portage/files/newbin/dobin
new file mode 100755
index 000000000000..d3183791112d
--- /dev/null
+++ b/sys-apps/portage/files/newbin/dobin
@@ -0,0 +1,28 @@
+#!/bin/bash
+if [ ${#} -lt 1 ]
+then
+ echo "${0}: at least one argument needed"
+ return
+fi
+if [ ! -d ${D}${DESTTREE}/bin ]
+then
+ install -d ${D}${DESTTREE}/bin
+fi
+for x in "$@"
+do
+ if [ -x ${x} ]
+ then
+ if [ -z "$DEBUG" ]
+ then
+ MYVAL=`file ${x} | grep "ELF"`
+ if [ -n "$MYVAL" ]
+ then
+ strip ${x}
+ fi
+ fi
+ install ${x} ${D}${DESTTREE}/bin
+ else
+ echo "${0}: ${x} is not executable or does not exist"
+ fi
+ done
+
diff --git a/sys-apps/portage/files/newbin/doinfo b/sys-apps/portage/files/newbin/doinfo
new file mode 100755
index 000000000000..ae3ce736abd1
--- /dev/null
+++ b/sys-apps/portage/files/newbin/doinfo
@@ -0,0 +1,21 @@
+#!/bin/bash
+if [ ${#} -lt 1 ]
+then
+ echo "doinfo: at least one argument needed"
+ return
+fi
+if [ ! -d ${D}usr/share/info ]
+then
+ install -d ${D}usr/share/info
+fi
+for x in "$@"
+do
+ if [ -e ${x} ]
+ then
+ install -m0644 ${x} ${D}usr/share/info
+ gzip -9 ${D}usr/share/info/${x##*/}
+ else
+ echo "doinfo: ${x} does not exist"
+ fi
+done
+
diff --git a/sys-apps/portage/files/newbin/doman b/sys-apps/portage/files/newbin/doman
new file mode 100755
index 000000000000..15b805194e08
--- /dev/null
+++ b/sys-apps/portage/files/newbin/doman
@@ -0,0 +1,27 @@
+#!/bin/bash
+if [ ${#} -lt 1 ]
+then
+ echo "${0}: at least one argument needed"
+ return
+fi
+myloc=$DESTTREE
+if [ "$myloc" = "" ]
+then
+ myloc=/usr
+fi
+for x in "$@"
+do
+ md=${x##*.}
+ mandir=man${md:0:1}
+ if [ -e ${x} ]
+ then
+ if [ ! -d ${D}${myloc}/share/man/${mandir} ]
+ then
+ install -d ${D}${myloc}/share/man/${mandir}
+ fi
+ install -m0644 ${x} ${D}${myloc}/share/man/${mandir}
+ gzip -9 ${D}${myloc}/share/man/${mandir}/${x##*/}
+ else
+ echo "doman: ${x} does not exist."
+ fi
+done
diff --git a/sys-apps/portage/files/newbin/ebuild b/sys-apps/portage/files/newbin/ebuild
new file mode 100755
index 000000000000..9341878739c2
--- /dev/null
+++ b/sys-apps/portage/files/newbin/ebuild
@@ -0,0 +1,931 @@
+#!/bin/bash
+# Copyright 1999-2000 Daniel Robbins, Gentoo Technologies, Inc.
+# Distributed under the GPL
+
+if [ "`whoami`" != "root" ]
+then
+ echo "Since ebuild can modify critical system files, only root is"
+ echo "allowed to use the ebuild system."
+ exit 1
+fi
+
+#allow any envvars to be set like QTDIR, even if Qt was just installed
+export PATH=/usr/lib/portage/bin:${PATH}
+eval `import-settings PROXY HTTP_PROXY FTP_PROXY DEBUG MAKEOPTS MAINTAINER CHOST CFLAGS CXXFLAGS PORTDIR DISTDIR BUILD_PREFIX PKGDIR RPMDIR PLATFORM ROOT`
+eval `import-configsettings FETCHCOMMAND PACKAGE USE GENTOO_MIRRORS PLATFORM`
+source /etc/rc.d/config/functions
+
+initvars() {
+ export DESTTREE=/usr
+ export INSDESTTREE=""
+ export EXEDESTTREE=""
+ export DOCDESTTREE=""
+ export INSOPTIONS="-m0644"
+ export EXEOPTIONS="-m0755"
+ export LIBOPTIONS="-m0644"
+ export DIROPTIONS="-m0755"
+ export MOPREFIX=${PN}
+ export KVERS=`uname -r`
+}
+
+initvars
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ return
+}
+
+src_install()
+ {
+ return
+ }
+
+pkg_preinst()
+ {
+ return
+ }
+
+pkg_postinst()
+ {
+ return
+ }
+
+pkg_prerm()
+ {
+ return
+ }
+
+pkg_postrm()
+ {
+ return
+ }
+
+try() {
+ eval $*
+ if [ $? -ne 0 ]
+ then
+ echo
+ echo '!!! '"ERROR: the $1 command did not complete successfully."
+ echo '!!! '"(\"$*\")"
+ echo '!!! '"Since this is a critical task, ebuild will be stopped."
+ echo
+ exit 1
+ fi
+}
+
+dyn_touch() {
+ local x
+ for x in ${A}
+ do
+ if [ -e ${DISTDIR}/${x} ]
+ then
+ touch ${DISTDIR}/${x}
+ fi
+ done
+}
+
+dyn_digest() {
+ local x
+ if [ ! -d ${FILESDIR} ]
+ then
+ install -d ${FILESDIR}
+ if [ -n ${MAINTAINER} ]
+ then
+ echo ">>> adding ${FILESDIR} to CVS (just in case it isn't there)"
+ ( echo; cd `/usr/bin/dirname ${FILESDIR}`; cvs add `/usr/bin/basename ${FILESDIR}`; echo)
+ fi
+ fi
+ for x in ${A}
+ do
+ if [ ! -e ${DISTDIR}/${x} ]
+ then
+ echo '!!! Cannot compute message digests: '${x} not found
+ echo "error, aborting."
+ exit 1
+ else
+ mymd5=`md5sum ${DISTDIR}/${x} | cut -f1 -d" "`
+ echo "MD5 $mymd5 $x" >> ${FILESDIR}/.digest-${PF}
+ fi
+ done
+ mv ${FILESDIR}/.digest-${PF} ${FILESDIR}/digest-${PF}
+ if [ -n "${MAINTAINER}" ]
+ then
+ echo ">>> adding digest-${PF} to CVS (just in case it isn't there)"
+ ( echo; cd ${FILESDIR}; cvs add digest-${PF}; echo )
+ fi
+ echo ">>> Computed message digests."
+}
+
+runtime_depend() {
+ #the echo thing is a trick to get rid of newlines
+ dopython portage.dep_frontend runtime "`echo ${RDEPEND}`"
+ if [ $? -ne 0 ]
+ then
+ exit 1
+ fi
+}
+
+build_depend() {
+ #the echo thing is a trick to get rid of newlines
+ dopython portage.dep_frontend build "`echo ${DEPEND}`"
+ if [ $? -ne 0 ]
+ then
+ exit 1
+ fi
+}
+
+gen_depend() {
+ for x in $DEPEND
+ do
+ echo "$x" >> ${FILESDIR}/depend-${PF}
+ done
+ for x in $RDEPEND
+ do
+ echo "$x" >> ${FILESDIR}/rdepend-${PF}
+ done
+ echo ">>> Completed generating dependencies for ${PF}."
+}
+
+merge_check() {
+ dopython portage.merge_check "${CATEGORY}/${PF}"
+ if [ $? -ne 0 ]
+ then
+ echo
+ echo '!!!' "${PF} already merged in ${ROOT} -- unmerge first"
+ echo
+ exit 1
+ fi
+}
+
+digest_check() {
+ if [ ! -e ${FILESDIR}/digest-${PF} ]
+ then
+ echo '!!!'" No message digest file found."
+ if [ -n "$MAINTAINER" ]
+ then
+ echo '>>> Maintainer mode: auto-computing digests.'
+ dyn_digest
+ return 0
+ else
+ echo '!!!'" Maintainer: ebuild digest to update message digests."
+ return 1
+ fi
+ fi
+ if [ ! -e ${DISTDIR}/${1} ]
+ then
+ echo '!!!'" ${1} not found."
+ echo '!!!'" Ebuild fetch to retrieve files."
+ return 1
+ fi
+ local mycdigest=`grep " ${1}" ${FILESDIR}/digest-${PF} | cut -f2 -d" "`
+ if [ -z "$mycdigest" ]
+ then
+ echo
+ echo '!!!'" No message digest found for ${1}."
+ if [ -n "$MAINTAINER" ]
+ then
+ echo '>>> Maintainer mode: auto-computing digests.'
+ dyn_digest
+ echo
+ return 0
+ else
+ echo '!!!'" Maintainer: ebuild digest to update message digests."
+ echo
+ return 1
+ fi
+ fi
+ local mydigest=`md5sum ${DISTDIR}/${1} | cut -f1 -d" "`
+ if [ "$mycdigest" != "$mydigest" ]
+ then
+ echo
+ echo '!!!'" ${1}: message digests do not match!"
+ echo '!!!'" ${1} is corrupt or incomplete"
+ echo ">>> md5 con ${mycdigest}"
+ echo ">>> md5 now ${mydigest}"
+ echo ">>> Please delete/redownload ${DISTDIR}/${1}"
+ echo
+ return 1
+ else
+ echo ">>> md5 ;-) ${1}"
+ fi
+ return 0
+}
+
+dyn_batchdigest() {
+ local x
+ if [ ! -e ${FILESDIR}/digest-${PF} ]
+ then
+ if [ "${A}" != "" ]
+ then
+ echo "${CATEGORY}/${PF} has no digest file."
+ fi
+ exit 1
+ fi
+ for x in ${A}
+ do
+ if [ ! -e ${DISTDIR}/${x} ]
+ then
+ echo "${CATEGORY}/${PF}:${x} does not exist in ${DISTDIR}."
+ continue
+ else
+ local mycdigest=`grep " ${x}" ${FILESDIR}/digest-${PF} | cut -f2 -d" "`
+ if [ -z "$mycdigest" ]
+ then
+ echo "${CATEGORY}/${PF}:${x} digest not yet recorded."
+ continue
+ fi
+ local mydigest=`md5sum ${DISTDIR}/${x} | cut -f1 -d" "`
+ if [ "$mycdigest" != "$mydigest" ]
+ then
+ echo "${CATEGORY}/${PF}:${x} is corrupt or has an invalid digest."
+ fi
+ fi
+ done
+}
+
+
+dyn_fetch() {
+ local y
+ for y in ${A}
+ do
+ if [ ! -e ${DISTDIR}/${y} ]
+ then
+ echo ">>> Fetching ${y}..."
+ echo
+ local x
+ local _SRC_URI
+ for x in ${GENTOO_MIRRORS}
+ do
+ _SRC_URI="${_SRC_URI} ${x}/distributions/gentoo/gentoo-sources/${y}"
+ done
+ _SRC_URI="${_SRC_URI} `/usr/bin/queryhost.sh "${SRC_URI}"`"
+ for x in ${_SRC_URI}
+ do
+ if [ ! -e ${DISTDIR}/${y} ]
+ then
+ if [ $y == ${x##*/} ]
+ then
+ echo ">>> Trying site ${x}..."
+ eval "${FETCHCOMMAND}"
+ if [ $? -ne 0 ]
+ then
+ echo '!!!'" Couldn't download ${y}."
+ fi
+ fi
+ fi
+ done
+ if [ ! -e ${DISTDIR}/${y} ]
+ then
+ echo '!!!'" Couldn't download ${y}. Aborting."
+ exit 1
+ fi
+ echo
+ fi
+ done
+ for y in ${A}
+ do
+ digest_check ${y}
+ if [ $? -ne 0 ]
+ then
+ exit 1
+ fi
+ done
+}
+
+dyn_unpack() {
+ trap "abort_unpack" SIGINT SIGQUIT
+ local unpackwork="yes"
+ if [ -e ${WORKDIR} ]
+ then
+ local x
+ for x in $A $EBUILD
+ do
+ echo ">>> Checking ${x}'s mtime..."
+ if [ ${DISTDIR}/${x} -nt ${WORKDIR} ]
+ then
+ echo ">>> ${x} has been updated; recreating WORKDIR..."
+ rm -rf ${WORKDIR}
+ break
+ fi
+ done
+ echo ">>> WORKDIR is up-to-date, not unpacking. (clean to force unpack)"
+ unpackwork="no"
+ fi
+ if [ "$unpackwork" = "yes" ]
+ then
+ install -m0700 -d ${WORKDIR}
+ cd ${WORKDIR}
+ echo ">>> Unpacking source..."
+ src_unpack
+ echo ">>> Source unpacked."
+ cd ..
+ fi
+ trap SIGINT SIGQUIT
+}
+
+dyn_clean() {
+ if [ -d ${WORKDIR} ]
+ then
+ rm -rf ${WORKDIR}
+ fi
+ if [ -d ${BUILDDIR}/image ]
+ then
+ rm -rf ${BUILDDIR}/image
+ fi
+ rm -rf ${BUILDDIR}/.compiled
+}
+
+into() {
+ if [ $1 = "/" ]
+ then
+ export DESTTREE=""
+ else
+ export DESTTREE=$1
+ if [ ! -d ${D}${DESTTREE} ]
+ then
+ install -d ${D}${DESTTREE}
+ fi
+ fi
+}
+
+insinto() {
+ if [ $1 = "/" ]
+ then
+ export INSDESTTREE=""
+ else
+ export INSDESTTREE=$1
+ if [ ! -d ${D}${INSDESTTREE} ]
+ then
+ install -d ${D}${INSDESTTREE}
+ fi
+ fi
+}
+
+exeinto() {
+ if [ $1 = "/" ]
+ then
+ export EXEDESTTREE=""
+ else
+ export EXEDESTTREE=$1
+ if [ ! -d ${D}${EXEDESTTREE} ]
+ then
+ install -d ${D}${EXEDESTTREE}
+ fi
+ fi
+}
+docinto() {
+ if [ $1 = "/" ]
+ then
+ export DOCDESTTREE=""
+ else
+ export DOCDESTTREE=$1
+ if [ ! -d ${D}usr/share/doc/${PF}/${DOCDESTTREE} ]
+ then
+ install -d ${D}usr/share/doc/${PF}/${DOCDESTTREE}
+ fi
+ fi
+}
+
+insopts() {
+ INSOPTIONS=""
+ for x in $*
+ do
+ #if we have a debug build, let's not strip anything
+ if [ -n "$DEBUG" ] && [ "$x" = "-s" ]
+ then
+ continue
+ else
+ INSOPTIONS="$INSOPTIONS $x"
+ fi
+ done
+ export INSOPTIONS
+}
+
+diropts() {
+ DIROPTIONS=""
+ for x in $*
+ do
+ DIROPTIONS="${DIROPTIONS} $x"
+ done
+ export DIROPTIONS
+}
+
+exeopts() {
+ EXEOPTIONS=""
+ for x in $*
+ do
+ #if we have a debug build, let's not strip anything
+ if [ -n "$DEBUG" ] && [ "$x" = "-s" ]
+ then
+ continue
+ else
+ EXEOPTIONS="$EXEOPTIONS $x"
+ fi
+ done
+ export EXEOPTIONS
+}
+
+libopts() {
+ LIBOPTIONS=""
+ for x in $*
+ do
+ #if we have a debug build, let's not strip anything
+ if [ -n "$DEBUG" ] && [ "$x" = "-s" ]
+ then
+ continue
+ else
+ LIBOPTIONS="$LIBOPTIONS $x"
+ fi
+ done
+ export LIBOPTIONS
+}
+
+abort_compile() {
+ echo
+ echo '*** Compilation Aborted ***'
+ echo
+ cd ${BUILDDIR} #original dir
+ rm -f .compiled
+ trap SIGINT SIGQUIT
+ exit 1
+}
+
+abort_unpack() {
+ echo
+ echo '*** Unpack Aborted ***'
+ echo
+ cd ${BUILDDIR} #original dir
+ rm -f .unpacked
+ rm -rf work
+ trap SIGINT SIGQUIT
+ exit 1
+}
+
+abort_package() {
+ echo
+ echo '*** Packaging Aborted ***'
+ echo
+ cd ${BUILDDIR} #original dir
+ rm -f .packaged
+ rm -f ${PKGDIR}/All/${PF}.t*
+ trap SIGINT SIGQUIT
+ exit 1
+}
+
+abort_image() {
+ echo
+ echo '*** Imaging Aborted ***'
+ echo
+ cd ${BUILDDIR} #original dir
+ rm -rf image
+ trap SIGINT SIGQUIT
+ exit 1
+}
+
+dyn_compile() {
+ trap "abort_compile" SIGINT SIGQUIT
+ export CFLAGS CXXFLAGS LIBCFLAGS LIBCXXFLAGS
+ if [ ${BUILDDIR}/.compiled -nt ${WORKDIR} ]
+ then
+ echo ">>> It appears that ${PN} is already compiled. skipping."
+ echo ">>> (clean to force compilation)"
+ trap SIGINT SIGQUIT
+ return
+ fi
+ if [ -d ${S} ]
+ then
+ cd ${S}
+ fi
+ src_compile
+ cd ${BUILDDIR}
+ touch .compiled
+ trap SIGINT SIGQUIT
+}
+
+dyn_package() {
+ trap "abort_package" SIGINT SIGQUIT
+ local PNAME=${PF}.${PACKAGE}
+ cd ${BUILDDIR}/image
+ echo ">>> Creating ${PNAME} in ${PKGDIR}/All..."
+ if [ "$PACKAGE" = "tbz2" ]
+ then
+ tar cvf ${PKGDIR}/All/${PF}.tar *
+ bzip2 ${PKGDIR}/All/${PF}.tar
+ mv ${PKGDIR}/All/${PF}.tar.bz2 ${PKGDIR}/All/${PNAME}
+ elif [ "$PACKAGE" = "tgz" ]
+ then
+ tar czvf ${PKGDIR}/All/${PNAME} *
+ else
+ echo '!!! Package format '${PACKAGE}' not recognized. Please correct /etc/make.conf'
+ exit 1
+ fi
+ ln -sf ${PKGDIR}/All/${PNAME} ${PKGDIR}/${CATEGORY}/${PNAME}
+ echo ">>> Done."
+ cd ${BUILDDIR}
+ touch .packaged
+ trap SIGINT SIGQUIT
+}
+
+dyn_install() {
+ local ROOT
+ trap "abort_image" SIGINT SIGQUIT
+ rm -rf ${BUILDDIR}/image
+ mkdir ${BUILDDIR}/image
+ if [ -d ${S} ]
+ then
+ cd ${S}
+ fi
+ echo
+ echo ">>> Install ${PF} into ${D} category ${CATEGORY}"
+ src_install
+ prepall
+ install -d -m0700 ${D}var/db/pkg/${CATEGORY}/${PF}
+ cp ${EBUILD} ${D}var/db/pkg/${CATEGORY}/${PF}
+ local x
+ #create provides database
+ for x in $PROVIDE
+ do
+ echo "$x" >> ${D}var/db/pkg/${CATEGORY}/${PF}/PROVIDE
+ done
+ for x in $DEPEND
+ do
+ echo "$x" >> ${D}/var/db/pkg/${CATEGORY}/${PF}/DEPEND
+ done
+ for x in $RDEPEND
+ do
+ echo "$x" >> ${D}/var/db/pkg/${CATEGORY}/${PF}/RDEPEND
+ done
+ echo ">>> Completed installing into ${D}"
+ echo
+ cd ${BUILDDIR}
+ trap SIGINT SIGQUIT
+}
+
+dyn_merge() {
+ trap "" SIGINT SIGQUIT
+ pkg_preinst
+ #/usr/sbin/portage-merge
+ dopython portage.merge "$CATEGORY" "$PF" "$D"
+ cd ${BUILDDIR}
+ #zap it so that people don't look at a bad image and get confused
+ rm -rf image
+ pkg_postinst
+ trap SIGINT SIGQUIT
+}
+
+dyn_unmerge() {
+ trap "" SIGINT SIGQUIT
+ #/usr/sbin/portage-unmerge ${PF}
+ dopython portage.unmerge "$CATEGORY" "$PF"
+ trap SIGINT_SIGQUIT
+}
+
+
+dyn_spec() {
+ tar czf /usr/src/redhat/SOURCES/${PF}.tar.gz ${O}/${PF}.ebuild ${O}/files
+
+ cat <<__END1__ > ${PF}.spec
+Summary: ${DESCRIPTION}
+Name: ${PN}
+Version: ${PV}
+Release: ${PR}
+Copyright: GPL
+Group: portage/${CATEGORY}
+Source: ${PF}.tar.gz
+Buildroot: ${D}
+%description
+${DESCRIPTION}
+
+${HOMEPAGE}
+
+%prep
+%setup -c
+
+%build
+
+%install
+
+%clean
+
+%files
+/
+__END1__
+
+}
+dyn_rpm () {
+ dyn_spec
+ rpm -bb ${PF}.spec
+
+ install -D /usr/src/redhat/RPMS/i386/${PN}-${PV}-${PR}.i386.rpm ${RPMDIR}/${CATEGORY}/${PN}-${PV}-${PR}.rpm
+}
+
+dyn_help() {
+ echo
+ echo "Portage"
+ echo "Copyright 2000 Gentoo Technologies, Inc."
+ echo
+ echo "How to use the ebuild command:"
+ echo
+ echo "The first argument to ebuild should be an existing .ebuild file."
+ echo
+ echo "One or more of the following options can then be specified. If more"
+ echo "than one option is specified, each will be executed in order."
+ echo
+ echo " check : test if all dependencies get resolved"
+ echo " fetch : download source archive(s) and patches"
+ echo " unpack : unpack/patch sources (auto-fetch if needed)"
+ echo " compile : compile sources (auto-fetch/unpack if needed)"
+ echo " merge : merge image into live filesystem, recording files in db"
+ echo " remerge : forces merge even if the package is installed"
+ echo " (auto-fetch/unpack/compile if needed)"
+ echo " unmerge : remove package from live filesystem"
+ echo " package : create tarball package of type ${PACKAGE}"
+ echo " (will be stored in ${PKGDIR}/All)"
+ echo " clean : clean up all source and temporary files"
+ echo
+ echo "The following settings will be used for the ebuild process:"
+ echo
+ echo " package : ${PF}"
+ echo " category : ${CATEGORY}"
+ echo " description : ${DESCRIPTION}"
+ echo " system : ${CHOST}"
+ echo " c flags : ${CFLAGS}"
+ echo " c++ flags : ${CXXFLAGS}"
+ echo " make flags : ${MAKEOPTS}"
+ echo -n " build mode : "
+ if [ -n "${DEBUG}" ]
+ then
+ echo "debug (large)"
+ else
+ echo "production (stripped)"
+ fi
+ echo " merge to : ${ROOT}"
+ echo " db location : ${ROOT}var/db/pkg/${CATEGORY}/${P}/CONTENTS"
+ echo
+ if [ -n "$USE" ]
+ then
+ echo "Additionally, support for the following toolkits will be enabled if necessary:"
+ echo
+ echo " ${USE}"
+ fi
+ echo
+}
+
+src_menu() {
+ MYDIR=${BUILDDIR}
+ local MYfoo
+ for MYfoo in "$@"
+ do
+ case "${MYfoo}" in
+ noop)
+ ;;
+ unpack)
+ dyn_fetch
+ dyn_unpack
+ ;;
+ compile)
+ build_depend
+ dyn_fetch
+ dyn_unpack
+ dyn_compile
+ ;;
+ prerm|postrm|preinst|postinst|config)
+ pkg_${MYfoo}
+ ;;
+ help|batchdigest|touch|clean|fetch|digest|pkginfo|pkgloc|unmerge|install)
+ dyn_${MYfoo}
+ ;;
+ check)
+ # Exit with 1 if there are unresolved dependencies
+ build_depend
+ ;;
+ package)
+ build_depend
+ dyn_fetch
+ local PNAME=${PF}.${PACKAGE}
+ if [ ! -d ${PKGDIR} ]
+ then
+ install -d ${PKGDIR}
+ fi
+ if [ ! -d ${PKGDIR}/All ]
+ then
+ install -d ${PKGDIR}/All
+ fi
+ if [ ! -d ${PKGDIR}/${CATEGORY} ]
+ then
+ install -d ${PKGDIR}/${CATEGORY}
+ fi
+ if [ -e ${PKGDIR}/All/${PNAME} ]
+ then
+ if [ ! -d ${PKGDIR}/${CATEGORY}/${PNAME} ]
+ then
+ ln -sf ${PKGDIR}/All/${PNAME} ${PKGDIR}/${CATEGORY}/${PNAME}
+ fi
+ local x
+ local dopackage
+ dopackage="no"
+ for x in ${A} ${EBUILD}
+ do
+ if [ ${x} -nt ${PKGDIR}/All/${PNAME} ]
+ then
+ dopackage="yes"
+ break
+ fi
+ done
+ if [ "$dopackage" = "no" ]
+ then
+ echo
+ echo ">>> Package ${PNAME} appears to be up-to-date."
+ echo ">>> To force rebuild, touch ${EBUILD}."
+ echo
+ continue
+ fi
+ fi
+ dyn_unpack
+ dyn_compile
+ dyn_install
+ dyn_package
+ ;;
+
+ remerge)
+ #this is meant to merge over an existing version even if it exists
+ build_depend
+ dyn_fetch
+ dyn_unpack
+ dyn_compile
+ dyn_install
+ dyn_merge
+ runtime_depend
+ ;;
+ qmerge)
+ #this means to run only dyn_merge
+ dyn_merge
+ ;;
+ merge)
+ #merge makes sure the package isn't already merged first
+ merge_check
+ build_depend
+ dyn_fetch
+ dyn_unpack
+ dyn_compile
+ dyn_install
+ dyn_merge
+ runtime_depend
+ ;;
+ gendeps)
+ #create DEPEND and RDEPEND files in the same directory as the .ebuild file
+ #this is used for the auto dependency resolving features of ebuild
+ gen_depend
+ ;;
+ rpm)
+ build_depend
+ dyn_fetch
+ dyn_unpack
+ dyn_compile
+ dyn_install
+ dyn_rpm
+ ;;
+ *)
+ echo "Please specify a valid command."
+ echo
+ dyn_help
+ esac
+ done
+ cd $MYDIR
+}
+
+#dummy value for help printouts
+P=packagename
+
+if [ $# -lt 1 ]
+then
+ echo
+ echo '!!!' "At least two arguments expected."
+ dyn_help
+ exit 1
+fi
+
+if [ ! -e ${1} ]
+then
+ echo
+ echo '!!!' "${1} not found."
+ dyn_help
+ exit 1
+fi
+
+# this function sets various environment variables that are used by
+# portage. For a package called "foo-1.2-r1", they would be set as
+# follows:
+# P=foo-1.2
+# PF=foo-1.2-r1 (r1 is the rev, or release of the ebuild script)
+# PN=foo
+# PV=1.2
+# PR=1 (rev is zero if unspecified)
+
+setp() {
+ if [ $# -ne 3 ]
+ then
+ echo '!!!' ${P} is not a valid package name. Exiting.
+ exit 1
+ fi
+ if [ "${3}" = "0" ]
+ then
+ export PF="${1}-${2}"
+ else
+ export PF="${1}-${2}-r${3}"
+ fi
+ export P="${1}-${2}"
+ export PN="${1}"
+ export PV="${2}"
+ export PR="${3}"
+}
+
+export STARTDIR=`pwd`
+
+if [ "${1:0:1}" = "/" ]
+then
+ export O=`dirname ${1}`
+else
+ tmpfoo=`dirname ${1}`
+ export O=`( cd ${tmpfoo}; pwd )`
+fi
+tmpfoo=`(cd ${O}/..;pwd)`
+export CATEGORY=`/usr/bin/basename $tmpfoo`
+export EBUILD=${O}/`basename ${1}`
+export PEBUILD=${O}/files/${PLATFORM}.ebuild
+export FILESDIR=${O}/files
+
+tmpfoo=`/usr/bin/basename ${1%.*}`
+setp `/usr/sbin/pkgname ${tmpfoo}`
+
+#if [ $# -le 3 ]
+#then
+# dyn_help
+# exit 1
+#fi
+
+#source ${1}
+#if [ -e ${PEBUILD} ]
+#then
+# source ${PEBUILD}
+#fi
+
+if [ ! -z ${BUILD_PREFIX} ]
+then
+ export BUILDDIR=${BUILD_PREFIX}/${PF}
+else
+ export BUILDDIR=${O}
+fi
+if [ ! -d ${BUILDDIR} ]
+then
+ install -d ${BUILDDIR}
+fi
+
+export T=${BUILDDIR}/temp
+if [ ! -d ${T} ]
+then
+ install -d ${T}
+fi
+export WORKDIR=${BUILDDIR}/work
+export D=${BUILDDIR}/image
+dlen=$(( ${#D} -1 ))
+if [ "${D:${dlen}:1}" != "/" ]
+then
+ export D=${D}/
+fi
+
+source ${1}
+if [ -e ${PEBUILD} ]
+then
+ source ${PEBUILD}
+fi
+
+#set up dependency variables correctly...
+if [ "$RDEPEND" = "" ]
+then
+ RDEPEND="$DEPEND"
+fi
+
+#auto-generate ${A} based on ${SRC_URI} if ${A} isn't defined...
+if [ "${A}" = "" ]
+then
+ export SRC_URI
+ eval `dopython portage.gen_archnames`
+fi
+
+foo=2
+while [ $foo -le $# ]
+do
+eval "src_menu \${${foo}}"
+if [ $? -ne 0 ]
+then
+ echo "***error***"
+ exit 1
+fi
+foo=$(( $foo + 1))
+done
+
+
diff --git a/sys-apps/portage/files/newbin/newdoc b/sys-apps/portage/files/newbin/newdoc
new file mode 100755
index 000000000000..4c7286b751a4
--- /dev/null
+++ b/sys-apps/portage/files/newbin/newdoc
@@ -0,0 +1,4 @@
+#!/bin/bash
+rm -rf ${T}/${2}
+cp ${1} ${T}/${2}
+dodoc ${T}/${2}
diff --git a/sys-apps/portage/files/newbin/prepalldocs b/sys-apps/portage/files/newbin/prepalldocs
new file mode 100755
index 000000000000..b2ccc490709e
--- /dev/null
+++ b/sys-apps/portage/files/newbin/prepalldocs
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+z=`find ${D}/usr/share/doc -not -name "*.gz" -not -name "*.js"`
+
+for y in ${z}
+do
+ if [ -h ${y} ]
+ then
+ #symlink
+ linkto=`ls -l ${y} | sed -e "s:${D}::" | awk '{ printf ("%s.gz",$11) } '`
+ echo "$linkto $y.gz"
+ ln -sf ${linkto} ${y}.gz
+ rm ${y}
+ else
+ if [ -f ${y} ]
+ then
+ gzip -f -9 ${y}
+ fi
+ fi
+done
+
+
+
diff --git a/sys-apps/portage/files/newbin/prepman b/sys-apps/portage/files/newbin/prepman
new file mode 100755
index 000000000000..4e71c87c59aa
--- /dev/null
+++ b/sys-apps/portage/files/newbin/prepman
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+if [ -z "$1" ]
+then
+ z=${D}usr/man
+else
+ z=${D}$1/man
+fi
+
+for x in ${z}/*
+do
+ for y in ${x}/*
+ do
+ if [ -h ${y} ]
+ then
+ #symlink
+ linkto=`ls -l ${y} | sed -e "s:${D}::" | awk '{ printf ("%s.gz",$11) } '`
+ echo "$linkto $y.gz"
+ ln -sf ${linkto} ${y}.gz
+ rm ${y}
+ else
+ gzip -f -9 ${y}
+ fi
+ done
+done
+
+
+
diff --git a/sys-apps/portage/portage-1.4-r15.ebuild b/sys-apps/portage/portage-1.4-r15.ebuild
new file mode 100644
index 000000000000..e196f4d793f0
--- /dev/null
+++ b/sys-apps/portage/portage-1.4-r15.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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-1.4-r15.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=""
+S=${WORKDIR}/${P}
+DESCRIPTION="Portage autobuild system"
+SRC_URI=""
+HOMEPAGE="http://www.gentoo.org"
+
+RDEPEND="sys-devel/perl"
+
+src_unpack() {
+ mkdir ${S}
+}
+
+src_compile() {
+ cd ${S}
+}
+
+src_install() {
+
+ cd ${FILESDIR}
+ insinto /etc
+ doins make.defaults
+ newins make.conf make.conf.eg
+ dodir /usr/lib/portage/bin
+ dodir /usr/bin
+ dodir /usr/sbin
+ insinto /usr/bin
+ insopts -m755
+ doins newbin/ebuild *.sh
+ insinto /usr/sbin
+ doins portage-merge portage-unmerge pkgname
+ insinto /usr/lib/python2.0
+ doins portage.py
+ exeinto /usr/lib/portage/bin
+ doexe bin/* mega* portage-maintain
+ doexe newbin/*
+ rm ${D}/usr/lib/portage/bin/ebuild
+ dosym /usr/lib/portage/bin/pkgmerge /usr/sbin/pkgmerge
+ dosym /usr/lib/portage/bin/portage-maintain /usr/sbin/portage-maintain
+ dosym newins /usr/lib/portage/bin/donewins
+ exeinto /usr/sbin
+ doexe env-update
+ doman man/*.[15]
+
+}
+
+pkg_postinst() {
+ if [ ! -e ${ROOT}/etc/make.conf ]
+ then
+ cp ${ROOT}/etc/make.conf.eg ${ROOT}/etc/make.conf
+ fi
+}
+
+
diff --git a/sys-apps/procps/procps-2.0.7-r2.ebuild b/sys-apps/procps/procps-2.0.7-r2.ebuild
new file mode 100644
index 000000000000..f6c66a8d6804
--- /dev/null
+++ b/sys-apps/procps/procps-2.0.7-r2.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/sys-apps/procps/procps-2.0.7-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard informational utilities and process-handling tools"
+SRC_URI="ftp://people.redhat.com/johnsonm/procps/${A}"
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}
+
+ mv Makefile Makefile.orig
+ sed -e "s/-O3/${CFLAGS}/" -e 's/all: config/all: /' \
+ -e "s:--strip::" Makefile.orig > Makefile
+
+ mv watch.c watch.c.orig
+ sed -e "s/<ncurses.h>/<NEW>/" -e "s/<signal.h>/<ncurses.h>/" -e "s/<NEW>/<signal.h>/" watch.c.orig >watch.c
+
+ cd ${S}/ps
+ mv Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/" -e "s:--strip::" Makefile.orig > Makefile
+
+ cd ${S}/proc
+ mv Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/" -e "s:--strip::" Makefile.orig > Makefile
+
+}
+
+src_compile() {
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ dodir /usr/bin
+ dodir /sbin
+ dodir /usr/X11R6/bin
+ dodir /usr/share/man/man{1,5,8}
+ dodir /lib
+ dodir /bin
+ try make DESTDIR=${D} MANDIR=/usr/share/man install
+
+ preplib /
+ dodoc BUGS COPYING COPYING.LIB NEWS TODO
+ docinto proc
+ dodoc proc/COPYING
+ docinto ps
+ dodoc ps/COPYING ps/HACKING
+}
+
+
+
diff --git a/sys-apps/psmisc/psmisc-19-r2.ebuild b/sys-apps/psmisc/psmisc-19-r2.ebuild
new file mode 100644
index 000000000000..2012bef4dd15
--- /dev/null
+++ b/sys-apps/psmisc/psmisc-19-r2.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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/psmisc/psmisc-19-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+#from Debian ;)
+
+A=${P}.tar.gz
+S=${WORKDIR}/psmisc
+DESCRIPTION="Handy process-related utilities from Debian"
+SRC_URI="ftp://lrcftp.epfl.ch/pub/linux/local/psmisc/"${A}
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s/-ltermcap/-lncurses/g" -e "s/-O/${CFLAGS}/" -e "s:-Wpointer-arith::" Makefile.orig > Makefile
+}
+
+src_compile() {
+ try pmake
+}
+
+src_install() {
+
+ dobin killall pstree
+ dosym killall /usr/bin/pidof
+
+ into /
+ dobin fuser
+
+ doman *.1
+
+ dodoc CHANGES COPYING README VERSION psmisc-19.lsm
+}
+
+
diff --git a/sys-apps/raidtools/raidtools-0.90-r2.ebuild b/sys-apps/raidtools/raidtools-0.90-r2.ebuild
new file mode 100644
index 000000000000..186e2cd3e972
--- /dev/null
+++ b/sys-apps/raidtools/raidtools-0.90-r2.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/sys-apps/raidtools/raidtools-0.90-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+P=raidtools-0.90-1
+A=raidtools-dangerous-0.90-20000116.tar.gz
+S=${WORKDIR}/raidtools-0.90
+DESCRIPTION="Linux RAID 0/1/4/5 utilities"
+SRC_URI="http://people.redhat.com/mingo/raid-patches/${A}"
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure
+ cp Makefile Makefile.orig
+ sed -e "s/-O2//" -e "s/-g//" Makefile.orig > Makefile
+ try pmake
+
+}
+
+src_install() {
+
+ into /
+ dosbin mkraid raidstart mkpv
+ for x in raidstop raidhotadd raidhotremove raidsetfaulty
+ do
+ dosym raidstart /sbin/${x}
+ done
+ dosym mkraid /sbin/raid0run
+ doman *.8 *.5
+
+ dodoc COPYING README
+ docinto txt
+ dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.txt
+ docinto html
+ dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.html
+ docinto sgml
+ dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.sgml
+
+ docinto config
+ dodoc *.sample
+
+ dodir /dev
+ for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+ do
+ mknod -m 0600 ${D}/dev/md$i b 9 $i
+ done
+
+}
+
diff --git a/sys-apps/reiserfs-utils/reiserfs-utils-3.6.25-r2.ebuild b/sys-apps/reiserfs-utils/reiserfs-utils-3.6.25-r2.ebuild
new file mode 100644
index 000000000000..270b519e426f
--- /dev/null
+++ b/sys-apps/reiserfs-utils/reiserfs-utils-3.6.25-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Your Name <your email>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/reiserfs-utils/reiserfs-utils-3.6.25-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A="${P}.tar.gz reiserfsprogs-3.x.0a.tar.gz"
+S=${WORKDIR}/${P}
+S0=${WORKDIR}/reiserfsprogs-3.x.0a
+DESCRIPTION="Reiserfs Utilities"
+SRC_URI="ftp://ftp.namesys.com/pub/reiserfsprogs/${P}.tar.gz
+ ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.x.0a.tar.gz"
+HOMEPAGE="http://www.namesys.com"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile
+
+}
+
+src_compile() {
+
+ try make
+ cd ${S0}
+ try ./configure --host=${CHOST}
+ try make
+
+}
+
+src_install () {
+
+ dodir /sbin
+ dodir /usr/share/man/man8
+ try make SBIN=${D}sbin MANDIR=${D}usr/share/man/man8 install
+ dodoc README
+ cd ${S0}
+ doman fsck/reiserfsck.8
+ into /
+ dosbin fsck/reiserfsck
+ dosym /bin/true /sbin/fsck.reiserfs
+
+
+}
+
diff --git a/sys-apps/sed/sed-3.02.80-r1.ebuild b/sys-apps/sed/sed-3.02.80-r1.ebuild
new file mode 100644
index 000000000000..ed0374679f4c
--- /dev/null
+++ b/sys-apps/sed/sed-3.02.80-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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-3.02.80-r1.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Super-useful stream editor"
+SRC_URI="ftp://alpha.gnu.org/pub/gnu/sed/${A}"
+
+DEPEND="virtual/glibc
+ >=sys-devel/gettext-0.10.35-r2"
+
+RDEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --host=${CHOST}
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ doinfo doc/sed.info
+ doman doc/sed.1
+
+ into /
+ dobin sed/sed
+ dodir /usr/bin
+ dosym /bin/sed /usr/bin/sed
+
+ dodoc COPYING NEWS README* THANKS TODO AUTHORS BUGS ANNOUNCE
+}
+
diff --git a/sys-apps/setserial/setserial-2.17-r2.ebuild b/sys-apps/setserial/setserial-2.17-r2.ebuild
new file mode 100644
index 000000000000..d722613454ac
--- /dev/null
+++ b/sys-apps/setserial/setserial-2.17-r2.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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/setserial-2.17-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+P=setserial-2.17
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Configure your serial ports with it"
+SRC_URI="ftp://tsx-11.mit.edu/pub/linux/sources/sbin/${A}
+ ftp://ftp.sunsite.org.uk/Mirrors/tsx-11.mit.edu/pub/linux/sources/sbin/${A}"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure
+ try pmake setserial
+
+}
+
+src_install() {
+
+ doman setserial.8
+ into /
+ dobin setserial
+
+ dodoc README
+ docinto txt
+ dodoc Documentation/*
+ insinto /etc
+ doins serial.conf
+}
+
+
+
diff --git a/sys-apps/sh-utils/sh-utils-2.0j-r2.ebuild b/sys-apps/sh-utils/sh-utils-2.0j-r2.ebuild
new file mode 100644
index 000000000000..91711e7d9a52
--- /dev/null
+++ b/sys-apps/sh-utils/sh-utils-2.0j-r2.ebuild
@@ -0,0 +1,48 @@
+
+# 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/sys-apps/sh-utils/sh-utils-2.0j-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Your standard GNU shell utilities"
+SRC_URI="ftp://alpha.gnu.org/gnu/fetish/${A}"
+
+DEPEND="virtual/glibc
+ >=sys-devel/gettext-0.10.35-r2"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ cp sys2.h sys2.h.orig
+ sed -e "s:^char \*strndup://:" sys2.h.orig > sys2.h
+}
+
+src_compile() {
+
+ try CFLAGS=\"${CFLAGS}\" ./configure --host=${CHOST} --build=${CHOST} \
+ --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
+ --without-included-regex
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ try make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info install
+ rm -rf ${D}/usr/lib
+ dodir /bin
+ cd ${D}/usr/bin
+ # We must use hostname from net-base
+ rm hostname
+ mv date echo false pwd stty su true uname ${D}/bin
+
+ cd ${S}
+ dodoc AUTHORS COPYING ChangeLog ChangeLog.0 \
+ NEWS README THANKS TODO
+}
+
+
+
diff --git a/sys-apps/shadow/shadow-20001016-r2.ebuild b/sys-apps/shadow/shadow-20001016-r2.ebuild
new file mode 100644
index 000000000000..ec96882487dc
--- /dev/null
+++ b/sys-apps/shadow/shadow-20001016-r2.ebuild
@@ -0,0 +1,83 @@
+# 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/sys-apps/shadow/shadow-20001016-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Utilities to deal with user accounts"
+SRC_URI="ftp://ftp.pld.org.pl/software/shadow/${A}"
+
+DEPEND=">=sys-libs/pam-0.73
+ sys-devel/gettext"
+
+RDEPEND=">=sys-libs/pam-0.73"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}/src
+ patch -p0 < ${FILESDIR}/useradd.diff
+
+}
+
+src_compile() {
+
+ try ./configure --disable-desrpc --with-libcrypt \
+ --with-libcrack --with-libpam --host=${CHOST}
+ # Parallel make fails sometimes
+ try make LDFLAGS=\"\"
+
+}
+
+src_install() {
+
+ try make install prefix=${D}/usr mandir=${D}/usr/share/man exec_prefix=${D}
+
+ #add "vigr" symbolic link
+ dosym vipw /usr/sbin/vigr
+
+ mv ${D}/lib ${D}/usr
+ dosed "s:/lib:/usr/lib:" /usr/lib/libshadow.la
+ cd ${D}/usr/sbin
+ ln -s useradd ${D}/usr/sbin/adduser
+
+ dodir /etc
+ cp ${FILESDIR}/login.defs ${D}/etc
+
+ dodir /etc/default
+ cp ${FILESDIR}/useradd ${D}/etc/default
+ chmod 0600 ${D}/etc/default/useradd
+ dodir /etc/skel
+ cd ${S}/etc
+ cp shells shells.orig
+ echo "# /etc/shells: valid login shells" > shells
+ echo "/bin/sh" >> shells
+ echo "/bin/bash" >> shells
+ echo "/bin/tcsh" >> shells
+ echo "/bin/esh" >> shells
+ echo "/bin/ksh" >> shells
+ echo "/bin/zsh" >> shells
+ echo "/bin/sash" >> shells
+ insinto /etc
+ doins limits shells
+ insopts -m0600
+ doins suauth login.access
+ doins ${S}/debian/securetty
+
+ cd pam.d
+ insinto /etc/pam.d
+ insopts -m0644
+ doins shadow
+ newins shadow groupadd
+ newins shadow userpadd
+
+ cd ${S}/doc
+ dodoc ANNOUNCE CHANGES INSTALL LICENSE README WISHLIST
+ docinto txt
+ dodoc HOWTO LSM README.* *.txt
+
+}
+
+
+
diff --git a/sys-apps/sharutils/sharutils-4.2.1-r3.ebuild b/sys-apps/sharutils/sharutils-4.2.1-r3.ebuild
new file mode 100644
index 000000000000..c6ba4383382b
--- /dev/null
+++ b/sys-apps/sharutils/sharutils-4.2.1-r3.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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sharutils/sharutils-4.2.1-r3.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Tools to deal with shar archives"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/sharutils/${A}
+ ftp://prep.ai.mit.edu/gnu/sharutils/${A}"
+
+DEPEND="virtual/glibc
+ >=sys-devel/gettext-0.10.35"
+RDEPEND="virtual/glibc"
+
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}/po
+ mv nl.po nl.po.orig
+ sed -e 's/aangemaakt/aangemaakt\\n/' nl.po.orig > nl.po
+ mv pt.po pt.po.orig
+ sed -e 's/de %dk/de %dk\\n/' pt.po.orig > pt.po
+
+}
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ try make ${MAKEOPTS} localedir=/usr/share/locale
+}
+
+src_install() {
+
+ try make prefix=${D}/usr localedir=${D}/usr/share/locale infodir=${D}/usr/share/info install
+
+ doman doc/*.[15]
+ #Remove some strange locals
+ cd ${D}/usr/share/locale
+ for i in *.
+ do
+ rm -rf ${i}
+ done
+ rm -rf ${D}/usr/lib
+
+ cd ${S}
+ dodoc AUTHORS BACKLOG COPYING ChangeLog ChangeLog.OLD \
+ NEWS README README.OLD THANKS TODO
+}
+
+
diff --git a/sys-apps/star/star-1.3_alpha8-r1.ebuild b/sys-apps/star/star-1.3_alpha8-r1.ebuild
new file mode 100644
index 000000000000..e5d359d1bdf9
--- /dev/null
+++ b/sys-apps/star/star-1.3_alpha8-r1.ebuild
@@ -0,0 +1,43 @@
+# 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/sys-apps/star/star-1.3_alpha8-r1.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=star-1.3a8.tar.gz
+S=${WORKDIR}/star-1.3
+
+DESCRIPTION="Includes star, an enhanced (world\'s fastest) tar, as well as enhanced mt/rmt"
+SRC_URI="ftp://ftp.fokus.gmd.de/pub/unix/star/alpha/${A}"
+HOMEPAGE="http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/star.html"
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}/DEFAULTS
+ cp Defaults.linux Defaults.linux.orig
+ sed -e 's:/opt/schily:/usr:g' -e 's:bin:root:g' Defaults.linux.orig > Defaults.linux
+}
+
+src_compile() {
+
+ try make COPTX=\"${CFLAGS}\"
+
+}
+
+src_install() {
+
+ try make install INS_BASE=${D}/usr
+ insinto /etc/default
+ newins ${S}/rmt/rmt.dfl rmt
+ dodoc BUILD COPYING Changelog AN-1.* README README.* PORTING TODO
+ rm ${D}/usr/man/man1/match*
+ dodir /usr/share/
+ mv ${D}/usr/man/ ${D}/usr/share
+ cd ${D}/usr/bin
+ rm smt ustar
+ ln -s star ustar
+ ln -s mt smt
+}
+
+
diff --git a/sys-apps/sysklogd/sysklogd-1.4-r2.ebuild b/sys-apps/sysklogd/sysklogd-1.4-r2.ebuild
new file mode 100644
index 000000000000..eb14a0ad1654
--- /dev/null
+++ b/sys-apps/sysklogd/sysklogd-1.4-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysklogd/sysklogd-1.4-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="standard log daemons"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/${A}"
+
+DEPEND="virtual/glibc"
+RDEPEND="sys-devel/perl"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ mv Makefile Makefile.orig
+ sed -e "s/-O3/${CFLAGS}/" Makefile.orig > Makefile
+
+}
+
+src_compile() {
+ try pmake LDFLAGS=\"\"
+}
+
+src_install() {
+
+ dosbin syslogd klogd ${FILESDIR}/syslogd-listfiles
+ doman *.[1-9] ${FILESDIR}/syslogd-listfiles.8
+
+ exeinto /etc/cron.daily
+ doexe ${FILESDIR}/syslog
+
+ dodoc ANNOUNCE CHANGES COPYING MANIFEST NEWS README.1st README.linux
+ exeinto /etc/rc.d/init.d
+ doexe ${FILESDIR}/sysklogd
+}
+
+
diff --git a/sys-apps/sysvinit/sysvinit-2.78-r2.ebuild b/sys-apps/sysvinit/sysvinit-2.78-r2.ebuild
new file mode 100644
index 000000000000..5db83adbb336
--- /dev/null
+++ b/sys-apps/sysvinit/sysvinit-2.78-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel robbins <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.78-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}/src
+DESCRIPTION="System initialization stuff"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/init/${A}"
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ mv Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile
+}
+
+src_compile() {
+
+ try pmake LDFLAGS=\"\"
+ cd ../contrib
+ try gcc ${CFLAGS} start-stop-daemon.c -o start-stop-daemon
+}
+
+
+src_install() {
+
+ into /
+ dosbin halt init killall5 runlevel shutdown sulogin
+ dobin last mesg utmpdump wall
+ dosym killall5 /sbin/pidof
+ dosym halt /sbin/reboot
+ cd ../contrib
+ dosbin start-stop-daemon
+ into /usr
+ cd ../man
+ doman *.[1-9]
+
+ cd ..
+ dodoc README doc/* contrib/start-stop-daemon.README
+
+}
+
+
diff --git a/sys-apps/tar/tar-1.13.18-r2.ebuild b/sys-apps/tar/tar-1.13.18-r2.ebuild
new file mode 100644
index 000000000000..c15b08f6691e
--- /dev/null
+++ b/sys-apps/tar/tar-1.13.18-r2.ebuild
@@ -0,0 +1,35 @@
+# 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/sys-apps/tar/tar-1.13.18-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+
+DESCRIPTION="Use this to try make tarballs :)"
+SRC_URI="ftp://alpha.gnu.org/gnu/tar/"${A}
+HOMEPAGE="http://www.gnu.org/software/tar/"
+
+DEPEND="virtual/glibc
+ >=sys-devel/gettext-0.10.35-r2"
+
+RDEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/lib/misc --infodir=/usr/share/info --host=${CHOST}
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ try make DESTDIR=${D} install
+ dodoc AUTHORS ChangeLog* COPYING NEWS README* PORTS THANKS
+
+ #we're using Schilly's enhanced rmt command included with star
+ rm -rf ${D}/usr/lib
+
+
+}
+
+
diff --git a/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6-ipv6-1.6.diff.gz b/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6-ipv6-1.6.diff.gz
new file mode 100644
index 000000000000..55c348c41ef4
--- /dev/null
+++ b/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6-ipv6-1.6.diff.gz
Binary files differ
diff --git a/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6.dif b/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6.dif
new file mode 100644
index 000000000000..a3b9f1df3713
--- /dev/null
+++ b/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6.dif
@@ -0,0 +1,185 @@
+--- hosts_access.c
++++ hosts_access.c 2000/01/21 16:06:56
+@@ -33,6 +33,7 @@
+ #include <errno.h>
+ #include <setjmp.h>
+ #include <string.h>
++#include <rpcsvc/ypclnt.h>
+
+ extern char *fgets();
+ extern int errno;
+@@ -88,6 +89,33 @@
+ #define BUFLEN 2048
+
+ /* hosts_access - host access control facility */
++
++int
++yp_get_default_domain (char **outdomain)
++{
++ static char __ypdomainname[1025] = "\0";
++ int result = YPERR_SUCCESS;;
++ *outdomain = NULL;
++
++ if (__ypdomainname[0] == '\0')
++ {
++ if (getdomainname (__ypdomainname, 1024))
++ result = YPERR_NODOM;
++ else if (strcmp (__ypdomainname, "(none)") == 0)
++ {
++ /* If domainname is not set, some Systems will return "(none)" */
++ __ypdomainname[0] = '\0';
++ result = YPERR_NODOM;
++ }
++ else
++ *outdomain = __ypdomainname;
++ }
++ else
++ *outdomain = __ypdomainname;
++
++ return result;
++}
++
+
+ int hosts_access(request)
+ struct request_info *request;
+--- Makefile
++++ Makefile 2000/01/21 16:45:52
+@@ -44,7 +44,7 @@
+ #REAL_DAEMON_DIR=/usr/etc
+ #
+ # SysV.4 Solaris 2.x OSF AIX
+-#REAL_DAEMON_DIR=/usr/sbin
++REAL_DAEMON_DIR=/usr/sbin
+ #
+ # BSD 4.4
+ #REAL_DAEMON_DIR=/usr/libexec
+@@ -143,8 +143,9 @@
+
+ linux:
+ @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
+- LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \
+- NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER" all
++ LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= \
++ NETGROUP=-DNETGROUP TLI= \
++ EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DINET6=1 -Dss_family=__ss_family" all
+
+ # This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x.
+ hpux hpux8 hpux9 hpux10:
+@@ -229,7 +230,7 @@
+
+ # Amdahl UTS 2.1.5 (Richard.Richmond@bridge.bst.bls.com)
+ uts215:
+- @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
++ @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
+ LIBS="-lsocket" RANLIB=echo \
+ ARFLAGS=rv AUX_OBJ=setenv.o NETGROUP=-DNO_NETGROUP TLI= all
+
+@@ -472,7 +473,7 @@
+ # If your system supports vsyslog(), comment out the following definition.
+ # If in doubt leave it in, it won't harm.
+
+-VSYSLOG = -Dvsyslog=myvsyslog
++#VSYSLOG = -Dvsyslog=myvsyslog
+
+ # End of the system dependencies.
+ #################################
+@@ -491,7 +492,7 @@
+ # Uncomment the next definition to turn on the language extensions
+ # (examples: allow, deny, banners, twist and spawn).
+ #
+-#STYLE = -DPROCESS_OPTIONS # Enable language extensions.
++STYLE = -DPROCESS_OPTIONS # Enable language extensions.
+
+ ################################################################
+ # Optional: Changing the default disposition of logfile records
+@@ -514,7 +515,7 @@
+ #
+ # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
+
+-FACILITY= LOG_MAIL # LOG_MAIL is what most sendmail daemons use
++FACILITY= LOG_AUTHPRIV # LOG_MAIL is what most sendmail daemons use
+
+ # The syslog priority at which successful connections are logged.
+
+@@ -531,7 +532,7 @@
+ # and with Solaris < 2.4. APPEND_DOT will not work with hostnames taken
+ # from /etc/hosts or from NIS maps. It does work with DNS through NIS.
+ #
+-# DOT= -DAPPEND_DOT
++DOT= -DAPPEND_DOT
+
+ ##################################################
+ # Optional: Always attempt remote username lookups
+@@ -551,7 +552,7 @@
+ # still do selective username lookups as documented in the hosts_access.5
+ # and hosts_options.5 manual pages (`nroff -man' format).
+ #
+-#AUTH = -DALWAYS_RFC931
++AUTH = -DALWAYS_RFC931
+ #
+ # The default username lookup timeout is 10 seconds. This may not be long
+ # enough for slow hosts or networks, but is enough to irritate PC users.
+@@ -610,7 +611,7 @@
+ # Paranoid mode implies hostname lookup. In order to disable hostname
+ # lookups altogether, see the next section.
+
+-PARANOID= -DPARANOID
++#PARANOID= -DPARANOID
+
+ ########################################
+ # Optional: turning off hostname lookups
+@@ -649,7 +650,7 @@
+ # source-routed traffic in the kernel. Examples: 4.4BSD derivatives,
+ # Solaris 2.x, and Linux. See your system documentation for details.
+ #
+-# KILL_OPT= -DKILL_IP_OPTIONS
++#KILL_OPT= -DKILL_IP_OPTIONS
+
+ ## End configuration options
+ ############################
+@@ -659,12 +660,12 @@
+ SHELL = /bin/sh
+ .c.o:; $(CC) $(CFLAGS) -c $*.c
+
+-CFLAGS = -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
++CFLAGS = -O2 -pipe -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
+ $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
+ -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
+ -DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
+ $(UCHAR) $(TABLES) $(STRINGS) $(TLI) $(EXTRA_CFLAGS) $(DOT) \
+- $(VSYSLOG) $(HOSTNAME)
++ $(VSYSLOG)
+
+ LIB_OBJ= hosts_access.o options.o shell_cmd.o rfc931.o eval.o \
+ hosts_ctl.o refuse.o percent_x.o clean_exit.o $(AUX_OBJ) \
+--- README.ipv6
++++ README.ipv6 2000/01/21 15:52:43
+@@ -0,0 +1,17 @@
++;; IPv6 patch for tcp_wrappers_7.6 1.6
++;; Aug 23, 1999 by Hajimu UMEMOTO <ume@mahoroba.org>
++;;
++;; This patch supports IPv4/IPv6 dual stack and IPv4-mapped IPv6 address.
++;; You can replace stock tcpd or libwrap.a with this.
++;; IPv6 address pattern is as a `[net]/prefixlen' pair.
++;; This patch was tested on KAME/FreeBSD, KAME/FreeBSD3, KAME/NetBSD,
++;; RedHat 5.1 with kernel 2.1.126, and RedHat 6.0 with kernel 2.2.10.
++;;
++;; CAUTION:
++;; Back out change for field separater. Now, field separater is `:'
++;; not `|'. To specify IPv6 address, enclose IPv6 address with `['
++;; and `]'.
++;;
++;; For Linux users:
++;; If your libc doesn't have sockaddr_storage, try target `linux-old'.
++
+--- safe_finger.c
++++ safe_finger.c 2000/01/21 16:06:56
+@@ -31,7 +31,7 @@
+
+ /* Local stuff */
+
+-char path[] = "PATH=/bin:/usr/bin:/usr/ucb:/usr/bsd:/etc:/usr/etc:/usr/sbin";
++char path[] = "PATH=/bin:/usr/bin:/usr/sbin";
+
+ #define TIME_LIMIT 60 /* Do not keep listinging forever */
+ #define INPUT_LENGTH 100000 /* Do not keep listinging forever */
diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r2.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r2.ebuild
new file mode 100644
index 000000000000..f86fe5f095dd
--- /dev/null
+++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r2.ebuild
@@ -0,0 +1,46 @@
+# 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/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=tcp_wrappers_${PV}.tar.gz
+A0="tcp_wrappers_${PV}.dif"
+A1="tcp_wrappers_${PV}-ipv6-1.6.diff.gz"
+
+S=${WORKDIR}/tcp_wrappers_${PV}
+DESCRIPTION="tcp wrappers"
+SRC_URI="ftp://ftp.porcupine.org/pub/security/${A}"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}/
+ patch -p0 < ${FILESDIR}/${A0}
+ gzip -dc ${FILESDIR}/${A1} | patch -p2
+ cp Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/" \
+ -e "s:AUX_OBJ=.*:AUX_OBJ= \\\:" Makefile.orig > Makefile
+}
+
+src_compile() {
+
+ try make ${MAKEOPTS} REAL_DAEMON_DIR=/usr/sbin linux
+}
+
+src_install() {
+
+ dosbin tcpd tcpdchk tcpdmatch safe_finger try-from
+ doman *.[358]
+ dolib.a libwrap.a
+ insinto /usr/include
+ doins tcpd.h
+
+ dodoc BLURB CHANGES DISCLAIMER README*
+}
+
+
+
+
+
diff --git a/sys-apps/texinfo/texinfo-4.0-r2.ebuild b/sys-apps/texinfo/texinfo-4.0-r2.ebuild
new file mode 100644
index 000000000000..e2eed3d5ca12
--- /dev/null
+++ b/sys-apps/texinfo/texinfo-4.0-r2.ebuild
@@ -0,0 +1,48 @@
+# 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/sys-apps/texinfo/texinfo-4.0-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="The GNU info program and utilities"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/texinfo/${A}
+ ftp://ftp.gnu.org/pub/gnu/texinfo/${A}"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2
+ >=sys-devel/gettext-0.10.35-r2"
+
+RDEPEND=">=sys-libs/ncurses-5.2-r2"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ try make DESTDIR=${D} infodir=${D}/usr/share/info install
+ exeinto /usr/sbin
+ doexe ${FILESDIR}/mkinfodir
+
+ cd ${D}/usr/share/info
+ mv texinfo texinfo.info
+ for i in texinfo-*
+ do
+ mv ${i} texinfo.info-${i#texinfo-*}
+ done
+
+ cd ${S}
+ dodoc AUTHORS ChangeLog COPYING INTRODUCTION NEWS README TODO
+ docinto info
+ dodoc info/README
+ docinto makeinfo
+ dodoc makeinfo/README
+}
+
+
+
+
+
+
diff --git a/sys-apps/textutils/textutils-2.0.10-r1.ebuild b/sys-apps/textutils/textutils-2.0.10-r1.ebuild
new file mode 100644
index 000000000000..6848027bfda9
--- /dev/null
+++ b/sys-apps/textutils/textutils-2.0.10-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 Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/textutils/textutils-2.0.10-r1.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard GNU text utilities"
+SRC_URI="ftp://alpha.gnu.org/gnu/fetish/${A}"
+
+DEPEND="virtual/glibc
+ >=sys-devel/gettext-0.10.35-r2"
+
+RDEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST} --build=${CHOST} \
+ --without-included-regex
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+
+ try make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info install
+ dodir /bin
+ dosym /usr/bin/cat /bin/cat
+ rmdir ${D}/usr/lib
+
+ dodoc AUTHORS COPYING ChangeLog NEWS README* THANKS TODO
+
+}
+
+
+
+
diff --git a/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r1.ebuild b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r1.ebuild
new file mode 100644
index 000000000000..c129b672157a
--- /dev/null
+++ b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-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/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r1.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+DESCRIPTION="Collection of tools for managing UNIX services"
+SRC_URI="http://cr.yp.to/${PN}/${P}.tar.gz"
+HOMEPAGE="http://cr.yp.to/${PN}/"
+S=${WORKDIR}/${P}
+DEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ echo "gcc ${CFLAGS}" > conf-cc
+ echo "gcc" > conf-ld
+ echo "/usr/" > conf-home
+}
+
+src_compile() {
+ try pmake
+}
+
+src_install() {
+
+ for i in tcpserver tcprules tcprulescheck argv0 recordio tcpclient *\@ tcpcat mconnect mconnect-io addcr delcr fixcrio rblsmtpd
+ do
+ dobin $i
+ done
+
+ dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
+}
+
+
+
diff --git a/sys-apps/util-linux/util-linux-2.10q-r1.ebuild b/sys-apps/util-linux/util-linux-2.10q-r1.ebuild
new file mode 100644
index 000000000000..73d7129aa2d4
--- /dev/null
+++ b/sys-apps/util-linux/util-linux-2.10q-r1.ebuild
@@ -0,0 +1,49 @@
+# 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/sys-apps/util-linux/util-linux-2.10q-r1.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Various useful Linux utilities"
+SRC_URI="ftp://ftp.de.kernel.org/pub/linux/utils/util-linux/${P}.tar.bz2"
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+
+
+RDEPEND="$DEPEND
+ sys-devel/perl"
+
+src_unpack() {
+
+ unpack ${P}.tar.bz2
+ cd ${S}
+ cp MCONFIG MCONFIG.orig
+ sed -e "s/-pipe -O2 -m486 -fomit-frame-pointer/${CFLAGS}/" \
+ -e "s/CPU=.*/CPU=${CHOST%%-*}/" \
+ -e "s/HAVE_PAM=no/HAVE_PAM=yes/" \
+ -e "s/HAVE_SLN=no/HAVE_SLN=yes/" \
+ -e "s/HAVE_TSORT=no/HAVE_TSORT=yes/" \
+ -e "s:usr/man:usr/share/man:" \
+ -e "s:usr/info:usr/share/info:" \
+ MCONFIG.orig > MCONFIG.orig2
+
+}
+
+src_compile() {
+
+ try ./configure
+ try make ${MAKEOPTS} LDFLAGS=\"\"
+}
+
+
+src_install() {
+
+ try make DESTDIR=${D} install
+
+ dodoc HISTORY MAINTAINER README VERSION
+ docinto licenses
+ dodoc licenses/* HISTORY
+ docinto examples
+ dodoc example.files/*
+}
+
+
diff --git a/sys-apps/vim-nogui/vim-nogui-5.7-r3.ebuild b/sys-apps/vim-nogui/vim-nogui-5.7-r3.ebuild
new file mode 100644
index 000000000000..04a8d35f0332
--- /dev/null
+++ b/sys-apps/vim-nogui/vim-nogui-5.7-r3.ebuild
@@ -0,0 +1,45 @@
+# 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/sys-apps/vim-nogui/vim-nogui-5.7-r3.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A="vim-5.7-src.tar.gz vim-5.7-rt.tar.gz"
+S=${WORKDIR}/vim-5.7
+DESCRIPTION="Handy vi-compatible editor"
+SRC_URI="ftp://ftp.home.vim.org/pub/vim/unix/vim-5.7-src.tar.gz
+ ftp://ftp.home.vim.org/pub/vim/unix/vim-5.7-rt.tar.gz"
+HOMEPAGE="http://www.vim.org"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2
+ gpm? ( >=sys-libs/gpm-1.19.3 )"
+
+src_compile() {
+
+ local myconf
+
+ if [ -z "`use gpm`" ]
+ then
+ myconf="--disable-gpm"
+ fi
+ try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \
+ --enable-gui=no --without-x $myconf
+ # Parallel make does not work
+ try make
+}
+
+src_install() {
+
+ try make prefix=${D}/usr MANDIR=${D}/usr/share/man STRIP=echo install
+ dodoc README*
+
+ cd ${D}/usr/share/doc/${PF}
+ ln -s ../../vim/vim57/doc ${P}
+
+ cd ${D}/usr/bin
+ ln -s vim vi
+ dosed "s:/usr/bin/nawk:/usr/bin/awk:" /usr/share/vim/vim57/tools/mve.awk
+}
+
+
+
+
diff --git a/sys-apps/watchpid/watchpid-0.1-r1.ebuild b/sys-apps/watchpid/watchpid-0.1-r1.ebuild
new file mode 100644
index 000000000000..95a629605487
--- /dev/null
+++ b/sys-apps/watchpid/watchpid-0.1-r1.ebuild
@@ -0,0 +1,26 @@
+# 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/sys-apps/watchpid/watchpid-0.1-r1.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${PN}_${PV}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Watches a process for termination"
+SRC_URI="http://www.codepark.org/projects/utils/${A}"
+HOMEPAGE="http://www.codepark.org"
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST}
+ try make ${MAKEOPTS}
+}
+
+src_install() {
+ try make DESTDIR=${D} install
+ cd ${S}
+ dodoc README AUTHORS COPYING NEWS
+}
+
+
+
diff --git a/sys-apps/which/which-2.12-r1.ebuild b/sys-apps/which/which-2.12-r1.ebuild
new file mode 100644
index 000000000000..7d95c0384c07
--- /dev/null
+++ b/sys-apps/which/which-2.12-r1.ebuild
@@ -0,0 +1,27 @@
+# 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/sys-apps/which/which-2.12-r1.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Prints out location of specified executables that are in your path"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/which/${A}
+ ftp://prep.ai.mit.edu/gnu/which/${A}"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr
+ try make
+}
+
+src_install() {
+
+ dobin which
+ doman which.1
+ doinfo which.info
+ dodoc AUTHORS COPYING EXAMPLES NEWS README*
+}
+
diff --git a/sys-apps/xinetd/xinetd-2.1.8.8_p3-r5.ebuild b/sys-apps/xinetd/xinetd-2.1.8.8_p3-r5.ebuild
new file mode 100644
index 000000000000..c0dbcd81c7d7
--- /dev/null
+++ b/sys-apps/xinetd/xinetd-2.1.8.8_p3-r5.ebuild
@@ -0,0 +1,45 @@
+# 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/sys-apps/xinetd/xinetd-2.1.8.8_p3-r5.ebuild,v 1.1 2001/02/07 15:55:15 achim Exp $
+
+P=${PN}-2.1.8.8p3
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Replacement for inetd."
+HOMEPAGE="http://www.xinetd.org"
+SRC_URI="http://www.xinetd.org/${A}"
+DEPEND="virtual/glibc
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
+
+RDEPEND="virtual/glibc
+ sys-devel/perl"
+
+src_compile() {
+
+ local myconf
+ if [ "`use tcpd`" ]
+ then
+ myconf="--with-libwrap"
+ fi
+ try ./configure --with-loadavg --prefix=/usr --mandir=/usr/share/man --host=${CHOST} $myconf
+ # Parallel make does not work
+ try make
+
+}
+
+src_install() {
+ cd ${S}
+ try make prefix=${D}/usr MANDIR=${D}/usr/share/man install
+ dodoc CHANGELOG README COPYRIGHT
+ exeinto /etc/rc.d/init.d
+ doexe ${FILESDIR}/xinetd ${FILESDIR}/svc-xinetd
+ insinto /etc
+ #doins ${FILESDIR}/xinetd.conf
+ exeinto /var/lib/supervise/services/xinetd
+ newexe ${FILESDIR}/xinetd-run run
+}
+
+
+
+