| @@ -1,34 +1,34 @@ | | | @@ -1,34 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.38 2019/11/04 22:10:15 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.39 2020/04/25 14:06:32 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= squidGuard-1.4 | | 3 | DISTNAME= squidGuard-1.4 |
4 | PKGREVISION= 15 | | 4 | PKGREVISION= 15 |
5 | CATEGORIES= www | | 5 | CATEGORIES= www |
6 | MASTER_SITES= http://www.squidguard.org/Downloads/ | | 6 | MASTER_SITES= http://www.squidguard.org/Downloads/ |
7 | MASTER_SITES+= http://www.squidguard.org/Downloads/Patches/1.4/ | | 7 | MASTER_SITES+= http://www.squidguard.org/Downloads/Patches/1.4/ |
8 | DISTFILES= ${DEFAULT_DISTFILES} \ | | 8 | DISTFILES= ${DEFAULT_DISTFILES} \ |
9 | squidGuard-1.4-patch-20091015.tar.gz \ | | 9 | squidGuard-1.4-patch-20091015.tar.gz \ |
10 | squidGuard-1.4-patch-20091019.tar.gz | | 10 | squidGuard-1.4-patch-20091019.tar.gz |
11 | # http://bugs.squid-cache.org/show_bug.cgi?id=3978 | | 11 | # http://bugs.squid-cache.org/show_bug.cgi?id=3978 |
12 | PATCH_SITES= -http://bugs.squid-cache.org/attachment.cgi?id=2988 | | 12 | PATCH_SITES= -http://bugs.squid-cache.org/attachment.cgi?id=2988 |
13 | PATCHFILES= squidGuard-1.4_upgrade.patch | | 13 | PATCHFILES= squidGuard-1.4_upgrade.patch |
14 | PATCH_DIST_STRIP= -p1 | | 14 | PATCH_DIST_STRIP= -p1 |
15 | | | 15 | |
16 | MAINTAINER= pkgsrc-users@NetBSD.org | | 16 | MAINTAINER= pkgsrc-users@NetBSD.org |
17 | HOMEPAGE= http://www.squidguard.org/ | | 17 | HOMEPAGE= http://www.squidguard.org/ |
18 | COMMENT= Ultrafast and free filter, redirector and access controller for Squid | | 18 | COMMENT= Ultrafast and free filter, redirector and access controller for Squid |
19 | LICENSE= gnu-gpl-v2 | | 19 | LICENSE= gnu-gpl-v2 |
20 | | | 20 | |
21 | .include "../../www/squid3/Makefile.common" | | 21 | .include "../../www/squid4/Makefile.common" |
22 | | | 22 | |
23 | BDB_ACCEPTED= db4 db5 | | 23 | BDB_ACCEPTED= db4 db5 |
24 | USE_TOOLS+= lex yacc perl | | 24 | USE_TOOLS+= lex yacc perl |
25 | GNU_CONFIGURE= yes | | 25 | GNU_CONFIGURE= yes |
26 | CONFIGURE_ARGS+= --with-db-inc=${BDBBASE}/include/${BDB_TYPE} | | 26 | CONFIGURE_ARGS+= --with-db-inc=${BDBBASE}/include/${BDB_TYPE} |
27 | CONFIGURE_ARGS+= --with-db-lib=${BDBBASE}/lib/${BDB_TYPE} | | 27 | CONFIGURE_ARGS+= --with-db-lib=${BDBBASE}/lib/${BDB_TYPE} |
28 | CONFIGURE_ARGS+= --with-sg-config=${PKG_SYSCONFDIR}/squidGuard.conf | | 28 | CONFIGURE_ARGS+= --with-sg-config=${PKG_SYSCONFDIR}/squidGuard.conf |
29 | CONFIGURE_ARGS+= --with-sg-logdir=${LOGDIR} | | 29 | CONFIGURE_ARGS+= --with-sg-logdir=${LOGDIR} |
30 | CONFIGURE_ARGS+= --with-sg-dbhome=${DBDIR} | | 30 | CONFIGURE_ARGS+= --with-sg-dbhome=${DBDIR} |
31 | CONFIGURE_ARGS+= --with-squiduser=${SQUID_USER} | | 31 | CONFIGURE_ARGS+= --with-squiduser=${SQUID_USER} |
32 | | | 32 | |
33 | CHECK_PORTABILITY_SKIP= configure-old | | 33 | CHECK_PORTABILITY_SKIP= configure-old |
34 | | | 34 | |