Commit 6bf5d0a8 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Upgraded libcap to 2.51

parent 345850fc
all:
tar xf libcap-2.36.tar.xz
cd libcap-2.36 && sed -i '/install.*STALIBNAME/d' libcap/Makefile
$(MAKE) -C libcap-2.36
$(MAKE) -C libcap-2.36 RAISE_SETFCAP=no lib=lib prefix=/usr install
tar xf libcap-2.51.tar.xz
cd libcap-2.51 && sed -i '/install.*STALIBNAME/d' libcap/Makefile
$(MAKE) -C libcap-2.51
$(MAKE) -C libcap-2.51 RAISE_SETFCAP=no lib=lib prefix=/usr install
chmod -v 755 /usr/lib/libcap.so
mv -v /usr/lib/libcap.so.* /lib
ln -sfv ../../lib/$$(readlink /usr/lib/libcap.so) /usr/lib/libcap.so
rm -rf libcap-2.36
rm -rf libcap-2.51
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment