1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- use new port net/webalizer-geodb

This commit is contained in:
Dirk Meyer 2020-05-04 10:58:59 +00:00
parent 15530d5e53
commit 55fa77b719
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533913
2 changed files with 4 additions and 12 deletions

View File

@ -2,10 +2,9 @@
PORTNAME= webalizer
PORTVERSION= 2.23.8
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES+= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/:main \
ftp://ftp.mrunix.net/pub/webalizer/geodb/:geodb \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/:main \
http://flags.blogpotato.de/zip/:flags
PKGNAMESUFFIX?= ${WEBALIZER_SUFFIX}${PKGNAMESUFFIX2}
@ -49,6 +48,7 @@ LARGE_URL_DESC=Enable URLs longer 512 bytes
GEODB_IMPLIES= BDB
GEODB_PREVENTS= BDB1
GEODB_RUN_DEPENDS= ${LOCALBASE}/share/geolizer/GeoDB.dat:net/webalizer-geodb
GEOIP_CONFIGURE_ON= --enable-geoip \
--with-geoip-lib=${LOCALBASE}/lib \
--with-geoip-inc=${LOCALBASE}/include
@ -71,9 +71,6 @@ IP_AS_HOSTNAME_CFLAGS= -DUSE_IP_AS_HOSTNAME
.if ${PORT_OPTIONS:MGEODB} || ${PORT_OPTIONS:MGEOIP} || make(makesum) || defined(FETCH_ALL)
DISTFILES+= webalizer-flags.tgz:main
.endif
.if ${PORT_OPTIONS:MGEODB} || make(makesum) || defined(FETCH_ALL)
DISTFILES+= webalizer-geodb-20190501.tgz:geodb
.endif
# slave ports override with languages specific gd
.if empty(LIB_DEPENDS:Mlibgd*)
@ -94,7 +91,7 @@ PLIST_SUB+= WITH_ICONS="@comment "
CONFIGURE_ARGS+= --enable-dns \
--enable-bz2 \
--with-geodb=${PREFIX}/share/webalizer \
--with-geodb=${PREFIX}/share/geolizer \
--sysconfdir=${PREFIX}/etc \
--with-gdlib=${LOCALBASE}/lib \
--with-gd=${LOCALBASE}/include
@ -176,9 +173,6 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/geolizer
${INSTALL_DATA} ${WRKDIR}/flags/* ${STAGEDIR}${PREFIX}/share/geolizer/
.endif
.if ${PORT_OPTIONS:MGEODB}
${INSTALL_DATA} ${WRKDIR}/GeoDB.dat ${STAGEDIR}${PREFIX}/share/geolizer/
.endif
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -1,7 +1,5 @@
TIMESTAMP = 1557465650
TIMESTAMP = 1588587167
SHA256 (webalizer-2.23-08-src.tgz) = edaddb5aa41cc4a081a1500e3fa96615d4b41bc12086bcedf9938018ce79ed8d
SIZE (webalizer-2.23-08-src.tgz) = 537037
SHA256 (webalizer-flags.tgz) = df9961fec7da2c16ed3faefb763f912c2db5ddce6a24e4f46647d7e64b8ab29a
SIZE (webalizer-flags.tgz) = 146658
SHA256 (webalizer-geodb-20190501.tgz) = 9acf7a36a30d7421b753ebf3302bff62bca1de9e8d226530f7b5e1c6277a45db
SIZE (webalizer-geodb-20190501.tgz) = 1403229