summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-11 19:36:47 +0000
committerMike Frysinger <vapier@gentoo.org>2010-07-11 19:36:47 +0000
commit74cfe721656efbb5364acabd5d4ebe4994af9d5f (patch)
tree6ffbfb5603218b9b495af39dd232f6de9d9f1f0f /app-admin
parentOnly require libsdl[alsa] when xbmc is being built with USE=alsa #327727 by D... (diff)
downloadgentoo-2-74cfe721656efbb5364acabd5d4ebe4994af9d5f.tar.gz
gentoo-2-74cfe721656efbb5364acabd5d4ebe4994af9d5f.tar.bz2
gentoo-2-74cfe721656efbb5364acabd5d4ebe4994af9d5f.zip
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/metalog/files/metalog.conf136
-rw-r--r--app-admin/metalog/metalog-0.8-r1.ebuild48
2 files changed, 0 insertions, 184 deletions
diff --git a/app-admin/metalog/files/metalog.conf b/app-admin/metalog/files/metalog.conf
deleted file mode 100644
index 68ee5bbc70ab..000000000000
--- a/app-admin/metalog/files/metalog.conf
+++ /dev/null
@@ -1,136 +0,0 @@
-# Sample Metalog configuration file
-
-maxsize = 1048576 # size in bytes
-maxtime = 86400 # time in seconds (86400 = 1 day)
-maxfiles = 5 # num files per dir
-
-# This will capture all of the internal log messages that metalog itself
-# generates. If you use any "command" options below, you will want this
-# as metalog generates a lot of status messages whenever it executes a
-# command and children processes exit.
-#Metalog :
-#
-# program = "metalog"
-# logdir = "/var/log/metalog"
-# break = 1
-
-# Uncomment and adjust the following lines according to your console logging
-# needs. If you want to only output things that were not caught by other log
-# sections, move this to the end of the file.
-#
-# Hint: you can change the log console in /etc/conf.d/metalog
-#
-#console logging :
-#
-# facility = "*"
-# command = "/sbin/consolelog.sh"
-
-Everything important :
-
- facility = "*"
- minimum = 6
- logdir = "/var/log/everything"
-
-Everything very important :
-
- facility = "*"
- minimum = 1
- logdir = "/var/log/critical"
-
-Password failures :
-
- regex = "(password|login|authentication)\s+(fail|invalid)"
- regex = "(failed|invalid)\s+(password|login|authentication|user)"
- regex = "ILLEGAL ROOT LOGIN"
- logdir = "/var/log/pwdfail"
-# command = "/usr/local/sbin/mail_pwd_failures.sh"
-
-Kernel messages :
-
- facility = "kern"
- logdir = "/var/log/kernel"
- break = 1
-
-Crond :
-
- facility = "cron"
- logdir = "/var/log/crond"
- break = 1
-
-FTP Server :
-
- facility = "ftp"
- logdir = "/var/log/ftpd"
- break = 1
-
-News Server :
-
- facility = "news"
- logdir = "/var/log/news"
- break = 1
-
-Dudes firewalled by IPTrap :
-
- program = "iptrap"
- logdir = "/var/log/iptrap"
- break = 1
-
-SSH Server :
-
- program = "sshd"
- logdir = "/var/log/sshd"
- break = 1
-
-Telnet :
-
- program = "login"
- logdir = "/var/log/telnet"
- break = 1
-
-Imap :
-
- program = "/usr/sbin/imapd"
- logdir = "/var/log/imap"
- break = 1
-
-POP Toaster :
-
- program = "/usr/sbin/ipop3d"
- logdir = "/var/log/pop"
- break = 1
-
-#Add authenticated IP addresses for SMTP relaying :
-
-# program = "/usr/sbin/ipop3d"
-# regex = "Login.+nmsgs="
-# command = "/usr/local/sbin/add_pop_address.sh"
-# break = 1
-
-Mail :
-
- facility = "mail"
- neg_regex= "starting daemon"
- logdir = "/var/log/mail"
- break = 1
-
-Exim :
-
- program_regex = "^exim"
- logdir = "/var/log/exim"
- break = 1
-
-Ppp :
- program_regex = "^ppp"
- logdir = "/var/log/ppp"
- break = 1
-
-Postgresql :
- program_regex = "^postmaster"
- program_regex = "^postgres"
- logdir = "/var/log/postgres"
- break = 1
-
-Apache :
- program_regex = "^httpd"
- logdir = "/var/log/http"
- break = 1
diff --git a/app-admin/metalog/metalog-0.8-r1.ebuild b/app-admin/metalog/metalog-0.8-r1.ebuild
deleted file mode 100644
index ecfc06cf5a61..000000000000
--- a/app-admin/metalog/metalog-0.8-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-0.8-r1.ebuild,v 1.2 2008/04/24 04:37:35 ricmm Exp $
-
-MY_P="${P/_/-}"
-DESCRIPTION="A highly configurable replacement for syslogd/klogd"
-HOMEPAGE="http://metalog.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=">=dev-libs/libpcre-3.4"
-PROVIDE="virtual/logger"
-
-S=${WORKDIR}/${MY_P}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog README NEWS
- newdoc metalog.conf metalog.conf.sample
-
- insinto /etc
- doins "${FILESDIR}"/metalog.conf || die
-
- newinitd "${FILESDIR}"/metalog.initd metalog
- newconfd "${FILESDIR}"/metalog.confd metalog
-
- into /
- dosbin "${FILESDIR}"/consolelog.sh || die
-}
-
-pkg_preinst() {
- if [[ -d "${ROOT}"/etc/metalog ]] && [[ ! -e "${ROOT}"/etc/metalog.conf ]] ; then
- mv -f "${ROOT}"/etc/metalog/metalog.conf "${ROOT}"/etc/metalog.conf
- rmdir "${ROOT}"/etc/metalog
- fi
-}
-
-pkg_postinst() {
- ewarn "The default metalog.conf file has been moved"
- ewarn "from /etc/metalog/metalog.conf to just"
- ewarn "/etc/metalog.conf. If you had a standard"
- ewarn "setup, the file has been moved for you."
-}