From fab39dce03ed67583997cb0dde9b3d475e27abbd Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Thu, 9 Jul 2009 10:19:17 +0000 Subject: version bump for bug 275884 (Portage version: 2.1.6.13/cvs/Linux i686) --- app-admin/tmpwatch/ChangeLog | 10 ++++++++-- app-admin/tmpwatch/tmpwatch-2.9.15.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 app-admin/tmpwatch/tmpwatch-2.9.15.ebuild (limited to 'app-admin') diff --git a/app-admin/tmpwatch/ChangeLog b/app-admin/tmpwatch/ChangeLog index 24c1ad480627..a2e29428ec3a 100644 --- a/app-admin/tmpwatch/ChangeLog +++ b/app-admin/tmpwatch/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/tmpwatch -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.80 2009/04/26 20:05:42 patrick Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.81 2009/07/09 10:19:17 fauli Exp $ + +*tmpwatch-2.9.15 (09 Jul 2009) + + 09 Jul 2009; Christian Faulhammer + +tmpwatch-2.9.15.ebuild: + version bump for bug 275884 *tmpwatch-2.9.14 (26 Apr 2009) diff --git a/app-admin/tmpwatch/tmpwatch-2.9.15.ebuild b/app-admin/tmpwatch/tmpwatch-2.9.15.ebuild new file mode 100644 index 000000000000..87700d469bc7 --- /dev/null +++ b/app-admin/tmpwatch/tmpwatch-2.9.15.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/tmpwatch-2.9.15.ebuild,v 1.1 2009/07/09 10:19:17 fauli Exp $ + +DESCRIPTION="Files which haven't been accessed in a given period of time are removed from specified directories" +HOMEPAGE="https://fedorahosted.org/tmpwatch/" +SRC_URI="https://fedorahosted.org/releases/t/m/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "s:..RPM_OPT_FLAGS.:${CFLAGS}:" \ + -e "s:^CVS:#CVS:g" Makefile \ + || die "sed Makefile failed" + sed -i 's|/sbin/fuser|/bin/fuser|' tmpwatch.c \ + || die "sed tmpwatch.c failed" + sed -i 's|/sbin|/bin|' tmpwatch.8 || die "sed tmpwatch.8 failed" +} + +src_install() { + dosbin tmpwatch || die "dosbin failed" + doman tmpwatch.8 || die "doman failed" + + exeinto /etc/cron.daily + newexe "${FILESDIR}/${PN}.cron" "${PN}" || die 'failed to install cron' +} -- cgit v1.2.3-65-gdbad