summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2002-09-20 10:13:57 +0000
committerPeter Pentchev <roam@FreeBSD.org>2002-09-20 10:13:57 +0000
commit9ea8cfb6862d7fb07eb219a2ec09f5ec704a0209 (patch)
tree1dab71458ffc60d4f6c0c020f159e6c04302c4a9 /sysutils
parentUpdate to 2.0.3. (diff)
Add the sysutils/socklog port: a small and secure syslogd replacement.
PR: 41862 Submitted by: Sergei Kolobov <sergei@kolobov.com>
Notes
Notes: svn path=/head/; revision=66827
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/socklog/Makefile41
-rw-r--r--sysutils/socklog/distinfo1
-rw-r--r--sysutils/socklog/pkg-comment1
-rw-r--r--sysutils/socklog/pkg-descr17
-rw-r--r--sysutils/socklog/pkg-plist19
6 files changed, 80 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index d0984c6ccc2e..adca2ac4afd6 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -195,6 +195,7 @@
SUBDIR += slmon
SUBDIR += sloth
SUBDIR += socket
+ SUBDIR += socklog
SUBDIR += ssync
SUBDIR += stat
SUBDIR += stmpclean
diff --git a/sysutils/socklog/Makefile b/sysutils/socklog/Makefile
new file mode 100644
index 000000000000..6ec78a9debb9
--- /dev/null
+++ b/sysutils/socklog/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: socklog
+# Date created: 22 Aug 2002
+# Whom: Sergei Kolobov <sergei@kolobov.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= socklog
+PORTVERSION= 0.10.1
+CATEGORIES= sysutils net
+MASTER_SITES= http://smarden.org/socklog/
+
+MAINTAINER= sergei@kolobov.com
+
+WRKSRC= ${WRKDIR}/admin/${DISTNAME}/src
+ALL_TARGET= default
+
+PROGS= socklog-conf socklog tryto uncat
+.if !defined(NOPORTDOCS)
+MAN1= tryto.1 uncat.1
+MAN8= socklog-conf.8 socklog.8
+.endif
+
+do-install:
+.for file in ${PROGS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+.endfor
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${MANPREFIX}/man/man1
+.for file in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/../man/${file} ${MANPREFIX}/man/man1
+.endfor
+ ${MKDIR} ${MANPREFIX}/man/man8
+.for file in ${MAN8}
+ ${INSTALL_MAN} ${WRKSRC}/../man/${file} ${MANPREFIX}/man/man8
+.endfor
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/socklog/distinfo b/sysutils/socklog/distinfo
new file mode 100644
index 000000000000..632e8ac9b5da
--- /dev/null
+++ b/sysutils/socklog/distinfo
@@ -0,0 +1 @@
+MD5 (socklog-0.10.1.tar.gz) = ba979c500398b83300300e90650fdc36
diff --git a/sysutils/socklog/pkg-comment b/sysutils/socklog/pkg-comment
new file mode 100644
index 000000000000..88627d18dfda
--- /dev/null
+++ b/sysutils/socklog/pkg-comment
@@ -0,0 +1 @@
+Small and secure replacement for syslogd
diff --git a/sysutils/socklog/pkg-descr b/sysutils/socklog/pkg-descr
new file mode 100644
index 000000000000..a9f52856dc1a
--- /dev/null
+++ b/sysutils/socklog/pkg-descr
@@ -0,0 +1,17 @@
+socklog in cooperation with djb's daemontools is a small and secure replacement
+for syslogd. There are three main features, syslogd provides:
+
+- receiving syslog messages from an unix domain socket (/dev/log) or UDP socket
+ (0.0.0.0:514) and writing them to various files on disk depending on facility
+ and priority.
+- writing received syslog messages to an udp socket (a.b.c.d:514)
+
+socklog provides the first two features with the help of daemontools svscan,
+supervise and multilog, provides a different network logging concept and
+additionally does log event notification.
+
+multilog has a built in logfile rotation based on file size, so there is no
+need for any cron jobs or similar to rotate the logs. Log partitions can be
+calculated properly.
+
+WWW: http://smarden.org/socklog/
diff --git a/sysutils/socklog/pkg-plist b/sysutils/socklog/pkg-plist
new file mode 100644
index 000000000000..5e247dfe799e
--- /dev/null
+++ b/sysutils/socklog/pkg-plist
@@ -0,0 +1,19 @@
+bin/socklog-conf
+bin/socklog
+bin/tryto
+bin/uncat
+%%PORTDOCS%%share/doc/socklog/benefits.html
+%%PORTDOCS%%share/doc/socklog/configuration.html
+%%PORTDOCS%%share/doc/socklog/examples.html
+%%PORTDOCS%%share/doc/socklog/index.html
+%%PORTDOCS%%share/doc/socklog/install.html
+%%PORTDOCS%%share/doc/socklog/network.html
+%%PORTDOCS%%share/doc/socklog/notify.html
+%%PORTDOCS%%share/doc/socklog/readme.solaris.html
+%%PORTDOCS%%share/doc/socklog/socklog-conf.8.html
+%%PORTDOCS%%share/doc/socklog/socklog.8.html
+%%PORTDOCS%%share/doc/socklog/tryto.1.html
+%%PORTDOCS%%share/doc/socklog/uncat.1.html
+%%PORTDOCS%%share/doc/socklog/upgrade.html
+%%PORTDOCS%%share/doc/socklog/usedietlibc.html
+%%PORTDOCS%%@dirrm share/doc/socklog