ports/93091: New port: sysutils/logserial Daemon to save data from serial port into file

Anastasya Batieva nastya at rsu.ru
Thu Feb 9 13:30:05 UTC 2006


>Number:         93091
>Category:       ports
>Synopsis:       New port: sysutils/logserial Daemon to save data from serial port into file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 09 13:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Anastasya Batieva
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
Computer Centre of RSU
>Environment:
System: FreeBSD enigma-vm.cc.rsu.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	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.
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       logserial
#       logserial/Makefile
#       logserial/pkg-descr
#       logserial/distinfo
#
echo c - logserial
mkdir -p logserial > /dev/null 2>&1
echo x - logserial/Makefile
sed 's/^X//' >logserial/Makefile << 'END-of-logserial/Makefile'
X# New ports collection makefile for: logserial
X# Date created:  25 November 2005
X# Whom:          nastya
X#
X# $FreeBSD$
X#
X
XPORTNAME=      logserial
XPORTVERSION=   1.0
XCATEGORIES=    sysutils
XMASTER_SITES=  ftp://ftp.rsu.ru/pub/sysutils/unix/
X
XMAINTAINER=    nastya at rsu.ru
XCOMMENT=       Daemon logging data from serial port
X
XUSE_RC_SUBR=    yes
XSTARTUPSCRIPT=  ${WRKDIR}/logserial.sh
XUSE_REINPLACE= yes
X
XSED_SCRIPT=    -e 's:%%PREFIX%%:${PREFIX}:g' \
X               -e 's:%%RC_SUBR%%,${RC_SUBR}:g'
X
XMAN8=          logserial.8
XMANCOMPRESSED= yes
X
XPLIST_FILES=   bin/logserial \
X               etc/rc.d/logserial.sh \
X
Xpost-patch:
X       @${REINPLACE_CMD} ${SED_SCRIPT} ${WRKSRC}/logserial.sh
X
X.include <bsd.port.mk>
END-of-logserial/Makefile
echo x - logserial/pkg-descr
sed 's/^X//' >logserial/pkg-descr << 'END-of-logserial/pkg-descr'
XLogserial stores data received from serial device in a file.
XUpon receiving SIGHUP it reopens the file,
Xthus allowing automated rotation of logs. One possible
Xapplication of logserial is to save logs of PBX.
END-of-logserial/pkg-descr
echo x - logserial/distinfo
sed 's/^X//' >logserial/distinfo << 'END-of-logserial/distinfo'
XMD5 (logserial-1.0.tar.gz) = 323ad0934171d707d1604c18adf38097
XSIZE (logserial-1.0.tar.gz) = 3631
END-of-logserial/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list