pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc Update devel/ccache to 2.4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/53a3b2b0066e
branches: trunk
changeset: 481870:53a3b2b0066e
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Thu Oct 14 02:39:19 2004 +0000
description:
Update devel/ccache to 2.4.
Changes:
* Added CCACHE_READONLY option.
* Added CCACHE_TEMPDIR option.
* Fixed handling of hard-linked compiler on AIX.
* Added O_BINARY support, to try and support win32 compiles.
* Show cache directory in stats output.
* Fixed handling of HOME environment variable.
NOTE: This release changes the hash input slighly, so you will probably
find that you will not get any hits against your existing cache when
you upgrade.
diffstat:
devel/ccache/Makefile | 5 ++---
devel/ccache/distinfo | 8 ++++----
devel/ccache/patches/patch-ab | 39 ++++++++++++++++++++++-----------------
doc/CHANGES | 3 ++-
doc/TODO | 3 +--
5 files changed, 31 insertions(+), 27 deletions(-)
diffs (126 lines):
diff -r e8c0df7a68b9 -r 53a3b2b0066e devel/ccache/Makefile
--- a/devel/ccache/Makefile Wed Oct 13 23:18:35 2004 +0000
+++ b/devel/ccache/Makefile Thu Oct 14 02:39:19 2004 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2004/03/10 22:41:30 minskim Exp $
+# $NetBSD: Makefile,v 1.9 2004/10/14 02:39:19 xtraeme Exp $
-DISTNAME= ccache-2.3
-PKGREVISION= 1
+DISTNAME= ccache-2.4
CATEGORIES= devel
MASTER_SITES= http://ccache.samba.org/ftp/ccache/
diff -r e8c0df7a68b9 -r 53a3b2b0066e devel/ccache/distinfo
--- a/devel/ccache/distinfo Wed Oct 13 23:18:35 2004 +0000
+++ b/devel/ccache/distinfo Thu Oct 14 02:39:19 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2004/02/12 07:11:43 jlam Exp $
+$NetBSD: distinfo,v 1.7 2004/10/14 02:39:19 xtraeme Exp $
-SHA1 (ccache-2.3.tar.gz) = eb8ece3cd1b57752b5503b1e65d9bbe302533407
-Size (ccache-2.3.tar.gz) = 84386 bytes
+SHA1 (ccache-2.4.tar.gz) = 9833ec13de9b90d5409e60d679ac681115ef465e
+Size (ccache-2.4.tar.gz) = 86363 bytes
SHA1 (patch-aa) = f2932ccc9166f94eee56da382f7a51f23088bc69
-SHA1 (patch-ab) = b117e0fc73d5fe6cbe4c584421c456cf803177bc
+SHA1 (patch-ab) = 1c16adfc4d754182dc9c5f682daf01afc4286aaa
diff -r e8c0df7a68b9 -r 53a3b2b0066e devel/ccache/patches/patch-ab
--- a/devel/ccache/patches/patch-ab Wed Oct 13 23:18:35 2004 +0000
+++ b/devel/ccache/patches/patch-ab Thu Oct 14 02:39:19 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1 2004/02/12 07:11:43 jlam Exp $
+$NetBSD: patch-ab,v 1.2 2004/10/14 02:39:19 xtraeme Exp $
---- ccache.c.orig Sat Sep 27 21:48:17 2003
-+++ ccache.c
-@@ -252,6 +252,7 @@ static void find_hash(ARGS *args)
+--- ccache.c.orig 2004-09-13 12:38:30.000000000 +0200
++++ ccache.c 2004-10-14 03:04:59.000000000 +0200
+@@ -255,6 +255,7 @@
int i;
char *path_stdout, *path_stderr;
char *hash_dir;
@@ -10,33 +10,38 @@
char *s;
struct stat st;
int status;
-@@ -314,15 +315,21 @@ static void find_hash(ARGS *args)
+@@ -317,13 +318,22 @@
hash_string(args->argv[i]);
}
- /* the compiler driver size and date. This is a simple minded way
- to try and detect compiler upgrades. It is not 100% reliable */
-- if (stat(args->argv[0], &st) != 0) {
-- cc_log("Couldn't stat the compiler!? (argv[0]='%s')\n", args->argv[0]);
-- stats_update(STATS_COMPILER);
-- failed();
+ /* If CCACHE_HASHCC is defined, then hash that string, otherwise, hash
-+ the compiler driver size and date. This is a simple minded way to
-+ try and detect compiler upgrades. It is not 100% reliable */
++ the compiler driver size and date. This is a simple minded way to
++ try and detect compiler upgrades. It is not 100% reliable */
++
+ hash_cc = getenv("CCACHE_HASHCC");
+ if (hash_cc) {
+ hash_string(hash_cc);
+ } else {
-+ if (stat(args->argv[0], &st) != 0) {
-+ cc_log("Couldn't stat the compiler!? (argv[0]='%s')\n", args->argv[0]);
-+ stats_update(STATS_COMPILER);
-+ failed();
-+ }
+ if (stat(args->argv[0], &st) != 0) {
+ cc_log("Couldn't stat the compiler!? (argv[0]='%s')\n", args->argv[0]);
+ stats_update(STATS_COMPILER);
+ failed();
+ }
+ hash_int(st.st_size);
+ hash_int(st.st_mtime);
++ }
+
+ /* also include the hash of the compiler name - as some compilers
+ use hard links and behave differently depending on the real name */
+@@ -331,9 +341,6 @@
+ hash_string(str_basename(args->argv[0]));
}
+
- hash_int(st.st_size);
- hash_int(st.st_mtime);
-
+-
/* possibly hash the current working directory */
if (getenv("CCACHE_HASHDIR")) {
+ char *cwd = gnu_getcwd();
diff -r e8c0df7a68b9 -r 53a3b2b0066e doc/CHANGES
--- a/doc/CHANGES Wed Oct 13 23:18:35 2004 +0000
+++ b/doc/CHANGES Thu Oct 14 02:39:19 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.7424 2004/10/13 22:18:06 ben Exp $
+$NetBSD: CHANGES,v 1.7425 2004/10/14 02:39:19 xtraeme Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -4707,3 +4707,4 @@
Updated fprot-workstation-bin to 4.4.7 [ben 2004-10-13]
Updated icecast to 2.0.2 [adrianp 2004-10-13]
Updated biew to 5.6.2 [ben 2004-10-13]
+ Updated ccache to 2.4 [xtraeme 2004-10-14]
diff -r e8c0df7a68b9 -r 53a3b2b0066e doc/TODO
--- a/doc/TODO Wed Oct 13 23:18:35 2004 +0000
+++ b/doc/TODO Thu Oct 14 02:39:19 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.2214 2004/10/13 22:18:06 ben Exp $
+$NetBSD: TODO,v 1.2215 2004/10/14 02:39:19 xtraeme Exp $
Suggested new packages
======================
@@ -205,7 +205,6 @@
o bitlbee-0.91
o blender-2.34
o boson-0.10
- o ccache-2.4
o cdrtools-2.01
o celestia-1.3.2
o centericq-4.12.0
Home |
Main Index |
Thread Index |
Old Index