2005-06-01 22:07:59 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2005/06/01 20:08:01 jlam Exp $
|
2003-06-16 05:02:04 +02:00
|
|
|
#
|
|
|
|
|
2003-06-18 19:02:59 +02:00
|
|
|
DISTNAME= ${PKGNAME_NOREV}-stable-src
|
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
|
|
|
PKGNAME= privoxy-3.0.3
|
2004-12-28 03:47:40 +01:00
|
|
|
PKGREVISION= 3
|
2003-06-16 05:02:04 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ijbswa/}
|
|
|
|
|
|
|
|
MAINTAINER= kim@tac.nyc.ny.us
|
|
|
|
HOMEPAGE= http://www.privoxy.org/
|
2003-07-22 06:14:17 +02:00
|
|
|
COMMENT= Web proxy with advanced filtering capabilities
|
2003-06-16 05:02:04 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
PRIVOXY_USER?= privoxy
|
|
|
|
PRIVOXY_GROUP?= privoxy
|
|
|
|
BUILD_DEFS+= PRIVOXY_USER PRIVOXY_GROUP
|
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR?= privoxy
|
|
|
|
|
|
|
|
USE_PKGINSTALL= YES
|
|
|
|
RCD_SCRIPTS= privoxy
|
2004-09-24 16:08:36 +02:00
|
|
|
PKG_GROUPS= ${PRIVOXY_GROUP}
|
|
|
|
PKG_USERS= ${PRIVOXY_USER}:${PRIVOXY_GROUP}::Privoxy\\ user
|
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
|
|
|
|
2005-06-01 22:07:59 +02:00
|
|
|
USE_TOOLS+= autoconf213 gmake
|
2003-06-16 05:02:04 +02:00
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
|
|
|
|
USE_PERL5= build
|
|
|
|
|
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
|
2004-12-29 16:21:50 +01:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
2003-06-16 05:02:04 +02:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${EGDIR}
|
|
|
|
CONFIGURE_ARGS+= --with-user=${PRIVOXY_USER}
|
|
|
|
CONFIGURE_ARGS+= --with-group=${PRIVOXY_GROUP}
|
|
|
|
|
|
|
|
USER_GROUP= ${PRIVOXY_USER} ${PRIVOXY_GROUP}
|
|
|
|
|
|
|
|
.for i in \
|
|
|
|
config trust default.action standard.action user.action default.filter
|
|
|
|
CONF_FILES_PERMS+= ${EGDIR}/${i} ${PKG_SYSCONFDIR}/${i} ${USER_GROUP} 0660
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
OWN_DIRS_PERMS+= /var/log/privoxy ${USER_GROUP} 0775
|
|
|
|
|
|
|
|
DEINSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
|
|
|
|
INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
|
|
|
|
|
|
|
|
FILES_SUBST+= EGDIR=${EGDIR}
|
|
|
|
FILES_SUBST+= PRIVOXY_USER=${PRIVOXY_USER}
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC} && \
|
2005-06-01 22:07:59 +02:00
|
|
|
( autoheader && autoconf ; \
|
2003-06-16 05:02:04 +02:00
|
|
|
${MV} config config.bak && \
|
|
|
|
${SED} ${FILES_SUBST_SED} <config.bak >config && \
|
|
|
|
${RM} -f config.bak \
|
|
|
|
)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} ${EGDIR}
|
|
|
|
${CHMOD} -R a+r ${EGDIR}
|
|
|
|
|
2004-04-19 06:53:58 +02:00
|
|
|
.include "../../devel/pcre/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"
|