pkgsrc/www/webalizer/Makefile

58 lines
1.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.69 2018/04/21 13:38:07 wiz Exp $
DISTNAME= webalizer-2.21-02-src
PKGNAME= webalizer-2.21.2
PKGREVISION= 15
CATEGORIES= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/
Updated to 2.01.06. Changes include: o Fixed possible segfault condition in MangleAgent code on some malformed user agent names. o Fixed DNS to prevent hangs on blank and malformed hostnames. o Fixed problem calculating visits. o Fixed hostname lowercase problem (wasn't) when using DNS lookups. o Fixed problem with incremental datafile which could cause a read error under certain circumstances o Fixed problem with hash table node creation o Fixed problem where country graph could be produced incorrectly o Found and fixed a problem with a possible 32-bit wrap around o Added DailyGraph and DailyStats configuration options o Improved visit calculation logic to reduce 'false' counts o Added reverse DNS lookup capability. o Added ability to dump Sites, URL's, Referrers, User Agents, Usernames and Search Strings to tab delimited files o Added username analysis, based on usernames found in the log, o Added the ability to display ALL sites, URL's, Referrers, User Agents and Search Strings on a seperate HTML page o Added support for squid proxy logs o Completely modified the way the various TOP tables are handled and sorted o Added the ability to group domains automatically o Added user configurable search engine specification o Changed code to use the latest version of GD which supports PNG o Added ability to override log file to STDIN by use of '-' o Added gzipped logfile support. o Minor changes to search string code to increase accuracy. o Minor changes to URL parse code to allow additional characters. o Major changes to hash table node format for reduced memory usage.
2000-10-18 18:41:23 +02:00
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.webalizer.org/
COMMENT= Web server log file analysis program
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
BDB_ACCEPTED= db4 db5
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --enable-dns
EGDIR= ${PREFIX}/share/examples
CONF_FILES= ${EGDIR}/webalizer.conf.sample ${PKG_SYSCONFDIR}/webalizer.conf
DOC_SUBDIR= share/doc/webalizer
DOCDIR= ${PREFIX}/${DOC_SUBDIR}
DOCFILES= CHANGES Copyright DNS.README README README.FIRST
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples ${DOC_SUBDIR}
SUBST_CLASSES+= webalizer
SUBST_STAGE.webalizer= post-build
SUBST_FILES.webalizer= sample.conf webalizer.1
SUBST_SED.webalizer= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
PKG_OPTIONS_VAR= PKG_OPTIONS.webalizer
PKG_SUPPORTED_OPTIONS= bzip2 geoip
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mbzip2)
. include "../../archivers/bzip2/buildlink3.mk"
CONFIGURE_ARGS+= --enable-bz2
.endif # option bzip2
.if !empty(PKG_OPTIONS:Mgeoip)
. include "../../net/GeoIP/buildlink3.mk"
CONFIGURE_ARGS+= --enable-geoip
CONFIGURE_ARGS+= --with-geodb=${BUILDLINK_PREFIX.GeoIP}/share/GeoIP
.endif # option geoip
post-install:
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}/${f}
.endfor
BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE}
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"