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
commit302f4e42f701bb85adf9adf9b0e9b562444d645b (patch)
tree3351e68df312b9d1f49abedb2f9a43f1bf7e4c2d /app-admin/logsurfer+
parentVersion bump #158820 by Guido Flohr. (diff)
downloadhistorical-302f4e42f701bb85adf9adf9b0e9b562444d645b.tar.gz
historical-302f4e42f701bb85adf9adf9b0e9b562444d645b.tar.bz2
historical-302f4e42f701bb85adf9adf9b0e9b562444d645b.zip
Initial import.
Package-Manager: portage-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..6dee465e374a
--- /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 702 RMD160 613caf6e943e172d5877e17801f2ff06292a88e4 SHA1 882c33f0b968a9827d451f4904ceb4a646139afe SHA256 6eb04296b520b9aa79acc04be28494a5eba7c5b9d1e3999fc80f2dd251f04fbd
+MD5 a62bec2d8ef290a15778fc3a614d784e files/logsurfer.initd 702
+RMD160 613caf6e943e172d5877e17801f2ff06292a88e4 files/logsurfer.initd 702
+SHA256 6eb04296b520b9aa79acc04be28494a5eba7c5b9d1e3999fc80f2dd251f04fbd files/logsurfer.initd 702
+DIST logsurfer+-1.7.tar.gz 198289 RMD160 ad68651d5b87e0bba76871cd5f30ed94d861513b SHA1 9fe9b2356c34fe691a8b0c66514d8cbe3c3b33fa SHA256 b0cce7311f6413a1a903a2d4925051ee68a882a7eb093f41f1b7d7bd7bd442a0
+EBUILD logsurfer+-1.7.ebuild 876 RMD160 00406ee5e2d71e80fda0dff8041b86ccf3a7430d SHA1 77fe6ad9237ca59d6e028a2fea6f7e8c73c15588 SHA256 ed16f2d9bf1e771bfb9d833318b74198ef81484c802a3253e87fe4b48b4a0041
+MD5 db348a490331fd93ddc641494eb0205e logsurfer+-1.7.ebuild 876
+RMD160 00406ee5e2d71e80fda0dff8041b86ccf3a7430d logsurfer+-1.7.ebuild 876
+SHA256 ed16f2d9bf1e771bfb9d833318b74198ef81484c802a3253e87fe4b48b4a0041 logsurfer+-1.7.ebuild 876
+MISC ChangeLog 401 RMD160 2218b45b63f65151dcdc7c3132ad635b32b85ac2 SHA1 711ed2e0514acb40aab7fb75a5406291f3863868 SHA256 2b4dc3c516cb5ae2646a1bce2e5313a6b702d0e002b36958bdc465bf0139637c
+MD5 cc5f471c8e34db54487a31d8f4c58c2c ChangeLog 401
+RMD160 2218b45b63f65151dcdc7c3132ad635b32b85ac2 ChangeLog 401
+SHA256 2b4dc3c516cb5ae2646a1bce2e5313a6b702d0e002b36958bdc465bf0139637c ChangeLog 401
+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>
+