summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2006-12-30 01:06:27 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2006-12-30 01:06:27 +0000
commitffd19f771710a54914b512d712c50a6a1b68bcd6 (patch)
tree14344952aacde12e409176177647fc824f0dac9d /app-admin/logsurfer+
parentVersion bump #158820 by Guido Flohr. (diff)
downloadgentoo-2-ffd19f771710a54914b512d712c50a6a1b68bcd6.tar.gz
gentoo-2-ffd19f771710a54914b512d712c50a6a1b68bcd6.tar.bz2
gentoo-2-ffd19f771710a54914b512d712c50a6a1b68bcd6.zip
Initial import.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-admin/logsurfer+')
-rw-r--r--app-admin/logsurfer+/ChangeLog10
-rw-r--r--app-admin/logsurfer+/Manifest24
-rw-r--r--app-admin/logsurfer+/files/digest-logsurfer+-1.73
-rw-r--r--app-admin/logsurfer+/files/logsurfer.confd4
-rw-r--r--app-admin/logsurfer+/files/logsurfer.initd31
-rw-r--r--app-admin/logsurfer+/logsurfer+-1.7.ebuild31
-rw-r--r--app-admin/logsurfer+/metadata.xml12
7 files changed, 115 insertions, 0 deletions
diff --git a/app-admin/logsurfer+/ChangeLog b/app-admin/logsurfer+/ChangeLog
new file mode 100644
index 000000000000..5d1a8414ca6a
--- /dev/null
+++ b/app-admin/logsurfer+/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-admin/logsurfer+
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logsurfer+/ChangeLog,v 1.1 2006/12/30 01:06:27 matsuu Exp $
+
+*logsurfer+-1.7 (30 Dec 2006)
+
+ 30 Dec 2006; MATSUU Takuto <matsuu@gentoo.org> +files/logsurfer.confd,
+ +files/logsurfer.initd, +metadata.xml, +logsurfer+-1.7.ebuild:
+ Initial import.
+
diff --git a/app-admin/logsurfer+/Manifest b/app-admin/logsurfer+/Manifest
new file mode 100644
index 000000000000..e2f4e5fa4894
--- /dev/null
+++ b/app-admin/logsurfer+/Manifest
@@ -0,0 +1,24 @@
+AUX logsurfer.confd 106 RMD160 cc432b204fadabd7f74f68000f4b50a26dbfa091 SHA1 39b7ad5a0f9f063ebc7b157985f42dda3d2803e4 SHA256 28dca27c656d36f0f007c1acf08b822d0ff8584ea5aad8e158bc6c63c162b321
+MD5 b51af969c53ae65b279f4b284a947530 files/logsurfer.confd 106
+RMD160 cc432b204fadabd7f74f68000f4b50a26dbfa091 files/logsurfer.confd 106
+SHA256 28dca27c656d36f0f007c1acf08b822d0ff8584ea5aad8e158bc6c63c162b321 files/logsurfer.confd 106
+AUX logsurfer.initd 598 RMD160 69b63ab6ee042548307b722b1e311d7273be8a81 SHA1 9946fb74916f4de839257147283c08c825d58a94 SHA256 c2366ea4ce128cc34920298db21aaae7e2b483115d3396941daa668df13e6cef
+MD5 de8c18bb15bf1ad360e1e790e76c3cea files/logsurfer.initd 598
+RMD160 69b63ab6ee042548307b722b1e311d7273be8a81 files/logsurfer.initd 598
+SHA256 c2366ea4ce128cc34920298db21aaae7e2b483115d3396941daa668df13e6cef files/logsurfer.initd 598
+DIST logsurfer+-1.7.tar.gz 198289 RMD160 ad68651d5b87e0bba76871cd5f30ed94d861513b SHA1 9fe9b2356c34fe691a8b0c66514d8cbe3c3b33fa SHA256 b0cce7311f6413a1a903a2d4925051ee68a882a7eb093f41f1b7d7bd7bd442a0
+EBUILD logsurfer+-1.7.ebuild 772 RMD160 7e84f05d33bf6bb2b6354c61030af9e0f9b3c4bf SHA1 5c8b547b2072e4a3b5c92f462699e650dc12e420 SHA256 942e3226defd3e05a3699331b576fa23035d16ec05611e6d3d615fc8cd358067
+MD5 e099e9ec8af47a9c8a51239a34cf32c1 logsurfer+-1.7.ebuild 772
+RMD160 7e84f05d33bf6bb2b6354c61030af9e0f9b3c4bf logsurfer+-1.7.ebuild 772
+SHA256 942e3226defd3e05a3699331b576fa23035d16ec05611e6d3d615fc8cd358067 logsurfer+-1.7.ebuild 772
+MISC ChangeLog 309 RMD160 89f067dbb478e0987d9ee9c6323e85476f7e471c SHA1 3c7b38d6ece3b933fa66e3a9f7d230834ccd2f83 SHA256 211c7ee875a97d3ca43cb87a051687aa8d55b15012866641e5260ae55d9d055f
+MD5 a7c25eb980f73b88dd46a97a7623638d ChangeLog 309
+RMD160 89f067dbb478e0987d9ee9c6323e85476f7e471c ChangeLog 309
+SHA256 211c7ee875a97d3ca43cb87a051687aa8d55b15012866641e5260ae55d9d055f ChangeLog 309
+MISC metadata.xml 288 RMD160 57e8875adbf49064b12a93e82281d6dde5ea1c82 SHA1 7bd1f7914206fd921041dbe00efaece242c90f8c SHA256 11444817c01f088312ea602bdd3a7fd0bf36796e37fb834f34b72ac0b22e3a51
+MD5 6e3e1a544f453329394976cef3166da1 metadata.xml 288
+RMD160 57e8875adbf49064b12a93e82281d6dde5ea1c82 metadata.xml 288
+SHA256 11444817c01f088312ea602bdd3a7fd0bf36796e37fb834f34b72ac0b22e3a51 metadata.xml 288
+MD5 7b413190cb696b26068749fb5fb61722 files/digest-logsurfer+-1.7 244
+RMD160 6fb4c43540ec44fa7bf087253b03a3e3bc0bcdc7 files/digest-logsurfer+-1.7 244
+SHA256 5cb6edfeddfe34b6565d8637ff8ccfeba9baa05562163e5609999495e7ad49bd files/digest-logsurfer+-1.7 244
diff --git a/app-admin/logsurfer+/files/digest-logsurfer+-1.7 b/app-admin/logsurfer+/files/digest-logsurfer+-1.7
new file mode 100644
index 000000000000..1f2c6963b64e
--- /dev/null
+++ b/app-admin/logsurfer+/files/digest-logsurfer+-1.7
@@ -0,0 +1,3 @@
+MD5 f3536af5bd612dde9880f7018213f9bd logsurfer+-1.7.tar.gz 198289
+RMD160 ad68651d5b87e0bba76871cd5f30ed94d861513b logsurfer+-1.7.tar.gz 198289
+SHA256 b0cce7311f6413a1a903a2d4925051ee68a882a7eb093f41f1b7d7bd7bd442a0 logsurfer+-1.7.tar.gz 198289
diff --git a/app-admin/logsurfer+/files/logsurfer.confd b/app-admin/logsurfer+/files/logsurfer.confd
new file mode 100644
index 000000000000..cb4e596bf543
--- /dev/null
+++ b/app-admin/logsurfer+/files/logsurfer.confd
@@ -0,0 +1,4 @@
+# /etc/conf.d/logsurfer
+
+# Options to pass to the logsurfer process
+LOGSURFER_OPTS="-f /var/log/messages"
diff --git a/app-admin/logsurfer+/files/logsurfer.initd b/app-admin/logsurfer+/files/logsurfer.initd
new file mode 100644
index 000000000000..2a7832fe1dd1
--- /dev/null
+++ b/app-admin/logsurfer+/files/logsurfer.initd
@@ -0,0 +1,31 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logsurfer+/files/logsurfer.initd,v 1.1 2006/12/30 01:06:27 matsuu Exp $
+
+depend() {
+ use logger
+}
+
+checkconfig() {
+ if [ ! -f /etc/logsurfer.conf ] ; then
+ eerror "Please create /etc/logsurfer.conf"
+ return 1
+ fi
+ return 0
+}
+
+start() {
+ checkconfig || return $?
+
+ ebegin "Starting logsurfer"
+ start-stop-daemon --start --background --exec /usr/bin/logsurfer \
+ -- -p /var/run/logsurfer.pid ${LOGSURFER_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping logsurfer"
+ start-stop-daemon --stop --pidfile /var/run/logsurfer.pid
+ eend $?
+}
diff --git a/app-admin/logsurfer+/logsurfer+-1.7.ebuild b/app-admin/logsurfer+/logsurfer+-1.7.ebuild
new file mode 100644
index 000000000000..d3da38725c7a
--- /dev/null
+++ b/app-admin/logsurfer+/logsurfer+-1.7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logsurfer+/logsurfer+-1.7.ebuild,v 1.1 2006/12/30 01:06:27 matsuu Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Real Time Log Monitoring and Alerting"
+HOMEPAGE="http://www.crypt.gen.nz/logsurfer/"
+SRC_URI="http://kerryt.orcon.net.nz/${P}.tar.gz
+ http://www.crypt.gen.nz/logsurfer/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_compile() {
+ econf --with-etcdir=/etc || die
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin src/logsurfer || die
+ doman man/logsurfer.1 man/logsurfer.conf.4 || die
+
+ newinitd "${FILESDIR}"/logsurfer.initd logsurfer || die
+ newconfd "${FILESDIR}"/logsurfer.confd logsurfer || die
+ dodoc ChangeLog README TODO
+ docinto config-examples
+ dodoc config-examples/*
+}
diff --git a/app-admin/logsurfer+/metadata.xml b/app-admin/logsurfer+/metadata.xml
new file mode 100644
index 000000000000..b440fda38862
--- /dev/null
+++ b/app-admin/logsurfer+/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd></herd>
+<maintainer>
+<email>matsuu@gentoo.org</email>
+<name>MATSUU Takuto</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+