NetBSD Problem Report #48204
From blymn@internode.on.net Tue Sep 10 10:54:05 2013
Return-Path: <blymn@internode.on.net>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0E911715F4
for <gnats-bugs@gnats.NetBSD.org>; Tue, 10 Sep 2013 10:54:05 +0000 (UTC)
Message-Id: <201309101053.r8AArHCg019123@rover.localdomain>
Date: Tue, 10 Sep 2013 20:23:17 +0930 (CST)
From: blymn@internode.on.net
Reply-To: blymn@internode.on.net
To: gnats-bugs@NetBSD.org
Subject: pkgsrc www/adzap package not really functional
X-Send-Pr-Version: 3.95
>Number: 48204
>Category: pkg
>Synopsis: www/adzap cannot zap ads after pkgsrc install
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: simonb
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 10 10:55:00 +0000 2013
>Last-Modified: Tue Sep 10 11:25:00 +0000 2013
>Originator: Blymn
>Release: NetBSD 6.99.23
>Organization:
>Environment:
System: NetBSD rover 6.99.23 NetBSD 6.99.23 (ROVER) #32: Sun Sep 8 16:09:46 CST 2013 toor@rover:/usr/src/sys/arch/amd64/compile/ROVER amd64
Architecture: x86_64
Machine: amd64
>Description:
1) The package www/adzap as installed from pkgsrc will not zap any
advertisements because the version of the squid_redirect installed does
not contain any pattern data.
2) The adzap script installed into libexec has not had the
zapper line modified to contain the correct location of the squid_redirect
script.
3) The squid_redirect script relies on a "flush.pl" perl
module which is not installed with perl5.
>How-To-Repeat:
Install www/adzap and attempt to use it as a redirector with
squid, watch squid restart when a client attempts to load pages due to the
redirectors dying too fast.
>Fix:
1) On install (or maybe fetch) of the package the version of
squid_redirect located at http://adzapper.sourceforge.net/scripts/squid_redirect
should be fetched and installed instead of the squid_redirect-nodata
that is currently installed.
2) Perform a pattern substitution to set the path to squid_redirect
in the adzap script.
3) Either make a package for flush.pl (hardly worth it..) or otherwise
install it. The file is available on CPAN and does work fine with perl5.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->simonb
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 10 Sep 2013 11:10:11 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48204: pkgsrc www/adzap package not really functional
Date: Tue, 10 Sep 2013 20:20:57 +0900
On Tue, 10 Sep 2013 19:55:00 +0900, <blymn@internode.on.net> wrote:
> 3) Either make a package for flush.pl (hardly worth it..) or otherwise
> install it. The file is available on CPAN and does work fine with perl5.
It is provided as a part of devel/p5-Perl4-CoreLibs.
--
OBATA Akio / obache@NetBSD.org
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.