summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-06-24 16:40:30 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-06-24 16:51:41 +0200
commit9afaea59c516acdd05a75d9395e13ee49d69e26d (patch)
treec129e378b36c0ee9b9287d1478fc1a5eaa4744d3 /app-admin/newsyslog
parentdev-java/cofoja: version bump. (diff)
downloadgentoo-9afaea59c516acdd05a75d9395e13ee49d69e26d.tar.gz
gentoo-9afaea59c516acdd05a75d9395e13ee49d69e26d.tar.bz2
gentoo-9afaea59c516acdd05a75d9395e13ee49d69e26d.zip
app-admin/newsyslog: version bump.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-admin/newsyslog')
-rw-r--r--app-admin/newsyslog/Manifest1
-rw-r--r--app-admin/newsyslog/files/newsyslog-1.1.0.81-html.patch20
-rw-r--r--app-admin/newsyslog/newsyslog-1.1.0.81.ebuild42
3 files changed, 63 insertions, 0 deletions
diff --git a/app-admin/newsyslog/Manifest b/app-admin/newsyslog/Manifest
index 4680fa956611..a26fcc47c558 100644
--- a/app-admin/newsyslog/Manifest
+++ b/app-admin/newsyslog/Manifest
@@ -1 +1,2 @@
+DIST newsyslog-1.1.0.81.tar.gz 174411 BLAKE2B d7916396ecf7dda9928891c3bd1020be45354c9623e53d9a52170567c811b3cad3e82efec8145f51a68ed851c46a6c3fb6e8bf944bedf935f2a6589e4b45d3e1 SHA512 de7ae2f71fb5a2a3fad0eaaa793da1ff2b36bc5757a30c70e8f740da8ea2647aea0422c13c1cc1a5e082e41938cbb590c8bb0ecf46d5d584466069f319db47c2
DIST newsyslog-1.1.tar.gz 156371 BLAKE2B f9ac2de3059e377e61963af70591ca19bc335ffc96d1aa94770fec96cad7b8200d10edc6ac4ab115b697eb0527a998dd457ea1c0d5a1b529d5cbf5285d5ec138 SHA512 b321ae47ecacf6905858bedfaa5ca8c4230f7b6e5a715f8481331940c0ae53795769524a62d1670b4df27f9e263b407be83527a64ccd54b3ba75d55d3c5149b1
diff --git a/app-admin/newsyslog/files/newsyslog-1.1.0.81-html.patch b/app-admin/newsyslog/files/newsyslog-1.1.0.81-html.patch
new file mode 100644
index 000000000000..873cfc10991a
--- /dev/null
+++ b/app-admin/newsyslog/files/newsyslog-1.1.0.81-html.patch
@@ -0,0 +1,20 @@
+--- a/Makefile.in 2018-06-24 14:36:18.647850208 +0000
++++ b/Makefile.in 2018-06-24 14:37:50.216321235 +0000
+@@ -763,7 +763,7 @@
+
+ .8.8.html:
+ @rm -f $@
+- ($(TBL) $< | $(NROFF) -mdoc2html > $@) || (rm -f $@; exit 1)
++ ($(TBL) $< | $(NROFF) -mhtml > $@) || (rm -f $@; exit 1)
+
+ .5.5.ps:
+ @rm -f $@
+@@ -771,7 +771,7 @@
+
+ .5.5.html:
+ @rm -f $@
+- ($(TBL) $< | $(NROFF) -mdoc2html > $@) || (rm -f $@; exit 1)
++ ($(TBL) $< | $(NROFF) -mhtml > $@) || (rm -f $@; exit 1)
+
+ .cat5.cat5-dist:
+ @rm -f $@
diff --git a/app-admin/newsyslog/newsyslog-1.1.0.81.ebuild b/app-admin/newsyslog/newsyslog-1.1.0.81.ebuild
new file mode 100644
index 000000000000..a52dcc25d1f2
--- /dev/null
+++ b/app-admin/newsyslog/newsyslog-1.1.0.81.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="a highly configurable program for managing and archiving log files"
+HOMEPAGE="http://www.weird.com/~woods/projects/newsyslog.html"
+SRC_URI="http://download.openpkg.org/components/cache/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="sys-apps/groff"
+
+RDEPEND="
+ virtual/cron
+ app-arch/gzip"
+
+PATCHES=( "${FILESDIR}/${P}-html.patch" )
+
+DOCS=( newsyslog.conf AUTHORS ChangeLog INSTALL NEWS ToDo )
+
+src_configure() {
+ local myconf="--with-syslogd_pid=/var/run/syslog.pid"
+
+ has_version 'app-admin/syslog-ng' \
+ && myconf="--with-syslogd_pid=/var/run/syslog-ng.pid"
+
+ econf \
+ --with-gzip \
+ --with-newsyslog_conf=/etc/newsyslog.conf \
+ ${myconf}
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ catmandir="${T}"/dont-install \
+ install
+ einstalldocs
+}