diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-05-07 13:36:15 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-05-07 13:36:15 +0000 |
commit | 1d82e74887a109bfb28baf5193e3825c86963afd (patch) | |
tree | fa0b5488b4badc5aaffb7dd9c0daa617a6915fc4 /sysutils/logserial | |
parent | 9496d23d76788bee654a0b1fd1217624955f974b (diff) | |
download | ports-1d82e74887a109bfb28baf5193e3825c86963afd.tar.gz ports-1d82e74887a109bfb28baf5193e3825c86963afd.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>
Notes
Notes:
svn path=/head/; revision=161596
Diffstat (limited to 'sysutils/logserial')
-rw-r--r-- | sysutils/logserial/Makefile | 27 | ||||
-rw-r--r-- | sysutils/logserial/distinfo | 2 | ||||
-rw-r--r-- | sysutils/logserial/pkg-descr | 3 |
3 files changed, 32 insertions, 0 deletions
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. |