aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsahil <sahil@FreeBSD.org>2010-08-18 07:00:22 +0800
committersahil <sahil@FreeBSD.org>2010-08-18 07:00:22 +0800
commit0b6c611cad906314c4a26db3977f90d18b73f604 (patch)
tree79dfda0f3b3d8273391a53d8719229077fbfbd89 /sysutils
parentb921a7a9b79771c93e24c2a0e9df21b448c7278c (diff)
downloadfreebsd-ports-gnome-0b6c611cad906314c4a26db3977f90d18b73f604.tar.gz
freebsd-ports-gnome-0b6c611cad906314c4a26db3977f90d18b73f604.tar.zst
freebsd-ports-gnome-0b6c611cad906314c4a26db3977f90d18b73f604.zip
Sievelog is a message dispatcher inspired by swatch but more
focused on the following problems: * Having a clean syntax * Directing a raw syslog stream to different files based on content * Mailing out alerts based on content * Being fast Sievelog's syntax is as simple as "<regex>" -> /some/file. WWW: http://sievelog.googlecode.com/ PR: ports/149347 Submitted by: Jesse Kempf <jkempf@davisvision.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/sievelog/Makefile33
-rw-r--r--sysutils/sievelog/distinfo3
-rw-r--r--sysutils/sievelog/files/pkg-message.in4
-rw-r--r--sysutils/sievelog/pkg-descr11
5 files changed, 52 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 69229157243f..7f0f16bf3847 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -778,6 +778,7 @@
SUBDIR += sge61
SUBDIR += sge62
SUBDIR += shlock
+ SUBDIR += sievelog
SUBDIR += skill
SUBDIR += slack
SUBDIR += sleuthkit
diff --git a/sysutils/sievelog/Makefile b/sysutils/sievelog/Makefile
new file mode 100644
index 000000000000..c32ca29e72e5
--- /dev/null
+++ b/sysutils/sievelog/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: sievelog
+# Date created: 2010-07-26
+# Whom: Jesse Kempf <jessekempf@gmail.com>
+# $FreeBSD$
+#
+
+PORTNAME= sievelog
+PORTVERSION= 1.0.1
+CATEGORIES= sysutils python
+MASTER_SITES= GOOGLE_CODE
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jessekempf@gmail.com
+COMMENT= Syslog message filter
+
+USE_PYTHON= 2.5+
+USE_PYDISTUTILS=yes
+
+SUB_FILES= pkg-message
+
+PLIST_FILES= bin/${PORTNAME} \
+ etc/${PORTNAME}.conf.example
+
+MAN1= ${PORTNAME}.1
+MAN5= ${PORTNAME}.conf.5
+
+post-install:
+ @${CP} -p ${WRKSRC}/test.sv ${PREFIX}/etc/${PORTNAME}.conf.example
+ @${INSTALL_MAN} ${WRKSRC}/man/man1/${MAN1} ${MANPREFIX}/man/man1
+ @${INSTALL_MAN} ${WRKSRC}/man/man5/${MAN5} ${MANPREFIX}/man/man5
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/sysutils/sievelog/distinfo b/sysutils/sievelog/distinfo
new file mode 100644
index 000000000000..f3e03096b2e8
--- /dev/null
+++ b/sysutils/sievelog/distinfo
@@ -0,0 +1,3 @@
+MD5 (sievelog-1.0.1.tar.gz) = f9a74569ab219705fef8579995340275
+SHA256 (sievelog-1.0.1.tar.gz) = eadcd61dcc9e86abe3ecfe65ffbae880871d9559ac31a660122ea4269da81111
+SIZE (sievelog-1.0.1.tar.gz) = 5482
diff --git a/sysutils/sievelog/files/pkg-message.in b/sysutils/sievelog/files/pkg-message.in
new file mode 100644
index 000000000000..89cd06a143ff
--- /dev/null
+++ b/sysutils/sievelog/files/pkg-message.in
@@ -0,0 +1,4 @@
+An example sievelog configuration file has been dropped
+in %%PREFIX%%/etc/sievelog.conf.example.
+
+For more details, see http://sievelog.googlecode.com/.
diff --git a/sysutils/sievelog/pkg-descr b/sysutils/sievelog/pkg-descr
new file mode 100644
index 000000000000..870ce47ccfa4
--- /dev/null
+++ b/sysutils/sievelog/pkg-descr
@@ -0,0 +1,11 @@
+Sievelog is a message dispatcher inspired by swatch but more focused on the
+following problems:
+
+ * Having a clean syntax
+ * Directing a raw syslog stream to different files based on content
+ * Mailing out alerts based on content
+ * Being fast
+
+Sievelog's syntax is as simple as "<regex>" -> /some/file.
+
+WWW: http://sievelog.googlecode.com/