wok-current rev 24723

updated libcap, libcap-dev and libcap-pam (2.33 -> 2.63)
author Hans-G?nter Theisgen
date Tue Mar 15 10:34:20 2022 +0100 (2022-03-15)
parents dac38080ab6b
children b36efb4387b7
files libcap-dev/receipt libcap-pam/receipt libcap/description.txt libcap/receipt
line diff
     1.1 --- a/libcap-dev/receipt	Tue Mar 15 10:03:33 2022 +0100
     1.2 +++ b/libcap-dev/receipt	Tue Mar 15 10:34:20 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libcap-dev"
     1.7 -VERSION="2.33"
     1.8 +VERSION="2.63"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Support for getting and setting POSIX.1e capabilities - development files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -16,10 +16,6 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr
    1.17 -	mkdir -p $fs/lib
    1.18 -
    1.19 -	cp -a $install/usr/include	$fs/usr
    1.20 -	cp -a $src/libcap/*.*a		$fs/lib
    1.21 +	cook_copy_folders	include
    1.22 +	cook_copy_files		*.*a
    1.23  }
    1.24 -
     2.1 --- a/libcap-pam/receipt	Tue Mar 15 10:03:33 2022 +0100
     2.2 +++ b/libcap-pam/receipt	Tue Mar 15 10:34:20 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libcap-pam"
     2.7 -VERSION="2.33"
     2.8 +VERSION="2.63"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Support for getting and setting POSIX.1e capabilities - pam module."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 @@ -15,7 +15,5 @@
    2.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.14  genpkg_rules()
    2.15  {
    2.16 -	mkdir -p $fs/lib
    2.17 -	cp -a $install/lib/security	$fs/lib
    2.18 +	cook_copy_folders	security
    2.19  }
    2.20 -
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libcap/description.txt	Tue Mar 15 10:34:20 2022 +0100
     3.3 @@ -0,0 +1,4 @@
     3.4 +This is a library for getting and setting POSIX.1e (formerly POSIX 6)
     3.5 +draft 15 capabilities.
     3.6 +
     3.7 +Natively supported languages are C/C++ and Go.
     4.1 --- a/libcap/receipt	Tue Mar 15 10:03:33 2022 +0100
     4.2 +++ b/libcap/receipt	Tue Mar 15 10:34:20 2022 +0100
     4.3 @@ -1,18 +1,18 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="libcap"
     4.7 -VERSION="2.33"
     4.8 +VERSION="2.63"
     4.9  CATEGORY="system-tools"
    4.10  SHORT_DESC="Support for getting and setting POSIX.1e capabilities."
    4.11  MAINTAINER="pankso@slitaz.org"
    4.12  LICENSE="BSD"
    4.13 -WEB_SITE="http://sites.google.com/site/fullycapable/"
    4.14 +WEB_SITE="https://sites.google.com/site/fullycapable/"
    4.15  
    4.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.17  WGET_URL="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$TARBALL"
    4.18  
    4.19 -DEPENDS="attr"
    4.20 -BUILD_DEPENDS="attr-dev gperf pam-dev"
    4.21 +DEPENDS="attr gcc83-lib-base"
    4.22 +BUILD_DEPENDS="attr-dev gcc83 gperf pam-dev"
    4.23  
    4.24  HOST_ARCH="i486 arm"
    4.25  
    4.26 @@ -31,11 +31,13 @@
    4.27  # Rules to configure and make the package.
    4.28  compile_rules()
    4.29  {
    4.30 -	sed -i 's|INCLUDE_GPERF_OUTPUT = |&-include stddef.h |' \
    4.31 -		libcap/Makefile
    4.32 -
    4.33 -	make DYNAMIC=yes ${ARCH_ARGS} &&
    4.34 -	make RAISE_SETCAP=no DESTDIR=$DESTDIR install
    4.35 +	make			\
    4.36 +		CC=gcc-83	\
    4.37 +		DYNAMIC=yes	\
    4.38 +		$ARCH_ARGS &&
    4.39 +	make	install		\
    4.40 +		RAISE_SETCAP=no	\
    4.41 +		DESTDIR=$DESTDIR
    4.42  }
    4.43  
    4.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.45 @@ -45,5 +47,5 @@
    4.46  
    4.47  	cp -a $install/lib/*.so*	$fs/lib
    4.48  	chmod +x			$fs/lib/*
    4.49 -	cp -a $install/sbin		$fs
    4.50 +	cook_copy_folders	sbin
    4.51  }