From 0b6c611cad906314c4a26db3977f90d18b73f604 Mon Sep 17 00:00:00 2001 From: sahil Date: Tue, 17 Aug 2010 23:00:22 +0000 Subject: 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 "" -> /some/file. WWW: http://sievelog.googlecode.com/ PR: ports/149347 Submitted by: Jesse Kempf --- sysutils/Makefile | 1 + sysutils/sievelog/Makefile | 33 +++++++++++++++++++++++++++++++++ sysutils/sievelog/distinfo | 3 +++ sysutils/sievelog/files/pkg-message.in | 4 ++++ sysutils/sievelog/pkg-descr | 11 +++++++++++ 5 files changed, 52 insertions(+) create mode 100644 sysutils/sievelog/Makefile create mode 100644 sysutils/sievelog/distinfo create mode 100644 sysutils/sievelog/files/pkg-message.in create mode 100644 sysutils/sievelog/pkg-descr 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 +# $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 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 "" -> /some/file. + +WWW: http://sievelog.googlecode.com/ -- cgit