From owner-freebsd-ports Sun Oct 7 9:20: 7 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7EC2B37B407 for ; Sun, 7 Oct 2001 09:20:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f97GK0U82964; Sun, 7 Oct 2001 09:20:00 -0700 (PDT) (envelope-from gnats) Received: from totem.fix.no (totem.fix.no [213.142.66.130]) by hub.freebsd.org (Postfix) with ESMTP id C620937B406 for ; 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 Reply-To: Anders Nordby To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/31099: New port: sysutils/flog Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: >Description: New port of flog, a small STDIN-to-file logger with support for log rotation. >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: # # 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 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 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