# 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.
# 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"
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/*
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-MD5 e3c7054c2bd766b891b1ad9e779d3f7e distcc-0.5.tar.gz 239922
+++ /dev/null
-MD5 3bafb6e4af5045e0356ec4ec73793ba6 distcc-0.6.tar.gz 266650
+++ /dev/null
-MD5 955fba5feab8ed99defbeda8da4e4415 distcc-0.7.tar.gz 392832
+++ /dev/null
-MD5 2bc110319a2bc99e585812b14e07d462 distcc-0.8.tar.gz 397208
--- /dev/null
+#!/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"
+}