pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ccache



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Dec  5 08:29:44 UTC 2022

Modified Files:
        pkgsrc/devel/ccache: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/devel/ccache/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ccache/PLIST
cvs rdiff -u -r1.51 -r1.52 pkgsrc/devel/ccache/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ccache/Makefile
diff -u pkgsrc/devel/ccache/Makefile:1.63 pkgsrc/devel/ccache/Makefile:1.64
--- pkgsrc/devel/ccache/Makefile:1.63   Tue Jun 28 11:31:40 2022
+++ pkgsrc/devel/ccache/Makefile        Mon Dec  5 08:29:44 2022
@@ -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
-# dependencies on some platforms.
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+# Do not use xz distfile here; xz needs gettext-lib which leads to circular
+# dependencies on some platforms.
 
 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
-
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++11
+USE_TOOLS+=    perl:test pkg-config
+TEST_TARGET=   test
 
-.include "../../devel/zlib/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../databases/hiredis/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/ccache/PLIST
diff -u pkgsrc/devel/ccache/PLIST:1.1 pkgsrc/devel/ccache/PLIST:1.2
--- pkgsrc/devel/ccache/PLIST:1.1       Mon Apr  8 17:07:53 2002
+++ pkgsrc/devel/ccache/PLIST   Mon Dec  5 08:29:44 2022
@@ -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

Index: pkgsrc/devel/ccache/distinfo
diff -u pkgsrc/devel/ccache/distinfo:1.51 pkgsrc/devel/ccache/distinfo:1.52
--- pkgsrc/devel/ccache/distinfo:1.51   Tue Oct 26 10:14:23 2021
+++ pkgsrc/devel/ccache/distinfo        Mon Dec  5 08:29:44 2022
@@ -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