mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sys-fs/cachefilesd: drop 0.10.9
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST cachefilesd-0.10.10.tar.bz2 26694 BLAKE2B c527a6283617ba53818e0cad1859544b1e66af1107b05d1f83904669425d31c5374f3c032b892c9d95892d02d9256bbd9b180f1d0b6b430f0cfa70440406ef9f SHA512 d7d816b5ef1fffe1272cb8c2e9cbd18c1393438afca250436a36a446c6a37303e7784057725a56be839e0489101190b563c4fc015fc4ff11baa8003121e5183a
|
||||
DIST cachefilesd-0.10.9.tar.bz2 26555 BLAKE2B da5df1d2c6715a7cc304b32842f00e69d356359abfae865cfc1b63b89e1149bcb48762ddf84d13f5d18b727d8e0693257d424e599c3874bbe842da9aed4a0cfe SHA512 06ab444a7df8ec37c15bc03554510f4acbb453e0730277f036abc5d61f9e377d90d9387dd5237ea481b95b1bf097b5992adce90ce971fe29760cc4c0d3c9cf34
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic systemd toolchain-funcs tmpfiles
|
||||
|
||||
DESCRIPTION="Provides a caching directory on an already mounted filesystem"
|
||||
HOMEPAGE="https://people.redhat.com/~dhowells/fscache/"
|
||||
SRC_URI="https://people.redhat.com/~dhowells/fscache/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc selinux"
|
||||
|
||||
RDEPEND="selinux? ( sec-policy/selinux-cachefilesd )"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
eapply "${FILESDIR}"/${PN}-0.10.9-makefile.patch
|
||||
if ! use selinux; then
|
||||
sed -e '/^secctx/s:^:#:g' -i cachefilesd.conf || die
|
||||
fi
|
||||
|
||||
tc-export CC
|
||||
append-flags -fpie
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use selinux; then
|
||||
dodoc -r selinux
|
||||
docompress -x /usr/share/doc/${PF}/selinux
|
||||
fi
|
||||
|
||||
dodoc howto.txt
|
||||
|
||||
newconfd "${FILESDIR}"/${PN}.conf ${PN}
|
||||
newinitd "${FILESDIR}"/${PN}-3.init ${PN}
|
||||
|
||||
systemd_dounit ${PN}.service
|
||||
newtmpfiles "${FILESDIR}"/${PN}-tmpfiles.d ${PN}.conf
|
||||
}
|
||||
|
||||
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!"
|
||||
}
|
||||
Reference in New Issue
Block a user