diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-04-26 20:05:42 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-04-26 20:05:42 +0000 |
commit | 32685a0c856a1b7f4c927710f36ae7113374fa8f (patch) | |
tree | ad3aab9bd61a041eb1dba067d44a91c607c1560f /app-admin/tmpwatch | |
parent | Use CC, bug #243626. (diff) | |
download | gentoo-2-32685a0c856a1b7f4c927710f36ae7113374fa8f.tar.gz gentoo-2-32685a0c856a1b7f4c927710f36ae7113374fa8f.tar.bz2 gentoo-2-32685a0c856a1b7f4c927710f36ae7113374fa8f.zip |
Bump to 2.9.14. Fixes #263628. SRC_URI is now much nicer, and we get a tarball instead of an RPM
(Portage version: 2.2_rc31/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/tmpwatch')
-rw-r--r-- | app-admin/tmpwatch/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/tmpwatch/tmpwatch-2.9.14.ebuild | 31 |
2 files changed, 39 insertions, 2 deletions
diff --git a/app-admin/tmpwatch/ChangeLog b/app-admin/tmpwatch/ChangeLog index 59b0540636d7..24c1ad480627 100644 --- a/app-admin/tmpwatch/ChangeLog +++ b/app-admin/tmpwatch/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/tmpwatch -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.79 2008/07/26 13:23:30 gentoofan23 Exp $ +# 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 $ + +*tmpwatch-2.9.14 (26 Apr 2009) + + 26 Apr 2009; Patrick Lauer <patrick@gentoo.org> +tmpwatch-2.9.14.ebuild: + Bump to 2.9.14. Fixes #263628. SRC_URI is now much nicer, and we get a + tarball instead of an RPM 26 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org> metadata.xml: Change Maintainer. diff --git a/app-admin/tmpwatch/tmpwatch-2.9.14.ebuild b/app-admin/tmpwatch/tmpwatch-2.9.14.ebuild new file mode 100644 index 000000000000..2cb83ee8ca43 --- /dev/null +++ b/app-admin/tmpwatch/tmpwatch-2.9.14.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.14.ebuild,v 1.1 2009/04/26 20:05:42 patrick 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' +} |