From b4e9d935a9b1af12372dcd83cdded40389264b09 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Mon, 11 Mar 2002 22:30:15 +0000 Subject: add logger provide --- app-admin/metalog/ChangeLog | 8 +++++- app-admin/metalog/files/digest-metalog-0.6-r7 | 1 - app-admin/metalog/files/digest-metalog-0.6-r8 | 1 - app-admin/metalog/files/digest-metalog-0.6-r9 | 1 + app-admin/metalog/files/metalog.rc5 | 28 ------------------- app-admin/metalog/files/metalog.rc6 | 3 +- app-admin/metalog/metalog-0.6-r7.ebuild | 40 --------------------------- app-admin/metalog/metalog-0.6-r8.ebuild | 38 ------------------------- app-admin/metalog/metalog-0.6-r9.ebuild | 40 +++++++++++++++++++++++++++ 9 files changed, 50 insertions(+), 110 deletions(-) delete mode 100644 app-admin/metalog/files/digest-metalog-0.6-r7 delete mode 100644 app-admin/metalog/files/digest-metalog-0.6-r8 create mode 100644 app-admin/metalog/files/digest-metalog-0.6-r9 delete mode 100644 app-admin/metalog/files/metalog.rc5 delete mode 100644 app-admin/metalog/metalog-0.6-r7.ebuild delete mode 100644 app-admin/metalog/metalog-0.6-r8.ebuild create mode 100644 app-admin/metalog/metalog-0.6-r9.ebuild (limited to 'app-admin') diff --git a/app-admin/metalog/ChangeLog b/app-admin/metalog/ChangeLog index ca07d1877c79..2a73c0dd08a0 100644 --- a/app-admin/metalog/ChangeLog +++ b/app-admin/metalog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/metalog # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.1 2002/02/01 21:52:59 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.2 2002/03/11 22:30:15 azarah Exp $ + +*metalog-0.6-r9 (11 March 2002) + + 11 March 2002; M.Schlemmer : + + Update rc-script to provide "logger". *metalog-0.6-r8 (1 Feb 2002) diff --git a/app-admin/metalog/files/digest-metalog-0.6-r7 b/app-admin/metalog/files/digest-metalog-0.6-r7 deleted file mode 100644 index df0d5f5ea96b..000000000000 --- a/app-admin/metalog/files/digest-metalog-0.6-r7 +++ /dev/null @@ -1 +0,0 @@ -MD5 67cdfc65a8820db7a6bdd35995dd9889 metalog-0.6.tar.gz 101721 diff --git a/app-admin/metalog/files/digest-metalog-0.6-r8 b/app-admin/metalog/files/digest-metalog-0.6-r8 deleted file mode 100644 index df0d5f5ea96b..000000000000 --- a/app-admin/metalog/files/digest-metalog-0.6-r8 +++ /dev/null @@ -1 +0,0 @@ -MD5 67cdfc65a8820db7a6bdd35995dd9889 metalog-0.6.tar.gz 101721 diff --git a/app-admin/metalog/files/digest-metalog-0.6-r9 b/app-admin/metalog/files/digest-metalog-0.6-r9 new file mode 100644 index 000000000000..df0d5f5ea96b --- /dev/null +++ b/app-admin/metalog/files/digest-metalog-0.6-r9 @@ -0,0 +1 @@ +MD5 67cdfc65a8820db7a6bdd35995dd9889 metalog-0.6.tar.gz 101721 diff --git a/app-admin/metalog/files/metalog.rc5 b/app-admin/metalog/files/metalog.rc5 deleted file mode 100644 index 883c0b2154f4..000000000000 --- a/app-admin/metalog/files/metalog.rc5 +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -#RCUPDATE:1 2 3 4 5:19:This line is required for script management - -. /etc/rc.d/config/functions - -SERVICE=metalog -opts="start stop restart" - -EXE=/usr/sbin/metalog - -start() { - ebegin "Starting $SERVICE..." - start-stop-daemon --start --quiet --exec $EXE -- -B -s - eend $? "Started $SERVICE." "Error Starting $SERVICE." -} - -stop() { - ebegin "Stopping $SERVICE..." - start-stop-daemon --stop --quiet --exec $EXE - eend $? "Stopped $SERVICE." "Error Stopping $SERVICE." -} - -restart() { - stop - start -} - -doservice ${@} diff --git a/app-admin/metalog/files/metalog.rc6 b/app-admin/metalog/files/metalog.rc6 index 48fd89919f02..1144f0b9bcc7 100644 --- a/app-admin/metalog/files/metalog.rc6 +++ b/app-admin/metalog/files/metalog.rc6 @@ -1,10 +1,11 @@ #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/files/metalog.rc6,v 1.5 2002/01/26 22:43:51 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/files/metalog.rc6,v 1.6 2002/03/11 22:30:15 azarah Exp $ depend() { need clock + provide logger } start() { diff --git a/app-admin/metalog/metalog-0.6-r7.ebuild b/app-admin/metalog/metalog-0.6-r7.ebuild deleted file mode 100644 index 16c74110f677..000000000000 --- a/app-admin/metalog/metalog-0.6-r7.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Jerry A! -# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-0.6-r7.ebuild,v 1.1 2001/12/07 04:19:44 jerrya Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="A highly configurable replacement for syslogd/klogd" -SRC_URI="http://prdownloads.sourceforge.net/metalog/${P}.tar.gz" -HOMEPAGE="http://metalog.sourceforge.net/" - -DEPEND="virtual/glibc - >=dev-libs/libpcre-3.4" - - -src_unpack() { - unpack ${A} - 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 -} - -src_compile() { - ./configure --prefix=/usr --mandir=/usr/share/man || die - - emake || die -} - -src_install () { - make DESTDIR=${D} install || die - - insinto /etc/metalog - doins metalog.conf - - exeinto /etc/init.d - newexe ${FILESDIR}/metalog.rc6 metalog - - dodoc AUTHORS COPYING ChangeLog README - newdoc metalog.conf metalog.conf.sample -} diff --git a/app-admin/metalog/metalog-0.6-r8.ebuild b/app-admin/metalog/metalog-0.6-r8.ebuild deleted file mode 100644 index e5416105c5c9..000000000000 --- a/app-admin/metalog/metalog-0.6-r8.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Jerry A! -# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-0.6-r8.ebuild,v 1.2 2002/01/26 22:43:51 woodchip Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="A highly configurable replacement for syslogd/klogd" -SRC_URI="http://prdownloads.sourceforge.net/metalog/${P}.tar.gz" -HOMEPAGE="http://metalog.sourceforge.net/" - -DEPEND="virtual/glibc >=dev-libs/libpcre-3.4" - -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 -} - -src_compile() { - ./configure --prefix=/usr --mandir=/usr/share/man || die - - emake || die -} - -src_install () { - make DESTDIR=${D} install || die - - dodoc AUTHORS COPYING ChangeLog README - newdoc metalog.conf metalog.conf.sample - - insinto /etc/metalog ; doins metalog.conf - exeinto /etc/init.d ; newexe ${FILESDIR}/metalog.rc6 metalog - insinto /etc/conf.d ; newins ${FILESDIR}/metalog.confd metalog -} diff --git a/app-admin/metalog/metalog-0.6-r9.ebuild b/app-admin/metalog/metalog-0.6-r9.ebuild new file mode 100644 index 000000000000..90623dd9f496 --- /dev/null +++ b/app-admin/metalog/metalog-0.6-r9.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Jerry A! +# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-0.6-r9.ebuild,v 1.1 2002/03/11 22:30:15 azarah Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A highly configurable replacement for syslogd/klogd" +SRC_URI="http://prdownloads.sourceforge.net/metalog/${P}.tar.gz" +HOMEPAGE="http://metalog.sourceforge.net/" + +DEPEND="virtual/glibc >=dev-libs/libpcre-3.4" + +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 +} + +src_compile() { + ./configure --prefix=/usr \ + --mandir=/usr/share/man || die + + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING ChangeLog README + newdoc metalog.conf metalog.conf.sample + + insinto /etc/metalog ; doins metalog.conf + exeinto /etc/init.d ; newexe ${FILESDIR}/metalog.rc6 metalog + insinto /etc/conf.d ; newins ${FILESDIR}/metalog.confd metalog +} + -- cgit v1.2.3-65-gdbad