Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/tmpreaper/
Date: Fri, 11 Jan 2019 20:15:21
Message-Id: 1547237702.2ada091dcd4e3edb13a6a9ec81515e5eccfef419.gyakovlev@gentoo
commit:     2ada091dcd4e3edb13a6a9ec81515e5eccfef419
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 11 20:09:50 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jan 11 20:15:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ada091d

app-admin/tmpreaper: bump to 1.6.14

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-admin/tmpreaper/Manifest                |  1 +
 app-admin/tmpreaper/tmpreaper-1.6.14.ebuild | 43 +++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/app-admin/tmpreaper/Manifest b/app-admin/tmpreaper/Manifest
index 91537968322..45916a7b68a 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 00000000000..7f8b09f6dac
--- /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"
+}