aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-16 16:02:33 +0800
committerijliao <ijliao@FreeBSD.org>2002-09-16 16:02:33 +0800
commit3d8b868512dd167122af563c0115e664c39be859 (patch)
treed1cd1de4572e64d333aa203e5df5f60e2d5368cd
parent9ed58c0b5a8d0f6d222615bdcc17d023ca6e875f (diff)
downloadfreebsd-ports-graphics-3d8b868512dd167122af563c0115e664c39be859.tar.gz
freebsd-ports-graphics-3d8b868512dd167122af563c0115e664c39be859.tar.zst
freebsd-ports-graphics-3d8b868512dd167122af563c0115e664c39be859.zip
add metalog 0.7b
Modern syslogd replacement with PCRE support
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/metalog/Makefile37
-rw-r--r--sysutils/metalog/distinfo1
-rw-r--r--sysutils/metalog/pkg-comment1
-rw-r--r--sysutils/metalog/pkg-descr13
-rw-r--r--sysutils/metalog/pkg-plist7
6 files changed, 60 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index fca2aabe27f..7a171d296c2 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -120,6 +120,7 @@
SUBDIR += manck
SUBDIR += medusa
SUBDIR += memtest
+ SUBDIR += metalog
SUBDIR += mgeupsd
SUBDIR += mixer
SUBDIR += mkfile
diff --git a/sysutils/metalog/Makefile b/sysutils/metalog/Makefile
new file mode 100644
index 00000000000..871d603e7bf
--- /dev/null
+++ b/sysutils/metalog/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: metalog
+# Date Created: 27 Aug 2002
+# Whom: Sergei Kolobov <sergei@kolobov.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= metalog
+PORTVERSION= 0.7b
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sergei@kolobov.com
+
+LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN8= metalog.8
+DOCS= COPYING NEWS README
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/metalog.conf ${EXAMPLESDIR}
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/metalog/distinfo b/sysutils/metalog/distinfo
new file mode 100644
index 00000000000..3c97aad3658
--- /dev/null
+++ b/sysutils/metalog/distinfo
@@ -0,0 +1 @@
+MD5 (metalog-0.7beta.tgz) = 9b6878d5aac4edcf771d95c4f857cec6
diff --git a/sysutils/metalog/pkg-comment b/sysutils/metalog/pkg-comment
new file mode 100644
index 00000000000..45493190f90
--- /dev/null
+++ b/sysutils/metalog/pkg-comment
@@ -0,0 +1 @@
+Modern syslogd replacement with PCRE support
diff --git a/sysutils/metalog/pkg-descr b/sysutils/metalog/pkg-descr
new file mode 100644
index 00000000000..ad6a9faaf38
--- /dev/null
+++ b/sysutils/metalog/pkg-descr
@@ -0,0 +1,13 @@
+Metalog is a modern replacement for syslogd and klogd. The logged messages can
+be dispatched according to their facility, urgency, program name and/or
+Perl-compatible regular expressions.
+
+Log files can be automatically rotated when they exceed a certain size or age.
+External shell scripts (ex: mail) can be launched when specific patterns are
+found.
+
+Metalog is easier to configure than syslogd and syslog-ng, accepts unlimited
+number of rules and has (switchable) memory bufferisation for maximal
+performance.
+
+WWW: http://metalog.sourceforge.net/
diff --git a/sysutils/metalog/pkg-plist b/sysutils/metalog/pkg-plist
new file mode 100644
index 00000000000..5a6c795ad50
--- /dev/null
+++ b/sysutils/metalog/pkg-plist
@@ -0,0 +1,7 @@
+sbin/metalog
+%%PORTDOCS%%share/doc/metalog/COPYING
+%%PORTDOCS%%share/doc/metalog/NEWS
+%%PORTDOCS%%share/doc/metalog/README
+%%PORTDOCS%%@dirrm share/doc/metalog
+%%PORTDOCS%%share/examples/metalog/metalog.conf
+%%PORTDOCS%%@dirrm share/examples/metalog