diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-04 01:15:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-04 01:15:40 +0100 |
commit | c1bd8495f43d1e8a084ac779db6e4623aaa8d6ad (patch) | |
tree | e149dfa502bb9b798db46039ff95a0ed656a5567 /app-admin/tmpreaper/tmpreaper-1.6.17.ebuild | |
parent | ab6ac5a7942816b5b14186dc53e1b17ea7df200a (diff) |
gentoo auto-resync : 04:10:2022 - 01:15:40
Diffstat (limited to 'app-admin/tmpreaper/tmpreaper-1.6.17.ebuild')
-rw-r--r-- | app-admin/tmpreaper/tmpreaper-1.6.17.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-admin/tmpreaper/tmpreaper-1.6.17.ebuild b/app-admin/tmpreaper/tmpreaper-1.6.17.ebuild new file mode 100644 index 000000000000..63119a323422 --- /dev/null +++ b/app-admin/tmpreaper/tmpreaper-1.6.17.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A utility for removing files based on when they were last accessed" +HOMEPAGE="https://packages.debian.org/sid/tmpreaper" +SRC_URI="mirror://debian/pool/main/t/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="sys-apps/util-linux + sys-fs/e2fsprogs" + +RDEPEND="" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.13-gentoo.patch +) + +src_install() { + emake DESTDIR="${D}" install + insinto /etc + doins debian/tmpreaper.conf + + exeinto /etc/cron.daily + newexe debian/cron.daily tmpreaper + doman debian/tmpreaper.conf.5 + dodoc README debian/changelog debian/README* +} + +pkg_postinst() { + elog "This package installs a cron script under /etc/cron.daily" + elog "You can configure it using /etc/tmpreaper.conf" + elog "Consult tmpreaper.conf man page for more information" + elog "Read /usr/share/doc/${P}/README.security and" + elog "remove SHOWWARNING from /etc/tmpreaper.conf afterwards" +} |