diff --git a/azure_sdk/build.sh b/azure_sdk/build.sh index 19bde91..099ad13 100755 --- a/azure_sdk/build.sh +++ b/azure_sdk/build.sh @@ -6,7 +6,7 @@ install_binary () { BINARY_NAME="$(basename "$1")" cp "$1" "${PREFIX_PROG}" - $STRIP "${PREFIX_PROG}/${BINARY_NAME}" -o "$PREFIX_PROG_STRIPPED/${BINARY_NAME}" + $STRIP -o "$PREFIX_PROG_STRIPPED/${BINARY_NAME}" "${PREFIX_PROG}/${BINARY_NAME}" b_install "${PREFIX_PROG_STRIPPED}/${BINARY_NAME}" /bin } diff --git a/coremark/build.sh b/coremark/build.sh index a3aae3a..7e243a7 100755 --- a/coremark/build.sh +++ b/coremark/build.sh @@ -59,5 +59,5 @@ export XCFLAGS="${CFLAGS} -DUSE_PTHREAD -DMULTITHREAD=${PORTS_COREMARK_THREADS} PORT_DIR=phoenix make compile cp -a "$PREFIX_COREMARK_BUILD/${COREMARK}/coremark" "$PREFIX_PROG/coremark" -$STRIP -s "${PREFIX_PROG}/coremark" -o "${PREFIX_PROG_STRIPPED}/coremark" +$STRIP -o "${PREFIX_PROG_STRIPPED}/coremark" "${PREFIX_PROG}/coremark" b_install "$PREFIX_PORTS_INSTALL/coremark" /bin diff --git a/curl/build.sh b/curl/build.sh index 93c59c7..2a2d79e 100755 --- a/curl/build.sh +++ b/curl/build.sh @@ -42,5 +42,5 @@ make -C "$PREFIX_CURL_BUILD" install cp -a "$PREFIX_CURL_INSTALL/include/curl" "$PREFIX_H" cp -a "$PREFIX_CURL_INSTALL/lib/"* "$PREFIX_A" cp -a "$PREFIX_CURL_INSTALL/bin/curl" "$PREFIX_PROG/curl" -$STRIP -s "$PREFIX_PROG/curl" -o "$PREFIX_PROG_STRIPPED/curl" +$STRIP -o "$PREFIX_PROG_STRIPPED/curl" "$PREFIX_PROG/curl" b_install "$PREFIX_PORTS_INSTALL/curl" /usr/bin/ diff --git a/dropbear/build.sh b/dropbear/build.sh index bf20c41..67992d3 100755 --- a/dropbear/build.sh +++ b/dropbear/build.sh @@ -58,7 +58,7 @@ fi # create multi-binary and hardlinks make PROGRAMS="dropbear dbclient dropbearkey scp" -C "${PREFIX_DROPBEAR_BUILD}" CROSS_COMPILE="$CROSS" MULTI=1 NO_ADDTL_WARNINGS=1 -$STRIP -s "$PREFIX_DROPBEAR_BUILD/dropbearmulti" -o "$PREFIX_PROG_STRIPPED/dropbearmulti" +$STRIP -o "$PREFIX_PROG_STRIPPED/dropbearmulti" "$PREFIX_DROPBEAR_BUILD/dropbearmulti" cp -a "$PREFIX_DROPBEAR_BUILD/dropbearmulti" "$PREFIX_PROG/dropbearmulti" b_install "$PREFIX_PORTS_INSTALL/dropbearmulti" /usr/bin diff --git a/fs_mark/build.sh b/fs_mark/build.sh index 087c279..af4c61e 100755 --- a/fs_mark/build.sh +++ b/fs_mark/build.sh @@ -43,5 +43,5 @@ done cd "${PREFIX_FS_MARK_BUILD}/${FS_MARK}" && make cp -a "$PREFIX_FS_MARK_BUILD/${FS_MARK}/fs_mark" "$PREFIX_PROG/fs_mark" -$STRIP -s "${PREFIX_PROG}/fs_mark" -o "${PREFIX_PROG_STRIPPED}/fs_mark" +$STRIP -o "${PREFIX_PROG_STRIPPED}/fs_mark" "${PREFIX_PROG}/fs_mark" b_install "$PREFIX_PORTS_INSTALL/fs_mark" /bin diff --git a/lighttpd/build.sh b/lighttpd/build.sh index 54cf235..eee26fc 100755 --- a/lighttpd/build.sh +++ b/lighttpd/build.sh @@ -65,5 +65,5 @@ fi make -C "${PREFIX_LIGHTTPD_BUILD}" install -$STRIP -s "$PREFIX_PROG/lighttpd" -o "$PREFIX_PROG_STRIPPED/lighttpd" +$STRIP -o "$PREFIX_PROG_STRIPPED/lighttpd" "$PREFIX_PROG/lighttpd" b_install "$PREFIX_PORTS_INSTALL/lighttpd" /usr/sbin diff --git a/lua/build.sh b/lua/build.sh index b99977c..ba90e82 100755 --- a/lua/build.sh +++ b/lua/build.sh @@ -26,8 +26,8 @@ fi # FIXME: no out-of-tree building make -C "$PREFIX_LUA_SRC" posix -$STRIP -s "$PREFIX_LUA_SRC/src/lua" -o "$PREFIX_PROG_STRIPPED/lua" -$STRIP -s "$PREFIX_LUA_SRC/src/luac" -o "$PREFIX_PROG_STRIPPED/luac" +$STRIP -o "$PREFIX_PROG_STRIPPED/lua" "$PREFIX_LUA_SRC/src/lua" +$STRIP -o "$PREFIX_PROG_STRIPPED/luac" "$PREFIX_LUA_SRC/src/luac" cp -a "$PREFIX_LUA_SRC/src/lua" "$PREFIX_PROG/lua" cp -a "$PREFIX_LUA_SRC/src/luac" "$PREFIX_PROG/luac" diff --git a/openiked/build.sh b/openiked/build.sh index ec4b574..8efac44 100755 --- a/openiked/build.sh +++ b/openiked/build.sh @@ -54,7 +54,7 @@ popd cp -a "${PREFIX_OPENIKED_INSTALL}/usr/local/sbin/ikectl" "${PREFIX_PROG}/ikectl" cp -a "${PREFIX_OPENIKED_INSTALL}/usr/local/sbin/iked" "${PREFIX_PROG}/iked" -$STRIP -s "${PREFIX_PROG}/ikectl" -o "${PREFIX_PROG_STRIPPED}/ikectl" -$STRIP -s "${PREFIX_PROG}/iked" -o "${PREFIX_PROG_STRIPPED}/iked" +$STRIP -o "${PREFIX_PROG_STRIPPED}/ikectl" "${PREFIX_PROG}/ikectl" +$STRIP -o "${PREFIX_PROG_STRIPPED}/iked" "${PREFIX_PROG}/iked" b_install "${PREFIX_PORTS_INSTALL}/ikectl" /usr/bin b_install "${PREFIX_PORTS_INSTALL}/iked" /usr/bin diff --git a/openssl/build.sh b/openssl/build.sh index b212bc2..c1eb1f7 100755 --- a/openssl/build.sh +++ b/openssl/build.sh @@ -57,5 +57,5 @@ cp -a "$PREFIX_OPENSSL_INSTALL/lib/pkgconfig" "$PREFIX_A" sed -i "s/openssl\/install$/lib\/pkgconfg/" "$PREFIX_A/pkgconfig/"* cp -a "$PREFIX_OPENSSL_INSTALL/bin/openssl" "$PREFIX_PROG" -$STRIP -s "$PREFIX_PROG/openssl" -o "$PREFIX_PROG_STRIPPED/openssl" +$STRIP -o "$PREFIX_PROG_STRIPPED/openssl" "$PREFIX_PROG/openssl" b_install "$PREFIX_PORTS_INSTALL/openssl" /usr/bin/ diff --git a/openvpn/build.sh b/openvpn/build.sh index 15c8e69..7e2de39 100755 --- a/openvpn/build.sh +++ b/openvpn/build.sh @@ -49,5 +49,5 @@ fi make -C "$PREFIX_OPENVPN_BUILD" make -C "$PREFIX_OPENVPN_BUILD" install-exec -$STRIP -s "$PREFIX_PROG/openvpn" -o "$PREFIX_PROG_STRIPPED/openvpn" +$STRIP -o "$PREFIX_PROG_STRIPPED/openvpn" "$PREFIX_PROG/openvpn" b_install "$PREFIX_PORTS_INSTALL/openvpn" /sbin/ diff --git a/picocom/build.sh b/picocom/build.sh index a6bf7f7..57b15ba 100755 --- a/picocom/build.sh +++ b/picocom/build.sh @@ -47,7 +47,7 @@ export LDFLAGS="${CFLAGS} $LDFLAGS" # (cd "${PREFIX_PCOM_SRC}" && make clean && make) cp -a "${PREFIX_PCOM_SRC}/picocom" "$PREFIX_PROG" -$STRIP -s "${PREFIX_PROG}/picocom" -o "$PREFIX_PROG_STRIPPED/picocom" +$STRIP -o "$PREFIX_PROG_STRIPPED/picocom" "${PREFIX_PROG}/picocom" b_install "${PREFIX_PROG_STRIPPED}/picocom" /bin diff --git a/sscep/build.sh b/sscep/build.sh index c285bcb..18b2993 100755 --- a/sscep/build.sh +++ b/sscep/build.sh @@ -51,5 +51,5 @@ make install DESTDIR="$PREFIX_SSCEP_INSTALL" popd cp -a "${PREFIX_SSCEP_INSTALL}/bin/sscep" "${PREFIX_PROG}/sscep" -$STRIP -s "${PREFIX_PROG}/sscep" -o "${PREFIX_PROG_STRIPPED}/sscep" +$STRIP -o "${PREFIX_PROG_STRIPPED}/sscep" "${PREFIX_PROG}/sscep" b_install "${PREFIX_PORTS_INSTALL}/sscep" /usr/bin diff --git a/wpa_supplicant/build.sh b/wpa_supplicant/build.sh index 862cf49..60416bb 100755 --- a/wpa_supplicant/build.sh +++ b/wpa_supplicant/build.sh @@ -50,7 +50,7 @@ popd cp -a "${PREFIX_WPA_SUPPLICANT_INSTALL}/bin/wpa_cli" "${PREFIX_PROG}/wpa_cli" cp -a "${PREFIX_WPA_SUPPLICANT_INSTALL}/bin/wpa_supplicant" "${PREFIX_PROG}/wpa_supplicant" -$STRIP -s "${PREFIX_PROG}/wpa_cli" -o "${PREFIX_PROG_STRIPPED}/wpa_cli" -$STRIP -s "${PREFIX_PROG}/wpa_supplicant" -o "${PREFIX_PROG_STRIPPED}/wpa_supplicant" +$STRIP -o "${PREFIX_PROG_STRIPPED}/wpa_cli" "${PREFIX_PROG}/wpa_cli" +$STRIP -o "${PREFIX_PROG_STRIPPED}/wpa_supplicant" "${PREFIX_PROG}/wpa_supplicant" b_install "${PREFIX_PORTS_INSTALL}/wpa_cli" /usr/bin b_install "${PREFIX_PORTS_INSTALL}/wpa_supplicant" /usr/bin