aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-07 21:36:15 +0800
committerpav <pav@FreeBSD.org>2006-05-07 21:36:15 +0800
commitc80f06e2ce25eb7991b9ee21dab34df3df71295e (patch)
tree3af86b1767365e57c659898e9801c4852ce86814 /sysutils
parent230bb532405d576d930468357a38f83af2c7840e (diff)
downloadfreebsd-ports-gnome-c80f06e2ce25eb7991b9ee21dab34df3df71295e.tar.gz
freebsd-ports-gnome-c80f06e2ce25eb7991b9ee21dab34df3df71295e.tar.zst
freebsd-ports-gnome-c80f06e2ce25eb7991b9ee21dab34df3df71295e.zip
Logserial stores data received from serial device in a file. Upon receiving
SIGHUP it reopens the file, thus allowing automated rotation of logs. One possible application of logserial is to save logs of PBX. PR: ports/93091 Submitted by: Anastasya Batieva <nastya@rsu.ru>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/logserial/Makefile27
-rw-r--r--sysutils/logserial/distinfo2
-rw-r--r--sysutils/logserial/pkg-descr3
4 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 8227530f0927..226f4bd4fd58 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -297,6 +297,7 @@
SUBDIR += log_analysis
SUBDIR += logmon
SUBDIR += logrotate
+ SUBDIR += logserial
SUBDIR += logtool
SUBDIR += logtool-devel
SUBDIR += lookat
diff --git a/sysutils/logserial/Makefile b/sysutils/logserial/Makefile
new file mode 100644
index 000000000000..e9e0466c1b14
--- /dev/null
+++ b/sysutils/logserial/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: logserial
+# Date created: 25 November 2005
+# Whom: nastya
+#
+# $FreeBSD$
+#
+
+PORTNAME= logserial
+PORTVERSION= 1.0
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.rsu.ru/pub/sysutils/unix/
+
+MAINTAINER= nastya@rsu.ru
+COMMENT= Daemon logging data from serial port
+
+USE_RC_SUBR= yes
+
+MAN8= logserial.8
+MANCOMPRESSED= yes
+
+PLIST_FILES= bin/logserial \
+ etc/rc.d/logserial.sh \
+
+post-patch:
+ @${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${WRKSRC}/logserial.sh
+
+.include <bsd.port.mk>
diff --git a/sysutils/logserial/distinfo b/sysutils/logserial/distinfo
new file mode 100644
index 000000000000..4b142f42fa0b
--- /dev/null
+++ b/sysutils/logserial/distinfo
@@ -0,0 +1,2 @@
+MD5 (logserial-1.0.tar.gz) = 323ad0934171d707d1604c18adf38097
+SIZE (logserial-1.0.tar.gz) = 3631
diff --git a/sysutils/logserial/pkg-descr b/sysutils/logserial/pkg-descr
new file mode 100644
index 000000000000..652b76619202
--- /dev/null
+++ b/sysutils/logserial/pkg-descr
@@ -0,0 +1,3 @@
+Logserial stores data received from serial device in a file. Upon receiving
+SIGHUP it reopens the file, thus allowing automated rotation of logs. One
+possible application of logserial is to save logs of PBX.