From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 27 09:30:22 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2982D16A4CE for ; Thu, 27 Nov 2003 09:30:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B74243FDF for ; Thu, 27 Nov 2003 09:30:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hARHUFFY039855 for ; Thu, 27 Nov 2003 09:30:15 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hARHUFSY039854; Thu, 27 Nov 2003 09:30:15 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 27 Nov 2003 09:30:15 -0800 (PST) Resent-Message-Id: <200311271730.hARHUFSY039854@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Haderer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA19F16A4CE for ; Thu, 27 Nov 2003 09:22:44 -0800 (PST) Received: from hauptpostamt.charite.de (hauptpostamt.charite.de [193.175.66.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9062F43FA3 for ; Thu, 27 Nov 2003 09:22:42 -0800 (PST) (envelope-from alexander.haderer@charite.de) Received: from postamt1.charite.de (postamt1.charite.de [193.175.66.246]) by hauptpostamt.charite.de (Postfix) with ESMTP id 7DB2015C04A for ; Thu, 27 Nov 2003 18:22:34 +0100 (CET) Received: from ogava.str.charite.de (ogava.str.charite.de [192.168.202.104]) by postamt1.charite.de (Postfix) with ESMTP id 63734633B5 for ; Thu, 27 Nov 2003 18:22:34 +0100 (CET) Received: from ogava.str.charite.de (localhost.str.charite.de [127.0.0.1]) hARHMXnv062118 for ; Thu, 27 Nov 2003 18:22:34 +0100 (CET) (envelope-from alexander.haderer@charite.de) Received: (from afrika@localhost) by ogava.str.charite.de (8.12.8p1/8.12.8/Submit) id hARHMX2Y062117; Thu, 27 Nov 2003 18:22:33 +0100 (CET) (envelope-from alexander.haderer@charite.de) Message-Id: <200311271722.hARHMX2Y062117@ogava.str.charite.de> Date: Thu, 27 Nov 2003 18:22:33 +0100 (CET) From: Alexander Haderer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/59733: [maintainer] sysutils/fetchlog: Update to 0.95 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alexander Haderer List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 17:30:22 -0000 >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@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 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@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 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@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@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: