diff options
author | jadawin <jadawin@FreeBSD.org> | 2010-11-19 17:44:17 +0800 |
---|---|---|
committer | jadawin <jadawin@FreeBSD.org> | 2010-11-19 17:44:17 +0800 |
commit | a3680ee922bb7bc7d3a6b740f89cb240cab84036 (patch) | |
tree | 7c116e0aeb25d6c8e329ff39d742b4c74f255a5a /sysutils | |
parent | ae4eb3eb1989c071e8ce179fa89800e8eb3a6033 (diff) | |
download | freebsd-ports-graphics-a3680ee922bb7bc7d3a6b740f89cb240cab84036.tar.gz freebsd-ports-graphics-a3680ee922bb7bc7d3a6b740f89cb240cab84036.tar.zst freebsd-ports-graphics-a3680ee922bb7bc7d3a6b740f89cb240cab84036.zip |
GoAccess is an open source real-time Apache web log analyzer and interactive
viewer that runs in a terminal and provides fast and valuable HTTP statistics
for system administrators that require a visual report on the fly.
WWW: http://goaccess.prosoftcorp.com/
PR: ports/152332
Submitted by: Sofian Brabez <sbrabez at gmail.com>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/goaccess/Makefile | 44 | ||||
-rw-r--r-- | sysutils/goaccess/distinfo | 2 | ||||
-rw-r--r-- | sysutils/goaccess/files/patch-util.c | 10 | ||||
-rw-r--r-- | sysutils/goaccess/pkg-descr | 5 |
5 files changed, 62 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index e6b62ea6f49..aafdafa723f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -325,6 +325,7 @@ SUBDIR += gnome_subr SUBDIR += gnomebaker SUBDIR += gnomefind + SUBDIR += goaccess SUBDIR += googlog SUBDIR += gosa SUBDIR += gpart diff --git a/sysutils/goaccess/Makefile b/sysutils/goaccess/Makefile new file mode 100644 index 00000000000..d44efef52d9 --- /dev/null +++ b/sysutils/goaccess/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: goaccess +# Date created: 2010-11-17 +# Whom: Sofian Brabez <sbrabez@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= goaccess +PORTVERSION= 0.3.3 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION} + +MAINTAINER= sbrabez@gmail.com +COMMENT= Real-time Apache web log analyzer + +LIB_DEPENDS= glib-2.0:${PORTSDIR}/devel/glib20 \ + GeoIP.5:${PORTSDIR}/net/GeoIP + +GNU_CONFIGURE= yes +USE_LDCONFIG= yes + +CFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib + +PLIST_FILES= bin/${PORTNAME} + +.if !defined(NO_INSTALL_MANPAGES) +MAN1= ${PLIST_FILES:S,bin/,,:S,$,.1,} +.endif + +PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO + +do-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif +.if !defined(NO_INSTALL_MANPAGES) + ${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${PREFIX}/man/man1 +.endif + ${INSTALL_SCRIPT} ${PORTNAME:S,^,${WRKSRC}/,} ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/sysutils/goaccess/distinfo b/sysutils/goaccess/distinfo new file mode 100644 index 00000000000..0d028e42052 --- /dev/null +++ b/sysutils/goaccess/distinfo @@ -0,0 +1,2 @@ +SHA256 (goaccess-0.3.3.tar.gz) = da716e4127e09a0f367ff8d41bd013531b78b67779f6a7a3c636e324349c2fe2 +SIZE (goaccess-0.3.3.tar.gz) = 121955 diff --git a/sysutils/goaccess/files/patch-util.c b/sysutils/goaccess/files/patch-util.c new file mode 100644 index 00000000000..92fd1e7aa66 --- /dev/null +++ b/sysutils/goaccess/files/patch-util.c @@ -0,0 +1,10 @@ +--- ./util.c.orig 2010-11-17 11:23:54.000000000 +0100 ++++ ./util.c 2010-11-17 11:24:10.000000000 +0100 +@@ -29,6 +29,7 @@ + #include <stdlib.h> + #include <netdb.h> + #include <sys/types.h> ++#include <sys/socket.h> + #include <unistd.h> + #include <sys/stat.h> + #include <errno.h> diff --git a/sysutils/goaccess/pkg-descr b/sysutils/goaccess/pkg-descr new file mode 100644 index 00000000000..db733caccee --- /dev/null +++ b/sysutils/goaccess/pkg-descr @@ -0,0 +1,5 @@ +GoAccess is an open source real-time Apache web log analyzer and interactive +viewer that runs in a terminal and provides fast and valuable HTTP statistics +for system administrators that require a visual report on the fly. + +WWW: http://goaccess.prosoftcorp.com/ |