[csw-devel] SF.net SVN: gar:[7446] csw/mgar/pkg
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Thu Nov 26 03:59:28 CET 2009
Revision: 7446
http://gar.svn.sourceforge.net/gar/?rev=7446&view=rev
Author: bdwalton
Date: 2009-11-26 02:59:25 +0000 (Thu, 26 Nov 2009)
Log Message:
-----------
logwatch: port to GAR; _huge_ version bump
Added Paths:
-----------
csw/mgar/pkg/logwatch/
csw/mgar/pkg/logwatch/branches/
csw/mgar/pkg/logwatch/tags/
csw/mgar/pkg/logwatch/trunk/
csw/mgar/pkg/logwatch/trunk/Makefile
csw/mgar/pkg/logwatch/trunk/checksums
csw/mgar/pkg/logwatch/trunk/files/
csw/mgar/pkg/logwatch/trunk/files/logwatch.wrapper
Property changes on: csw/mgar/pkg/logwatch/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/logwatch/trunk/Makefile
===================================================================
--- csw/mgar/pkg/logwatch/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/logwatch/trunk/Makefile 2009-11-26 02:59:25 UTC (rev 7446)
@@ -0,0 +1,103 @@
+GARNAME = logwatch
+GARVERSION = 7.3.6
+CATEGORIES = utils
+
+ARCHALL = 1
+REQUIRED_PKGS = CSWperl CSWgnulinks CSWgfile CSWggrep CSWfortune CSWgawk
+
+LICENSE = License
+
+DESCRIPTION = Logwatch is a customizable log analysis system
+define BLURB
+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.
+endef
+
+MASTER_SITES = ftp://ftp.kaybee.org/pub/linux/
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+
+# We define upstream file regex so we can be notifed of new upstream
+# software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of
+# MASTER_SITES, then uncomment the next line. Otherwise it is set by
+# default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES =
+
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+INSTALL = /opt/csw/bin/ginstall
+INSTALLDIR = $(INSTALL) -m 0755 -d
+INSTALLEXE = $(INSTALL) -m 0755
+INSTALLDATA = $(INSTALL) -m 0644
+
+BINDIR = $(bindir)
+SHAREDIR = $(datadir)/$(GARNAME)
+MANDIR = $(datadir)/man
+DOCDIR = $(datadir)/doc/$(GARNAME)
+CONFDIR = /etc/opt/csw/$(GARNAME)
+TMPDIR = /var/opt/csw/$(GARNAME)
+
+post-extract-modulated:
+ cp $(FILEDIR)/logwatch.wrapper $(WORKSRC)/
+
+install-custom:
+ (cd $(WORKSRC); \
+ $(INSTALLDIR) $(DESTDIR)$(TMPDIR); \
+ $(INSTALLDIR) $(DESTDIR)$(BINDIR); \
+ $(INSTALLDIR) $(DESTDIR)$(CONFDIR); \
+ $(INSTALLDIR) $(DESTDIR)$(CONFDIR)/conf; \
+ $(INSTALLDIR) $(DESTDIR)$(CONFDIR)/scripts; \
+ $(INSTALLDIR) $(DESTDIR)$(CONFDIR)/scripts/services; \
+ $(INSTALLDIR) $(DESTDIR)$(CONFDIR)/scripts/conf; \
+ $(INSTALLDIR) $(DESTDIR)$(CONFDIR)/scripts/conf/logfiles; \
+ $(INSTALLDIR) $(DESTDIR)$(CONFDIR)/scripts/conf/services; \
+ $(INSTALLDIR) $(DESTDIR)$(CONFDIR)/scripts/conf/html; \
+ $(INSTALLDIR) $(DESTDIR)$(DOCDIR); \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR); \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/dist.conf; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/dist.conf/logfiles; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/dist.conf/services; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/default.conf; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/default.conf/logfiles; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/default.conf/services; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/default.conf/html; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/scripts; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/scripts/logfiles; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/scripts/services; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/scripts/shared; \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/lib; \
+ $(INSTALLDATA) README $(DESTDIR)$(DOCDIR)/README; \
+ $(INSTALLDATA) HOWTO-Customize-LogWatch $(DESTDIR)$(DOCDIR)/HOWTO-Customize-LogWatch; \
+ $(INSTALLDATA) conf/*.conf $(DESTDIR)$(SHAREDIR)/default.conf; \
+ $(INSTALLDATA) conf/logfiles/* $(DESTDIR)$(SHAREDIR)/default.conf/logfiles/; \
+ $(INSTALLDATA) conf/services/* $(DESTDIR)$(SHAREDIR)/default.conf/services/; \
+ $(INSTALLDATA) conf/html/* $(DESTDIR)$(SHAREDIR)/default.conf/html/; \
+ $(INSTALLEXE) scripts/logwatch.pl $(DESTDIR)$(BINDIR); \
+ for i in scripts/logfiles/*; do \
+ if [ `ls $$i | grep -v CVS | wc -l` -ne 0 ]; then \
+ $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)/$$i; \
+ $(INSTALLDATA) $$i/* $(DESTDIR)$(SHAREDIR)/$$i; \
+ fi; \
+ done; \
+ $(INSTALLDATA) scripts/shared/* $(DESTDIR)$(SHAREDIR)/scripts/shared; \
+ $(INSTALLDATA) scripts/services/* $(DESTDIR)$(SHAREDIR)/scripts/services; \
+ $(INSTALLDATA) lib/* $(DESTDIR)$(SHAREDIR)/lib; \
+ touch $(DESTDIR)$(CONFDIR)/conf/logwatch.conf; \
+ touch $(DESTDIR)$(CONFDIR)/conf/ignore.conf; \
+ touch $(DESTDIR)$(CONFDIR)/conf/override.conf; \
+ perl -pi -e "s%/usr/share%/opt/csw/share%" $(DESTDIR)$(BINDIR)/logwatch.pl; \
+ perl -pi -e "s%/usr/bin/perl%/opt/csw/bin/perl%" $(DESTDIR)$(BINDIR)/logwatch.pl; \
+ perl -pi -e "s%/etc/logwatch%/etc/opt/csw/logwatch%" $(DESTDIR)$(BINDIR)/logwatch.pl; \
+ $(INSTALLDIR) $(DESTDIR)$(TMPDIR); \
+ echo "TmpDir = $(TMPDIR)" >> $(DESTDIR)$(CONFDIR)/conf/logwatch.conf; \
+ $(INSTALLDIR) $(DESTDIR)$(MANDIR)/man8; \
+ $(INSTALLDATA) logwatch.8 $(DESTDIR)$(MANDIR)/man8; \
+ $(INSTALLEXE) logwatch.wrapper $(DESTDIR)$(BINDIR)/logwatch )
+ @$(MAKECOOKIE)
\ No newline at end of file
Added: csw/mgar/pkg/logwatch/trunk/checksums
===================================================================
--- csw/mgar/pkg/logwatch/trunk/checksums (rev 0)
+++ csw/mgar/pkg/logwatch/trunk/checksums 2009-11-26 02:59:25 UTC (rev 7446)
@@ -0,0 +1 @@
+937d982006b2a76a83edfcfd2e5a9d7d logwatch-7.3.6.tar.gz
Added: csw/mgar/pkg/logwatch/trunk/files/logwatch.wrapper
===================================================================
--- csw/mgar/pkg/logwatch/trunk/files/logwatch.wrapper (rev 0)
+++ csw/mgar/pkg/logwatch/trunk/files/logwatch.wrapper 2009-11-26 02:59:25 UTC (rev 7446)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+PATH=/opt/csw/gnu:/opt/csw/bin:$PATH
+export PATH
+
+exec /opt/csw/bin/logwatch.pl $*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list