summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/newsyslog
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-admin/newsyslog')
-rw-r--r--app-admin/newsyslog/Manifest1
-rw-r--r--app-admin/newsyslog/files/newsyslog-html.patch21
-rw-r--r--app-admin/newsyslog/metadata.xml8
-rw-r--r--app-admin/newsyslog/newsyslog-1.1.ebuild46
4 files changed, 76 insertions, 0 deletions
diff --git a/app-admin/newsyslog/Manifest b/app-admin/newsyslog/Manifest
new file mode 100644
index 000000000000..d30fc83cd5ba
--- /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 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/metadata.xml b/app-admin/newsyslog/metadata.xml
new file mode 100644
index 000000000000..59e2b8f78cb5
--- /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 000000000000..0acc24bcd887
--- /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
+}