Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2006 10:31:42 GMT
From:      Artis Caune <Artis.Caune@latnet.lv>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/102639: [PATCH] security/openssl - readlink warning when base is built without OpenSSL
Message-ID:  <200608291031.k7TAVgsw084406@www.freebsd.org>
Resent-Message-ID: <200608291040.k7TAeHxX043534@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102639
>Category:       ports
>Synopsis:       [PATCH] security/openssl - readlink warning when base is built without OpenSSL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 29 10:40:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Artis Caune
>Release:        6.1
>Organization:
>Environment:
>Description:
If base is built without OpenSSL, I get this warning:

"Makefile", line 891: warning: "readlink /usr/lib/libcrypto.so" returned non-zero status

>How-To-Repeat:
# pkg_version -v
..
openssh-portable-4.3.p2_1,1         =   up-to-date with port
"Makefile", line 891: warning: "readlink /usr/lib/libcrypto.so" returned non-zero status
openssl-0.9.8b_1                    =   up-to-date with port
..


# cd /usr/ports/security/openssh-portable
# make clean
"Makefile", line 891: warning: "readlink /usr/lib/libcrypto.so" returned non-zero status
===>  Cleaning for perl-5.8.8
"Makefile", line 891: warning: "readlink /usr/lib/libcrypto.so" returned non-zero status
===>  Cleaning for openssl-0.9.8b_1
"Makefile", line 891: warning: "readlink /usr/lib/libcrypto.so" returned non-zero status
===>  Cleaning for openssh-portable-4.3.p2_1,1

>Fix:
--- Makefile.orig       Thu Aug 17 08:17:14 2006
+++ Makefile    Tue Aug 29 13:30:23 2006
@@ -888,7 +888,7 @@
 MAKE_ARGS+=    WHOLE_ARCHIVE_FLAG=--whole-archive
 .endif
 
-OPENSSL_BASE_SONAME!=  readlink ${DESTDIR}/usr/lib/libcrypto.so
+OPENSSL_BASE_SONAME!=  readlink ${DESTDIR}/usr/lib/libcrypto.so || true
 OPENSSL_SHLIBVER_BASE= ${OPENSSL_BASE_SONAME:E}
 OPENSSL_BASE_SOPATH=   ${OPENSSL_BASE_SONAME:H}


>Release-Note:
>Audit-Trail:
>Unformatted:



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