diff options
Diffstat (limited to 'app-admin/newsyslog')
-rw-r--r-- | app-admin/newsyslog/Manifest | 1 | ||||
-rw-r--r-- | app-admin/newsyslog/files/newsyslog-html.patch | 21 | ||||
-rw-r--r-- | app-admin/newsyslog/metadata.xml | 8 | ||||
-rw-r--r-- | app-admin/newsyslog/newsyslog-1.1.ebuild | 46 |
4 files changed, 76 insertions, 0 deletions
diff --git a/app-admin/newsyslog/Manifest b/app-admin/newsyslog/Manifest new file mode 100644 index 00000000000..d30fc83cd5b --- /dev/null +++ b/app-admin/newsyslog/Manifest @@ -0,0 +1 @@ +DIST newsyslog-1.1.tar.gz 156371 SHA256 99804e21041d5dca7898773df25c1ce0ff030e9654f32e06b86bdabbdeeab3f2 SHA512 b321ae47ecacf6905858bedfaa5ca8c4230f7b6e5a715f8481331940c0ae53795769524a62d1670b4df27f9e263b407be83527a64ccd54b3ba75d55d3c5149b1 WHIRLPOOL a84554d9a06aad7ce93239db119e417557d115c3043c5ca320c086e8f0e1f33511a1b8db95cba29489045ae1ba27318c7df7f0a4960e4c5d6ebc793a39b9c296 diff --git a/app-admin/newsyslog/files/newsyslog-html.patch b/app-admin/newsyslog/files/newsyslog-html.patch new file mode 100644 index 00000000000..da04fcd5afb --- /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/metadata.xml b/app-admin/newsyslog/metadata.xml new file mode 100644 index 00000000000..59e2b8f78cb --- /dev/null +++ b/app-admin/newsyslog/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + <name>Default assignee for orphaned packages</name> + </maintainer> +</pkgmetadata> diff --git a/app-admin/newsyslog/newsyslog-1.1.ebuild b/app-admin/newsyslog/newsyslog-1.1.ebuild new file mode 100644 index 00000000000..0acc24bcd88 --- /dev/null +++ b/app-admin/newsyslog/newsyslog-1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="a highly configurable program for managing and archiving log files" +HOMEPAGE="http://www.weird.com/~woods/projects/newsyslog.html" +SRC_URI="ftp://ftp.weird.com/pub/local/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha ~amd64 hppa ~mips ppc ppc64 ~sparc x86" +IUSE="" + +DEPEND="sys-apps/groff" +RDEPEND="virtual/cron + app-arch/gzip" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/newsyslog-html.patch +} + +src_compile() { + 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} || die "econf failed" + + emake || die +} + +src_install() { + emake \ + DESTDIR="${D}" \ + catmandir="${T}"/dont-install \ + install || die "install failed" + dodoc newsyslog.conf AUTHORS ChangeLog INSTALL NEWS README.* ToDo +} |