Version bump; removed old crusty version.
authorAaron Walker <ka0ttic@gentoo.org>
Fri, 31 Dec 2004 11:14:41 +0000 (11:14 +0000)
committerAaron Walker <ka0ttic@gentoo.org>
Fri, 31 Dec 2004 11:14:41 +0000 (11:14 +0000)
app-admin/tmpwatch/ChangeLog
app-admin/tmpwatch/Manifest
app-admin/tmpwatch/files/digest-tmpwatch-2.8.4 [deleted file]
app-admin/tmpwatch/files/digest-tmpwatch-2.9.2.1 [new file with mode: 0644]
app-admin/tmpwatch/tmpwatch-2.8.4.ebuild [deleted file]
app-admin/tmpwatch/tmpwatch-2.9.2.1.ebuild [new file with mode: 0644]

index 165327df028af6a8e83a8d09bceeada0ff73d4d9..7ce78e98396d02f7ada80bc5155525b81d05ffa1 100644 (file)
@@ -1,6 +1,12 @@
 # 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.24 2004/12/28 11:46:55 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.25 2004/12/31 11:14:41 ka0ttic Exp $
+
+*tmpwatch-2.9.2.1 (31 Dec 2004)
+
+  31 Dec 2004; Aaron Walker <ka0ttic@gentoo.org> -tmpwatch-2.8.4.ebuild,
+  +tmpwatch-2.9.2.1.ebuild:
+  Version bump; removed old crusty version.
 
   28 Dec 2004; Aaron Walker <ka0ttic@gentoo.org> tmpwatch-2.8.4.ebuild,
   tmpwatch-2.9.0.ebuild, tmpwatch-2.9.1.1.ebuild:
index ac9704b68022a9953ffdf86fe4148b02f259c2ba..e9a9b91b5fc9302fc6c6653290611bb9208a5422 100644 (file)
@@ -3,17 +3,17 @@ Hash: SHA1
 
 MD5 730d2f8ab7ae2bb780c91eec2f95c815 tmpwatch-2.9.0.ebuild 1224
 MD5 5fbb0b5244364b17f094a4fd539d824b tmpwatch-2.9.1.1.ebuild 1367
-MD5 524fd9962248995a4e7b600e46140741 tmpwatch-2.8.4.ebuild 1006
-MD5 f97f14edd3c5ed89e75f6d2b59ab3f4e ChangeLog 2989
+MD5 5728369cbbf3316ffbbdd6e50709026b tmpwatch-2.9.2.1.ebuild 1426
+MD5 045414ee34213d9378e4c4a11b184e47 ChangeLog 3168
 MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
 MD5 b070831994ddfe3b392417b547670687 files/digest-tmpwatch-2.9.1.1 68
+MD5 8fed4664f92ea7e8842eaeeff5ac1afb files/digest-tmpwatch-2.9.2.1 68
 MD5 c2b96ff8dc2c589482deaa38b4a03016 files/tmpwatch.cron 1365
-MD5 dda6f902f6f95e2696dadeecd0bfeb64 files/digest-tmpwatch-2.8.4 68
 MD5 185828eaf60e27de261fa50a676a47b6 files/digest-tmpwatch-2.9.0 68
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFB0Uf9EZCkKN40op4RAlAlAJ94De83tom5rjwYPErl8TMqiADu5ACfajHR
-Gic8YZXYvhKGijvD/JD6KCA=
-=KZCM
+iD8DBQFB1TTkEZCkKN40op4RAp+zAKCfatD0WUuZ19iNZJPEuYk3F7elnQCgw0oN
+i7vyIUm1WhHB0su2wCnyZq0=
+=vQbJ
 -----END PGP SIGNATURE-----
diff --git a/app-admin/tmpwatch/files/digest-tmpwatch-2.8.4 b/app-admin/tmpwatch/files/digest-tmpwatch-2.8.4
deleted file mode 100644 (file)
index 602fb73..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 79454f3fd1f6d86e6562ebef64b7a0df tmpwatch-2.8.4-4.src.rpm 20101
diff --git a/app-admin/tmpwatch/files/digest-tmpwatch-2.9.2.1 b/app-admin/tmpwatch/files/digest-tmpwatch-2.9.2.1
new file mode 100644 (file)
index 0000000..805c258
--- /dev/null
@@ -0,0 +1 @@
+MD5 4df275a0e3cb5517b01d6a1d79ff9991 tmpwatch-2.9.2-1.src.rpm 19347
diff --git a/app-admin/tmpwatch/tmpwatch-2.8.4.ebuild b/app-admin/tmpwatch/tmpwatch-2.8.4.ebuild
deleted file mode 100644 (file)
index 363156f..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-# 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.8.4.ebuild,v 1.11 2004/12/28 11:46:55 ka0ttic Exp $
-
-RPM_V="4"
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE=""
-
-DEPEND="virtual/libc
-       app-arch/rpm2targz"
-
-src_unpack() {
-       cd ${WORKDIR}
-       rpm2targz ${DISTDIR}/${P}-${RPM_V}.src.rpm || die "rpm2targz failed"
-       tar zxf ${P}-${RPM_V}.src.tar.gz || die
-       tar zxf ${P}.tar.gz || die
-
-       cd ${S}
-       sed -i "s:..RPM_OPT_FLAGS.:${CFLAGS}:" Makefile || die "sed failed"
-}
-
-src_install() {
-       preplib /usr
-       dosbin tmpwatch || die "dosbin failed"
-       doman tmpwatch.8 || die "doman failed"
-}
diff --git a/app-admin/tmpwatch/tmpwatch-2.9.2.1.ebuild b/app-admin/tmpwatch/tmpwatch-2.9.2.1.ebuild
new file mode 100644 (file)
index 0000000..d78794e
--- /dev/null
@@ -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.2.1.ebuild,v 1.1 2004/12/31 11:14:41 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 "rpm2targz failed"
+       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 "dosbin failed"
+       doman tmpwatch.8 || die "doman failed"
+
+       exeinto /etc/cron.daily
+       newexe "${FILESDIR}/${PN}.cron" "${PN}" || die
+}