pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ccache ccache: updated to 4.7.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d239ede7222
branches:  trunk
changeset: 389510:9d239ede7222
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Dec 05 08:29:44 2022 +0000

description:
ccache: updated to 4.7.4

Ccache 4.7.4

Bug fixes

Fixed an inode cache race condition.
The default temporary directory is now $XDG_RUNTIME_DIR/ccache-tmp instead of a hardcoded /run/user/<UID>/ccache-tmp. If XDG_RUNTIME_DIR is not set, <cache_dir>/tmp is used. This avoids creating 
/run/user/<UID> on systems that don’t have it if compiling as root.
Added a fallback in case posix_fallocate returns EINVAL when creating the inode cache file.
Connection timeout for an HTTP connection is now reported as a timeout instead of an error.
Temporary files found in the cache are no longer counted in --show-compression.
Removed duplicate magic header in output from --inspect.
Ccache now properly waits for all recompression jobs to finish when there is no f subdirectory in the cache.

Other minor improvements

Improved inode cache logging.

Documentation improvements

Removed stray parenthesis.
Improved description of how header files are handled.
Added a hint about using -fno-pch-timestamp for precompiled headers with Clang.
Removed obsolete description of compiler type “pump”.


More https://ccache.dev/releasenotes.html

diffstat:

 devel/ccache/Makefile |  21 ++++++++++-----------
 devel/ccache/PLIST    |   3 +--
 devel/ccache/distinfo |   8 ++++----
 3 files changed, 15 insertions(+), 17 deletions(-)

diffs (58 lines):

diff -r 7db9331b2fcb -r 9d239ede7222 devel/ccache/Makefile
--- a/devel/ccache/Makefile     Mon Dec 05 06:27:22 2022 +0000
+++ b/devel/ccache/Makefile     Mon Dec 05 08:29:44 2022 +0000
@@ -1,23 +1,22 @@
-# $NetBSD: Makefile,v 1.63 2022/06/28 11:31:40 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2022/12/05 08:29:44 adam Exp $
 
-DISTNAME=      ccache-3.7.12
-PKGREVISION=   2
+DISTNAME=      ccache-4.7.4
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ccache/}
-# do not use xz distfile here, xz needs gettext-lib which leads to circular
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+# Do not use xz distfile here; xz needs gettext-lib which leads to circular
 # dependencies on some platforms.
-GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://ccache.dev/
 COMMENT=       Cache for C/C++ compilers
 LICENSE=       gnu-gpl-v3 AND modified-bsd AND public-domain AND zlib
 
-USE_TOOLS+=            bash:test gmake perl:test
-GNU_CONFIGURE=         yes
-TEST_TARGET=           test
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++11
+USE_TOOLS+=    perl:test pkg-config
+TEST_TARGET=   test
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
-
-.include "../../devel/zlib/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../databases/hiredis/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7db9331b2fcb -r 9d239ede7222 devel/ccache/PLIST
--- a/devel/ccache/PLIST        Mon Dec 05 06:27:22 2022 +0000
+++ b/devel/ccache/PLIST        Mon Dec 05 08:29:44 2022 +0000
@@ -1,3 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2002/04/08 17:07:53 kent Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/12/05 08:29:44 adam Exp $
 bin/ccache
-man/man1/ccache.1
diff -r 7db9331b2fcb -r 9d239ede7222 devel/ccache/distinfo
--- a/devel/ccache/distinfo     Mon Dec 05 06:27:22 2022 +0000
+++ b/devel/ccache/distinfo     Mon Dec 05 08:29:44 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.51 2021/10/26 10:14:23 nia Exp $
+$NetBSD: distinfo,v 1.52 2022/12/05 08:29:44 adam Exp $
 
-BLAKE2s (ccache-3.7.12.tar.gz) = 81ee3b98600c80c0531f7a46d2542cb7f0446b08a6db445ef250c7cf4274927a
-SHA512 (ccache-3.7.12.tar.gz) = 1de2dcb6568486d82b589e35f46e7f24306821545617cb9e991c1122b257d2872c1f342fd941f98777ebfd5b0b0babc45a33d824925759478f1f67370db3dd3c
-Size (ccache-3.7.12.tar.gz) = 506948 bytes
+BLAKE2s (ccache-4.7.4.tar.gz) = cf2457632a920d400371fc775d62abfc02b2cb0ffc110d412f36c8cbfd8f2ce4
+SHA512 (ccache-4.7.4.tar.gz) = 58faceb3d3b566d53000ac81bf27a52502ff3cb163f29506eccb7831bfcfdde3601102fe8b57530b8900e1d5e050374364c4df3c88ff825f0132e94b90441de9
+Size (ccache-4.7.4.tar.gz) = 743012 bytes


Home | Main Index | Thread Index | Old Index