From anders@totem.fix.no  Sun Oct  7 09:10:49 2001
Return-Path: <anders@totem.fix.no>
Received: from totem.fix.no (totem.fix.no [213.142.66.130])
	by hub.freebsd.org (Postfix) with ESMTP id C620937B406
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  7 Oct 2001 09:10:48 -0700 (PDT)
Received: by totem.fix.no (Postfix, from userid 1000)
	id D2DEE3C8E; Sun,  7 Oct 2001 18:10:47 +0200 (CEST)
Message-Id: <20011007161047.D2DEE3C8E@totem.fix.no>
Date: Sun,  7 Oct 2001 18:10:47 +0200 (CEST)
From: Anders Nordby <anders@fix.no>
Reply-To: Anders Nordby <anders@fix.no>
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: sysutils/flog
X-Send-Pr-Version: 3.2

>Number:         31099
>Category:       ports
>Synopsis:       New port: sysutils/flog
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 07 09:20:00 PDT 2001
>Closed-Date:    Wed Oct 10 03:29:26 PDT 2001
>Last-Modified:  Wed Oct 10 03:29:40 PDT 2001
>Originator:     Anders Nordby
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

New port of flog, a small STDIN-to-file logger with support for log rotation.

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>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:
#
#	flog
#	flog/Makefile
#	flog/distinfo
#	flog/pkg-comment
#	flog/pkg-descr
#	flog/pkg-plist
#
echo c - flog
mkdir -p flog > /dev/null 2>&1
echo x - flog/Makefile
sed 's/^X//' >flog/Makefile << 'END-of-flog/Makefile'
X# New ports collection makefile for:	flog
X# Date created:				7 October 2001
X# Whom:					Anders Nordby <anders@fix.no>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	flog
XPORTVERSION=	1.3
XCATEGORIES=	sysutils
XMASTER_SITES=	http://oss.ezic.com/flog/ \
X		http://ftp.nuug.no/pub/anders/distfiles/
X
XMAINTAINER=	ports@FreeBSD.org
X
Xdo-build:
X	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o flog flog.c)
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/flog ${PREFIX}/bin/
X.if !defined(NOPORTDOCS)
X	${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
X.endif
X
X.include <bsd.port.mk>
END-of-flog/Makefile
echo x - flog/distinfo
sed 's/^X//' >flog/distinfo << 'END-of-flog/distinfo'
XMD5 (flog-1.3.tar.gz) = cc97339bd757a651558438463c5f2721
END-of-flog/distinfo
echo x - flog/pkg-comment
sed 's/^X//' >flog/pkg-comment << 'END-of-flog/pkg-comment'
XA small STDIN-to-file logger with support for log rotation
END-of-flog/pkg-comment
echo x - flog/pkg-descr
sed 's/^X//' >flog/pkg-descr << 'END-of-flog/pkg-descr'
Xflog (file logger) is a small C program that reads input from STDIN and writes
Xto a file, optionally adding timestamps. If SIGHUP is received, the file will
Xbe reopened, allowing for log rotation (see newsyslog(8)). The log file will
Xonly be reopened if flog detects that rotation has occurred (i.e., the old file
Xis gone or the inode has changed). flog is extremely small (a memory footprint
Xof less than 500 bytes). It also protects you from running out of disk space;
Xif that happens, the logfile will be truncated and a warning generated. This
Xcould save you from waking up to pager beeps in the middle of the night.
X
XWWW: http://oss.ezic.com/
END-of-flog/pkg-descr
echo x - flog/pkg-plist
sed 's/^X//' >flog/pkg-plist << 'END-of-flog/pkg-plist'
Xbin/flog
X%%PORTDOCS%%share/doc/flog/README
X%%PORTDOCS%%@dirrm share/doc/flog
END-of-flog/pkg-plist
exit

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: markp 
State-Changed-When: Wed Oct 10 03:29:26 PDT 2001 
State-Changed-Why:  
Committed, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31099 
>Unformatted:
