Commit d056d314 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated acl to 2.2.53

parent 627b3d2c
all: all:
tar xf acl-2.2.52.src.tar.gz tar xf acl-2.2.53.tar.gz
cd acl-2.2.52 && sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in cd acl-2.2.53 && sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
cd acl-2.2.52 && sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test cd acl-2.2.53 && sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test
cd acl-2.2.52 && sed -i 's/{(/\\{(/' test/run cd acl-2.2.53 && sed -i 's/{(/\\{(/' test/run
cd acl-2.2.52 && sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" libacl/__acl_to_any_text.c cd acl-2.2.53 && sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" libacl/__acl_to_any_text.c
cd acl-2.2.52 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --libexecdir=/usr/lib cd acl-2.2.53 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --libexecdir=/usr/lib
$(MAKE) -C acl-2.2.52 $(MAKE) -C acl-2.2.53
$(MAKE) -C acl-2.2.52 install install-dev install-lib $(MAKE) -C acl-2.2.53 install install-dev install-lib
mv -v /usr/lib/libacl.so.* /lib mv -v /usr/lib/libacl.so.* /lib
ln -sfv /lib/libacl.so.1 /usr/lib/libacl.so ln -sfv /lib/libacl.so.1 /usr/lib/libacl.so
chmod 755 -v /lib/libacl.so.1.1.0 chmod 755 -v /lib/libacl.so.1.1.0
tests: tests:
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \ if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C acl-2.2.52 tests ; \ $(MAKE) -C acl-2.2.53 tests ; \
fi fi
rm -rf acl-2.2.52 rm -rf acl-2.2.53
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