Date: Fri, 8 Jul 2005 10:47:41 GMT From: Alan Snelson <Alan@Wave2.co.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/83136: Update port: sysutils/epylog Added patches to fix logfile paths and cronfile Message-ID: <200507081047.j68AlffB038742@www.freebsd.org> Resent-Message-ID: <200507081050.j68AoNg9067579@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83136 >Category: ports >Synopsis: Update port: sysutils/epylog Added patches to fix logfile paths and cronfile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jul 08 10:50:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alan Snelson >Release: 5.4-RELEASE >Organization: Wave2 Limited >Environment: FreeBSD bserver1.wave2.co.uk 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Wed May 18 19:23:58 BST 2005 root@bserver1.wave2.co.uk:/usr/obj/usr/src/sys/bserver1 i386 >Description: Patches included to ensure correct logfiles are read during operation. epylog.cron file has been moved to etc/epylog to allow end-user to decide upone useage. >How-To-Repeat: >Fix: # 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: # # /usr/ports/sysutils/epylog # /usr/ports/sysutils/epylog/files # /usr/ports/sysutils/epylog/files/patch-configure.in # /usr/ports/sysutils/epylog/files/patch-configure # /usr/ports/sysutils/epylog/files/patch-etc-modules.d-logins.conf.in # /usr/ports/sysutils/epylog/files/patch-etc-modules.d-notices.conf.in # /usr/ports/sysutils/epylog/files/patch-etc-modules.d-weeder.conf.in # /usr/ports/sysutils/epylog/Makefile # /usr/ports/sysutils/epylog/distinfo # /usr/ports/sysutils/epylog/pkg-descr # /usr/ports/sysutils/epylog/pkg-plist # echo c - /usr/ports/sysutils/epylog mkdir -p /usr/ports/sysutils/epylog > /dev/null 2>&1 echo c - /usr/ports/sysutils/epylog/files mkdir -p /usr/ports/sysutils/epylog/files > /dev/null 2>&1 echo x - /usr/ports/sysutils/epylog/files/patch-configure.in sed 's/^X//' >/usr/ports/sysutils/epylog/files/patch-configure.in << 'END-of-/usr/ports/sysutils/epylog/files/patch-configure.in' X*** configure.in Thu Mar 31 20:50:43 2005 X--- configure.in Fri Jul 8 10:29:51 2005 X*************** X*** 40,50 **** X AC_MSG_ERROR(python binary not found in path) X fi X fi X X AC_SUBST(CRON_DIR) X! CRON_DIR=$sysconfdir/cron.daily X AC_MSG_CHECKING(for --with-crondir) X AC_ARG_WITH(crondir, [ --with-crondir=DIR Where to install the cron script], X [ X CRON_DIR="$withval" X AC_MSG_RESULT($CRON_DIR) X--- 40,50 ---- X AC_MSG_ERROR(python binary not found in path) X fi X fi X X AC_SUBST(CRON_DIR) X! CRON_DIR=$sysconfdir/epylog X AC_MSG_CHECKING(for --with-crondir) X AC_ARG_WITH(crondir, [ --with-crondir=DIR Where to install the cron script], X [ X CRON_DIR="$withval" X AC_MSG_RESULT($CRON_DIR) END-of-/usr/ports/sysutils/epylog/files/patch-configure.in echo x - /usr/ports/sysutils/epylog/files/patch-configure sed 's/^X//' >/usr/ports/sysutils/epylog/files/patch-configure << 'END-of-/usr/ports/sysutils/epylog/files/patch-configure' X*** configure Thu Mar 31 22:15:46 2005 X--- configure Fri Jul 8 11:03:50 2005 X*************** X*** 1412,1422 **** X { (exit 1); exit 1; }; } X fi X fi X X X! CRON_DIR=$sysconfdir/cron.daily X echo "$as_me:$LINENO: checking for --with-crondir" >&5 X echo $ECHO_N "checking for --with-crondir... $ECHO_C" >&6 X X # Check whether --with-crondir or --without-crondir was given. X if test "${with_crondir+set}" = set; then X--- 1412,1422 ---- X { (exit 1); exit 1; }; } X fi X fi X X X! CRON_DIR=$sysconfdir/epylog X echo "$as_me:$LINENO: checking for --with-crondir" >&5 X echo $ECHO_N "checking for --with-crondir... $ECHO_C" >&6 X X # Check whether --with-crondir or --without-crondir was given. X if test "${with_crondir+set}" = set; then END-of-/usr/ports/sysutils/epylog/files/patch-configure echo x - /usr/ports/sysutils/epylog/files/patch-etc-modules.d-logins.conf.in sed 's/^X//' >/usr/ports/sysutils/epylog/files/patch-etc-modules.d-logins.conf.in << 'END-of-/usr/ports/sysutils/epylog/files/patch-etc-modules.d-logins.conf.in' X*** etc/modules.d/logins.conf.in Mon Mar 21 15:20:49 2005 X--- etc/modules.d/logins.conf.in Fri Jul 8 11:11:33 2005 X*************** X*** 1,9 **** X [module] X desc = Logins X exec = %%MODULES_DIR%%/logins_mod.py X! files = /var/log/messages[.#], /var/log/secure[.#] X enabled = yes X internal = yes X outhtml = yes X priority = 0 X X--- 1,9 ---- X [module] X desc = Logins X exec = %%MODULES_DIR%%/logins_mod.py X! files = /var/log/messages[.#], /var/log/auth.log[.#] X enabled = yes X internal = yes X outhtml = yes X priority = 0 X END-of-/usr/ports/sysutils/epylog/files/patch-etc-modules.d-logins.conf.in echo x - /usr/ports/sysutils/epylog/files/patch-etc-modules.d-notices.conf.in sed 's/^X//' >/usr/ports/sysutils/epylog/files/patch-etc-modules.d-notices.conf.in << 'END-of-/usr/ports/sysutils/epylog/files/patch-etc-modules.d-notices.conf.in' X*** etc/modules.d/notices.conf.in Wed Feb 4 15:24:32 2004 X--- etc/modules.d/notices.conf.in Fri Jul 8 11:10:03 2005 X*************** X*** 1,9 **** X [module] X desc = Notices X exec = %%MODULES_DIR%%/notices_mod.py X! files = /var/log/messages[.#], /var/log/secure[.#], /var/log/maillog[.#] X enabled = yes X internal = yes X outhtml = yes X priority = 7 X X--- 1,9 ---- X [module] X desc = Notices X exec = %%MODULES_DIR%%/notices_mod.py X! files = /var/log/messages[.#], /var/log/auth.log[.#], /var/log/maillog[.#] X enabled = yes X internal = yes X outhtml = yes X priority = 7 X END-of-/usr/ports/sysutils/epylog/files/patch-etc-modules.d-notices.conf.in echo x - /usr/ports/sysutils/epylog/files/patch-etc-modules.d-weeder.conf.in sed 's/^X//' >/usr/ports/sysutils/epylog/files/patch-etc-modules.d-weeder.conf.in << 'END-of-/usr/ports/sysutils/epylog/files/patch-etc-modules.d-weeder.conf.in' X*** etc/modules.d/weeder.conf.in Thu Mar 31 21:02:24 2005 X--- etc/modules.d/weeder.conf.in Fri Jul 8 11:11:18 2005 X*************** X*** 1,9 **** X [module] X desc = Weedeater X exec = %%MODULES_DIR%%/weeder_mod.py X! files = /var/log/messages[.#], /var/log/secure[.#], /var/log/maillog[.#] X enabled = yes X internal = yes X outhtml = yes X priority = 10 X X--- 1,9 ---- X [module] X desc = Weedeater X exec = %%MODULES_DIR%%/weeder_mod.py X! files = /var/log/messages[.#], /var/log/auth.log[.#], /var/log/maillog[.#] X enabled = yes X internal = yes X outhtml = yes X priority = 10 X END-of-/usr/ports/sysutils/epylog/files/patch-etc-modules.d-weeder.conf.in echo x - /usr/ports/sysutils/epylog/Makefile sed 's/^X//' >/usr/ports/sysutils/epylog/Makefile << 'END-of-/usr/ports/sysutils/epylog/Makefile' X# New ports collection makefile for: epylog X# Date created: 3 July 2005 X# Whom: Alan Snelson <alan@wave2.co.uk> X# X# $FreeBSD: ports/sysutils/epylog/Makefile,v 1.2 2005/07/07 19:07:03 pav Exp $ X# X XPORTNAME= epylog XPORTVERSION= 1.0.3 XCATEGORIES= sysutils XMASTER_SITES= http://linux.duke.edu/projects/epylog/download/ X XMAINTAINER= alan@wave2.co.uk XCOMMENT= Epylog is a syslog parser which mails you the output X XBUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 XRUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 X XMAN3= epylog.3 XMAN5= epylog-modules.5 epylog.conf.5 XMAN8= epylog.8 X XHAS_CONFIGURE= yes XCONFIGURE_ARGS= --with-lynx --prefix=${PREFIX} XUSE_PERL5= yes XUSE_PYTHON= yes X X.include <bsd.port.mk> END-of-/usr/ports/sysutils/epylog/Makefile echo x - /usr/ports/sysutils/epylog/distinfo sed 's/^X//' >/usr/ports/sysutils/epylog/distinfo << 'END-of-/usr/ports/sysutils/epylog/distinfo' XMD5 (epylog-1.0.3.tar.gz) = 6beedd62e0d59d6309ae1f537fc75772 XSIZE (epylog-1.0.3.tar.gz) = 117774 END-of-/usr/ports/sysutils/epylog/distinfo echo x - /usr/ports/sysutils/epylog/pkg-descr sed 's/^X//' >/usr/ports/sysutils/epylog/pkg-descr << 'END-of-/usr/ports/sysutils/epylog/pkg-descr' XEpylog is a syslog parser which runs periodically, Xlooks at your logs, processes some of the entries Xin order to present them in a more comprehensible format, Xand then mails you the output. XIt is written specifically for large network clusters Xwhere a lot of machines (around 50 and upwards) log to the Xsame loghost using syslog or syslog-ng. XIt is an alternative to a similar package, called LogWatch. X XThe epylog engine should work on most unix systems running XPython-2.2 and above, although currently the processing modules Xare only written to work with linux (and particularly Red Hat Linux Xseries 7 and above). XHowever, other unix and linux flavors should work fine, Xas long as they use standard logging facilities and things like PAM. X XEpylog is Copyright 2001-2005 by Duke University X XWWW: http://linux.duke.edu/projects/epylog END-of-/usr/ports/sysutils/epylog/pkg-descr echo x - /usr/ports/sysutils/epylog/pkg-plist sed 's/^X//' >/usr/ports/sysutils/epylog/pkg-plist << 'END-of-/usr/ports/sysutils/epylog/pkg-plist' Xetc/epylog/epylog.conf Xetc/epylog/epylog.cron Xetc/epylog/modules.d/logins.conf Xetc/epylog/modules.d/mail.conf Xetc/epylog/modules.d/notices.conf Xetc/epylog/modules.d/packets.conf Xetc/epylog/modules.d/spamd.conf Xetc/epylog/modules.d/weeder.conf Xetc/epylog/notice_dist.xml Xetc/epylog/notice_local.xml Xetc/epylog/report_template.html Xetc/epylog/trojans.list Xetc/epylog/weed_dist.cf Xetc/epylog/weed_local.cf Xlib/perl5/site_perl/epylog.pm X%%PYTHON_SITELIBDIR%%/epylog/__init__.py X%%PYTHON_SITELIBDIR%%/epylog/__init__.pyc X%%PYTHON_SITELIBDIR%%/epylog/helpers.py X%%PYTHON_SITELIBDIR%%/epylog/helpers.pyc X%%PYTHON_SITELIBDIR%%/epylog/log.py X%%PYTHON_SITELIBDIR%%/epylog/log.pyc X%%PYTHON_SITELIBDIR%%/epylog/module.py X%%PYTHON_SITELIBDIR%%/epylog/module.pyc X%%PYTHON_SITELIBDIR%%/epylog/mytempfile.py X%%PYTHON_SITELIBDIR%%/epylog/mytempfile.pyc X%%PYTHON_SITELIBDIR%%/epylog/publishers.py X%%PYTHON_SITELIBDIR%%/epylog/publishers.pyc X%%PYTHON_SITELIBDIR%%/epylog/report.py X%%PYTHON_SITELIBDIR%%/epylog/report.pyc Xsbin/epylog Xshare/doc/epylog-1.0.3/AUTHORS Xshare/doc/epylog-1.0.3/ChangeLog Xshare/doc/epylog-1.0.3/INSTALL Xshare/doc/epylog-1.0.3/LICENSE Xshare/doc/epylog-1.0.3/README Xshare/doc/epylog-1.0.3/doc/modules.txt Xshare/doc/epylog-1.0.3/doc/roadmap.txt Xshare/doc/epylog-1.0.3/doc/templates/template.mod.pl Xshare/doc/epylog-1.0.3/doc/templates/template_mod.py Xshare/doc/epylog-1.0.3/doc/testcase/logins.testcase Xshare/doc/epylog-1.0.3/doc/testcase/mail.testcase Xshare/doc/epylog-1.0.3/doc/testcase/notices.testcase Xshare/doc/epylog-1.0.3/doc/testcase/packets.testcase Xshare/doc/epylog-1.0.3/doc/testcase/spamd.testcase Xshare/doc/epylog-1.0.3/doc/testcase/weeder.testcase Xshare/epylog/modules/logins_mod.py Xshare/epylog/modules/logins_mod.pyc Xshare/epylog/modules/mail_mod.py Xshare/epylog/modules/mail_mod.pyc Xshare/epylog/modules/notices_mod.py Xshare/epylog/modules/notices_mod.pyc Xshare/epylog/modules/packets_mod.py Xshare/epylog/modules/packets_mod.pyc Xshare/epylog/modules/spamd_mod.py Xshare/epylog/modules/spamd_mod.pyc Xshare/epylog/modules/weeder_mod.py Xshare/epylog/modules/weeder_mod.pyc X@dirrm share/epylog/modules X@dirrm share/epylog X@dirrm share/doc/epylog-1.0.3/doc/testcase X@dirrm share/doc/epylog-1.0.3/doc/templates X@dirrm share/doc/epylog-1.0.3/doc X@dirrm share/doc/epylog-1.0.3 X@dirrm %%PYTHON_SITELIBDIR%%/epylog X@dirrm etc/epylog/modules.d X@dirrm etc/epylog END-of-/usr/ports/sysutils/epylog/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507081047.j68AlffB038742>