Add flog 1.3, a small STDIN-to-file logger with support for log
rotation. PR: 31099 Submitted by: Anders Nordby <anders@fix.no>
This commit is contained in:
parent
21479ebd6a
commit
205e500371
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48647
6 changed files with 42 additions and 0 deletions
|
@ -50,6 +50,7 @@
|
|||
SUBDIR += filedupe
|
||||
SUBDIR += fileutils
|
||||
SUBDIR += flexbackup
|
||||
SUBDIR += flog
|
||||
SUBDIR += fontedit
|
||||
SUBDIR += fortunelock
|
||||
SUBDIR += fsck_ext2fs
|
||||
|
|
26
sysutils/flog/Makefile
Normal file
26
sysutils/flog/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# New ports collection makefile for: flog
|
||||
# Date created: 7 October 2001
|
||||
# Whom: Anders Nordby <anders@fix.no>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= flog
|
||||
PORTVERSION= 1.3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://oss.ezic.com/flog/ \
|
||||
http://ftp.nuug.no/pub/anders/distfiles/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
do-build:
|
||||
${CC} ${CFLAGS} -o ${WRKSRC}/flog ${WRKSRC}/flog.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/flog ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
sysutils/flog/distinfo
Normal file
1
sysutils/flog/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (flog-1.3.tar.gz) = cc97339bd757a651558438463c5f2721
|
1
sysutils/flog/pkg-comment
Normal file
1
sysutils/flog/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A small STDIN-to-file logger with support for log rotation
|
10
sysutils/flog/pkg-descr
Normal file
10
sysutils/flog/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
flog (file logger) is a small C program that reads input from STDIN and writes
|
||||
to a file, optionally adding timestamps. If SIGHUP is received, the file will
|
||||
be reopened, allowing for log rotation (see newsyslog(8)). The log file will
|
||||
only be reopened if flog detects that rotation has occurred (i.e., the old file
|
||||
is gone or the inode has changed). flog is extremely small (a memory footprint
|
||||
of less than 500 bytes). It also protects you from running out of disk space;
|
||||
if that happens, the logfile will be truncated and a warning generated. This
|
||||
could save you from waking up to pager beeps in the middle of the night.
|
||||
|
||||
WWW: http://oss.ezic.com/
|
3
sysutils/flog/pkg-plist
Normal file
3
sysutils/flog/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
bin/flog
|
||||
%%PORTDOCS%%share/doc/flog/README
|
||||
%%PORTDOCS%%@dirrm share/doc/flog
|
Loading…
Reference in a new issue