aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-03-24 05:24:53 +0800
committerpav <pav@FreeBSD.org>2007-03-24 05:24:53 +0800
commitd829ea4a66006bfd8a884a67862f9d4b5c84566f (patch)
treea0184c7de35a2dbecfb182c9e21b6fca2dda3906 /www
parent99a8c9f8f5722d7ae345ebdf69b1f16578a9b1dd (diff)
downloadfreebsd-ports-gnome-d829ea4a66006bfd8a884a67862f9d4b5c84566f.tar.gz
freebsd-ports-gnome-d829ea4a66006bfd8a884a67862f9d4b5c84566f.tar.zst
freebsd-ports-gnome-d829ea4a66006bfd8a884a67862f9d4b5c84566f.zip
Free-SA is a statistic analyzer for daemon 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/110710 Submitted by: Anton Karpov <toxa@toxahost.ru>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/free-sa/Makefile22
-rw-r--r--www/free-sa/distinfo3
-rw-r--r--www/free-sa/files/patch-Makefile30
-rw-r--r--www/free-sa/pkg-descr6
-rw-r--r--www/free-sa/pkg-plist40
6 files changed, 102 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index ca9af6a37a83..6b9b3e97a5a7 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -153,6 +153,7 @@
SUBDIR += fluxcms
SUBDIR += fnord
SUBDIR += formication
+ SUBDIR += free-sa
SUBDIR += fswiki
SUBDIR += g-cows
SUBDIR += g-gcl
diff --git a/www/free-sa/Makefile b/www/free-sa/Makefile
new file mode 100644
index 000000000000..e6788b869fcf
--- /dev/null
+++ b/www/free-sa/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: free-sa
+# Date created: 22 Mar 2007
+# Whom: Anton Karpov <toxa@toxahost.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= free-sa
+PORTVERSION= 1.0.2
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= toxa@toxahost.ru
+COMMENT= Statistic analyzer for daemons log files similar to SARG
+
+USE_GMAKE= yes
+
+MAN1= free-sa.1
+MAN5= sa.conf.5
+
+.include <bsd.port.mk>
diff --git a/www/free-sa/distinfo b/www/free-sa/distinfo
new file mode 100644
index 000000000000..a801b6156cf7
--- /dev/null
+++ b/www/free-sa/distinfo
@@ -0,0 +1,3 @@
+MD5 (free-sa-1.0.2.tar.gz) = 3620fcfbaefacf131ddc71ee5ac2b4be
+SHA256 (free-sa-1.0.2.tar.gz) = 85946909e4366f8567db3ef23e1ff1aca03422ff9be98ca942d84d3be8b9a8e2
+SIZE (free-sa-1.0.2.tar.gz) = 44743
diff --git a/www/free-sa/files/patch-Makefile b/www/free-sa/files/patch-Makefile
new file mode 100644
index 000000000000..6e168e90fa9d
--- /dev/null
+++ b/www/free-sa/files/patch-Makefile
@@ -0,0 +1,30 @@
+--- Makefile.orig Thu Mar 22 19:06:58 2007
++++ Makefile Fri Mar 23 22:21:04 2007
+@@ -9,7 +9,7 @@
+ # etc dir
+ ETCDIR = $(PREFIX)/etc/$(PROGLNAME)
+ # where put reports (you can change it later via sa.conf configuration file)
+-WWWDIR = $(PREFIX)/var/www/htdocs/$(PROGLNAME)
++WWWDIR = $(PREFIX)/www/$(PROGLNAME)
+ # temporary parent dir for sorting (you can change it later via sa.conf configuration file)
+ TMPDIR = /tmp
+ # where log file lives (you can change it later via sa.conf configuration file)
+@@ -18,9 +18,6 @@
+ # C compiler
+ CC = gcc
+
+-# Optimisations flags
+-OPTIM = -pipe -O3 -march=$(MARCH) -fomit-frame-pointer
+-
+ # Warnings flags
+ WARNS = -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
+ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
+@@ -48,7 +45,7 @@
+ -DPROGNAME=\"$(PROGNAME)\" -DPROGVERSION=\"$(PROGVERSION)\" -DPROGURL=\"$(PROGURL)\"
+
+ # All compiling flags
+-CFLAGS = $(OPTIM) -I. -I.. $(WARNS) $(CSTDF) $(DEFS)
++CFLAGS += -I. -I.. $(WARNS) $(CSTDF) $(DEFS)
+
+ # All linking flags
+ LDFLAGS += $(LIBS) $(CFLAGS)
diff --git a/www/free-sa/pkg-descr b/www/free-sa/pkg-descr
new file mode 100644
index 000000000000..8bcadbddb127
--- /dev/null
+++ b/www/free-sa/pkg-descr
@@ -0,0 +1,6 @@
+Free-SA is a statistic analyzer for daemon 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/pkg-plist b/www/free-sa/pkg-plist
new file mode 100644
index 000000000000..d10a98998deb
--- /dev/null
+++ b/www/free-sa/pkg-plist
@@ -0,0 +1,40 @@
+bin/free-sa
+etc/free-sa/downloads
+etc/free-sa/sa.conf
+share/free-sa/English
+share/free-sa/Russian
+share/free-sa/RussianMail
+share/doc/free-sa-1.0.2/COPYING
+share/doc/free-sa-1.0.2/INSTALL
+share/doc/free-sa-1.0.2/README
+share/doc/free-sa-1.0.2/README.DEV
+www/free-sa/d.png
+www/free-sa/g.png
+www/free-sa/gsa.css
+www/free-sa/lsa.css
+www/free-sa/rsa.css
+www/free-sa/themes/default
+www/free-sa/themes/rbsec/d.png
+www/free-sa/themes/rbsec/g.png
+www/free-sa/themes/rbsec/gsa.css
+www/free-sa/themes/rbsec/lsa.css
+www/free-sa/themes/rbsec/rsa.css
+www/free-sa/themes/sarg/d.png
+www/free-sa/themes/sarg/g.png
+www/free-sa/themes/sarg/gsa.css
+www/free-sa/themes/sarg/lsa.css
+www/free-sa/themes/sarg/rsa.css
+www/free-sa/themes/silver/d.png
+www/free-sa/themes/silver/g.png
+www/free-sa/themes/silver/gsa.css
+www/free-sa/themes/silver/lsa.css
+www/free-sa/themes/silver/rsa.css
+www/free-sa/themes/sa.js
+@dirrm etc/free-sa
+@dirrm share/free-sa
+@dirrm share/doc/free-sa-1.0.2
+@dirrm www/free-sa/themes/rbsec
+@dirrm www/free-sa/themes/sarg
+@dirrm www/free-sa/themes/silver
+@dirrm www/free-sa/themes
+@dirrm www/free-sa