1 |
commit: 4d971e4899ea4c7a49c373822cbf3e3244d7741a |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 22 09:30:06 2020 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 22 10:01:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d971e48 |
7 |
|
8 |
app-admin/newsyslog: EAPI 7 bump. |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild | 44 ++++++++++++++++++++++++ |
14 |
1 file changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild b/app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..9b51143e778 |
19 |
--- /dev/null |
20 |
+++ b/app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild |
21 |
@@ -0,0 +1,44 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+DESCRIPTION="a highly configurable program for managing and archiving log files" |
28 |
+HOMEPAGE="http://www.weird.com/~woods/projects/newsyslog.html" |
29 |
+SRC_URI="http://download.openpkg.org/components/cache/${PN}/${P}.tar.gz" |
30 |
+ |
31 |
+LICENSE="MIT" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
34 |
+ |
35 |
+DEPEND=" |
36 |
+ sys-apps/groff" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ virtual/cron |
40 |
+ app-arch/gzip" |
41 |
+ |
42 |
+PATCHES=( "${FILESDIR}/${P}-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 |
+ if has_version 'app-admin/syslog-ng'; then |
50 |
+ myconf="--with-syslogd_pid=/var/run/syslog-ng.pid" |
51 |
+ fi |
52 |
+ |
53 |
+ econf \ |
54 |
+ --with-gzip \ |
55 |
+ --with-newsyslog_conf=/etc/newsyslog.conf \ |
56 |
+ ${myconf} |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ emake \ |
61 |
+ DESTDIR="${D}" \ |
62 |
+ catmandir="${T}"/dont-install \ |
63 |
+ install |
64 |
+ einstalldocs |
65 |
+} |