diff options
author | B. Watson <urchlay@slackware.uk> | 2023-06-30 20:29:45 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-08 16:42:02 +0700 |
commit | 3fdf1552bed45f5e2c4d317f357d7ec782d1d56b (patch) | |
tree | 4a567d5afa72e3171bf8f877e44ed859ef0691d6 /libraries | |
parent | 65d03cc26544204f9dff0c8568986eef8a12baf3 (diff) | |
download | slackbuilds-3fdf1552bed45f5e2c4d317f357d7ec782d1d56b.tar.xz |
libraries/live555: Fix shared lib permission.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/live555/live555.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libraries/live555/live555.SlackBuild b/libraries/live555/live555.SlackBuild index 3166c8633640..511b18b4e5c3 100644 --- a/libraries/live555/live555.SlackBuild +++ b/libraries/live555/live555.SlackBuild @@ -23,11 +23,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230630 bkw: Modified by SlackBuilds.org, BUILD=2: +# - install shared libs with +x permission. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=live555 VERSION=${VERSION:-2020.08.19} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -69,9 +69,9 @@ cd $SRCNAM chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} + -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + # This header isn't shipped in glibc >= 2.26 anymore # https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27 @@ -88,6 +88,7 @@ make install DESTDIR=$PKG mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig sed -e "s/%VERSION%/$VERSION/" -e "s/%LIBDIRSUFFIX%/$LIBDIRSUFFIX/" -e "s/%PREFIX%/\/usr/" $CWD/live555.pc.in >$PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/live555.pc chmod 0644 $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/live555.pc +chmod 0755 $PKG/usr/lib*/lib*.so.*.*.* find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |