mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user