ports/59733: [maintainer] sysutils/fetchlog: Update to 0.95

Alexander Haderer alexander.haderer at charite.de
Thu Nov 27 17:30:22 UTC 2003


>Number:         59733
>Category:       ports
>Synopsis:       [maintainer] sysutils/fetchlog: Update to 0.95
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 27 09:30:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Haderer
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Charite Hospital Berlin - Germany
>Environment:
System: FreeBSD ogava.str.charite.de 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Tue May 13 20:42:13 CEST 2003 root at ogava.str.charite.de:/usr/src/sys/compile/OGAVAD i386


>Description:
Update to version 0.95 fixes problems with zero sized logfiles

>How-To-Repeat:

>Fix:

--- fetchlog095.shar begins here ---
# 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:
#
#	fetchlog
#	fetchlog/files
#	fetchlog/files/patch-aa
#	fetchlog/Makefile
#	fetchlog/distinfo
#	fetchlog/pkg-descr
#	fetchlog/pkg-plist
#	fetchlog/pkg-message
#
echo c - fetchlog
mkdir -p fetchlog > /dev/null 2>&1
echo c - fetchlog/files
mkdir -p fetchlog/files > /dev/null 2>&1
echo x - fetchlog/files/patch-aa
sed 's/^X//' >fetchlog/files/patch-aa << 'END-of-fetchlog/files/patch-aa'
X--- Makefile.orig	Mon Aug 11 18:58:18 2003
X+++ Makefile	Mon Aug 11 19:02:35 2003
X@@ -23,8 +23,9 @@
X ### compiler
X 
X ### gcc
X-CC=gcc
X-CFLAGS= -O -Wall -Wcast-qual -Wstrict-prototypes \
X+#CC=gcc
X+CC ?= =cc
X+CFLAGS += -O -Wall -Wcast-qual -Wstrict-prototypes \
X 	-Wmissing-prototypes -Wmissing-declarations -Winline -Wcast-align 
X ### cc
X #CC=cc
X@@ -62,7 +63,7 @@
X ### installdir    
X ###   will use $INSTDIR/bin  and  $INSTDIR/man/man1, 
X ###   both dirs have to exist for installation
X-INSTDIR=/usr/local
X+INSTDIR=${PREFIX}
X 
X ### ------------------------------------------------------------------------
X ### --- end of user settings -----------------------------------------------
END-of-fetchlog/files/patch-aa
echo x - fetchlog/Makefile
sed 's/^X//' >fetchlog/Makefile << 'END-of-fetchlog/Makefile'
X# New ports collection makefile for:	fetchlog
X# Date created:		19 Nov 2003
X# Whom:			Alexander Haderer <alexander.haderer at charite.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fetchlog
XPORTVERSION=	0.95
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	fetchlog
X
XMAINTAINER=	alexander.haderer at charite.de
XCOMMENT=	Fetch and convert new messages of a logfile
X
XMAN1=		fetchlog.1
X
Xpost-install:
X	${CAT} ${PKGMESSAGE}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/fetchlog
X	${INSTALL_MAN} ${WRKSRC}/CHANGES 	${PREFIX}/share/doc/fetchlog
X	${INSTALL_MAN} ${WRKSRC}/README 	${PREFIX}/share/doc/fetchlog
X	${INSTALL_MAN} ${WRKSRC}/README.Nagios	${PREFIX}/share/doc/fetchlog
X	${INSTALL_MAN} ${WRKSRC}/README.SNMP	${PREFIX}/share/doc/fetchlog
X.endif
X
X.include <bsd.port.mk>
END-of-fetchlog/Makefile
echo x - fetchlog/distinfo
sed 's/^X//' >fetchlog/distinfo << 'END-of-fetchlog/distinfo'
XMD5 (fetchlog-0.95.tar.gz) = bb575ffaf7fad8178d7ce54f5d905244
END-of-fetchlog/distinfo
echo x - fetchlog/pkg-descr
sed 's/^X//' >fetchlog/pkg-descr << 'END-of-fetchlog/pkg-descr'
XThe fetchlog utility displays the last new messages of a logfile. 
XIt is similar like tail (1) but offers some extra functionality for
Xoutput formatting. To show only the new messages appeared since the 
Xlast call fetchlog uses a bookmark to remember which messages have 
Xbeen fetched. 
X
Xfetchlog works on syslog generated logfiles as well as other logfiles.
X
Xfetchlog can be used standalone or as a Nagios (TM) plugin.  Together
Xwith Net-SNMP one can look at/monitor new messages in remote logfiles.
X
XWWW: http://fetchlog.sourceforge.net/
X
X-Alexander Haderer
Xalexander.haderer at charite.de
END-of-fetchlog/pkg-descr
echo x - fetchlog/pkg-plist
sed 's/^X//' >fetchlog/pkg-plist << 'END-of-fetchlog/pkg-plist'
Xbin/fetchlog
X%%PORTDOCS%%share/doc/fetchlog/CHANGES
X%%PORTDOCS%%share/doc/fetchlog/README
X%%PORTDOCS%%share/doc/fetchlog/README.Nagios
X%%PORTDOCS%%share/doc/fetchlog/README.SNMP
X at dirrm share/doc/fetchlog
END-of-fetchlog/pkg-plist
echo x - fetchlog/pkg-message
sed 's/^X//' >fetchlog/pkg-message << 'END-of-fetchlog/pkg-message'
X-------------------------------------------------------------------------------
X
XNote:	If you are upgrading, you must remove the old bookmarkfiles. 
X	When calling fetchlog 0.95 with old bookmarkfiles you will see
X	this error message:
X
X	ERROR: fetchlog: no file/wrong size: /path/to/bookmark/file
X
X-------------------------------------------------------------------------------
END-of-fetchlog/pkg-message
exit
--- fetchlog095.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list