ports/102639: [PATCH] security/openssl - readlink warning when base is built without OpenSSL

Artis Caune Artis.Caune at latnet.lv
Tue Aug 29 10:40:18 UTC 2006


>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:



More information about the freebsd-ports-bugs mailing list