[csw-devel] SF.net SVN: gar:[5711] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Jul 29 17:30:05 CEST 2009


Revision: 5711
          http://gar.svn.sourceforge.net/gar/?rev=5711&view=rev
Author:   dmichelsen
Date:     2009-07-29 15:30:05 +0000 (Wed, 29 Jul 2009)

Log Message:
-----------
awstats: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/awstats/
    csw/mgar/pkg/awstats/branches/
    csw/mgar/pkg/awstats/tags/
    csw/mgar/pkg/awstats/trunk/
    csw/mgar/pkg/awstats/trunk/Makefile
    csw/mgar/pkg/awstats/trunk/checksums
    csw/mgar/pkg/awstats/trunk/files/
    csw/mgar/pkg/awstats/trunk/files/CSWawstats.postinstall


Property changes on: csw/mgar/pkg/awstats/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/awstats/trunk/Makefile
===================================================================
--- csw/mgar/pkg/awstats/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/awstats/trunk/Makefile	2009-07-29 15:30:05 UTC (rev 5711)
@@ -0,0 +1,61 @@
+GARNAME = awstats
+GARVERSION = 6.9
+CATEGORIES = apps
+
+DESCRIPTION = Featureful tool for web, ftp and mail server statistics
+define BLURB
+  AWStats is a free powerful and featureful tool that generates advanced web,
+  streaming, ftp or mail server statistics, graphically. This log analyzer works
+  as a CGI or from command line and shows you all possible information your log
+  contains, in few graphical web pages. It uses a partial information file to be
+  able to process large log files, often and quickly. It can analyze log files
+  from all major server tools like Apache log files (NCSA combined/XLF/ELF log
+  format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of
+  other web, proxy, wap, streaming servers, mail servers and some ftp servers.
+endef
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += CSWawstats.postinstall
+
+# 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 = 
+
+SPKG_SOURCEURL = http://awstats.sourceforge.net
+
+REQUIRED_PKGS = CSWapache2 CSWperl
+
+LICENSE = docs/LICENSE.TXT
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+ARCHALL = 1
+
+include gar/category.mk
+
+install-custom:
+	ginstall -d $(DESTDIR)$(docdir)/awstats/
+	cp -R $(WORKSRC)/docs/* $(DESTDIR)$(docdir)/awstats/
+	ginstall -d $(DESTDIR)$(sharedstatedir)/awstats/
+	cp -R $(WORKSRC)/tools/* $(DESTDIR)$(sharedstatedir)/awstats/
+	ginstall -d $(DESTDIR)$(sharedstatedir)/www/awstats/htdocs/
+	cp -R $(WORKSRC)/wwwroot/classes \
+			$(WORKSRC)/wwwroot/css \
+			$(WORKSRC)/wwwroot/icon \
+			$(WORKSRC)/wwwroot/js \
+		$(DESTDIR)$(sharedstatedir)/www/awstats/htdocs/
+	ginstall -d $(DESTDIR)$(sharedstatedir)/www/awstats/cgi-bin/
+	cp -R $(WORKSRC)/wwwroot/cgi-bin/* \
+			$(DESTDIR)$(sharedstatedir)/www/awstats/cgi-bin/
+	ginstall -d $(DESTDIR)$(prefix)/apache2/share/htdocs
+	ln -s $(sharedstatedir)/www/awstats/htdocs $(DESTDIR)$(prefix)/apache2/share/htdocs/awstats
+	ginstall -d $(DESTDIR)$(prefix)/apache2/share/cgi-bin
+	ln -s $(sharedstatedir)/www/awstats/cgi-bin $(DESTDIR)$(prefix)/apache2/share/cgi-bin/awstats
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/awstats/trunk/checksums
===================================================================
--- csw/mgar/pkg/awstats/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/awstats/trunk/checksums	2009-07-29 15:30:05 UTC (rev 5711)
@@ -0,0 +1,2 @@
+f9ff2a954cfd6cb0937579ed3868bfd6  download/CSWawstats.postinstall
+fc19dbb8449eccf3300efb30ca3376cb  download/awstats-6.9.tar.gz

Added: csw/mgar/pkg/awstats/trunk/files/CSWawstats.postinstall
===================================================================
--- csw/mgar/pkg/awstats/trunk/files/CSWawstats.postinstall	                        (rev 0)
+++ csw/mgar/pkg/awstats/trunk/files/CSWawstats.postinstall	2009-07-29 15:30:05 UTC (rev 5711)
@@ -0,0 +1,19 @@
+cat <<EOF
+___________________________________________________________________________
+The Awstats system has been installed but you must configure
+awstats.<your_virtualhost>.conf in /opt/csw/awstats/etc/.  An example 
+configuration file exists in
+/opt/csw/awstats/wwwroot/cgi-bin/awstats.model.conf.
+
+Additionally if you wamt Awstats accessible from your Apache webserver.  Run
+awstats_configure.pl.  This will create a configuration file for you and added
+the correct lines to your apache conf.  It should be smart enough to pick up
+on the correct version of apache.
+
+cd /opt/csw/awstats
+./awstats_configure.pl
+
+NOTE: If you only plan on running awstats on the command line you do not need
+to run awstats_configure.pl.
+___________________________________________________________________________
+EOF


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