Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2005 09:23:20 +0100 (CET)
From:      <mohacsi@niif.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88829: [NEW PORT] sysutils/logwatch: Customizable log analysis system
Message-ID:  <200511110823.jAB8NK5Z049153@skye.ki.iif.hu>
Resent-Message-ID: <200511110830.jAB8UFm8002221@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88829
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/logwatch: Customizable log analysis system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 11 08:30:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Charlie &
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD skye.ki.iif.hu 5.4-STABLE FreeBSD 5.4-STABLE #1: Tue Apr 19 16:41:38 CEST 2005
>Description:
Logwatch is a customizable log analysis system. Logwatch parses through 
your system's logs for a given period of time and creates a report 
analyzing areas that you specify, in as much detail as you require. 
Logwatch is easy to use and will work right out of the package on most 
systems.

WWW: http://www2.logwatch.org:81/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- logwatch-6.1.2.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:
#
#	logwatch
#	logwatch/pkg-plist
#	logwatch/pkg-descr
#	logwatch/distinfo
#	logwatch/Makefile
#	logwatch/files
#	logwatch/files/patch-scripts_logwatch.pl
#
echo c - logwatch
mkdir -p logwatch > /dev/null 2>&1
echo x - logwatch/pkg-plist
sed 's/^X//' >logwatch/pkg-plist << 'END-of-logwatch/pkg-plist'
Xsbin/logwatch
X%%DATADIR%%/conf/ignore.conf
X%%DATADIR%%/conf/logwatch.conf
X%%DATADIR%%/conf/logfiles/autorpm.conf
X%%DATADIR%%/conf/logfiles/cisco.conf
X%%DATADIR%%/conf/logfiles/clam-update.conf
X%%DATADIR%%/conf/logfiles/cron.conf
X%%DATADIR%%/conf/logfiles/emerge.conf
X%%DATADIR%%/conf/logfiles/exim.conf
X%%DATADIR%%/conf/logfiles/extreme-networks.conf
X%%DATADIR%%/conf/logfiles/http.conf
X%%DATADIR%%/conf/logfiles/maillog.conf
X%%DATADIR%%/conf/logfiles/messages.conf
X%%DATADIR%%/conf/logfiles/netopia.conf
X%%DATADIR%%/conf/logfiles/netscreen.conf
X%%DATADIR%%/conf/logfiles/pureftp.conf
X%%DATADIR%%/conf/logfiles/rt314.conf
X%%DATADIR%%/conf/logfiles/samba.conf
X%%DATADIR%%/conf/logfiles/secure.conf
X%%DATADIR%%/conf/logfiles/sonicwall.conf
X%%DATADIR%%/conf/logfiles/tac_acc.conf
X%%DATADIR%%/conf/logfiles/up2date.conf
X%%DATADIR%%/conf/logfiles/vsftpd.conf
X%%DATADIR%%/conf/logfiles/xferlog.conf
X%%DATADIR%%/conf/logfiles/yum.conf
X%%DATADIR%%/conf/services/afpd.conf
X%%DATADIR%%/conf/services/amavis.conf
X%%DATADIR%%/conf/services/arpwatch.conf
X%%DATADIR%%/conf/services/audit.conf
X%%DATADIR%%/conf/services/automount.conf
X%%DATADIR%%/conf/services/autorpm.conf
X%%DATADIR%%/conf/services/cisco.conf
X%%DATADIR%%/conf/services/clam-update.conf
X%%DATADIR%%/conf/services/clamav-milter.conf
X%%DATADIR%%/conf/services/clamav.conf
X%%DATADIR%%/conf/services/courier.conf
X%%DATADIR%%/conf/services/cron.conf
X%%DATADIR%%/conf/services/dhcpd.conf
X%%DATADIR%%/conf/services/emerge.conf
X%%DATADIR%%/conf/services/exim.conf
X%%DATADIR%%/conf/services/extreme-networks.conf
X%%DATADIR%%/conf/services/ftpd-messages.conf
X%%DATADIR%%/conf/services/ftpd-xferlog.conf
X%%DATADIR%%/conf/services/http.conf
X%%DATADIR%%/conf/services/identd.conf
X%%DATADIR%%/conf/services/imapd.conf
X%%DATADIR%%/conf/services/in.qpopper.conf
X%%DATADIR%%/conf/services/init.conf
X%%DATADIR%%/conf/services/ipop3d.conf
X%%DATADIR%%/conf/services/kernel.conf
X%%DATADIR%%/conf/services/mailscanner.conf
X%%DATADIR%%/conf/services/modprobe.conf
X%%DATADIR%%/conf/services/mountd.conf
X%%DATADIR%%/conf/services/named.conf
X%%DATADIR%%/conf/services/netopia.conf
X%%DATADIR%%/conf/services/netscreen.conf
X%%DATADIR%%/conf/services/oidentd.conf
X%%DATADIR%%/conf/services/openvpn.conf
X%%DATADIR%%/conf/services/pam.conf
X%%DATADIR%%/conf/services/pam_pwdb.conf
X%%DATADIR%%/conf/services/pam_unix.conf
X%%DATADIR%%/conf/services/pluto.conf
X%%DATADIR%%/conf/services/pop3.conf
X%%DATADIR%%/conf/services/portsentry.conf
X%%DATADIR%%/conf/services/postfix.conf
X%%DATADIR%%/conf/services/pound.conf
X%%DATADIR%%/conf/services/proftpd-messages.conf
X%%DATADIR%%/conf/services/pureftpd.conf
X%%DATADIR%%/conf/services/qmail.conf
X%%DATADIR%%/conf/services/raid.conf
X%%DATADIR%%/conf/services/rt314.conf
X%%DATADIR%%/conf/services/samba.conf
X%%DATADIR%%/conf/services/saslauthd.conf
X%%DATADIR%%/conf/services/scsi.conf
X%%DATADIR%%/conf/services/secure.conf
X%%DATADIR%%/conf/services/sendmail-largeboxes.conf
X%%DATADIR%%/conf/services/sendmail.conf
X%%DATADIR%%/conf/services/shaperd.conf
X%%DATADIR%%/conf/services/smartd.conf
X%%DATADIR%%/conf/services/sonicwall.conf
X%%DATADIR%%/conf/services/sshd.conf
X%%DATADIR%%/conf/services/sshd2.conf
X%%DATADIR%%/conf/services/stunnel.conf
X%%DATADIR%%/conf/services/sudo.conf
X%%DATADIR%%/conf/services/syslogd.conf
X%%DATADIR%%/conf/services/tac_acc.conf
X%%DATADIR%%/conf/services/up2date.conf
X%%DATADIR%%/conf/services/vpopmail.conf
X%%DATADIR%%/conf/services/vsftpd.conf
X%%DATADIR%%/conf/services/xntpd.conf
X%%DATADIR%%/conf/services/yum.conf
X%%DATADIR%%/conf/services/zz-disk_space.conf
X%%DATADIR%%/conf/services/zz-fortune.conf
X%%DATADIR%%/conf/services/zz-network.conf
X%%DATADIR%%/lib/Logwatch.pm
X%%DATADIR%%/scripts/logwatch.pl
X%%DATADIR%%/scripts/logfiles/autorpm/applydate
X%%DATADIR%%/scripts/logfiles/cron/applydate
X%%DATADIR%%/scripts/logfiles/emerge/applydate
X%%DATADIR%%/scripts/logfiles/samba/applydate
X%%DATADIR%%/scripts/logfiles/samba/removeheaders
X%%DATADIR%%/scripts/logfiles/up2date/applydate
X%%DATADIR%%/scripts/logfiles/up2date/removeheaders
X%%DATADIR%%/scripts/logfiles/xferlog/applydate
X%%DATADIR%%/scripts/logfiles/xferlog/removeheaders
X%%DATADIR%%/scripts/logfiles/yum/applydate
X%%DATADIR%%/scripts/services/afpd
X%%DATADIR%%/scripts/services/amavis
X%%DATADIR%%/scripts/services/arpwatch
X%%DATADIR%%/scripts/services/audit
X%%DATADIR%%/scripts/services/automount
X%%DATADIR%%/scripts/services/autorpm
X%%DATADIR%%/scripts/services/cisco
X%%DATADIR%%/scripts/services/clam-update
X%%DATADIR%%/scripts/services/clamav
X%%DATADIR%%/scripts/services/clamav-milter
X%%DATADIR%%/scripts/services/courier
X%%DATADIR%%/scripts/services/cron
X%%DATADIR%%/scripts/services/dhcpd
X%%DATADIR%%/scripts/services/emerge
X%%DATADIR%%/scripts/services/exim
X%%DATADIR%%/scripts/services/extreme-networks
X%%DATADIR%%/scripts/services/ftpd-messages
X%%DATADIR%%/scripts/services/ftpd-xferlog
X%%DATADIR%%/scripts/services/http
X%%DATADIR%%/scripts/services/identd
X%%DATADIR%%/scripts/services/imapd
X%%DATADIR%%/scripts/services/in.qpopper
X%%DATADIR%%/scripts/services/init
X%%DATADIR%%/scripts/services/ipop3d
X%%DATADIR%%/scripts/services/kernel
X%%DATADIR%%/scripts/services/mailscanner
X%%DATADIR%%/scripts/services/mountd
X%%DATADIR%%/scripts/services/modprobe
X%%DATADIR%%/scripts/services/named
X%%DATADIR%%/scripts/services/netopia
X%%DATADIR%%/scripts/services/netscreen
X%%DATADIR%%/scripts/services/oidentd
X%%DATADIR%%/scripts/services/openvpn
X%%DATADIR%%/scripts/services/pam
X%%DATADIR%%/scripts/services/pam_pwdb
X%%DATADIR%%/scripts/services/pam_unix
X%%DATADIR%%/scripts/services/pluto
X%%DATADIR%%/scripts/services/pop3
X%%DATADIR%%/scripts/services/portsentry
X%%DATADIR%%/scripts/services/postfix
X%%DATADIR%%/scripts/services/pound
X%%DATADIR%%/scripts/services/proftpd-messages
X%%DATADIR%%/scripts/services/pureftpd
X%%DATADIR%%/scripts/services/qmail
X%%DATADIR%%/scripts/services/raid
X%%DATADIR%%/scripts/services/rt314
X%%DATADIR%%/scripts/services/samba
X%%DATADIR%%/scripts/services/saslauthd
X%%DATADIR%%/scripts/services/scsi
X%%DATADIR%%/scripts/services/secure
X%%DATADIR%%/scripts/services/sendmail
X%%DATADIR%%/scripts/services/sendmail-largeboxes
X%%DATADIR%%/scripts/services/shaperd
X%%DATADIR%%/scripts/services/smartd
X%%DATADIR%%/scripts/services/sonicwall
X%%DATADIR%%/scripts/services/sshd
X%%DATADIR%%/scripts/services/sshd2
X%%DATADIR%%/scripts/services/stunnel
X%%DATADIR%%/scripts/services/sudo
X%%DATADIR%%/scripts/services/syslogd
X%%DATADIR%%/scripts/services/tac_acc
X%%DATADIR%%/scripts/services/up2date
X%%DATADIR%%/scripts/services/vpopmail
X%%DATADIR%%/scripts/services/vsftpd
X%%DATADIR%%/scripts/services/xntpd
X%%DATADIR%%/scripts/services/yum
X%%DATADIR%%/scripts/services/zz-disk_space
X%%DATADIR%%/scripts/services/zz-fortune
X%%DATADIR%%/scripts/services/zz-network
X%%DATADIR%%/scripts/shared/applyhttpdate
X%%DATADIR%%/scripts/shared/applystddate
X%%DATADIR%%/scripts/shared/applyusdate
X%%DATADIR%%/scripts/shared/expandrepeats
X%%DATADIR%%/scripts/shared/hosthash
X%%DATADIR%%/scripts/shared/hostlist
X%%DATADIR%%/scripts/shared/multiservice
X%%DATADIR%%/scripts/shared/onlycontains
X%%DATADIR%%/scripts/shared/onlyhost
X%%DATADIR%%/scripts/shared/onlyservice
X%%DATADIR%%/scripts/shared/remove
X%%DATADIR%%/scripts/shared/removeheaders
X%%DATADIR%%/scripts/shared/removeservice
X@dirrm %%DATADIR%%/conf/logfiles
X@dirrm %%DATADIR%%/conf/services
X@dirrm %%DATADIR%%/conf
X@dirrm %%DATADIR%%/lib
X@dirrm %%DATADIR%%/scripts/logfiles/autorpm
X@dirrm %%DATADIR%%/scripts/logfiles/cron
X@dirrm %%DATADIR%%/scripts/logfiles/emerge
X@dirrm %%DATADIR%%/scripts/logfiles/samba
X@dirrm %%DATADIR%%/scripts/logfiles/up2date
X@dirrm %%DATADIR%%/scripts/logfiles/xferlog
X@dirrm %%DATADIR%%/scripts/logfiles/yum
X@dirrm %%DATADIR%%/scripts/logfiles
X@dirrm %%DATADIR%%/scripts/services
X@dirrm %%DATADIR%%/scripts/shared
X@dirrm %%DATADIR%%/scripts
X@dirrm %%DATADIR%%
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/HOWTO-Make-Filter
X%%PORTDOCS%%%%DOCSDIR%%/License
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-logwatch/pkg-plist
echo x - logwatch/pkg-descr
sed 's/^X//' >logwatch/pkg-descr << 'END-of-logwatch/pkg-descr'
XLogwatch is a customizable log analysis system. Logwatch parses through 
Xyour system's logs for a given period of time and creates a report 
Xanalyzing areas that you specify, in as much detail as you require. 
XLogwatch is easy to use and will work right out of the package on most 
Xsystems.
X
XWWW: http://www2.logwatch.org:81/
END-of-logwatch/pkg-descr
echo x - logwatch/distinfo
sed 's/^X//' >logwatch/distinfo << 'END-of-logwatch/distinfo'
XMD5 (logwatch-6.1.2.tar.gz) = a764bf80a31ab04ca788ac1303cba297
XSHA256 (logwatch-6.1.2.tar.gz) = 1024426e62e79a1c89663f58f35cb31fdb252bc52bb4aaae5755608b8aa8c28a
XSIZE (logwatch-6.1.2.tar.gz) = 168718
END-of-logwatch/distinfo
echo x - logwatch/Makefile
sed 's/^X//' >logwatch/Makefile << 'END-of-logwatch/Makefile'
X# New ports collection makefile for:	logwatch
X# Date created:			15 July 2005
X# Whom:				J. Mohacsi <janos.mohacsi@bsd.hu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	logwatch
XPORTVERSION=	6.1.2
XCATEGORIES=	sysutils
XMASTER_SITES=	ftp://ftp.kaybee.org/pub/linux/
X
XMAINTAINER=	janos.mohacsi@bsd.hu
XCOMMENT=	Customizable log analysis system
X
XNO_BUILD=	yes
XUSE_PERL5=	yes
XUSE_REINPLACE=	yes
XMAN8=		logwatch.8
X
Xdo-configure:
X	${REINPLACE_CMD}	-e 's,%%PREFIX%%,${PREFIX},' \
X		-e 's,%%PERL%%,${PERL},' \
X		${WRKSRC}/scripts/${PORTNAME}.pl
X
Xdo-install:
X	${MKDIR}	${DATADIR}
X	${MKDIR}	${DATADIR}/conf
X	${INSTALL_DATA}	${WRKSRC}/conf/*.conf \
X		${DATADIR}/conf
X	${MKDIR}	${DATADIR}/conf/logfiles
X	${INSTALL_DATA}	${WRKSRC}/conf/logfiles/* \
X		${DATADIR}/conf/logfiles/
X	${MKDIR}	${DATADIR}/conf/services
X	${INSTALL_DATA}	${WRKSRC}/conf/services/* \
X		${DATADIR}/conf/services/
X	${MKDIR}	${DATADIR}/scripts
X	${INSTALL_SCRIPT} ${WRKSRC}/scripts/${PORTNAME}.pl  ${DATADIR}/scripts
X	${MKDIR}	${DATADIR}/scripts/logfiles
X	${MKDIR}	${DATADIR}/scripts/logfiles/autorpm
X	${INSTALL_SCRIPT}	${WRKSRC}/scripts/logfiles/autorpm/* \
X		${DATADIR}/scripts/logfiles/autorpm
X	${MKDIR}	${DATADIR}/scripts/logfiles/cron
X	${INSTALL_SCRIPT}	${WRKSRC}/scripts/logfiles/cron/* \
X		${DATADIR}/scripts/logfiles/cron
X	${MKDIR}	${DATADIR}/scripts/logfiles/emerge
X	${INSTALL_SCRIPT}	${WRKSRC}/scripts/logfiles/emerge/* \
X		${DATADIR}/scripts/logfiles/emerge
X	${MKDIR}	${DATADIR}/scripts/logfiles/samba
X	${INSTALL_SCRIPT}	${WRKSRC}/scripts/logfiles/samba/* \
X		${DATADIR}/scripts/logfiles/samba
X	${MKDIR}	${DATADIR}/scripts/logfiles/up2date
X	${INSTALL_SCRIPT}	${WRKSRC}/scripts/logfiles/up2date/* \
X		${DATADIR}/scripts/logfiles/up2date
X	${MKDIR}	${DATADIR}/scripts/logfiles/xferlog
X	${INSTALL_SCRIPT}	${WRKSRC}/scripts/logfiles/xferlog/* \
X		${DATADIR}/scripts/logfiles/xferlog
X	${MKDIR}	${DATADIR}/scripts/logfiles/yum
X	${INSTALL_SCRIPT}	${WRKSRC}/scripts/logfiles/yum/* \
X		${DATADIR}/scripts/logfiles/yum
X	${MKDIR}	${DATADIR}/scripts/services
X	${INSTALL_SCRIPT}	${WRKSRC}/scripts/services/* \
X		${DATADIR}/scripts/services
X	${MKDIR}	${DATADIR}/scripts/shared
X	${INSTALL_SCRIPT}	${WRKSRC}/scripts/shared/* \
X		${DATADIR}/scripts/shared
X	${MKDIR}	${DATADIR}/lib
X	${INSTALL_SCRIPT}	${WRKSRC}/lib/* \
X		${DATADIR}/lib
X	${LN} -s	${DATADIR}/scripts/${PORTNAME}.pl \
X		${PREFIX}/sbin/${PORTNAME}
X	${INSTALL_MAN}	${WRKSRC}/${PORTNAME}.8 \
X		${MAN8PREFIX}/man/man8
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for i in README HOWTO-Make-Filter License
X	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-logwatch/Makefile
echo c - logwatch/files
mkdir -p logwatch/files > /dev/null 2>&1
echo x - logwatch/files/patch-scripts_logwatch.pl
sed 's/^X//' >logwatch/files/patch-scripts_logwatch.pl << 'END-of-logwatch/files/patch-scripts_logwatch.pl'
X
X$FreeBSD$
X
X--- scripts/logwatch.pl.orig
X+++ scripts/logwatch.pl
X@@ -23,9 +23,9 @@
X #To be FHS compliant distro packages might use this
X #my $BaseDir = "/usr/share/logwatch";
X #my $ConfigDir = "/etc/log.d/conf";
X-my $BaseDir = "/etc/log.d";
X+my $BaseDir = "%%PREFIX%%/share/logwatch";
X my $ConfigDir = "$BaseDir/conf";
X-my $PerlVersion = "/usr/bin/perl";
X+my $PerlVersion = "%%PERL%%";
X 
X #############################################################################
X 
END-of-logwatch/files/patch-scripts_logwatch.pl
exit
--- logwatch-6.1.2.shar ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511110823.jAB8NK5Z049153>