summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-09-18 19:47:15 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-09-18 19:47:15 +0000
commit8c5e7f38093d1f8926930a86ccf7bcd519e6f6c7 (patch)
tree92c504b20f671c808ab458aa22e2de8e109655c3 /app-admin
parentremove outdated commetn (Manifest recommit) (diff)
downloadgentoo-2-8c5e7f38093d1f8926930a86ccf7bcd519e6f6c7.tar.gz
gentoo-2-8c5e7f38093d1f8926930a86ccf7bcd519e6f6c7.tar.bz2
gentoo-2-8c5e7f38093d1f8926930a86ccf7bcd519e6f6c7.zip
Version bump; Fixed outdated HOMEPAGE/SRC_URI and cleaned up ebuild. Added cron script (disabled by default) to close bug #54443. Updated metadata info.
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/tmpwatch/ChangeLog9
-rw-r--r--app-admin/tmpwatch/Manifest9
-rw-r--r--app-admin/tmpwatch/files/digest-tmpwatch-2.9.1.11
-rw-r--r--app-admin/tmpwatch/files/tmpwatch.cron42
-rw-r--r--app-admin/tmpwatch/metadata.xml4
-rw-r--r--app-admin/tmpwatch/tmpwatch-2.9.0.ebuild6
-rw-r--r--app-admin/tmpwatch/tmpwatch-2.9.1.1.ebuild46
7 files changed, 108 insertions, 9 deletions
diff --git a/app-admin/tmpwatch/ChangeLog b/app-admin/tmpwatch/ChangeLog
index ea8585e17814..059211ab20f2 100644
--- a/app-admin/tmpwatch/ChangeLog
+++ b/app-admin/tmpwatch/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/tmpwatch
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.14 2004/07/21 21:14:19 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.15 2004/09/18 19:47:15 ka0ttic Exp $
+
+*tmpwatch-2.9.1.1 (18 Sep 2004)
+
+ 18 Sep 2004; Aaron Walker <ka0ttic@gentoo.org> metadata.xml,
+ +files/tmpwatch.cron, tmpwatch-2.9.0.ebuild, +tmpwatch-2.9.1.1.ebuild:
+ Version bump; Fixed outdated HOMEPAGE/SRC_URI and cleaned up ebuild. Added
+ cron script (disabled by default) to close bug #54443. Updated metadata info.
21 Jul 2004; Tom Gall <tgall@gentoo.org> tmpwatch-2.9.0.ebuild:
stable on ppc64, bug #57577
diff --git a/app-admin/tmpwatch/Manifest b/app-admin/tmpwatch/Manifest
index 2b96300eb7a0..2a9db2d3548d 100644
--- a/app-admin/tmpwatch/Manifest
+++ b/app-admin/tmpwatch/Manifest
@@ -1,6 +1,9 @@
-MD5 506cb8f6fc068139db5ee9959cba748b ChangeLog 1639
-MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
+MD5 4a6ca53b0f0b8903e9ceb775ec937065 tmpwatch-2.9.0.ebuild 1070
+MD5 8b4c1021a71c082bfd546bb15f803ac3 tmpwatch-2.9.1.1.ebuild 1372
MD5 ff814d4a99e84f1e449790bcbedf89af tmpwatch-2.8.4.ebuild 937
-MD5 0738d3761850c81f9b3d70b5d71044ab tmpwatch-2.9.0.ebuild 1037
+MD5 506cb8f6fc068139db5ee9959cba748b ChangeLog 1639
+MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
+MD5 36fb3f752cee37085358a9b85ece55a8 files/digest-tmpwatch-2.9.1.1 68
+MD5 e62ac160c3200f69897af3d4ac40fa29 files/tmpwatch.cron 1265
MD5 dda6f902f6f95e2696dadeecd0bfeb64 files/digest-tmpwatch-2.8.4 68
MD5 185828eaf60e27de261fa50a676a47b6 files/digest-tmpwatch-2.9.0 68
diff --git a/app-admin/tmpwatch/files/digest-tmpwatch-2.9.1.1 b/app-admin/tmpwatch/files/digest-tmpwatch-2.9.1.1
new file mode 100644
index 000000000000..a3bfd495f4e9
--- /dev/null
+++ b/app-admin/tmpwatch/files/digest-tmpwatch-2.9.1.1
@@ -0,0 +1 @@
+MD5 c38fa653afe8eba067b5651ba86a6673 tmpwatch-2.9.1-1.src.rpm 21813
diff --git a/app-admin/tmpwatch/files/tmpwatch.cron b/app-admin/tmpwatch/files/tmpwatch.cron
new file mode 100644
index 000000000000..467d37311c55
--- /dev/null
+++ b/app-admin/tmpwatch/files/tmpwatch.cron
@@ -0,0 +1,42 @@
+#!/bin/sh
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/files/tmpwatch.cron,v 1.1 2004/09/18 19:47:15 ka0ttic Exp $
+# vim: ft=sh
+
+# This cron script contains several (commented out) examples. You may use
+# them as is, by uncommenting them, or modify them to suit your needs. Read
+# tmpwatch(8) for more information on tmpwatch parameters.
+
+### Variables ###
+
+TMPWATCH="/usr/sbin/tmpwatch"
+#PORTAGE_TMPDIR="$(portageq envvar PORTAGE_TMP_DIR)/portage"
+#DISTDIR="$(portageq distdir)"
+
+### EXAMPLES ###
+
+# NOTE: if you have noatime in /etc/fstab for any partitions you plan on
+# running tmpwatch on, you should obviously change any of the examples that
+# use atime (-u|--atime). Those that don't specify anything, default to
+# atime.
+
+# NOTE2: the time value is in HOURS!
+
+# Delete everything in /tmp that haven't been accessed in a week (>=168 hrs).
+#
+# if [[ -d /tmp ]]; then
+# ${TMPWATCH} --atime 168 /tmp
+# fi
+
+# Delete everything in PORTAGE_TMPDIR that hasn't been modified in 2 weeks.
+#
+# if [[ -d ${PORTAGE_TMPDIR:-/var/tmp/portage} ]]; then
+# ${TMPWATCH} --mtime --all 336 ${PORTAGE_TMPDIR:-/var/tmp/portage}
+# fi
+
+# Delete everything in DISTDIR that hasn't been accessed in 6 months (going
+# by 30 day months)
+#
+# if [[ -d ${DISTDIR:-/usr/portage/distfiles} ]]; then
+# ${TMPWATCH} --atime --fuser 4320 ${DISTDIR:-/usr/portage/distfiles}
+# fi
+
diff --git a/app-admin/tmpwatch/metadata.xml b/app-admin/tmpwatch/metadata.xml
index d8b96be3c5cd..d31152aca840 100644
--- a/app-admin/tmpwatch/metadata.xml
+++ b/app-admin/tmpwatch/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>bug-wranglers@gentoo.org</email>
- <description>This package lacks a primary herd or maintainer.</description>
+ <email>ka0ttic@gentoo.org</email>
+ <name>Aaron Walker</name>
</maintainer>
</pkgmetadata>
diff --git a/app-admin/tmpwatch/tmpwatch-2.9.0.ebuild b/app-admin/tmpwatch/tmpwatch-2.9.0.ebuild
index a696102cfb63..16aaa3d27500 100644
--- a/app-admin/tmpwatch/tmpwatch-2.9.0.ebuild
+++ b/app-admin/tmpwatch/tmpwatch-2.9.0.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/tmpwatch-2.9.0.ebuild,v 1.9 2004/07/21 21:14:19 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/tmpwatch-2.9.0.ebuild,v 1.10 2004/09/18 19:47:15 ka0ttic Exp $
RPM_V="2"
DESCRIPTION="Utility recursively searches through specified directories and removes files which have not been accessed in a specified period of time."
-HOMEPAGE="ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS"
-SRC_URI="ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/${P}-${RPM_V}.src.rpm"
+HOMEPAGE="http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/"
+SRC_URI="http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/${P}-${RPM_V}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
diff --git a/app-admin/tmpwatch/tmpwatch-2.9.1.1.ebuild b/app-admin/tmpwatch/tmpwatch-2.9.1.1.ebuild
new file mode 100644
index 000000000000..76042d572f3b
--- /dev/null
+++ b/app-admin/tmpwatch/tmpwatch-2.9.1.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/tmpwatch-2.9.1.1.ebuild,v 1.1 2004/09/18 19:47:15 ka0ttic Exp $
+
+inherit versionator
+
+RPM_P="${PN}-$(replace_version_separator 3 '-')"
+MY_P="${RPM_P%-*}"
+
+DESCRIPTION="Utility recursively searches through specified directories and removes files which have not been accessed in a specified period of time."
+HOMEPAGE="http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/"
+SRC_URI="http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/${RPM_P}.src.rpm"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~ia64 ~amd64 ~ppc64"
+IUSE=""
+
+DEPEND="virtual/libc
+ app-arch/rpm2targz"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ cd "${WORKDIR}"
+ rpm2targz "${DISTDIR}/${RPM_P}.src.rpm" || die
+ tar zxf "${RPM_P}.src.tar.gz" || die
+ tar zxf "${MY_P}.tar.gz" || die
+
+ 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() {
+ preplib
+ dosbin tmpwatch || die
+ doman tmpwatch.8 || die
+
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}/${PN}.cron" "${PN}" || die
+}