From deb71af423e5fc1bcd834c1c669541b62eff853b Mon Sep 17 00:00:00 2001 From: Dylan Wolf Date: Fri, 30 Sep 2022 09:50:52 -0600 Subject: app-admin/tmpreaper: add 1.6.17 Signed-off-by: Dylan Wolf Closes: https://github.com/gentoo/gentoo/pull/27542 Signed-off-by: Georgy Yakovlev --- app-admin/tmpreaper/Manifest | 1 + app-admin/tmpreaper/tmpreaper-1.6.17.ebuild | 41 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 app-admin/tmpreaper/tmpreaper-1.6.17.ebuild (limited to 'app-admin/tmpreaper') diff --git a/app-admin/tmpreaper/Manifest b/app-admin/tmpreaper/Manifest index 183b78898753..e1b36f117abf 100644 --- a/app-admin/tmpreaper/Manifest +++ b/app-admin/tmpreaper/Manifest @@ -1,2 +1,3 @@ DIST tmpreaper_1.6.14.tar.gz 158981 BLAKE2B 1c9ec124c6e57c0aab5d555594950dda37f06a6404a0d111da05be7a48bf6141e09e942c090d3f79ccf855f958a7b32f0d64c73da68b412da74465e39bdb72ae SHA512 e78fab0cd2cc8c851e2806be70c102697bff86230e181bfad1c76b15fe5455fb431bc0dd16bebf77a2e9bb64b5f5a1474d24254ff780d4d72d343ea0e6e30ccb DIST tmpreaper_1.6.16.tar.gz 158816 BLAKE2B cd0bbb3bc414800d73c49a5fd724af21e7f81d4ad07256f6a1f8f4943d53d74580dc11066938f417ea7a2c6105159f262363457c6ba082eeaa11817ef7128c96 SHA512 2f155a2c081f6af73e164dc1698b74430e4839864c6773b74d239ccc2f0aea5dbfbf5904c1738ef34a735a2451173b0000190ff8f3af291574b09b119410d412 +DIST tmpreaper_1.6.17.tar.gz 158894 BLAKE2B 537e8020a9db4adc9dee5b967e89242573d340c8b1d3540ab2de76d9a74bae391ff398d19b71c4017bde04716f01f8958bb73957215b1b44628e5ae7ad805f8b SHA512 8272cb0232f8188f8ad45be40442b686d18bbf508dcd440d3f901f4dbf7d17e05da91ee3bfa5d23d163041fdb08de81d525ac45945f10bc7ff886ac468fc4ce0 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" +} -- cgit v1.2.3-65-gdbad