Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  7 Oct 2001 18:10:47 +0200 (CEST)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31099: New port: sysutils/flog
Message-ID:  <20011007161047.D2DEE3C8E@totem.fix.no>

next in thread | raw e-mail | index | archive | help

>Number:         31099
>Category:       ports
>Synopsis:       New port: sysutils/flog
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 07 09:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011007161047.D2DEE3C8E>