app-admin/tmpreaper - 1.6.17 (gentoo)

Search

Package Information

Description:
A utility for removing files based on when they were last accessed
Homepage:
https://packages.debian.org/sid/tmpreaper
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.6.17 8 amd64 ~arm ~arm64 ppc ~ppc64 x86 0
View Raw Ebuild
# Copyright 1999-2023 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"
}

Applicable Mirrors

Mirror Name URLs
debian

Dependencies

DEPEND

sys-apps/util-linux
	sys-fs/e2fsprogs

Manifest for 1.6.17

Type File Size Source URLs
DIST tmpreaper_1.6.17.tar.gz 158894 bytes mirror://debian/pool/main/t/tmpreaper/tmpreaper_1.6.17.tar.gz