ChangeLog

# ChangeLog for dev-util/ccache
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.64 2008/01/12 21:09:48 grobian Exp $

12 Jan 2008; Fabian Groffen ccache-2.4-r6.ebuild,
ccache-2.4-r7.ebuild:
Remove ppc-macos bits

31 Dec 2007; Ryan Hill metadata.xml:
Add toolchain and robbat2 as maintainer.

25 Dec 2007; Christian Heim metadata.xml:
Removing lisa from metadata.xml as per #23541. Assigning to maintainer-needed.

*ccache-2.4-r7 (21 Apr 2007)

21 Apr 2007; Lisa Seelye +ccache-2.4-r7.ebuild:
bug 174839

05 Mar 2007; Marius Mauch ccache-2.4-r6.ebuild:
Replacing einfo with elog

05 Mar 2007; Lisa Seelye -ccache-2.2.ebuild,
-ccache-2.3.ebuild, -ccache-2.4.ebuild, -ccache-2.4-r1.ebuild,
-ccache-2.4-r2.ebuild:
Pruning old ebuilds

04 Mar 2007; Stuart Longland ccache-2.4-r6.ebuild:
Tested and working on mips. No bugs in the last 30 days. Marking stable as
per bug #159527.

30 Jan 2007; Steve Dibb ccache-2.4-r6.ebuild:
amd64 stable, bug 159527

04 Jan 2007; Bryan Østergaard ccache-2.4-r6.ebuild:
Stable on IA64.

04 Jan 2007; Bryan Østergaard ccache-2.4-r6.ebuild:
Stable on Alpha, bug 159527.

02 Jan 2007; Gustavo Zacarias ccache-2.4-r6.ebuild:
Stable on sparc wrt #159527

31 Dec 2006; Tom Gall ccache-2.4-r6.ebuild:
ppc64 stable bug #159527

31 Dec 2006; Timothy Redaelli ccache-2.4-r6.ebuild:
ppc stable wrt bug #159527

31 Dec 2006; Andrej Kacian ccache-2.4-r6.ebuild:
Stable on x86, bug #159527.

08 Dec 2006; Jeroen Roovers ccache-2.4-r6.ebuild:
Stable for HPPA.

15 Oct 2006; Aron Griffis ccache-2.4-r2.ebuild:
Mark 2.4-r2 stable on ia64

*ccache-2.4-r6 (15 Sep 2006)

15 Sep 2006; Lisa Seelye +ccache-2.4-r6.ebuild:
okay, apparently -r5 wasnt binary friendly. bug 145167 comment

*ccache-2.4-r5 (14 Sep 2006)

14 Sep 2006; Lisa Seelye -ccache-2.4-r4.ebuild,
+ccache-2.4-r5.ebuild:
move the removal of stale links check to pkg_setup due to a portage bug. it
should be in pkg_preinst. also fix a symlink issue where it was linking to
the name of the compilier and not ccache. oops

*ccache-2.4-r4 (13 Sep 2006)

13 Sep 2006; Lisa Seelye -ccache-2.4-r3.ebuild,
+ccache-2.4-r4.ebuild:
Another attempt at bug 145167. Removing the stale wrappers in pkg_preinst.

*ccache-2.4-r3 (13 Sep 2006)

13 Sep 2006; Lisa Seelye +ccache-2.4-r3.ebuild:
Move (shadow) symlinks creation into src_install. Moved Zach Welch created
multiline helper into five lines. Ha. This also should resolve bug 145167

*ccache-2.4-r2 (09 Jun 2006)

09 Jun 2006; Robin H. Johnson
+files/ccache-2.4-utimes.patch, +ccache-2.4-r2.ebuild:
Patch to fix bug #136233, to use utimes instead of utime.

31 Mar 2006; Diego Pettenò ccache-2.4-r1.ebuild:
Remove virtual/libc dependency and add keyword ~x86-fbsd.

*ccache-2.4-r1 (20 Mar 2006)

20 Mar 2006; Lisa Seelye
+files/ccache-2.4-respectflags.patch, +ccache-2.4-r1.ebuild:
ccache-2.4-respectflags.patch from bug #126875 to respect user defined LDFLAGS

06 Mar 2006; Lisa Seelye ccache-2.2.ebuild,
ccache-2.3.ebuild, ccache-2.4.ebuild:
Change SRC_URI to close bug #125246

17 Jul 2005; MATSUU Takuto ccache-2.3.ebuild:
Stable on sh.

06 Aug 2005; ccache-2.3.ebuild, ccache-2.4.ebuild:
Fixes for ccache dir on ppc-macos.

30 Mar 2005; Michael Hanselmann ccache-2.3.ebuild:
Stable on ppc.

09 Mar 2005; Brian Harring ccache-2.4.ebuild:
Version bump. bug 76133

21 Feb 2005; ccache-2.3.ebuild:
Stable on ppc-macos.

21 Jan 2005; ccache-2.3.ebuild:
Keyworded ~ppc-macos.

30 Oct 2004; Michael Imhof :
Added ~s390 keyword.

01 Jul 2004; Jeremy Huddleston ccache-2.2.ebuild,
ccache-2.3.ebuild:
virtual/glibc -> virtual/libc

09 Apr 2004; Brian Jackson ccache-2.3.ebuild:
added s390 keyword

13 Jan 2004; Jon Portnoy ccache-2.3.ebuild :
Stable on AMD64.

09 Jan 2004; Aron Griffis ccache-2.3.ebuild:
stable on alpha

05 Jan 2004; Jason Wever ccache-2.3.ebuild:
Marked stable on sparc.

28 Dec 2003; Joshua Kinard ccache-2.3.ebuild:
Move to mips stable (~mips -> mips)

14 Dec 2003; Guy Martin ccache-2.3.ebuild:
Marked stable on hppa.

12 Nov 2003; Aron Griffis ccache-2.3.ebuild:
Stable on ia64

18 Oct 2003; Martin Holzer ccache-2.3.ebuild:
x86 stable.

*ccache-2.3 (29 Sep 2003)

29 Sep 2003; Martin Holzer ccache-2.3.ebuild:
Version bumped.

*ccache-2.2 (26 Feb 2003)

17 Apr 2003; Zach Welch files/ccache-config:
fix ccache-config to add CC_QUIET

11 Apr 2003; Zach Welch ccache-2.2.ebuild:
mark all platform keywords stable

19 Mar 2003; Aron Griffis ccache-2.2.ebuild:
Mark stable on alpha

26 Feb 2003; Zach Welch ccache-2.2.ebuild files/digest-ccache-2.2 :
Bump to new version; see bug 15100

*ccache-2.1.1-r2 (24 Feb 2003)

25 Feb 2003; Zach Welch ccache-2.1.1-r2.ebuild :
Remove old versions outright, don't backup; fixes multiple re-installs
Add portage 2.0.46-r11 as a RDEPEND.

24 Feb 2003; Zach Welch ccache-2.1.1-r2.ebuild :
Add missing keepdir; no bump since found fast

24 Feb 2003; Zach Welch ccache-2.1.1-r2.ebuild files/ccache-config files/digest-ccache-2.1.1-r2 :
Add changes from bug 15100, with enhancements from distcc

11 Feb 2003; Guy Martin :
Added hppa to keywords.

*ccache-2.1.1 (24 Jan 2002)

25 Feb 2003; Zach Welch ccache-2.1.1-r2.ebuild ccache-2.1.1.ebuild :
Fix ccache-2.1.1 ebuild to allow downgrade from 2.1.1-r2

24 Jan 2002; Bart Verwilst : updating to 2.1.1.

06 Jan 2003; Jan Seidel : ccache-1.9-r1.ebuild,
Added mips to keywords.

*ccache-1.9-r2 (06 Jan 2003)

06 Jan 2003; Aron Griffis ccache-1.9-r2.ebuild :
Fix installation of symbolic links by searching PATH for compiler
front-ends. Fix einfo commentary to fit in an 80-column terminal.
Add alpha to KEYWORDS. Make this the -r2 release.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

20 Nov 2002, ZhEN ccache-1.9-r1.ebuild,
I added some info the the einfo section regarding
bug #6805. My change should clear up that confusion.

12 Jul 2002; phoen][x ccache-1.9-r1.ebuild,
files/digest-ccache-1.9-r1: New revision: Added a check before
symlinking in pkg_postinst(). That way, the ebuild wont create
symlinks for compiler which arent installed.

12 Jul 2002; phoen][x ccache-1.9-r1.ebuild,
Added LICENSE, SLOT.

*ccache-1.9-r1 (09 Jul 2002)

09 Jul 2002; Mark Guertin : tested and added
ppc to KEYWORDS

*ccache-1.9 (24 Jun 2002)

24 Jun 2002; Daniel Robbins : updating to 1.9.

*ccache-1.8-r1 (24 Jun 2002)

24 Jun 2002; Daniel Robbins : new ebuild that installs
ccache into /usr/bin/ccache/ccache and creates /usr/bin/ccache/gcc and cc
symlinks automatically. Also creates /root/.ccache dir if it doesn't exist.
This version is designed to play nicely with Portage 2.0.6. Portage 2.0.6+
will auto-detect and use ccache if it is available :)

*ccache-1.8 (30 Apr 2002)

30 Apr 2002; Ryan Phillips ChangeLog : Initial
release submitted by Paul Belt . Thanks Paul!

Manifest

AUX ccache-2.4-respectflags.patch 403 RMD160 19efa0fcb27eba9fe7ec086b8d6e261e4485f275 SHA1 27fbedc4ee219ee6f9b2c17ef8fa30dd91a024f5 SHA256 f7006cc34ecc8315b023d4533273d47a7a34958e7037242811a58ee8570efbd5
AUX ccache-2.4-utimes.patch 3267 RMD160 57bf223bbc1da41e3955cf017aa5d472cf93b19f SHA1 e9d63db657ef4273e8c27ddf6ae6deb8127540d1 SHA256 72f617b329a68c9db57180a9940689a48acee771067392a2d68b8abf8cdf891a
AUX ccache-config 1554 RMD160 cbcb9cf3b2313002e2a3336fb39e161c61d350a6 SHA1 919e73d840ba959ef4b32a66db62e4837611763b SHA256 da4a731fdcebe82fee0e5946cde131d35f528b69ec81bb0901f3b56441c485bb
DIST ccache-2.4.tar.gz 86363 RMD160 43a0647c7faf659121a53a92ec45d245b8140124 SHA1 9833ec13de9b90d5409e60d679ac681115ef465e SHA256 435f862ca5168c346f5aa9e242174bbf19a5abcaeecfceeac2f194558827aaa0
EBUILD ccache-2.4-r6.ebuild 2308 RMD160 d688021b0f06f632aca9ed553f107622c11eeb7d SHA1 ebb7f4907392b4e46de515339e376918d2e0f1bd SHA256 be637b5ba17007b0e2a9642753ef880e0ac6b51e40fe47fcaca1553c49580845
EBUILD ccache-2.4-r7.ebuild 2392 RMD160 6c71eabb513e8f9def833cd867d0da35405b474d SHA1 b4a7224c058085f433bb43f54247d83591757ded SHA256 4272fc2514383ddbcd7914426203240ea5caad7cff816f4836a4420600190ceb
MISC ChangeLog 8323 RMD160 c5a6b82de03e22b2f56e333d0b502fc2ec75b0d1 SHA1 49258979a71c27424641d60206e97778e01fd162 SHA256 193ac1f4185932660ae66b1840399abd1f3e1d2391e6cbddbcda20f91de9267e
MISC metadata.xml 412 RMD160 964ade3959d81af2c5a0a88758db6ed87d80dba5 SHA1 0a38f42c23434ad993bf2d9bfd0b73552c50eb5b SHA256 c54d1b5f225e3a82754a2550d3875b7211249572a9372abdeff5fccda469aada

ccache-2.4-r6.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ccache-2.4-r6.ebuild,v 1.16 2008/01/12 21:09:48 grobian Exp $

WANT_AUTOCONF="latest"
inherit eutils autotools

DESCRIPTION="fast compiler cache"
HOMEPAGE="http://ccache.samba.org/"
SRC_URI="http://samba.org/ftp/ccache/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE=""

# Note: this version is designed to be auto-detected and used if
# you happen to have Portage 2.0.X+ installed.

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/ccache-2.4-respectflags.patch
epatch "${FILESDIR}"/ccache-2.4-utimes.patch
eautoconf
}

do_links() {
insinto /usr/lib/ccache/bin
for a in ${CHOST}-{gcc,g++,c++} gcc c++ g++; do
dosym /usr/bin/ccache /usr/lib/ccache/bin/${a}
done
}

src_install() {
dobin ccache || die
doman ccache.1
dodoc README
dohtml web/*.html

diropts -m0755
dodir /usr/lib/ccache/bin
keepdir /usr/lib/ccache/bin

dobin "${FILESDIR}"/ccache-config || die

diropts -m0700
dodir /root/.ccache
keepdir /root/.ccache
}

pkg_preinst() {
# Do NOT duplicate this in your ebuilds or phear of the wrath!!!
if [[ ${ROOT} = "/" ]] ; then
einfo "Scanning for compiler front-ends..."
do_links
else
ewarn "Install is incomplete; you must run the following commands:"
ewarn " # ccache-config --install-links"
ewarn " # ccache-config --install-links ${CHOST}"
ewarn "after booting or chrooting to ${ROOT} to complete installation."
fi
}

pkg_postinst() {
# nuke broken symlinks from previous versions that shouldn't exist
for i in cc ${CHOST}-cc ; do
[[ -L "${ROOT}/usr/lib/ccache/bin/${i}" ]] && rm -rf "${ROOT}/usr/lib/ccache/bin/${i}"
done
[[ -d "${ROOT}/usr/lib/ccache.backup" ]] && rm -fr "${ROOT}/usr/lib/ccache.backup"

elog "To use ccache with **non-Portage** C compiling, add"
elog "/usr/lib/ccache/bin to the beginning of your path, before /usr/bin."
elog "Portage 2.0.46-r11+ will automatically take advantage of ccache with"
elog "no additional steps. If this is your first install of ccache, type"
elog "something like this to set a maximum cache size of 2GB:"
elog "# ccache -M 2G"
}

ccache-2.4-r7.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ccache-2.4-r7.ebuild,v 1.3 2008/01/12 21:09:48 grobian Exp $

inherit eutils autotools multilib

DESCRIPTION="fast compiler cache"
HOMEPAGE="http://ccache.samba.org/"
SRC_URI="http://samba.org/ftp/ccache/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE=""

# Note: this version is designed to be auto-detected and used if
# you happen to have Portage 2.0.X+ installed.

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/ccache-2.4-respectflags.patch
epatch "${FILESDIR}"/ccache-2.4-utimes.patch
eautoconf
}

do_links() {
insinto /usr/$(get_libdir)/ccache/bin
for a in ${CHOST}-{gcc,g++,c++} gcc c++ g++; do
dosym /usr/bin/ccache /usr/$(get_libdir)/ccache/bin/${a}
done
}

src_install() {
dobin ccache || die
doman ccache.1
dodoc README
dohtml web/*.html

diropts -m0755
dodir /usr/$(get_libdir)/ccache/bin
keepdir /usr/$(get_libdir)/ccache/bin

dobin "${FILESDIR}"/ccache-config || die

diropts -m0700
dodir /root/.ccache
keepdir /root/.ccache
}

pkg_preinst() {
# Do NOT duplicate this in your ebuilds or phear of the wrath!!!
if [[ ${ROOT} = "/" ]] ; then
einfo "Scanning for compiler front-ends..."
do_links
else
ewarn "Install is incomplete; you must run the following commands:"
ewarn " # ccache-config --install-links"
ewarn " # ccache-config --install-links ${CHOST}"
ewarn "after booting or chrooting to ${ROOT} to complete installation."
fi
}

pkg_postinst() {
# nuke broken symlinks from previous versions that shouldn't exist
for i in cc ${CHOST}-cc ; do
[[ -L "${ROOT}/usr/$(get_libdir)/ccache/bin/${i}" ]] && \
rm -rf "${ROOT}/usr/$(get_libdir)/ccache/bin/${i}"
done
[[ -d "${ROOT}/usr/$(get_libdir)/ccache.backup" ]] && \
rm -fr "${ROOT}/usr/$(get_libdir)/ccache.backup"

elog "To use ccache with **non-Portage** C compiling, add"
elog "/usr/$(get_libdir)/ccache/bin to the beginning of your path, before /usr/bin."
elog "Portage 2.0.46-r11+ will automatically take advantage of ccache with"
elog "no additional steps. If this is your first install of ccache, type"
elog "something like this to set a maximum cache size of 2GB:"
elog "# ccache -M 2G"
}

files

metadata.xml




toolchain

robbat2@gentoo.org


ccache acts as a caching pre-processor to C/C++ compilers, improving
compilation time when recompiling previously compiled source.