From owner-freebsd-ports@FreeBSD.ORG Tue Aug 10 16:20:42 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E0C616A4CE for ; Tue, 10 Aug 2004 16:20:42 +0000 (GMT) Received: from mailtest.sd73.bc.ca (mailtest.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B05543D41 for ; Tue, 10 Aug 2004 16:20:42 +0000 (GMT) (envelope-from fcash-ml@sd73.bc.ca) Received: from localhost (localhost [127.0.0.1]) by mailtest.sd73.bc.ca (Postfix) with ESMTP id 91E8F26861 for ; Tue, 10 Aug 2004 09:20:42 -0700 (PDT) Received: from mailtest.sd73.bc.ca ([127.0.0.1]) by localhost (mailtest.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38647-05 for ; Tue, 10 Aug 2004 09:20:42 -0700 (PDT) Received: from [192.168.0.166] (unknown [192.168.0.166]) by mailtest.sd73.bc.ca (Postfix) with ESMTP id 5B39726849 for ; Tue, 10 Aug 2004 09:20:42 -0700 (PDT) From: Freddie Cash Organization: School District 73 - Kamloops, BC To: ports@freebsd.org Date: Tue, 10 Aug 2004 09:20:30 -0700 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200408100920.30843.fcash-ml@sd73.bc.ca> X-Virus-Scanned: by amavisd-new at sd73.bc.ca Subject: Adding zlib support to a port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2004 16:20:42 -0000 The latest version of DansGuardian (www/dansguardian) has the ability to use zlib to improve throughput and reduce memory usage. However, it requires zlib 1.2.1. This isn't a problem on -CURRENT as it includes zlib 1.2.1, but 4.x and 5.2.1 only include zlib 1.1.4. There isn't a separate port for zlib, so I can't add that as a dependency. So, I'm looking for a little direction on how to handle this requirement. The three possibilities I've come up with are: 1. Bug the DansGuardian coders to add a private zlib build into the source tarball. 2. Hack up a way to add a private zlib build to the www/dansguardian port. 3. Create a separate port for zlib and add that as a dependency to the dansguardian port. Option 1 would be the easiest for me, but seems like overkill over something like this, especially since zlib is included with just about every Unix-like system, and is easy to upgrade on most of them. Option 2 seems like a decent solution, but I have no idea how to add that in to the port framework. Option 3 seems like the most logical solution, but I'm not a big coder or integrator, so I'm not sure what the repurcussions of having zlib in /usr/lib and /usr/local/lib would be, or how to handle versioning. Any suggestions? -- Freddie Cash, CCNT CCLP Helpdesk / Network Support Tech. School District 73 (250) 377-HELP [377-4357] fcash-ml@sd73.bc.ca