diff options
author | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-10-25 04:40:06 +0000 |
---|---|---|
committer | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-10-25 04:40:06 +0000 |
commit | fe107f5eb9581d5a9fe0c1a66d34c93497feb7f5 (patch) | |
tree | 9ff462937cadb5356ec0b3d7fcc5693103c4bcd2 /app-admin/newsyslog | |
parent | more code cleanup (diff) | |
download | gentoo-2-fe107f5eb9581d5a9fe0c1a66d34c93497feb7f5.tar.gz gentoo-2-fe107f5eb9581d5a9fe0c1a66d34c93497feb7f5.tar.bz2 gentoo-2-fe107f5eb9581d5a9fe0c1a66d34c93497feb7f5.zip |
initial import, closes bug# 6711
Diffstat (limited to 'app-admin/newsyslog')
-rw-r--r-- | app-admin/newsyslog/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/newsyslog/files/digest-newsyslog-1.0.103 | 1 | ||||
-rw-r--r-- | app-admin/newsyslog/files/newsyslog-html.patch | 21 | ||||
-rw-r--r-- | app-admin/newsyslog/newsyslog-1.0.103.ebuild | 49 |
4 files changed, 81 insertions, 0 deletions
diff --git a/app-admin/newsyslog/ChangeLog b/app-admin/newsyslog/ChangeLog new file mode 100644 index 000000000000..ac6c8924e827 --- /dev/null +++ b/app-admin/newsyslog/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/newsyslog +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/newsyslog/ChangeLog,v 1.1 2002/10/25 04:40:06 bcowan Exp $ + +*newsyslog-1.0.103 (25 Oct 2002) + + 25 Oct 2002; Brad Cowan <bcowan@gentoo.org> newsyslog-1.0.103.ebuild, + ChangeLog, files/digest-newsyslog-1.0.103 : + + Initial import, ebuild submitted by Scott Lampert <scott@lampert.org>. diff --git a/app-admin/newsyslog/files/digest-newsyslog-1.0.103 b/app-admin/newsyslog/files/digest-newsyslog-1.0.103 new file mode 100644 index 000000000000..4e0a268e01c5 --- /dev/null +++ b/app-admin/newsyslog/files/digest-newsyslog-1.0.103 @@ -0,0 +1 @@ +MD5 b86f1f1228960fed4e6631b1d9739cec newsyslog.tar.gz 142759 diff --git a/app-admin/newsyslog/files/newsyslog-html.patch b/app-admin/newsyslog/files/newsyslog-html.patch new file mode 100644 index 000000000000..da04fcd5afbf --- /dev/null +++ b/app-admin/newsyslog/files/newsyslog-html.patch @@ -0,0 +1,21 @@ +diff -ur newsyslog-1.0.103.orig/Makefile.in newsyslog-1.0.103/Makefile.in +--- newsyslog-1.0.103.orig/Makefile.in Tue May 21 14:08:11 2002 ++++ newsyslog-1.0.103/Makefile.in Sun Aug 18 22:06:23 2002 +@@ -591,7 +591,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 $@ +@@ -599,7 +599,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.0.103.ebuild b/app-admin/newsyslog/newsyslog-1.0.103.ebuild new file mode 100644 index 000000000000..05b1eeea221b --- /dev/null +++ b/app-admin/newsyslog/newsyslog-1.0.103.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/newsyslog/newsyslog-1.0.103.ebuild,v 1.1 2002/10/25 04:40:06 bcowan 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/newsyslog.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="sys-apps/groff" +RDEPEND="virtual/cron + sys-apps/gzip" + +S="${WORKDIR}/${P}" + +src_unpack() { + unpack ${A} + cd ${S} + + patch -p1 < ${FILESDIR}/newsyslog-html.patch || die +} + +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} || die + + 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 + +} |