Page MenuHomeFreeBSD

D41973.id127765.diff
No OneTemporary

D41973.id127765.diff

Index: Mk/Scripts/qa.sh
===================================================================
--- Mk/Scripts/qa.sh
+++ Mk/Scripts/qa.sh
@@ -115,7 +115,10 @@
local rc
local found_openssl
local file
+ local provides_ssllibs
[ "${PKGBASE}" = "pkg" -o "${PKGBASE}" = "pkg-devel" ] && return
+
+ provides_ssllibs=$(list_stagedir_elfs \( -name 'libcrypto.so*' -or -name 'libssl.so*' \))
while read -r f; do
case ${f} in
File:\ .*)
@@ -136,10 +139,12 @@
done <<-EOF
$(list_stagedir_elfs -exec readelf -d {} + 2>/dev/null)
EOF
- if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then
- warn "you need USES=ssl"
- elif [ -n "${USESSSL}" -a -z "${found_openssl}" ]; then
- warn "you may not need USES=ssl"
+ if [ -z "${provides_ssllibs}" ]; then
+ if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then
+ warn "you need USES=ssl"
+ elif [ -n "${USESSSL}" -a -z "${found_openssl}" ]; then
+ warn "you may not need USES=ssl"
+ fi
fi
return ${rc}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 29, 7:58 AM (8 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30518105
Default Alt Text
D41973.id127765.diff (968 B)

Event Timeline