Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149949741
D41973.id127765.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
968 B
Referenced Files
None
Subscribers
None
D41973.id127765.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D41973: Scripts/qa.sh: fine tune USES=ssl recommendation
Attached
Detach File
Event Timeline
Log In to Comment