mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
The fetchlog utility displays the last new messages of a
logfile. It is similar like tail (1) but offers some extra functionality for output formatting. To show only the new messages appeared since the last call fetchlog uses a bookmark to remember which messages have been fetched. PR: 55506 Submitted by: Alexander Haderer <alexander.haderer@charite.de>
This commit is contained in:
parent
dcaf1b4eff
commit
4158a5b013
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89695
@ -86,6 +86,7 @@
|
||||
SUBDIR += fastest_cvsup
|
||||
SUBDIR += fastresolve
|
||||
SUBDIR += fcron
|
||||
SUBDIR += fetchlog
|
||||
SUBDIR += ffsrecov
|
||||
SUBDIR += file
|
||||
SUBDIR += filedupe
|
||||
|
28
sysutils/fetchlog/Makefile
Normal file
28
sysutils/fetchlog/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# New ports collection makefile for: fetchlog
|
||||
# Date created: 11 August 2003
|
||||
# Whom: Alexander Haderer <alexander.haderer@charite.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= fetchlog
|
||||
PORTVERSION= 0.94
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= fetchlog
|
||||
|
||||
MAINTAINER= alexander.haderer@charite.de
|
||||
COMMENT= Fetch and convert new messages of a logfile
|
||||
|
||||
MAN1= fetchlog.1
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/CHANGES ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README.Nagios ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README.SNMP ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
sysutils/fetchlog/distinfo
Normal file
1
sysutils/fetchlog/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (fetchlog-0.94.tar.gz) = fc39e912736062e5a2b2626b33694d3f
|
23
sysutils/fetchlog/files/patch-aa
Normal file
23
sysutils/fetchlog/files/patch-aa
Normal file
@ -0,0 +1,23 @@
|
||||
--- Makefile.orig Mon Aug 11 18:58:18 2003
|
||||
+++ Makefile Mon Aug 11 19:02:35 2003
|
||||
@@ -23,8 +23,9 @@
|
||||
### compiler
|
||||
|
||||
### gcc
|
||||
-CC=gcc
|
||||
-CFLAGS= -O -Wall -Wcast-qual -Wstrict-prototypes \
|
||||
+#CC=gcc
|
||||
+CC ?= =cc
|
||||
+CFLAGS += -O -Wall -Wcast-qual -Wstrict-prototypes \
|
||||
-Wmissing-prototypes -Wmissing-declarations -Winline -Wcast-align
|
||||
### cc
|
||||
#CC=cc
|
||||
@@ -62,7 +63,7 @@
|
||||
### installdir
|
||||
### will use $INSTDIR/bin and $INSTDIR/man/man1,
|
||||
### both dirs have to exist for installation
|
||||
-INSTDIR=/usr/local
|
||||
+INSTDIR=${PREFIX}
|
||||
|
||||
### ------------------------------------------------------------------------
|
||||
### --- end of user settings -----------------------------------------------
|
15
sysutils/fetchlog/pkg-descr
Normal file
15
sysutils/fetchlog/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
The fetchlog utility displays the last new messages of a logfile.
|
||||
It is similar like tail (1) but offers some extra functionality for
|
||||
output formatting. To show only the new messages appeared since the
|
||||
last call fetchlog uses a bookmark to remember which messages have
|
||||
been fetched.
|
||||
|
||||
fetchlog works on syslog generated logfiles as well as other logfiles.
|
||||
|
||||
fetchlog can be used standalone or as a Nagios (TM) plugin. Together
|
||||
with Net-SNMP one can look at/monitor new messages in remote logfiles.
|
||||
|
||||
WWW: http://fetchlog.sourceforge.net/
|
||||
|
||||
-Alexander Haderer
|
||||
alexander.haderer@charite.de
|
6
sysutils/fetchlog/pkg-plist
Normal file
6
sysutils/fetchlog/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
bin/fetchlog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.Nagios
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.SNMP
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user