wok-current rev 24537
updated fakeroot (1.24 -> 1.27)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 13:56:54 2022 +0100 (2022-02-23) |
parents | 528420e28cb9 |
children | 68c1e9cdd4f9 |
files | fakeroot/description.txt fakeroot/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fakeroot/description.txt Wed Feb 23 13:56:54 2022 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +Gives a fake root environment, to remove the need to become root for 1.5 +a package build. 1.6 + 1.7 +Fakeroot runs a command in an environment where it appears to have 1.8 +root privileges for file manipulation. 1.9 +This is useful for allowing users to create archives (tar, ar, 1.10 +.deb etc.) with files in them with root permissions or ownership. 1.11 +Without fakeroot one would have to have root privileges to create the 1.12 +constituent files of the archives with the correct permissions and 1.13 +ownership, and then pack them up, or one would have to construct the 1.14 +archives directly, without using the archiver.
2.1 --- a/fakeroot/receipt Wed Feb 23 13:43:14 2022 +0100 2.2 +++ b/fakeroot/receipt Wed Feb 23 13:56:54 2022 +0100 2.3 @@ -1,15 +1,15 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="fakeroot" 2.7 -VERSION="1.24" 2.8 +VERSION="1.27" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Gives a fake root environment, useful for building packages as a non-privileged user." 2.11 MAINTAINER="slaxemulator@gmail.com" 2.12 LICENSE="GPL2" 2.13 -WEB_SITE="http://packages.debian.org/fakeroot" 2.14 +WEB_SITE="https://wiki.debian.org/FakeRoot/" 2.15 2.16 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" 2.17 -WGET_URL="http://ftp.debian.org/debian/pool/main/f/$PACKAGE/$TARBALL" 2.18 +WGET_URL="https://ftp.debian.org/debian/pool/main/f/$PACKAGE/$TARBALL" 2.19 2.20 BUILD_DEPENDS="libcap-dev" 2.21 2.22 @@ -29,15 +29,13 @@ 2.23 --mandir=/usr/share/man \ 2.24 --disable-static \ 2.25 $CONFIGURE_ARGS && 2.26 - make -j 1 && 2.27 - make DESTDIR=$DESTDIR install 2.28 + make && 2.29 + make install DESTDIR=$DESTDIR 2.30 } 2.31 2.32 # Rules to gen a SliTaz package suitable for Tazpkg. 2.33 genpkg_rules() 2.34 { 2.35 - mkdir -p $fs/usr/lib 2.36 - 2.37 - cp -a $install/usr/bin $fs/usr 2.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.39 + cook_copy_folders bin 2.40 + cook_copy_files *.so* 2.41 }