diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-06-30 13:33:31 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-06-30 13:33:31 +0000 |
commit | 623474ec863b99ebb82a3fe7a06719253d199d8f (patch) | |
tree | 895c228c06688786f3b6f76c49cf75539c0d0031 /app-admin/tmpreaper | |
parent | Removed audacious-crossfade from tree as per bug #222883, removing mask entry. (diff) | |
download | gentoo-2-623474ec863b99ebb82a3fe7a06719253d199d8f.tar.gz gentoo-2-623474ec863b99ebb82a3fe7a06719253d199d8f.tar.bz2 gentoo-2-623474ec863b99ebb82a3fe7a06719253d199d8f.zip |
Revision bump. Apply patch to fix --protect for directories, #227467
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r1 x86_64)
Diffstat (limited to 'app-admin/tmpreaper')
-rw-r--r-- | app-admin/tmpreaper/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/tmpreaper/tmpreaper-1.6.9-r1.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/app-admin/tmpreaper/ChangeLog b/app-admin/tmpreaper/ChangeLog index d1d26c16b364..20b3b3bc9a5f 100644 --- a/app-admin/tmpreaper/ChangeLog +++ b/app-admin/tmpreaper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/tmpreaper # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpreaper/ChangeLog,v 1.20 2008/03/27 16:12:20 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpreaper/ChangeLog,v 1.21 2008/06/30 13:33:31 hawking Exp $ + +*tmpreaper-1.6.9-r1 (30 Jun 2008) + + 30 Jun 2008; Ali Polatel <hawking@gentoo.org> +tmpreaper-1.6.9-r1.ebuild: + Revision bump. Apply patch to fix --protect for directories, #227467 27 Mar 2008; Raúl Porcel <armin76@gentoo.org> tmpreaper-1.6.7.ebuild: Fix debian HOMEPAGE diff --git a/app-admin/tmpreaper/tmpreaper-1.6.9-r1.ebuild b/app-admin/tmpreaper/tmpreaper-1.6.9-r1.ebuild new file mode 100644 index 000000000000..73f159e18379 --- /dev/null +++ b/app-admin/tmpreaper/tmpreaper-1.6.9-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpreaper/tmpreaper-1.6.9-r1.ebuild,v 1.1 2008/06/30 13:33:31 hawking Exp $ + +inherit eutils + +DESCRIPTION="A utility for removing files based on when they were last accessed" +HOMEPAGE="http://packages.debian.org/sid/tmpreaper" +SRC_URI="mirror://debian/pool/main/t/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-1.6.7-fix-protect.patch + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + insinto /etc + doins debian/tmpreaper.conf || die "failed to install" + + exeinto /etc/cron.daily + newexe debian/cron.daily tmpreaper || die "failed to install cron script" + doman debian/tmpreaper.conf.5 || die + dodoc README ChangeLog debian/README* || die +} + +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/tmpreaper-1.6.9/README.security and" + elog "remove SHOWWARNING from /etc/tmpreaper.conf afterwards" +} |