diff options
author | Hanno Böck <hanno@gentoo.org> | 2003-05-23 20:00:54 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2003-05-23 20:00:54 +0000 |
commit | c3346e25b650be2806472421e75a002681b9a7cb (patch) | |
tree | ce4207771b229d5fa4cc26f37df2610d60745924 /sys-devel/distcc | |
parent | marked as stable (diff) | |
download | gentoo-2-c3346e25b650be2806472421e75a002681b9a7cb.tar.gz gentoo-2-c3346e25b650be2806472421e75a002681b9a7cb.tar.bz2 gentoo-2-c3346e25b650be2806472421e75a002681b9a7cb.zip |
new distcc-2.4.2
Diffstat (limited to 'sys-devel/distcc')
-rw-r--r-- | sys-devel/distcc/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/distcc/Manifest | 18 | ||||
-rw-r--r-- | sys-devel/distcc/distcc-2.4.2.ebuild | 95 | ||||
-rw-r--r-- | sys-devel/distcc/files/digest-distcc-2.4.2 | 1 |
4 files changed, 112 insertions, 9 deletions
diff --git a/sys-devel/distcc/ChangeLog b/sys-devel/distcc/ChangeLog index 65e7105dc556..5a8a840e67dd 100644 --- a/sys-devel/distcc/ChangeLog +++ b/sys-devel/distcc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/distcc # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/ChangeLog,v 1.42 2003/05/21 10:15:09 zwelch Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/ChangeLog,v 1.43 2003/05/23 20:00:16 hanno Exp $ + +*distcc-2.4.2 (23 May 2003) + + 23 May 2003; Hanno Boeck <hanno@gentoo.org> distcc-2.4.2.ebuild: + New version. *distcc-2.4 (21 May 2003) diff --git a/sys-devel/distcc/Manifest b/sys-devel/distcc/Manifest index 12cddf84e20e..38bd8134849f 100644 --- a/sys-devel/distcc/Manifest +++ b/sys-devel/distcc/Manifest @@ -1,17 +1,19 @@ -MD5 2e30e9bfdc5825058c780bb657e5c920 ChangeLog 7540 +MD5 353c2990fe50f7d7a4f21d4d9dc9c79f ChangeLog 7651 +MD5 372827ac4fc6b9dae1d585934369ce8e distcc-1.2.3-r3.ebuild 2882 MD5 960b9f9b17b8f9dd99094d162362dd1b distcc-2.0.1-r1.ebuild 2892 MD5 da890f4d3d7a6c3cb65ad47f80feff6a distcc-2.0.1.ebuild 2895 MD5 8df905f30d3f4bce8c31534396b66ec8 distcc-2.3.ebuild 2691 MD5 c242a8c0ff4035a2c6a3ee0545691aed distcc-2.4.ebuild 2702 -MD5 372827ac4fc6b9dae1d585934369ce8e distcc-1.2.3-r3.ebuild 2882 -MD5 9a3a39b4f229559e6a855d777c6fe807 files/digest-distcc-2.0.1-r1 65 -MD5 8aa55227d128b8ff22a8caf5d47db89c files/digest-distcc-2.3 63 -MD5 ad45ec1dfb325e1a1fc90d3148669030 files/digest-distcc-2.4 63 +MD5 3bc5a82158ff39298b4b80134999ddde distcc-2.4.2.ebuild 2703 MD5 9bad5d7dc8c33d22ff42efcc299f1067 files/digest-distcc-1.2.3-r3 65 MD5 9a3a39b4f229559e6a855d777c6fe807 files/digest-distcc-2.0.1 65 +MD5 8aa55227d128b8ff22a8caf5d47db89c files/digest-distcc-2.3 63 +MD5 9a3a39b4f229559e6a855d777c6fe807 files/digest-distcc-2.0.1-r1 65 +MD5 ad45ec1dfb325e1a1fc90d3148669030 files/digest-distcc-2.4 63 +MD5 7419afd18da5cfb1bf62c16c2d20ca6e files/digest-distcc-2.4.2 65 +MD5 34d20e7bf223ac2f2ec61c5a7a9b2e3c files/1.2/conf 314 +MD5 be559a3c08d73712aeac74b8991a9cb3 files/1.2/init 696 +MD5 8c3dc0b31a65a4ca1b36e0d8d9234cfb files/2.3/distcc-config 7374 MD5 6bc82bf32667e5398497b2dae88f1033 files/1.2.3/wrapper.patch 5242 MD5 22c6ce6c5fde53bc04590015d9d82e50 files/1.2.3/distcc-config 6858 MD5 d4fd07d7d3d3e3952baef8c654d2715f files/1.2.3/info.patch 545 -MD5 8c3dc0b31a65a4ca1b36e0d8d9234cfb files/2.3/distcc-config 7374 -MD5 be559a3c08d73712aeac74b8991a9cb3 files/1.2/init 696 -MD5 34d20e7bf223ac2f2ec61c5a7a9b2e3c files/1.2/conf 314 diff --git a/sys-devel/distcc/distcc-2.4.2.ebuild b/sys-devel/distcc/distcc-2.4.2.ebuild new file mode 100644 index 000000000000..445e65f0ea89 --- /dev/null +++ b/sys-devel/distcc/distcc-2.4.2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/distcc-2.4.2.ebuild,v 1.1 2003/05/23 20:00:16 hanno Exp $ + +inherit eutils + +IUSE="" + +HOMEPAGE="http://distcc.samba.org/" +SRC_URI="http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.bz2" +DESCRIPTION="a program to distribute compilation of C code across several machines on a network" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm" + +OPV="1.2" +LPV="2.3" + +DEPEND=">=sys-apps/portage-2.0.46-r11 + >=sys-devel/gcc-config-1.3.1 + sys-apps/shadow + dev-libs/popt" + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D%/}" install + + insinto /usr/share/doc/${PN} + doins "${S}/survey.txt" + + exeinto /usr/bin + doexe "${FILESDIR}/${LPV}/distcc-config" + + insinto /etc/conf.d + newins "${FILESDIR}/${OPV}/conf" distccd + + exeinto /etc/init.d + newexe "${FILESDIR}/${OPV}/init" distccd + + # create and keep the symlink dir + dodir /usr/lib/distcc/bin + keepdir /usr/lib/distcc/bin + + # create the distccd pid directory + dodir /var/run/distccd + keepdir /var/run/distccd +} + +pkg_preinst() { + # non-/ installs don't require us to do anything here + [ "${ROOT}" != "/" ] && return 0 + + # stop daemon since script is being updated + [ -n "$(pidof distccd)" -a -x /etc/init.d/distccd ] && \ + /etc/init.d/distccd stop + + # moved user creation and permissions to distcc-config script + # because of ROOT install requirements +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ]; then + einfo "Installing links to native compilers..." + /usr/bin/distcc-config --install-user + /usr/bin/distcc-config --install-links + /usr/bin/distcc-config --install-links "${CHOST}" + else + # distcc-config can *almost* handle ROOT installs itself + # but for now, but user must finsh things off + ewarn "*** Installation is not complete ***" + ewarn "You must run the following as root:" + ewarn " /usr/bin/distcc-config --install" + ewarn "after booting or chrooting into ${ROOT}" + fi + + einfo "To use distcc with **non-Portage** C compiling, add" + einfo "/usr/lib/distcc/bin to your path before /usr/bin. If you're" + einfo "combining this with ccache, put the distcc dir AFTER ccache." + einfo "Portage 2.0.46-r11+ will take advantage of distcc if you put" + einfo "distcc into the FEATURES setting in make.conf (and define" + einfo "DISTCC_HOSTS as well). Do NOT set CC=distcc or similar." + ewarn "See http://cvs.gentoo.org/~zwelch/distcc.html for information." +} + +#pkg_prerm() { +# # ztw - not sure if this is the right place +# distcc-config --remove-links "${CHOST}" +# distcc-config --remove-links +#} + diff --git a/sys-devel/distcc/files/digest-distcc-2.4.2 b/sys-devel/distcc/files/digest-distcc-2.4.2 new file mode 100644 index 000000000000..0b02b3cec74b --- /dev/null +++ b/sys-devel/distcc/files/digest-distcc-2.4.2 @@ -0,0 +1 @@ +MD5 c4910cb3f0402eed6d223126009cf562 distcc-2.4.2.tar.bz2 217381 |