aboutsummaryrefslogtreecommitdiff
path: root/www/free-sa-devel
diff options
context:
space:
mode:
authorFelippe de Meirelles Motta <lippe@FreeBSD.org>2009-09-20 01:36:55 +0000
committerFelippe de Meirelles Motta <lippe@FreeBSD.org>2009-09-20 01:36:55 +0000
commitfbbc2f288f6c7a7f017108233a2302592162ba63 (patch)
tree1804c7cbd085bfbe7faebcf4ca7dfc4367e9aac2 /www/free-sa-devel
parentb219d076b3fdacfacacb6f01d2d3fa6cae0f7e97 (diff)
New port: free-sa development version
Free-SA is a statistic analyzer for daemons log files similar to SARG. Its main advantages over SARG are much better speed (7x-20x times), more reports support, crossplatform work and W3C compliance of generated HTML/CSS reports code. WWW: http://free-sa.sourceforge.net PR: ports/137172 Submitted by: Alexander Moisseev <moiseev@mezonplus.ru> Reworked by: myself Feature safe: yes
Notes
Notes: svn path=/head/; revision=241802
Diffstat (limited to 'www/free-sa-devel')
-rw-r--r--www/free-sa-devel/Makefile45
-rw-r--r--www/free-sa-devel/distinfo3
-rw-r--r--www/free-sa-devel/files/extra-patch-Makefile13
-rw-r--r--www/free-sa-devel/files/extra-patch-global-i386.mk13
-rw-r--r--www/free-sa-devel/files/extra-patch-global-native.mk14
-rw-r--r--www/free-sa-devel/files/patch-global.mk-nodebug11
-rw-r--r--www/free-sa-devel/pkg-descr6
-rw-r--r--www/free-sa-devel/pkg-plist87
8 files changed, 192 insertions, 0 deletions
diff --git a/www/free-sa-devel/Makefile b/www/free-sa-devel/Makefile
new file mode 100644
index 000000000000..ad20f11a2816
--- /dev/null
+++ b/www/free-sa-devel/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: free-sa-devel
+# Date created: 27 Jul 2009
+# Whom: Alexander Moisseev <moiseev@mezonplus.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= free-sa
+PORTVERSION= 2.0.0b2
+CATEGORIES= www
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= free-sa/free-sa-dev/2.0.0b2%20_Big%20Change%20Edition_/
+PKGNAMESUFFIX= -devel
+
+MAINTAINER= moiseev@mezonplus.ru
+COMMENT= Statistic analyzer for daemons log files similar to SARG
+
+MAKE_JOBS_SAFE= yes
+CONFLICTS= free-sa-[0-9]*
+LATEST_LINK= free-sa-devel
+
+WWWDIR?= ${PREFIX}/www/data/${PORTNAME}
+DOCSDIR= share/doc/free-sa-${DISTVERSION}
+
+PORTDOCS= COPYING ChangeLog FAQ INSTALL README README.DEV THANKS
+MAN1= free-sa.1
+MAN5= free-sa.conf.5
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= Does not configure on sparc64
+.endif
+
+.if defined(NOPORTDOCS)
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile
+.endif
+
+.if (${OSVERSION} >= 700000 && ${OSVERSION} <= 800000)
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-global-native.mk
+.else
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-global-i386.mk
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/free-sa-devel/distinfo b/www/free-sa-devel/distinfo
new file mode 100644
index 000000000000..5c0e8b103a9c
--- /dev/null
+++ b/www/free-sa-devel/distinfo
@@ -0,0 +1,3 @@
+MD5 (free-sa-2.0.0b2.tar.gz) = 8091e6de889396fc21011b8a2bf53770
+SHA256 (free-sa-2.0.0b2.tar.gz) = 523f763b8803aec9d7255777b5287065b9aecf73db0e3c4243d86b0c9afc8788
+SIZE (free-sa-2.0.0b2.tar.gz) = 88124
diff --git a/www/free-sa-devel/files/extra-patch-Makefile b/www/free-sa-devel/files/extra-patch-Makefile
new file mode 100644
index 000000000000..ea55af082758
--- /dev/null
+++ b/www/free-sa-devel/files/extra-patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig 2009-07-23 16:08:46.000000000 +0400
++++ Makefile 2009-07-23 16:12:00.000000000 +0400
+@@ -17,10 +17,6 @@
+ $(MAKEDIRS)
+ @( \
+ $(INSTALLODR) $(CACHEDIR); \
+- $(INSTALLDIR) $(DOCDIR); \
+- for IDOCFILE in COPYING ChangeLog FAQ INSTALL README README.DEV THANKS; do \
+- $(INSTALLFIL) $$IDOCFILE $(DOCDIR); \
+- done \
+ )
+
+ src/config.h:
diff --git a/www/free-sa-devel/files/extra-patch-global-i386.mk b/www/free-sa-devel/files/extra-patch-global-i386.mk
new file mode 100644
index 000000000000..02c30628fbe1
--- /dev/null
+++ b/www/free-sa-devel/files/extra-patch-global-i386.mk
@@ -0,0 +1,13 @@
+--- global.mk.old 2009-09-19 21:58:10.000000000 -0300
++++ global.mk 2009-09-19 21:58:20.000000000 -0300
+@@ -1,8 +1,8 @@
+ # Operating system profile
+-OSTYPE = generic-any-cc
++#OSTYPE = generic-any-cc
+ #OSTYPE = altlinux-i586-gcc4
+ #OSTYPE = cygwin-native-gcc3
+-#OSTYPE = freebsd-i386-gcc3
++OSTYPE = freebsd-i386-gcc3
+ #OSTYPE = freebsd-native-gcc4
+ #OSTYPE = hpux-64_2.0W-cc
+ #OSTYPE = openbsd-i386-gcc3
diff --git a/www/free-sa-devel/files/extra-patch-global-native.mk b/www/free-sa-devel/files/extra-patch-global-native.mk
new file mode 100644
index 000000000000..9f04346156f7
--- /dev/null
+++ b/www/free-sa-devel/files/extra-patch-global-native.mk
@@ -0,0 +1,14 @@
+--- global.mk.orig 2009-03-23 01:39:59.000000000 +0300
++++ global.mk 2009-04-04 14:24:39.000000000 +0400
+@@ -1,9 +1,9 @@
+ # Operating system profile
+-OSTYPE = generic-any-cc
++#OSTYPE = generic-any-cc
+ #OSTYPE = altlinux-i586-gcc4
+ #OSTYPE = cygwin-native-gcc3
+ #OSTYPE = freebsd-i386-gcc3
+-#OSTYPE = freebsd-native-gcc4
++OSTYPE = freebsd-native-gcc4
+ #OSTYPE = hpux-64_2.0W-cc
+ #OSTYPE = openbsd-i386-gcc3
+ #OSTYPE = redhat-native-gcc4
diff --git a/www/free-sa-devel/files/patch-global.mk-nodebug b/www/free-sa-devel/files/patch-global.mk-nodebug
new file mode 100644
index 000000000000..d6bca9b093e6
--- /dev/null
+++ b/www/free-sa-devel/files/patch-global.mk-nodebug
@@ -0,0 +1,11 @@
+--- global.mk.orig 2009-07-27 16:24:04.000000000 +0400
++++ global.mk 2009-07-27 16:24:15.000000000 +0400
+@@ -11,7 +11,7 @@
+ #OSTYPE = solaris-native-cc
+
+ # 0 - release, 1 - 7 debug level
+-DEBUG = 1
++DEBUG = 0
+
+ ##############################
+ ##############################
diff --git a/www/free-sa-devel/pkg-descr b/www/free-sa-devel/pkg-descr
new file mode 100644
index 000000000000..65b67937024c
--- /dev/null
+++ b/www/free-sa-devel/pkg-descr
@@ -0,0 +1,6 @@
+Free-SA is a statistic analyzer for daemons log files similar to SARG.
+Its main advantages over SARG are much better speed (7x-20x times),
+more reports support, crossplatform work and W3C compliance of
+generated HTML/CSS reports code.
+
+WWW: http://free-sa.sourceforge.net
diff --git a/www/free-sa-devel/pkg-plist b/www/free-sa-devel/pkg-plist
new file mode 100644
index 000000000000..f28c53e0b5fa
--- /dev/null
+++ b/www/free-sa-devel/pkg-plist
@@ -0,0 +1,87 @@
+@unexec /bin/rm -f %D/%%WWWDIR%%/themes/default
+bin/free-sa
+%%ETCDIR%%/HTTP_CONNECT_method.filter.sample
+%%ETCDIR%%/HTTP_PUT+POST_method.filter.sample
+%%ETCDIR%%/HTTP_downloads.filter.sample
+%%ETCDIR%%/HTTP_downloads_archives.filter.sample
+%%ETCDIR%%/HTTP_downloads_audio.filter.sample
+%%ETCDIR%%/HTTP_downloads_cddvd.filter.sample
+%%ETCDIR%%/HTTP_downloads_code.filter.sample
+%%ETCDIR%%/HTTP_downloads_office.filter.sample
+%%ETCDIR%%/HTTP_downloads_video.filter.sample
+%%ETCDIR%%/HTTP_proxy_auth_failures.filter.sample
+%%ETCDIR%%/HTTP_proxy_denied.filter.sample
+%%ETCDIR%%/HTTP_site_auth_failures.filter.sample
+%%ETCDIR%%/HTTP_site_denied.filter.sample
+%%ETCDIR%%/HTTP_unusual_codes.filter.sample
+%%ETCDIR%%/HTTP_unusual_methods.filter.sample
+%%ETCDIR%%/SMTP_delivery_rejected.filter.sample
+%%ETCDIR%%/SMTP_receiving_rejected.filter.sample
+%%ETCDIR%%/free-sa.conf.sample
+%%ETCDIR%%/users.filter.sample
+%%DATADIR%%/be.cp1251
+%%DATADIR%%/cs.iso88592
+%%DATADIR%%/de.iso88591
+%%DATADIR%%/en.iso88591
+%%DATADIR%%/es.iso88591
+%%DATADIR%%/et.iso88591
+%%DATADIR%%/fr.iso88591
+%%DATADIR%%/it.iso88591
+%%DATADIR%%/ru.koi8r
+%%DATADIR%%/sk.iso88592
+%%WWWDIR%%/c.png
+%%WWWDIR%%/cgi-bin/free-sa.cgi
+%%WWWDIR%%/d.png
+%%WWWDIR%%/g.png
+%%WWWDIR%%/gsa.css
+%%WWWDIR%%/lsa.css
+%%WWWDIR%%/rsa.css
+%%WWWDIR%%/s.png
+%%WWWDIR%%/sa.js
+%%WWWDIR%%/themes/blues/c.png
+%%WWWDIR%%/themes/blues/d.png
+%%WWWDIR%%/themes/blues/g.png
+%%WWWDIR%%/themes/blues/gsa.css
+%%WWWDIR%%/themes/blues/lsa.css
+%%WWWDIR%%/themes/blues/rsa.css
+%%WWWDIR%%/themes/blues/s.png
+%%WWWDIR%%/themes/qbiq/c.png
+%%WWWDIR%%/themes/qbiq/d.png
+%%WWWDIR%%/themes/qbiq/g.png
+%%WWWDIR%%/themes/qbiq/gsa.css
+%%WWWDIR%%/themes/qbiq/lsa.css
+%%WWWDIR%%/themes/qbiq/rsa.css
+%%WWWDIR%%/themes/qbiq/s.png
+%%WWWDIR%%/themes/rbsec/c.png
+%%WWWDIR%%/themes/rbsec/d.png
+%%WWWDIR%%/themes/rbsec/g.png
+%%WWWDIR%%/themes/rbsec/gsa.css
+%%WWWDIR%%/themes/rbsec/lsa.css
+%%WWWDIR%%/themes/rbsec/rsa.css
+%%WWWDIR%%/themes/rbsec/s.png
+%%WWWDIR%%/themes/sa.js
+%%WWWDIR%%/themes/sarg/c.png
+%%WWWDIR%%/themes/sarg/d.png
+%%WWWDIR%%/themes/sarg/g.png
+%%WWWDIR%%/themes/sarg/s.png
+%%WWWDIR%%/themes/sarg/gsa.css
+%%WWWDIR%%/themes/sarg/lsa.css
+%%WWWDIR%%/themes/sarg/rsa.css
+%%WWWDIR%%/themes/silver/s.png
+%%WWWDIR%%/themes/silver/c.png
+%%WWWDIR%%/themes/silver/d.png
+%%WWWDIR%%/themes/silver/g.png
+%%WWWDIR%%/themes/silver/gsa.css
+%%WWWDIR%%/themes/silver/lsa.css
+%%WWWDIR%%/themes/silver/rsa.css
+@dirrm %%WWWDIR%%/themes/silver
+@dirrm %%WWWDIR%%/themes/sarg
+@dirrm %%WWWDIR%%/themes/rbsec
+@dirrm %%WWWDIR%%/themes/qbiq
+@dirrm %%WWWDIR%%/themes/blues
+@dirrm %%WWWDIR%%/themes
+@dirrm %%WWWDIR%%/cgi-bin
+@dirrm %%WWWDIR%%
+@dirrm %%DATADIR%%
+@dirrmtry %%ETCDIR%%
+@dirrmtry www/data