summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-11-09 20:04:31 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-11-09 20:04:31 +0000
commit6d583580bf22c7d0fdb950c84f373f1147c391a4 (patch)
tree1c0ea992b327150bc0daec5aeb4cb5417da9d50a /app-admin
parentVersion bump (diff)
downloadgentoo-2-6d583580bf22c7d0fdb950c84f373f1147c391a4.tar.gz
gentoo-2-6d583580bf22c7d0fdb950c84f373f1147c391a4.tar.bz2
gentoo-2-6d583580bf22c7d0fdb950c84f373f1147c391a4.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/tmpwatch/ChangeLog8
-rw-r--r--app-admin/tmpwatch/tmpwatch-2.9.16.ebuild31
2 files changed, 38 insertions, 1 deletions
diff --git a/app-admin/tmpwatch/ChangeLog b/app-admin/tmpwatch/ChangeLog
index 4fd817dce2a7..8cc4901cc516 100644
--- a/app-admin/tmpwatch/ChangeLog
+++ b/app-admin/tmpwatch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/tmpwatch
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.89 2009/11/09 19:53:55 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.90 2009/11/09 20:04:31 fauli Exp $
+
+*tmpwatch-2.9.16 (09 Nov 2009)
+
+ 09 Nov 2009; Christian Faulhammer <fauli@gentoo.org>
+ +tmpwatch-2.9.16.ebuild:
+ version bump
09 Nov 2009; Christian Faulhammer <fauli@gentoo.org> metadata.xml:
add myself as maintainer
diff --git a/app-admin/tmpwatch/tmpwatch-2.9.16.ebuild b/app-admin/tmpwatch/tmpwatch-2.9.16.ebuild
new file mode 100644
index 000000000000..aed633339be6
--- /dev/null
+++ b/app-admin/tmpwatch/tmpwatch-2.9.16.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.16.ebuild,v 1.1 2009/11/09 20:04:31 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'
+}