summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/newsyslog')
-rw-r--r--app-admin/newsyslog/Manifest4
-rw-r--r--app-admin/newsyslog/files/digest-newsyslog-1.11
-rw-r--r--app-admin/newsyslog/newsyslog-1.1.ebuild43
3 files changed, 46 insertions, 2 deletions
diff --git a/app-admin/newsyslog/Manifest b/app-admin/newsyslog/Manifest
index 4cd6ae8480d8..4b3f5220ad45 100644
--- a/app-admin/newsyslog/Manifest
+++ b/app-admin/newsyslog/Manifest
@@ -1,6 +1,6 @@
-MD5 2bb5201fc46a1275e9f80891b295e498 ChangeLog 545
+MD5 e20ccdce45406162750dadaa8ff77e46 ChangeLog 612
MD5 87c84509d0fff3ff5f8575b3823eab55 newsyslog-1.0.103.ebuild 1102
-MD5 bdb5286ebbb5b89902e24a39f5a75a92 newsyslog-1.1.ebuild 1104
+MD5 d538ff37e5ac2d7557807f8fd6eae76b newsyslog-1.1.ebuild 1098
MD5 481746f23b0ca7fd8a696c0f7197e611 files/digest-newsyslog-1.0.103 69
MD5 3ead41144e79173c79f70ac7f83d4c39 files/newsyslog-html.patch 589
MD5 ebd330386233c527897b821b2a2c524c files/digest-newsyslog-1.1 65
diff --git a/app-admin/newsyslog/files/digest-newsyslog-1.1 b/app-admin/newsyslog/files/digest-newsyslog-1.1
new file mode 100644
index 000000000000..6fd9919d69a5
--- /dev/null
+++ b/app-admin/newsyslog/files/digest-newsyslog-1.1
@@ -0,0 +1 @@
+MD5 022eb25d8ea236c07f6bcb0084b7e205 newsyslog-1.1.tar.gz 156371
diff --git a/app-admin/newsyslog/newsyslog-1.1.ebuild b/app-admin/newsyslog/newsyslog-1.1.ebuild
new file mode 100644
index 000000000000..13ac547e7d7b
--- /dev/null
+++ b/app-admin/newsyslog/newsyslog-1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/newsyslog/newsyslog-1.1.ebuild,v 1.1 2003/10/22 18:31:20 lanius Exp $
+
+DESCRIPTION="An enhanced version of newsyslog originally written by Theodore Ts'o"
+HOMEPAGE="http://www.weird.com/~woods/projects/newsyslog.html"
+SRC_URI="ftp://ftp.weird.com/pub/local/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm"
+
+DEPEND="sys-apps/groff"
+RDEPEND="virtual/cron
+ sys-apps/gzip"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ epatch ${FILESDIR}/newsyslog-html.patch
+}
+
+src_compile() {
+ myconf="--with-syslogd_pid=/var/run/syslog.pid"
+
+ pkglist | grep -q syslog-ng \
+ && myconf="--with-syslogd_pid=/var/run/syslog-ng.pid"
+
+ econf \
+ --with-gzip \
+ --with-newsyslog_conf=/etc/newsyslog.conf \
+ ${myconf}
+
+ emake || die
+}
+
+src_install() {
+ einstall catmandir=${D}/usr/share/man
+
+ rm -rf ${D}/usr/share/man/cat?
+
+ dodoc newsyslog.conf AUTHORS COPYING ChangeLog INSTALL NEWS README.* ToDo
+ prepalldocs
+}