2013-03-16 07:52:34 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2013/03/16 11:52:34 rpe Exp $
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
|
|
|
|
COMMENT= free real-time logfile analyzer
|
|
|
|
|
2013-03-16 07:52:34 -04:00
|
|
|
DISTNAME= awstats-7.1.1
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
|
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= http://awstats.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Robert Peichaer <rpe@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=awstats/}
|
|
|
|
|
|
|
|
RUN_DEPENDS= net/p5-Geo-IP \
|
|
|
|
www/p5-libwww
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2012-12-09 17:05:25 -05:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
|
|
|
|
PREFIX= /var/www
|
2012-12-09 17:05:25 -05:00
|
|
|
INSTDIR= ${PREFIX}/awstats
|
|
|
|
|
|
|
|
ACCESSLOG= LogFile="${PREFIX}/logs/access_log"
|
|
|
|
GEOIPDAT= ${LOCALBASE}/share/examples/GeoIP/GeoIP.dat
|
|
|
|
GEOIPPLUGIN= LoadPlugin="geoip GEOIP_STANDARD ${GEOIPDAT}"
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@perl -pi \
|
2012-12-09 17:05:25 -05:00
|
|
|
-e "s,/usr/local/awstats,${INSTDIR},g;" \
|
|
|
|
-e "s,/var/lib/awstats,${INSTDIR}/data,g;" \
|
|
|
|
${WRKSRC}/docs/*.html \
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
${WRKSRC}/tools/*.pl \
|
|
|
|
${WRKSRC}/tools/httpd_conf \
|
|
|
|
${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf \
|
2012-12-09 17:05:25 -05:00
|
|
|
${WRKSRC}/wwwroot/cgi-bin/awstats.pl
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
@perl -pi \
|
2012-12-09 17:05:25 -05:00
|
|
|
-e 's,^LogFile="/var/log/httpd/mylog.log",${ACCESSLOG},g;' \
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
-e 's,^SiteDomain="",SiteDomain="localhost",g;' \
|
2012-12-09 17:05:25 -05:00
|
|
|
-e 's,^DirData=".",DirData="${INSTDIR}/data",g;' \
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
-e 's,^DirCgi="/cgi-bin",DirCgi="/awstats",g;' \
|
|
|
|
-e 's,^DirIcons="/icon",DirIcons="/awstatsicons",g;' \
|
2012-12-09 17:05:25 -05:00
|
|
|
-e 's,^#LoadPlugin="geoip GEOIP_STANDARD /pathto/GeoIP.dat",${GEOIPPLUGIN},g;' \
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf
|
|
|
|
|
|
|
|
do-install:
|
2012-12-09 17:05:25 -05:00
|
|
|
${INSTALL_DATA_DIR} ${INSTDIR}/data
|
|
|
|
cp -R ${WRKSRC}/* ${INSTDIR}/
|
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
2012-12-28 13:13:51 -05:00
|
|
|
find ${INSTDIR} -name '*.pl' -type f -exec chmod u=rwx,go=rx {} +
|
2012-12-09 17:05:25 -05:00
|
|
|
find ${INSTDIR} ! -name '*.pl' -type f -exec chmod u=rw,go=r {} +
|
import awstats-7.0
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.
with help and ok ajacoutot@ sthen@
2012-11-18 05:53:30 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|