From 783da4542a9c3e0e1ec703644212707cde610679 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Sep 2023 22:36:46 +0100 Subject: gentoo auto-resync : 10:09:2023 - 22:36:45 --- sys-fs/cachefilesd/Manifest | 5 +++-- sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild | 21 +++++++++------------ sys-fs/cachefilesd/files/README.gentoo | 7 +++++++ .../files/cachefilesd-0.10.9-makefile.patch | 8 ++++---- 4 files changed, 23 insertions(+), 18 deletions(-) create mode 100644 sys-fs/cachefilesd/files/README.gentoo (limited to 'sys-fs/cachefilesd') diff --git a/sys-fs/cachefilesd/Manifest b/sys-fs/cachefilesd/Manifest index 47581c371107..06488e3ecbb7 100644 --- a/sys-fs/cachefilesd/Manifest +++ b/sys-fs/cachefilesd/Manifest @@ -1,7 +1,8 @@ -AUX cachefilesd-0.10.9-makefile.patch 609 BLAKE2B 0b6f518b71866b4220164ec27a8ba3d7b2042be9994689b003359854af507b18e24050ba56d64eab2672b03d7307b618528f62d7ad12aef2f5119902d2f96737 SHA512 cda279d9403dcae3cc1ba15bda7093536bc4bdf20c1dd9cc8e26f8bec504c4524e829e1ee8a936acecab71ff1d855520274383f916d9d15076dc9e876d88dee7 +AUX README.gentoo 364 BLAKE2B 517c31b56927d4123f5cd5059be55c3b7f0e8b8b8d3961e50e4a488487b4a8af6c6521ab4bf7ac31fae6340fb3da5f95aaa00f471e3c7ef53a16278f4b7b44cb SHA512 cb4307573540094180ce4019d791f9dc273a48114db095f4fdda25898021d9c1de1e0f1e61739f895a6f318269de419c5356eafa33eedaf2da61a79af223bb97 +AUX cachefilesd-0.10.9-makefile.patch 531 BLAKE2B 7445d69c7915f2b53844bb0f52d2c77a76508c6875ac1bb4fdae06b245a1fd997136eec7e226767320cd2761612f909c53c7037685f1609c65af8ec570bcf256 SHA512 9b1b1afef4d8af2b54aeeff6e07e30ceeda95673dd0f52000447680df445c90e9a8ae8bc394606e83458a86fe73f13a98a57673341f3cef7777148ba903523fd AUX cachefilesd-3.init 1677 BLAKE2B 20406636f93b3e002ab15bb33879101813a7bcc23dfe0b5dbc35e24ec3f192023e4cfbacefff6985b39bcc205575ba3b9b6ed44be96679b7486df550641a11e4 SHA512 ca227db027c1673f9e1339f6a3952c93a2cbdf454adb690e43c8eb49860cf998b5e12f0191ec58c78055212f7a65269b77a413e7ee89c3293ac9a3af5a0ec8f8 AUX cachefilesd-tmpfiles.d 32 BLAKE2B 26527e8c3b8e821fc05c6bb1ddd0a6cf74857f8219307a96c4a12cc25517d26bd3b377deee41eae00b0a12ef55a6a9b9820836ae57bbfdb4c2b381a2efa6bb71 SHA512 37ddd3a452cc1d639b3ea3e98fc528c4552dd7f768a05fd1e4ad1821bbd6a0092f1cc5cfa4e7e41664952e4fd06001724fe64f6a16115fff15c542732d2ffec3 AUX cachefilesd.conf 296 BLAKE2B fce58c6af2016c45c0545b86c4dd98ffba8f58193af0b163a8ba83c297c9a9af944ba6d8997da5f1ac44c8cb331fafe94f93ed0b5fb4d4b14c5025cf6436b46e SHA512 6b82563b27b3a202afa6922bf4059836c7d363c5350d2b348ecca6ae12de2ae31d903e65b00f427712e7df22c0401b181177e168715e5e375b290f6d247fd846 DIST cachefilesd-0.10.10.tar.bz2 26694 BLAKE2B c527a6283617ba53818e0cad1859544b1e66af1107b05d1f83904669425d31c5374f3c032b892c9d95892d02d9256bbd9b180f1d0b6b430f0cfa70440406ef9f SHA512 d7d816b5ef1fffe1272cb8c2e9cbd18c1393438afca250436a36a446c6a37303e7784057725a56be839e0489101190b563c4fc015fc4ff11baa8003121e5183a -EBUILD cachefilesd-0.10.10-r1.ebuild 1606 BLAKE2B 5149318f9a4157a1301af220cd0cefe0b46ad9c9034c91ac1b932ae528d8aefac9880068badac99bfc0e36f0587837d117e856a132d26e89a3c7e1b91801e655 SHA512 9504fc6f735481ada74dee2d63c6464a4edb9f19f1122d7ee85c3918725135a61bc229b010d8b25fdbdb6d24f9c2dbe252e43609cc80fffd0b83f9764785b05e +EBUILD cachefilesd-0.10.10-r1.ebuild 1272 BLAKE2B 39ca0fad9eba98972b8b2911d8a74ec99ec1d28e3aefc219c7d9f3cefdcdf5f1b51b82a74fed39255604a8a4ed08d829e3134500d476818a91c18868d47f3070 SHA512 2c0950516d377563ab598c4dc5f6501a18cf3ba708fe6af53b7a29cc25501085784cc25dd7f9428ececb95d7b50e9e0a5ef9a91972ece92c6318e65565ca8f23 MISC metadata.xml 248 BLAKE2B fc6c49e6d2a9807728c39d8b35e23c41446ef45106e9e400926334eecc4fac18c2614dfa18e68888f2e8c7d9356468794734ad0b33bbdf632f690a1c3dc4df34 SHA512 d9e2f282ed49c5ecde0d12d63ebcc971b7c487b9cdac14fe57790cc89a5984ea62bd0ba7c9aed86679598e7704c38f1767e0222d7f54c694f4328a9c4b9d36fa diff --git a/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild b/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild index 94bbc2597dd0..8347767ca534 100644 --- a/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild +++ b/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit flag-o-matic systemd toolchain-funcs tmpfiles +inherit flag-o-matic systemd toolchain-funcs tmpfiles readme.gentoo-r1 DESCRIPTION="Provides a caching directory on an already mounted filesystem" HOMEPAGE="https://people.redhat.com/~dhowells/fscache/" @@ -15,7 +15,6 @@ KEYWORDS="amd64 ~riscv x86" IUSE="doc selinux" RDEPEND="selinux? ( sec-policy/selinux-cachefilesd )" -DEPEND="" PATCHES=( "${FILESDIR}"/${PN}-0.10.9-makefile.patch @@ -34,6 +33,8 @@ src_prepare() { src_install() { default + readme.gentoo_create_doc + if use selinux; then dodoc -r selinux docompress -x /usr/share/doc/${PF}/selinux @@ -52,12 +53,8 @@ src_install() { pkg_postinst() { tmpfiles_process ${PN}.conf - [[ -d /var/cache/fscache ]] && return - elog "Before CacheFiles can be used, a directory for local storage" - elog "must be created. The default configuration of /etc/cachefilesd.conf" - elog "uses /var/cache/fscache. The filesystem mounted there must support" - elog "extended attributes (mount -o user_xattr)." - echo "" - elog "Once that is taken care of, start the daemon, add -o ...,fsc" - elog "to the mount options of your network mounts, and let it fly!" + if [[ ! -d /var/cache/fscache ]]; then + FORCE_PRINT_ELOG=1 + fi + readme.gentoo_print_elog } diff --git a/sys-fs/cachefilesd/files/README.gentoo b/sys-fs/cachefilesd/files/README.gentoo new file mode 100644 index 000000000000..a21b8cb8facf --- /dev/null +++ b/sys-fs/cachefilesd/files/README.gentoo @@ -0,0 +1,7 @@ +Before CacheFiles can be used, a directory for local storage +must be created. The default configuration of /etc/cachefilesd.conf +uses /var/cache/fscache. The filesystem mounted there must support +extended attributes (mount -o user_xattr). + +Once that is taken care of, start the daemon, add -o ...,fsc +to the mount options of your network mounts, and let it fly! diff --git a/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch b/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch index 276eff35a1c0..b4bda450505f 100644 --- a/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch +++ b/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch @@ -1,5 +1,5 @@ ---- cachefilesd-0.10.9/Makefile.old 2016-07-18 11:12:38.467106807 +0800 -+++ cachefilesd-0.10.9/Makefile 2016-07-18 11:13:59.937770347 +0800 +--- cachefilesd-0.10.9/Makefile ++++ cachefilesd-0.10.9/Makefile @@ -1,4 +1,3 @@ -CFLAGS := -g -O2 -Wall -Wsign-compare INSTALL := install @@ -8,12 +8,12 @@ @@ -40,7 +39,10 @@ ############################################################################### all: cachefilesd - + -cachefilesd: cachefilesd.c Makefile +cachefilesd.o: cachefilesd.c + $(CC) $(CFLAGS) -c $< + +cachefilesd: cachefilesd.o $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< - + ############################################################################### -- cgit v1.2.3