From 1d82e74887a109bfb28baf5193e3825c86963afd Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 7 May 2006 13:36:15 +0000 Subject: 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 --- sysutils/logserial/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sysutils/logserial/Makefile (limited to 'sysutils/logserial/Makefile') 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 -- cgit v1.2.3