summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-12-17 20:19:50 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-12-17 20:19:50 +0000
commit32d910982c73a3ac730c84bc0bfb07aee8998d0b (patch)
treedb73785602997cf29514fd09c7221c7afef0c1e9 /sys-apps/sysvinit
parentmask untested stuff (diff)
downloadgentoo-2-32d910982c73a3ac730c84bc0bfb07aee8998d0b.tar.gz
gentoo-2-32d910982c73a3ac730c84bc0bfb07aee8998d0b.tar.bz2
gentoo-2-32d910982c73a3ac730c84bc0bfb07aee8998d0b.zip
fix manpages and docs not installing; changes needed for stuff being tested
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r--sys-apps/sysvinit/files/digest-sysvinit-2.83-r11
-rw-r--r--sys-apps/sysvinit/sysvinit-2.83-r1.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/sysvinit/files/digest-sysvinit-2.83-r1 b/sys-apps/sysvinit/files/digest-sysvinit-2.83-r1
new file mode 100644
index 000000000000..bcfe73e27f6b
--- /dev/null
+++ b/sys-apps/sysvinit/files/digest-sysvinit-2.83-r1
@@ -0,0 +1 @@
+MD5 b534cbb5bfdd1ed0fb08ec10757dd741 sysvinit-2.83.tar.gz 98304
diff --git a/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild b/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild
new file mode 100644
index 000000000000..506b93378203
--- /dev/null
+++ b/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: System Team <system@gentoo.org>
+# Author: Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild,v 1.1 2001/12/17 20:19:50 azarah Exp $
+
+S=${WORKDIR}/${P}/src
+DESCRIPTION="System initialization stuff"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/init/${P}.tar.gz"
+DEPEND="virtual/glibc"
+RDEPEND="$DEPEND
+ sys-apps/file
+ >=sys-apps/baselayout-1.6.8"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ mv Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile
+}
+
+src_compile() {
+
+ emake LDFLAGS="" || die "problem compiling"
+}
+
+src_install() {
+
+ into /
+ dosbin init halt killall5 runlevel shutdown sulogin
+ dosym init /sbin/telinit
+ dobin last mesg utmpdump wall
+ dosym killall5 /sbin/pidof
+ dosym halt /sbin/reboot
+
+ cd ${S}/../
+ doman man/*.[1-9]
+
+ dodoc COPYRIGHT README doc/*
+}
+
+pkg_postinst() {
+
+ if [ ! -e ${ROOT}sbin/init ]
+ then
+ cp -a ${ROOT}sbin/init.system ${ROOT}sbin/init
+ fi
+}