2016-07-09 08:38:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.58 2016/07/09 06:39:14 wiz Exp $
|
2003-06-16 05:02:04 +02:00
|
|
|
#
|
|
|
|
|
2003-06-18 19:02:59 +02:00
|
|
|
DISTNAME= ${PKGNAME_NOREV}-stable-src
|
2015-01-27 21:32:26 +01:00
|
|
|
PKGNAME= privoxy-3.0.23
|
2016-07-09 08:38:30 +02:00
|
|
|
PKGREVISION= 2
|
2003-06-16 05:02:04 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ijbswa/}
|
|
|
|
|
2009-04-07 02:21:46 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-06-16 05:02:04 +02:00
|
|
|
HOMEPAGE= http://www.privoxy.org/
|
2003-07-22 06:14:17 +02:00
|
|
|
COMMENT= Web proxy with advanced filtering capabilities
|
2011-04-26 23:23:26 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2003-06-16 05:02:04 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
PRIVOXY_USER?= privoxy
|
|
|
|
PRIVOXY_GROUP?= privoxy
|
2007-07-04 22:54:31 +02:00
|
|
|
PKG_GROUPS_VARS+= PRIVOXY_GROUP
|
|
|
|
PKG_USERS_VARS+= PRIVOXY_USER
|
2003-06-16 05:02:04 +02:00
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR?= privoxy
|
|
|
|
|
|
|
|
RCD_SCRIPTS= privoxy
|
2004-09-24 16:08:36 +02:00
|
|
|
PKG_GROUPS= ${PRIVOXY_GROUP}
|
2006-04-23 02:12:35 +02:00
|
|
|
PKG_USERS= ${PRIVOXY_USER}:${PRIVOXY_GROUP}
|
2003-06-16 05:02:04 +02:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/privoxy
|
|
|
|
|
|
|
|
CPPFLAGS+= -Dunix
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}-stable
|
2003-06-16 05:02:04 +02:00
|
|
|
|
2007-09-08 23:57:57 +02:00
|
|
|
USE_FEATURES= snprintf
|
2010-02-25 00:22:45 +01:00
|
|
|
USE_TOOLS+= gmake mktemp autoconf autoheader
|
2012-08-26 09:46:11 +02:00
|
|
|
BUILD_DEFS+= VARBASE
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= GNUmakefile
|
2003-06-16 05:02:04 +02:00
|
|
|
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= perl
|
2003-06-16 05:02:04 +02:00
|
|
|
|
2004-12-18 21:58:30 +01:00
|
|
|
PTHREAD_AUTO_VARS= yes
|
Upgraded privoxy to 3.0.3
--------------------------------------------------------------------------
ChangeLog for Version 3.0.3:
--------------------------------------------------------------------------
- Fixed yet another two memory leaks. Process growth looks stopped now.
- Further tightened security against malicious toggle-off links.
- Excluded text/plain MIME types from filtering. This fixes a
couple of client-crashing, download corruption and
Privoxy performance issues, whose root cause lies in
web servers labelling content of unknown type as text/plain.
- Assorted fixes for POSIX compliance, signal handling, graceful
termination, compiler warnings, OSX support, Win32 systray,
error logging, hostname wildcards, correct detection of NetBSD.
- Workarounds for client (iTunes etc) and server (PHP < 4.2.3) bugs
including the notorious "blank page" problem.
- Various filter improvements; most notably the unsolicited-popups
filter became less destructive
- Major revamp of the actions file
2004-09-22 18:09:57 +02:00
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
|
2003-06-16 05:02:04 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${EGDIR:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-user=${PRIVOXY_USER:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-group=${PRIVOXY_GROUP:Q}
|
2014-10-14 08:39:30 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-compression
|
2003-06-16 05:02:04 +02:00
|
|
|
|
|
|
|
USER_GROUP= ${PRIVOXY_USER} ${PRIVOXY_GROUP}
|
|
|
|
|
|
|
|
.for i in \
|
2009-04-07 02:21:46 +02:00
|
|
|
config trust default.action user.action default.filter match-all.action
|
2003-06-16 05:02:04 +02:00
|
|
|
CONF_FILES_PERMS+= ${EGDIR}/${i} ${PKG_SYSCONFDIR}/${i} ${USER_GROUP} 0660
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
OWN_DIRS_PERMS+= /var/log/privoxy ${USER_GROUP} 0775
|
2010-02-09 21:18:43 +01:00
|
|
|
CONF_FILES_PERMS+= /dev/null /var/log/privoxy/logfile ${USER_GROUP} 0660
|
2003-06-16 05:02:04 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= PRIVOXY_USER=${PRIVOXY_USER:Q}
|
2003-06-16 05:02:04 +02:00
|
|
|
|
2006-01-05 22:57:36 +01:00
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_FILES.paths= config
|
|
|
|
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
|
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
|
2010-02-09 21:18:43 +01:00
|
|
|
|
2003-06-16 05:02:04 +02:00
|
|
|
pre-configure:
|
2009-04-07 16:02:06 +02:00
|
|
|
cd ${WRKSRC} && autoheader && autoconf
|
2003-06-16 05:02:04 +02:00
|
|
|
|
2004-04-19 06:53:58 +02:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
2009-02-04 22:30:53 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
Upgraded privoxy to 3.0.3
--------------------------------------------------------------------------
ChangeLog for Version 3.0.3:
--------------------------------------------------------------------------
- Fixed yet another two memory leaks. Process growth looks stopped now.
- Further tightened security against malicious toggle-off links.
- Excluded text/plain MIME types from filtering. This fixes a
couple of client-crashing, download corruption and
Privoxy performance issues, whose root cause lies in
web servers labelling content of unknown type as text/plain.
- Assorted fixes for POSIX compliance, signal handling, graceful
termination, compiler warnings, OSX support, Win32 systray,
error logging, hostname wildcards, correct detection of NetBSD.
- Workarounds for client (iTunes etc) and server (PHP < 4.2.3) bugs
including the notorious "blank page" problem.
- Various filter improvements; most notably the unsolicited-popups
filter became less destructive
- Major revamp of the actions file
2004-09-22 18:09:57 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2003-06-16 05:02:04 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|