summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-09-17 22:28:29 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-09-17 22:28:29 +0000
commit1793481ff2c80f4f4540c39a1a043913980c765e (patch)
treef0c36b83d2fb250c1154bb50111d5cc260154ee4 /app-admin/metalog
parentprovide virtual/logger (diff)
downloadgentoo-2-1793481ff2c80f4f4540c39a1a043913980c765e.tar.gz
gentoo-2-1793481ff2c80f4f4540c39a1a043913980c765e.tar.bz2
gentoo-2-1793481ff2c80f4f4540c39a1a043913980c765e.zip
provide virtual/logger
Diffstat (limited to 'app-admin/metalog')
-rw-r--r--app-admin/metalog/ChangeLog8
-rw-r--r--app-admin/metalog/Manifest6
-rw-r--r--app-admin/metalog/files/digest-metalog-0.6-r111
-rw-r--r--app-admin/metalog/files/digest-metalog-0.7-r11
-rw-r--r--app-admin/metalog/metalog-0.6-r11.ebuild48
-rw-r--r--app-admin/metalog/metalog-0.7-r1.ebuild51
6 files changed, 111 insertions, 4 deletions
diff --git a/app-admin/metalog/ChangeLog b/app-admin/metalog/ChangeLog
index 90ad30b3606d..60069e68f5e7 100644
--- a/app-admin/metalog/ChangeLog
+++ b/app-admin/metalog/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/metalog
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.13 2003/06/13 00:22:09 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.14 2003/09/17 22:28:16 seemant Exp $
+
+*metalog-0.6-r11 (17 Sep 2003)
+
+ 17 Sep 2003; Seemant Kulleen <seemant@gentoo.org> metalog-0.6-r11.ebuild,
+ metalog-0.7-r1.ebuild:
+ version bump to provide virtual/logger
*metalog-0.7 (12 Jun 2003)
diff --git a/app-admin/metalog/Manifest b/app-admin/metalog/Manifest
index 989d4678cbd9..f4fbf76147ef 100644
--- a/app-admin/metalog/Manifest
+++ b/app-admin/metalog/Manifest
@@ -1,8 +1,8 @@
MD5 3a344d1f26bf35290c0318d352220a1d metalog-0.6-r10.ebuild 1312
MD5 672a657106260d70d1307a3fe6c7a943 metalog-0.7.ebuild 1368
-MD5 4ccd368b74be93a668d55956564f1840 metalog-0.7-r1.ebuild 1394
-MD5 860b96a6c9eb958448ba9e85682846b2 metalog-0.6-r11.ebuild 1338
-MD5 4344eee7fb617b80f69d927fb6a1b27d ChangeLog 2312
+MD5 87e52bcf66cab70f869d413e839f020f metalog-0.7-r1.ebuild 1396
+MD5 cd88d9d166a43c34aa105b4bc884a1fa metalog-0.6-r11.ebuild 1336
+MD5 8fc988be782f791e720899c0748ec7b7 ChangeLog 2311
MD5 ab769042aa4721d0ac745943e00c70e4 files/digest-metalog-0.7 63
MD5 83efa326f58d568d66a3506852aa9528 files/metalog.confd 512
MD5 190c71684001202740eb31821945595c files/metalog.conf 1714
diff --git a/app-admin/metalog/files/digest-metalog-0.6-r11 b/app-admin/metalog/files/digest-metalog-0.6-r11
new file mode 100644
index 000000000000..df0d5f5ea96b
--- /dev/null
+++ b/app-admin/metalog/files/digest-metalog-0.6-r11
@@ -0,0 +1 @@
+MD5 67cdfc65a8820db7a6bdd35995dd9889 metalog-0.6.tar.gz 101721
diff --git a/app-admin/metalog/files/digest-metalog-0.7-r1 b/app-admin/metalog/files/digest-metalog-0.7-r1
new file mode 100644
index 000000000000..7d9b59dfecfa
--- /dev/null
+++ b/app-admin/metalog/files/digest-metalog-0.7-r1
@@ -0,0 +1 @@
+MD5 40940eb9829de7d5776b9bbd514f9d7e metalog-0.7.tar.gz 131113
diff --git a/app-admin/metalog/metalog-0.6-r11.ebuild b/app-admin/metalog/metalog-0.6-r11.ebuild
new file mode 100644
index 000000000000..f11f5ad02457
--- /dev/null
+++ b/app-admin/metalog/metalog-0.6-r11.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-0.6-r11.ebuild,v 1.1 2003/09/17 22:28:16 seemant Exp $
+
+DESCRIPTION="A highly configurable replacement for syslogd/klogd"
+SRC_URI="mirror://sourceforge/metalog/${P}.tar.gz"
+HOMEPAGE="http://metalog.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc alpha mips hppa amd64"
+
+DEPEND=">=dev-libs/libpcre-3.4"
+
+PROVIDE="virtual/logger"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ # adds a pidfile option. NiCE aeoo! :)
+ patch -p1 < ${FILESDIR}/metalog-0.6-gentoo.patch || die
+ cd ${S}/src
+ mv metalog.h metalog.h.orig
+ sed -e "s:/etc/metalog.conf:/etc/metalog/metalog.conf:g" \
+ metalog.h.orig > metalog.h
+ cd ${S}/man
+ mv metalog.8 metalog.8.orig
+ sed -e "s:/etc/metalog.conf:/etc/metalog/metalog.conf:g" \
+ metalog.8.orig > metalog.8
+}
+
+src_compile() {
+ econf
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS COPYING ChangeLog README
+ newdoc metalog.conf metalog.conf.sample
+
+ insinto /etc/metalog ; doins ${FILESDIR}/metalog.conf
+ exeinto /etc/init.d ; newexe ${FILESDIR}/metalog.rc6 metalog
+ insinto /etc/conf.d ; newins ${FILESDIR}/metalog.confd metalog
+
+ exeinto /usr/sbin
+ doexe ${FILESDIR}/consolelog.sh
+}
diff --git a/app-admin/metalog/metalog-0.7-r1.ebuild b/app-admin/metalog/metalog-0.7-r1.ebuild
new file mode 100644
index 000000000000..bea872045e94
--- /dev/null
+++ b/app-admin/metalog/metalog-0.7-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-0.7-r1.ebuild,v 1.1 2003/09/17 22:28:16 seemant Exp $
+
+DESCRIPTION="A highly configurable replacement for syslogd/klogd"
+SRC_URI="mirror://sourceforge/metalog/${P}.tar.gz"
+HOMEPAGE="http://metalog.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~amd64"
+
+DEPEND=">=dev-libs/libpcre-3.4"
+
+PROVIDE="virtual/logger"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ cd ${S}/src
+ mv metalog.h metalog.h.orig
+ sed -e "s:/metalog.conf:/metalog/metalog.conf:g" \
+ metalog.h.orig > metalog.h
+ cd ${S}/man
+ mv metalog.8 metalog.8.orig
+ sed -e "s:/etc/metalog.conf:/etc/metalog/metalog.conf:g" \
+ metalog.8.orig > metalog.8
+}
+
+src_compile() {
+ econf
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS COPYING ChangeLog README
+ newdoc metalog.conf metalog.conf.sample
+
+ insinto /etc/metalog ; doins ${FILESDIR}/metalog.conf
+ exeinto /etc/init.d ; newexe ${FILESDIR}/metalog.rc6 metalog
+ insinto /etc/conf.d ; newins ${FILESDIR}/metalog.confd metalog
+
+ exeinto /usr/sbin
+ doexe ${FILESDIR}/consolelog.sh
+}
+
+pkg_postinst() {
+ einfo "Buffering is now off by default in metalog 0.7. Add -a to"
+ einfo "METALOG_OPTS in /etc/conf.d/metalog to turn buffering back on."
+}