1 |
commit: ec196793931d17a8454945741ea3ac531873925b |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 7 17:59:03 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 7 18:00:22 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec196793 |
7 |
|
8 |
app-admin/tmpwatch: bump to EAPI 6, add maintainer-needed |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
app-admin/tmpwatch/metadata.xml | 1 + |
13 |
app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild | 37 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/tmpwatch/metadata.xml b/app-admin/tmpwatch/metadata.xml |
17 |
index 097975e..6f49eba 100644 |
18 |
--- a/app-admin/tmpwatch/metadata.xml |
19 |
+++ b/app-admin/tmpwatch/metadata.xml |
20 |
@@ -1,4 +1,5 @@ |
21 |
<?xml version="1.0" encoding="UTF-8"?> |
22 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
23 |
<pkgmetadata> |
24 |
+<!-- maintainer-needed --> |
25 |
</pkgmetadata> |
26 |
|
27 |
diff --git a/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild b/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..3de9352 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild |
32 |
@@ -0,0 +1,37 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit toolchain-funcs eutils |
40 |
+ |
41 |
+DESCRIPTION="Files which haven't been accessed in a given period of time are removed from specified directories" |
42 |
+HOMEPAGE="https://fedorahosted.org/tmpwatch/" |
43 |
+SRC_URI="https://fedorahosted.org/releases/t/m/${PN}/${P}.tar.bz2" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
48 |
+IUSE="selinux" |
49 |
+ |
50 |
+RDEPEND="selinux? ( sec-policy/selinux-tmpreaper )" |
51 |
+DEPEND="" |
52 |
+ |
53 |
+PATCHES=( |
54 |
+ "${FILESDIR}/${P}-boottime.patch" |
55 |
+) |
56 |
+ |
57 |
+src_compile() { |
58 |
+ emake AR="$(tc-getAR)" |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ |
64 |
+ dosbin tmpwatch |
65 |
+ doman tmpwatch.8 |
66 |
+ |
67 |
+ exeinto /etc/cron.daily |
68 |
+ newexe "${FILESDIR}/${PN}.cron" "${PN}" |
69 |
+} |