Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 2004 20:24:46 -0700
From:      Vadim Kurland <vadimk@gmail.com>
To:        Jonathan <j.e.drews@worldnet.att.net>
Cc:        FreeBSD ports <ports@freebsd.org>
Subject:   Re: fixing fwbuilder port
Message-ID:  <4f30c27f040508202421664e26@mail.gmail.com>
In-Reply-To: <1084049192.422.63.camel@mobile.silbsd.org>
References:  <1084049192.422.63.camel@mobile.silbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <j.e.drews@worldnet.att.net> 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:
> 
> <SNIP long plist>
> lib/libssl.a
> %%SHARED%%lib/libssl.so
> %%SHARED%%lib/libssl.so.%%SHLIBVER%%
> <SNIP long plist>
> 
> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f30c27f040508202421664e26>