1 |
commit: 8a91e3d56901b0b2fe6deabd17e1a69acd508779 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 3 22:04:22 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 3 22:04:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a91e3d5 |
7 |
|
8 |
app-admin/newsyslog: EAPI 6 bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
app-admin/newsyslog/newsyslog-1.1-r1.ebuild | 44 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 44 insertions(+) |
14 |
|
15 |
diff --git a/app-admin/newsyslog/newsyslog-1.1-r1.ebuild b/app-admin/newsyslog/newsyslog-1.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..5f5290e27ad |
18 |
--- /dev/null |
19 |
+++ b/app-admin/newsyslog/newsyslog-1.1-r1.ebuild |
20 |
@@ -0,0 +1,44 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+#inherit eutils |
27 |
+ |
28 |
+DESCRIPTION="a highly configurable program for managing and archiving log files" |
29 |
+HOMEPAGE="http://www.weird.com/~woods/projects/newsyslog.html" |
30 |
+SRC_URI="ftp://ftp.weird.com/pub/local/${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="MIT" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
35 |
+ |
36 |
+DEPEND="sys-apps/groff" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ virtual/cron |
40 |
+ app-arch/gzip" |
41 |
+ |
42 |
+PATCHES=( "${FILESDIR}"/newsyslog-html.patch ) |
43 |
+ |
44 |
+DOCS=( newsyslog.conf AUTHORS ChangeLog INSTALL NEWS ToDo ) |
45 |
+ |
46 |
+src_configure() { |
47 |
+ local myconf="--with-syslogd_pid=/var/run/syslog.pid" |
48 |
+ |
49 |
+ has_version 'app-admin/syslog-ng' \ |
50 |
+ && myconf="--with-syslogd_pid=/var/run/syslog-ng.pid" |
51 |
+ |
52 |
+ econf \ |
53 |
+ --with-gzip \ |
54 |
+ --with-newsyslog_conf=/etc/newsyslog.conf \ |
55 |
+ ${myconf} |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ emake \ |
60 |
+ DESTDIR="${D}" \ |
61 |
+ catmandir="${T}"/dont-install \ |
62 |
+ install |
63 |
+ einstalldocs |
64 |
+} |