summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Teaford Cowan <bcowan@gentoo.org>2002-10-13 18:27:32 +0000
committerBrad Teaford Cowan <bcowan@gentoo.org>2002-10-13 18:27:32 +0000
commitc79817156559558d8aeb6684bc3c47f877cf5c4b (patch)
tree4ffda76e56f1fe800403d50549644ba8e2e324be /sys-devel
parentmasked gtkmm-addons (diff)
downloadgentoo-2-c79817156559558d8aeb6684bc3c47f877cf5c4b.tar.gz
gentoo-2-c79817156559558d8aeb6684bc3c47f877cf5c4b.tar.bz2
gentoo-2-c79817156559558d8aeb6684bc3c47f877cf5c4b.zip
added an init script closes bug #9074
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/distcc/ChangeLog7
-rw-r--r--sys-devel/distcc/distcc-0.12.ebuild4
-rw-r--r--sys-devel/distcc/distcc-0.5.ebuild27
-rw-r--r--sys-devel/distcc/distcc-0.6.ebuild25
-rw-r--r--sys-devel/distcc/distcc-0.7.ebuild25
-rw-r--r--sys-devel/distcc/distcc-0.8.ebuild25
-rw-r--r--sys-devel/distcc/files/digest-distcc-0.51
-rw-r--r--sys-devel/distcc/files/digest-distcc-0.61
-rw-r--r--sys-devel/distcc/files/digest-distcc-0.71
-rw-r--r--sys-devel/distcc/files/digest-distcc-0.81
-rw-r--r--sys-devel/distcc/files/distccd28
11 files changed, 37 insertions, 108 deletions
diff --git a/sys-devel/distcc/ChangeLog b/sys-devel/distcc/ChangeLog
index 0890b8238d26..0bd01aee176d 100644
--- a/sys-devel/distcc/ChangeLog
+++ b/sys-devel/distcc/ChangeLog
@@ -1,9 +1,14 @@
# ChangeLog for sys-devel/distcc
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/ChangeLog,v 1.9 2002/10/08 22:52:46 bcowan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/ChangeLog,v 1.10 2002/10/13 18:27:32 bcowan Exp $
*distcc-0.12 (07 Oct 2002)
+ 13 Oct 2002; Brad Cowan <bcowan@gentoo.org> distcc-0.12.ebuild,
+ files/distccd :
+
+ Added distccd init script.
+
22 Sep 2002; Brad Cowan <bcowan@gentoo.org> distcc-0.12.ebuild :
Version bump.
diff --git a/sys-devel/distcc/distcc-0.12.ebuild b/sys-devel/distcc/distcc-0.12.ebuild
index 920c29374fc3..e92fcf03176d 100644
--- a/sys-devel/distcc/distcc-0.12.ebuild
+++ b/sys-devel/distcc/distcc-0.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/distcc-0.12.ebuild,v 1.1 2002/10/08 22:52:46 bcowan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/distcc-0.12.ebuild,v 1.2 2002/10/13 18:27:32 bcowan Exp $
HOMEPAGE="http://distcc.samba.org"
SRC_URI="http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.gz"
@@ -21,6 +21,8 @@ src_compile() {
src_install () {
dobin src/distcc src/distccd
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/distccd
doman man/*.1
dodoc README COPYING* AUTHORS *NEWS doc/*.txt linuxdoc/distcc*
dohtml linuxdoc/html/*
diff --git a/sys-devel/distcc/distcc-0.5.ebuild b/sys-devel/distcc/distcc-0.5.ebuild
deleted file mode 100644
index eee9fa8a2363..000000000000
--- a/sys-devel/distcc/distcc-0.5.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/distcc-0.5.ebuild,v 1.3 2002/08/14 11:56:44 murphy Exp $
-
-SRC_URI="http://ftp.samba.org/ftp/distcc/${P}.tar.gz"
-HOMEPAGE="http://ftp.samba.org/ftp/distcc/"
-DESCRIPTION="a program to distribute compilation of C code across several machines on a network"
-DEPEND="virtual/glibc dev-libs/popt"
-SLOT="0"
-KEYWORDS="x86 sparc sparc64"
-LICENSE="GPL-2"
-
-src_compile() {
- ./configure --prefix=/usr --mandir=/usr/share/man || die "config"
- #Disable creation of PDF documentation
- cd man
- mv Makefile Makefile.orig
- sed < Makefile.orig > Makefile -e 's:distcc.pdf::g' -e 's:distccd.pdf::g'
- cd ${S}
- emake || die "emake"
-}
-
-src_install () {
- dobin src/distcc src/distccd
- doman man/*.1
- dodoc man/*.html man/*.ps README
-}
diff --git a/sys-devel/distcc/distcc-0.6.ebuild b/sys-devel/distcc/distcc-0.6.ebuild
deleted file mode 100644
index eb1478a96265..000000000000
--- a/sys-devel/distcc/distcc-0.6.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/distcc-0.6.ebuild,v 1.5 2002/08/14 11:56:44 murphy Exp $
-
-HOMEPAGE="http://distcc.samba.org"
-SRC_URI="http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.gz"
-DESCRIPTION="a program to distribute compilation of C code across several machines on a network"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc sparc sparc64"
-
-RDEPEND="virtual/glibc
- dev-libs/popt"
-DEPEND="${RDEPEND}"
-
-src_compile() {
- ./configure --prefix=/usr --mandir=/usr/share/man || die "configure problem"
- emake || die "compile problem"
-}
-
-src_install () {
- dobin src/distcc src/distccd
- doman man/*.1
- dodoc README
-}
diff --git a/sys-devel/distcc/distcc-0.7.ebuild b/sys-devel/distcc/distcc-0.7.ebuild
deleted file mode 100644
index be1b4fef0c38..000000000000
--- a/sys-devel/distcc/distcc-0.7.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/distcc-0.7.ebuild,v 1.2 2002/08/14 11:56:44 murphy Exp $
-
-HOMEPAGE="http://distcc.samba.org"
-SRC_URI="http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.gz"
-DESCRIPTION="a program to distribute compilation of C code across several machines on a network"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 sparc sparc64"
-
-RDEPEND="virtual/glibc
- dev-libs/popt"
-DEPEND="${RDEPEND}"
-
-src_compile() {
- ./configure --prefix=/usr --mandir=/usr/share/man || die "configure problem"
- emake || die "compile problem"
-}
-
-src_install () {
- dobin src/distcc src/distccd
- doman man/*.1
- dodoc README
-}
diff --git a/sys-devel/distcc/distcc-0.8.ebuild b/sys-devel/distcc/distcc-0.8.ebuild
deleted file mode 100644
index 84d8c83e763b..000000000000
--- a/sys-devel/distcc/distcc-0.8.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/distcc-0.8.ebuild,v 1.1 2002/08/20 17:33:28 blizzy Exp $
-
-HOMEPAGE="http://distcc.samba.org"
-SRC_URI="http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.gz"
-DESCRIPTION="a program to distribute compilation of C code across several machines on a network"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-
-RDEPEND="virtual/glibc
- dev-libs/popt"
-DEPEND="${RDEPEND}"
-
-src_compile() {
- ./configure --prefix=/usr --mandir=/usr/share/man || die "configure problem"
- emake || die "compile problem"
-}
-
-src_install () {
- dobin src/distcc src/distccd
- doman man/*.1
- dodoc README
-}
diff --git a/sys-devel/distcc/files/digest-distcc-0.5 b/sys-devel/distcc/files/digest-distcc-0.5
deleted file mode 100644
index 72d434300372..000000000000
--- a/sys-devel/distcc/files/digest-distcc-0.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e3c7054c2bd766b891b1ad9e779d3f7e distcc-0.5.tar.gz 239922
diff --git a/sys-devel/distcc/files/digest-distcc-0.6 b/sys-devel/distcc/files/digest-distcc-0.6
deleted file mode 100644
index a93beeeb0cb3..000000000000
--- a/sys-devel/distcc/files/digest-distcc-0.6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3bafb6e4af5045e0356ec4ec73793ba6 distcc-0.6.tar.gz 266650
diff --git a/sys-devel/distcc/files/digest-distcc-0.7 b/sys-devel/distcc/files/digest-distcc-0.7
deleted file mode 100644
index abcc9e791431..000000000000
--- a/sys-devel/distcc/files/digest-distcc-0.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 955fba5feab8ed99defbeda8da4e4415 distcc-0.7.tar.gz 392832
diff --git a/sys-devel/distcc/files/digest-distcc-0.8 b/sys-devel/distcc/files/digest-distcc-0.8
deleted file mode 100644
index 6662ba356f28..000000000000
--- a/sys-devel/distcc/files/digest-distcc-0.8
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2bc110319a2bc99e585812b14e07d462 distcc-0.8.tar.gz 397208
diff --git a/sys-devel/distcc/files/distccd b/sys-devel/distcc/files/distccd
new file mode 100644
index 000000000000..68d7571bc4d6
--- /dev/null
+++ b/sys-devel/distcc/files/distccd
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ rm -rf /var/tmp/distccd.pid
+ ebegin "Starting distccd"
+ start-stop-daemon --start --quiet --startas /usr/bin/distccd \
+ -c nobody --pidfile /var/tmp/distccd.pid \
+ -- --pid-file /var/tmp/distccd.pid
+ eend $? "Failed to Start distccd"
+}
+
+stop() {
+ ebegin "Stopping distccd"
+ start-stop-daemon --stop --quiet --pidfile /var/tmp/distccd.pid
+ rm -rf /var/tmp/distccd.pid
+ eend $? "Failed to Stop distccd"
+}
+
+restart() {
+ ebegin "Restarting distccd"
+ svc_stop
+ svc_start
+ eend $? "Failed to Restart distccd"
+}