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:
parent
9496d23d76
commit
1d82e74887
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161596
@ -297,6 +297,7 @@
|
||||
SUBDIR += log_analysis
|
||||
SUBDIR += logmon
|
||||
SUBDIR += logrotate
|
||||
SUBDIR += logserial
|
||||
SUBDIR += logtool
|
||||
SUBDIR += logtool-devel
|
||||
SUBDIR += lookat
|
||||
|
27
sysutils/logserial/Makefile
Normal file
27
sysutils/logserial/Makefile
Normal 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>
|
2
sysutils/logserial/distinfo
Normal file
2
sysutils/logserial/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (logserial-1.0.tar.gz) = 323ad0934171d707d1604c18adf38097
|
||||
SIZE (logserial-1.0.tar.gz) = 3631
|
3
sysutils/logserial/pkg-descr
Normal file
3
sysutils/logserial/pkg-descr
Normal 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.
|
Loading…
Reference in New Issue
Block a user