Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/tmpwatch: ChangeLog tmpwatch-2.9.14.ebuild
Date: Sun, 26 Apr 2009 20:05:44
Message-Id: E1LyAbe-00020H-JW@stork.gentoo.org
1 patrick 09/04/26 20:05:42
2
3 Modified: ChangeLog
4 Added: tmpwatch-2.9.14.ebuild
5 Log:
6 Bump to 2.9.14. Fixes #263628. SRC_URI is now much nicer, and we get a tarball instead of an RPM
7 (Portage version: 2.2_rc31/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.80 app-admin/tmpwatch/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/tmpwatch/ChangeLog?rev=1.80&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/tmpwatch/ChangeLog?rev=1.80&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/tmpwatch/ChangeLog?r1=1.79&r2=1.80
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v
19 retrieving revision 1.79
20 retrieving revision 1.80
21 diff -u -r1.79 -r1.80
22 --- ChangeLog 26 Jul 2008 13:23:30 -0000 1.79
23 +++ ChangeLog 26 Apr 2009 20:05:42 -0000 1.80
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-admin/tmpwatch
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.79 2008/07/26 13:23:30 gentoofan23 Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.80 2009/04/26 20:05:42 patrick Exp $
30 +
31 +*tmpwatch-2.9.14 (26 Apr 2009)
32 +
33 + 26 Apr 2009; Patrick Lauer <patrick@g.o> +tmpwatch-2.9.14.ebuild:
34 + Bump to 2.9.14. Fixes #263628. SRC_URI is now much nicer, and we get a
35 + tarball instead of an RPM
36
37 26 Jul 2008; Thomas Anderson <gentoofan23@g.o> metadata.xml:
38 Change Maintainer.
39
40
41
42 1.1 app-admin/tmpwatch/tmpwatch-2.9.14.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/tmpwatch/tmpwatch-2.9.14.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/tmpwatch/tmpwatch-2.9.14.ebuild?rev=1.1&content-type=text/plain
46
47 Index: tmpwatch-2.9.14.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/tmpwatch-2.9.14.ebuild,v 1.1 2009/04/26 20:05:42 patrick Exp $
52
53 DESCRIPTION="Files which haven't been accessed in a given period of time are removed from specified directories"
54 HOMEPAGE="https://fedorahosted.org/tmpwatch/"
55 SRC_URI="https://fedorahosted.org/releases/t/m/${PN}/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE=""
61
62 src_unpack() {
63 unpack ${A}
64 cd "${S}"
65 sed -i -e "s:..RPM_OPT_FLAGS.:${CFLAGS}:" \
66 -e "s:^CVS:#CVS:g" Makefile \
67 || die "sed Makefile failed"
68 sed -i 's|/sbin/fuser|/bin/fuser|' tmpwatch.c \
69 || die "sed tmpwatch.c failed"
70 sed -i 's|/sbin|/bin|' tmpwatch.8 || die "sed tmpwatch.8 failed"
71 }
72
73 src_install() {
74 dosbin tmpwatch || die "dosbin failed"
75 doman tmpwatch.8 || die "doman failed"
76
77 exeinto /etc/cron.daily
78 newexe "${FILESDIR}/${PN}.cron" "${PN}" || die 'failed to install cron'
79 }