summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-01-11 12:09:50 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-01-11 12:15:02 -0800
commit2ada091dcd4e3edb13a6a9ec81515e5eccfef419 (patch)
tree0004c66c0730ec11df06d8f81e706dc829b4aef3
parentapp-eselect/eselect-postgresql: Stable for HPPA too. (diff)
downloadgentoo-2ada091dcd4e3edb13a6a9ec81515e5eccfef419.tar.gz
gentoo-2ada091dcd4e3edb13a6a9ec81515e5eccfef419.tar.bz2
gentoo-2ada091dcd4e3edb13a6a9ec81515e5eccfef419.zip
app-admin/tmpreaper: bump to 1.6.14
Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--app-admin/tmpreaper/Manifest1
-rw-r--r--app-admin/tmpreaper/tmpreaper-1.6.14.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/tmpreaper/Manifest b/app-admin/tmpreaper/Manifest
index 91537968322a..45916a7b68ae 100644
--- a/app-admin/tmpreaper/Manifest
+++ b/app-admin/tmpreaper/Manifest
@@ -1 +1,2 @@
DIST tmpreaper_1.6.13+nmu1.tar.gz 141080 BLAKE2B ad2895e0444e3c1a1ceabf71c34b560a817e7cc274482bde63a07499fac799ef127f5b64c953d43cd11a279819972b63b7e21a683f6250a77eeadc299a491a78 SHA512 c868d421a7757a47b81c8932743981ded2b415c83377f8781fdfd4dfda48c701991da17fa262dfa0680b2a315d6b46ee4c9035ba4c06f5a0c1bc32efa717f19f
+DIST tmpreaper_1.6.14.tar.gz 158981 BLAKE2B 1c9ec124c6e57c0aab5d555594950dda37f06a6404a0d111da05be7a48bf6141e09e942c090d3f79ccf855f958a7b32f0d64c73da68b412da74465e39bdb72ae SHA512 e78fab0cd2cc8c851e2806be70c102697bff86230e181bfad1c76b15fe5455fb431bc0dd16bebf77a2e9bb64b5f5a1474d24254ff780d4d72d343ea0e6e30ccb
diff --git a/app-admin/tmpreaper/tmpreaper-1.6.14.ebuild b/app-admin/tmpreaper/tmpreaper-1.6.14.ebuild
new file mode 100644
index 000000000000..7f8b09f6daca
--- /dev/null
+++ b/app-admin/tmpreaper/tmpreaper-1.6.14.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 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=""
+
+# fix protect patch from debian bug 636459
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.6.13-fix-protect.patch
+ "${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 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"
+}