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>
This commit is contained in:
Pav Lucistnik 2006-05-07 13:36:15 +00:00
parent 9496d23d76
commit 1d82e74887
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161596
4 changed files with 33 additions and 0 deletions

View File

@ -297,6 +297,7 @@
SUBDIR += log_analysis
SUBDIR += logmon
SUBDIR += logrotate
SUBDIR += logserial
SUBDIR += logtool
SUBDIR += logtool-devel
SUBDIR += lookat

View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (logserial-1.0.tar.gz) = 323ad0934171d707d1604c18adf38097
SIZE (logserial-1.0.tar.gz) = 3631

View File

@ -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.