summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2022-01-18 10:16:42 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2022-01-18 10:16:57 -0800
commit4f42adc56f5019b8c1483598127dc3afc1a6615c (patch)
tree1060e3ce11e6fab6cafe326ec90f16ff85bad8e1 /app-admin
parentdev-python/importlib_metadata: Remove old (diff)
downloadgentoo-4f42adc56f5019b8c1483598127dc3afc1a6615c.tar.gz
gentoo-4f42adc56f5019b8c1483598127dc3afc1a6615c.tar.bz2
gentoo-4f42adc56f5019b8c1483598127dc3afc1a6615c.zip
app-admin/tmpreaper: add 1.6.16
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/tmpreaper/Manifest1
-rw-r--r--app-admin/tmpreaper/tmpreaper-1.6.16.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/tmpreaper/Manifest b/app-admin/tmpreaper/Manifest
index 17c12f228653..7d51f0b99ed5 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.15.tar.gz 158755 BLAKE2B 8f95e11de947bf436b92c2fb73b82b86134aed32eb4053af2c8065c3fe1f584f6d126a3a1ddf5e2837ca88060c499eb424670049420ec702d0a989e6e246ca69 SHA512 323a9998b1e3cfe99ead433de25d2b0db31f9ae2ddd3cd8f5e81dc5f04c977953cb930ded8860088504318cb0b42c6ca804b1ddd663818b1d3fabef8e3fff891
+DIST tmpreaper_1.6.16.tar.gz 158816 BLAKE2B cd0bbb3bc414800d73c49a5fd724af21e7f81d4ad07256f6a1f8f4943d53d74580dc11066938f417ea7a2c6105159f262363457c6ba082eeaa11817ef7128c96 SHA512 2f155a2c081f6af73e164dc1698b74430e4839864c6773b74d239ccc2f0aea5dbfbf5904c1738ef34a735a2451173b0000190ff8f3af291574b09b119410d412
diff --git a/app-admin/tmpreaper/tmpreaper-1.6.16.ebuild b/app-admin/tmpreaper/tmpreaper-1.6.16.ebuild
new file mode 100644
index 000000000000..9ebd2cb80984
--- /dev/null
+++ b/app-admin/tmpreaper/tmpreaper-1.6.16.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+}