Date: Wed, 11 Sep 2002 20:13:00 +0200 (CEST) From: Roman Neuhauser <roman@bellavista.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/42665: problem with -DOPENSSL_OVERWRITE_BASE in security/openssl Message-ID: <20020911181300.A7B16BB@freepuppy.bellavista.cz>
next in thread | raw e-mail | index | archive | help
>Number: 42665 >Category: ports >Synopsis: problem with -DOPENSSL_OVERWRITE_BASE in security/openssl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 11 11:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Roman Neuhauser >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD freepuppy.bellavista.cz 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jul 13 08:40:44 CEST 2002 roman@freepuppy.bellavista.cz:/usr/obj/usr/src/sys/FREEPUPPY2_3 i386 >Description: OPENSSL_OVERWRITE_BASE uses /usr/openssl instead of /etc/ssl, which looks like a bug. >How-To-Repeat: # cd /usr/ports/security/openssl/ # make install clean -DOPENSSL_OVERWRITE_BASE # ls -ld /etc/*ssl >Fix: --- Makefile.patch begins here --- --- /usr/ports/security/openssl/Makefile Wed Aug 14 10:16:00 2002 +++ Makefile Wed Sep 11 11:27:13 2002 @@ -38,6 +38,9 @@ PKGNAMESUFFIX= -overwrite-base PREFIX= /usr SHLIBVER= 2 +OPENSSLDIR= /etc/ssl +.else +OPENSSLDIR= ${PREFIX}/openssl .endif MANPREFIX= ${PREFIX}/openssl @@ -124,7 +127,7 @@ do-configure: @cd ${WRKSRC} \ && ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" \ - ./config --prefix=${PREFIX} --openssldir=${PREFIX}/openssl \ + ./config --prefix=${PREFIX} --openssldir=${OPENSSLDIR} \ -L${PREFIX}/lib ${EXTRACONFIGURE} post-install: --- Makefile.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020911181300.A7B16BB>