From owner-freebsd-ports@FreeBSD.ORG Thu Dec 9 10:05:06 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 8629616A4CE for ; Thu, 9 Dec 2004 10:05:06 +0000 (GMT) Received: from smtp.datapro.co.za (smtp2.datapro.co.za [196.3.164.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FFAB43D54 for ; Thu, 9 Dec 2004 10:05:03 +0000 (GMT) (envelope-from ultraviolet@omina.co.za) Received: from omina.co.za (morn.omina.co.za [196.41.199.54]) by smtp.datapro.co.za (Postfix) with ESMTP id F139039DE4; Thu, 9 Dec 2004 12:01:55 +0200 (SAST) Received: from localhost (unknown [172.19.15.8]) by omina.co.za (Postfix) with ESMTP id 8A0B618241C; Thu, 9 Dec 2004 12:04:43 +0200 (SAST) Received: from omina.co.za ([172.19.15.5]) by localhost (omina.co.za [172.19.15.8]) (amavisd-new, port 10024) with ESMTP id 95460-07; Thu, 9 Dec 2004 10:04:36 +0000 (GMT) Received: by omina.co.za (Postfix, from userid 1001) id 00D8418241A; Thu, 9 Dec 2004 12:04:35 +0200 (SAST) Date: Thu, 9 Dec 2004 12:04:35 +0200 From: William Fletcher To: Dirk Meyer Message-ID: <20041209100435.GR69179@omina.co.za> References: <20041206163545.GC51179@omina.co.za> <20041208091953.GJ69179@omina.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xe2geHXJg22At20M" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at omina.co.za cc: freebsd-ports@FreeBSD.org Subject: Re: OpenSSL inside jails. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ultraviolet@turandot.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 10:05:06 -0000 --xe2geHXJg22At20M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, The compile goes... Perfectly, Until it get to where it previously looked f= or -lssl, now it is missing a lot of header files. cc -O -pipe -mcpu=3Dpentiumpro -mcpu=3Dpentiumpro -I/usr/ports/sysutils/pk= g_install -devel/work/pkg_install-20040811/sign/../lib -c x509.c x509.c:40:25: openssl/rsa.h: No such file or directory x509.c:41:25: openssl/evp.h: No such file or directory x509.c:42:29: openssl/objects.h: No such file or directory x509.c:43:26: openssl/x509.h: No such file or directory x509.c:44:25: openssl/err.h: No such file or directory x509.c:45:25: openssl/pem.h: No such file or directory x509.c:46:25: openssl/ssl.h: No such file or directory x509.c:70: error: syntax error before "STACK_OF" =2E.. And a lot more errors. Inside the jail I'm trying to install in... # ldd /usr/lib/libfetch.so.3 /usr/lib/libfetch.so.3: # Opening a send-pr for php4-openssl. Thank you very much for your time. On Thu, Dec 09, 2004 at 05:51:42AM +0100, Dirk Meyer wrote: > Hallo William Fletcher, >=20 > > I already tried the WITH_OPENSSL_PORT=3D3D"YES". > >=20 > > Come to think of it, the pkg_install-devel just won't work against Open= SSL, > > even with the WITH_OPENSSL_PORT=3D3D"YES". I even tried looking in port= s/Mk t=3D > > o=3D20 > > see if I could figure out, it does not appear to be "honoring" the CFLA= GS\L=3D > > DFLAGS.=3D20 >=20 > It does... > Please try this patch: >=20 > diff -u /usr/ports/sysutils/pkg_install-devel/Makefile ./Makefile > --- /usr/ports/sysutils/pkg_install-devel/Makefile Tue Aug 17 07:29:10 20= 04 > +++ ./Makefile Thu Dec 9 05:44:24 2004 > @@ -36,6 +36,7 @@ > USE_OPENSSL=3D yes > MAN1+=3D pkg_check.1 pkg_sign.1 > PLIST_SUB+=3D OPENSSL=3D"" > +LDFLAGS+=3D -L${OPENSSLLIB} > .else > MAKE_ARGS=3D -DNO_OPENSSL > PLIST_SUB+=3D OPENSSL=3D"@comment " >=20 > But libfetch might not work without a openssl in base. > you can check it: > $ ldd /usr/lib/libfetch.so.3 >=20 > > And Squirrelmail, needs php4-openssl, which I tried the same thing with= ...=3D > > And that fails. >=20 > How does it fail?, does Squirrelmail fail in build? > does php4-openssl fail in build? >=20 > if php4-openssl fail in build, use "send-pr" >=20 > kind regards Dirk >=20 > - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany > - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org] --xe2geHXJg22At20M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBuCMztBfQcwTFxMoRAkcGAJwMlmvdOX3D847Remkv7hnkYibNcQCfZsef 0KZbttBvNh0VWyPmq0ybJBg= =8gr7 -----END PGP SIGNATURE----- --xe2geHXJg22At20M--