summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2002-09-20 10:13:57 +0000
committerroam <roam@FreeBSD.org>2002-09-20 10:13:57 +0000
commit5d35f2a00089eafe5b8d43635bf4c6637f2b8f3f (patch)
tree5d48cb2f7caf852fa6cfde0325adb10390e29e50
parentf68902b6d0239542f3f6a3115643b16c388aff07 (diff)
downloadFreeBSD-ports-5d35f2a00089eafe5b8d43635bf4c6637f2b8f3f.zip
FreeBSD-ports-5d35f2a00089eafe5b8d43635bf4c6637f2b8f3f.tar.gz
Add the sysutils/socklog port: a small and secure syslogd replacement.
PR: 41862 Submitted by: Sergei Kolobov <sergei@kolobov.com>
-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 d0984c6..adca2ac 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 0000000..6ec78a9
--- /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 0000000..632e8ac
--- /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 0000000..88627d1
--- /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 0000000..a9f5285
--- /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 0000000..5e247df
--- /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
OpenPOWER on IntegriCloud