From owner-freebsd-ports@FreeBSD.ORG Sat May 8 20:24:50 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 BDA9316A4CE for ; Sat, 8 May 2004 20:24:50 -0700 (PDT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.243]) by mx1.FreeBSD.org (Postfix) with SMTP id 92EBA43D31 for ; Sat, 8 May 2004 20:24:49 -0700 (PDT) (envelope-from vadimk@gmail.com) Received: by mproxy.gmail.com with SMTP id x17so26396cwb for ; Sat, 08 May 2004 20:24:46 -0700 (PDT) Received: by 10.11.98.44 with SMTP id v44mr66582cwb; Sat, 08 May 2004 20:24:46 -0700 (PDT) Message-ID: <4f30c27f040508202421664e26@mail.gmail.com> Date: Sat, 8 May 2004 20:24:46 -0700 From: Vadim Kurland To: Jonathan In-Reply-To: <1084049192.422.63.camel@mobile.silbsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1084049192.422.63.camel@mobile.silbsd.org> cc: FreeBSD ports Subject: Re: fixing fwbuilder 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: Sun, 09 May 2004 03:24:51 -0000 I am the author of Firewall Builder and port maintainer (currently). Unfortunately I do not know how to solve this problem. I hope gurus on this list provide an advice. One thing though. The code that depends on openssl is in fact in security/libfwbuilder. I have "crypto.3:${PORTSDIR}/security/openssl" listed in LIB_DEPENDS there. Did it compile for you ? This dependency is on openssl from ports, so I would expect build of that port to fail also. --vk On Sat, 08 May 2004 15:46:33 -0500, Jonathan wrote: > > FreeBSD 5.2-CURRENT #0: Thu Apr 29 23:05:11 > Port: fwbuilder-1.1.2_2 (/usr/ports/security/fwbuilder) > Compiled with: gcc version 3.3.3 [FreeBSD] 20031106 > > I installed fwbuilder (a GUI firewall configuration tool) and when I > went to make a package I got this error: > > pkg_add: could not find package openssl-0.9.7 ! > > I looked at the dependencies and saw that it did need openssl-0.9.7 and > that openssl-0.9.7 had not been installed (the userland openssl is > installed): > > Port: fwbuilder-1.1.2_2 > Path: /usr/ports/security/fwbuilder > Info: Firewall Builder GUI and policy compilers > Maint: vadim@fwbuilder.org > Index: security > B-deps: XFree86-libraries-4.3.0_7 expat-1.95.7 fontconfig-2.2.2,1 > freetype2-2.1.7_3 gdk-pixbuf-0.22.0_1 ge > ttext-0.13.1_1 glib-1.2.10_10 gmake-3.80_2 gtk-1.2.10_12 gtkmm-1.2.8_2 > imake-4.3.0_2 jpeg-6b_2 libfwbuilder-1.0.2_3 libiconv-1.9.1_3 > libsigc++-1.0.4 libtool-1.3.5_2 libxml2-2.6.9 libxslt-1.1.6 > net-snmp-5.1.1_3 op > enssl-0.9.7d pkgconfig-0.15.0_1 png-1.2.5_4 python-2.3.3_5 rc_subr-1.16 > tiff-3.6.1_1 > > R-deps: XFree86-libraries-4.3.0_7 expat-1.95.7 fontconfig-2.2.2,1 > freetype2-2.1.7_3 gdk-pixbuf-0.22.0_1 ge > ttext-0.13.1_1 glib-1.2.10_10 gtk-1.2.10_12 gtkmm-1.2.8_2 imake-4.3.0_2 > jpeg-6b_2 libfwbuilder-1.0.2_3 lib > iconv-1.9.1_3 libsigc++-1.0.4 libxml2-2.6.9 libxslt-1.1.6 > net-snmp-5.1.1_3 openssl-0.9.7d pkgconfig-0.15.0 > _1 png-1.2.5_4 python-2.3.3_5 rc_subr-1.16 tiff-3.6.1_1 > > I went and modified my Makefile like so: > > --- Makefile.fwbuilder.original Sat May 8 14:11:34 2004 > +++ Makefile.fwbuilder.new Sat May 8 14:19:22 2004 > @@ -15,6 +15,10 @@ > MAINTAINER= vadim@fwbuilder.org > COMMENT= Firewall Builder GUI and policy compilers > > +BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl > + > +RUN_DEPENDS= openssl:${PORTSDIR}/security/openssl > + > LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk-- \ > gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \ > fwbuilder.5:${PORTSDIR}/security/libfwbuilder > > and recompiled. It still gave the same error. Sure enough openssl, from > ports, was not installed despite including the run and build depends. I > did see that and openssl was installed by default, as part of the > userland. > So I went to the Firewall Builder site, http://www.fwbuilder.org/, and > saw that I might need to add --with-openssl-prefix=PREFIX - (specify > prefix directory where openssl library is installed). The problem is > that the openssl pkg-plist lists these entries for libssl: > > > lib/libssl.a > %%SHARED%%lib/libssl.so > %%SHARED%%lib/libssl.so.%%SHLIBVER%% > > > Question 1) do I need to specify > CONFIGURE_ARGS+= --with-openssl-prefix=${LOCALBASE}/lib > > if so will it know whether to select the static (libssl.a) or the shared > ( libssl.so ) library. Or should I just include it in the LIB_PEPENDS ? > > Question 2) Should I install the openssl port when the base system > already includes it? Openssl is in the base system but it's not being > detected by fwbuilder. > > Question 3) What are the %%SHARED%% for? I looked in > /usr/ports/Mk/bsd.ports.mk and could not find an entry. > > I am quite new to porting and just wanted to fix this. > -- > Kind regards, > Jonathan > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >