wok rev 22990

updated krb5 packages (1.17 -> 1.18)
author Hans-G?nter Theisgen
date Sun Mar 01 17:30:20 2020 +0100 (2020-03-01)
parents 4dc397f1cd33
children 49faf1ce59f2
files krb5-clients/receipt krb5-dev/receipt krb5-plugins/receipt krb5-user/receipt krb5/receipt
line diff
     1.1 --- a/krb5-clients/receipt	Sun Mar 01 17:01:17 2020 +0100
     1.2 +++ b/krb5-clients/receipt	Sun Mar 01 17:30:20 2020 +0100
     1.3 @@ -1,22 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="krb5-clients"
     1.7 -VERSION="1.17"
     1.8 +VERSION="1.18"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Miscellaneous clients using MIT Kerberos."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="MIT"
    1.13  WEB_SITE="https://web.mit.edu/kerberos/"
    1.14  
    1.15 +DEPENDS="libkrb5"
    1.16  WANTED="krb5"
    1.17 -DEPENDS="libkrb5"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	while read file; do
    1.23 +	while read file
    1.24 +	  do
    1.25  		dir=$(dirname $file)
    1.26  		[ -d $fs$dir ] || mkdir -p $fs$dir
    1.27 -		cp -a $install$file $fs$dir
    1.28 -	done < $wanted_stuff/$PACKAGE.files-list
    1.29 +		cp -a $install$file	$fs$dir
    1.30 +	  done < $wanted_stuff/$PACKAGE.files-list
    1.31  }
     2.1 --- a/krb5-dev/receipt	Sun Mar 01 17:01:17 2020 +0100
     2.2 +++ b/krb5-dev/receipt	Sun Mar 01 17:30:20 2020 +0100
     2.3 @@ -1,22 +1,23 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="krb5-dev"
     2.7 -VERSION="1.17"
     2.8 +VERSION="1.18"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="Network authentication protocol development files."
    2.11 +SHORT_DESC="Network authentication protocol - development files."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="MIT"
    2.14  WEB_SITE="https://web.mit.edu/kerberos/"
    2.15  
    2.16 +DEPENDS="libkrb5"
    2.17  WANTED="krb5"
    2.18 -DEPENDS="libkrb5"
    2.19  
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21  genpkg_rules()
    2.22  {
    2.23 -	while read file; do
    2.24 +	while read file
    2.25 +	  do
    2.26  		dir=$(dirname $file)
    2.27  		[ -d $fs$dir ] || mkdir -p $fs$dir
    2.28 -		cp -a $install$file $fs$dir
    2.29 -	done < $wanted_stuff/$PACKAGE.files-list
    2.30 +		cp -a $install$file	$fs$dir
    2.31 +	  done < $wanted_stuff/$PACKAGE.files-list
    2.32  }
     3.1 --- a/krb5-plugins/receipt	Sun Mar 01 17:01:17 2020 +0100
     3.2 +++ b/krb5-plugins/receipt	Sun Mar 01 17:30:20 2020 +0100
     3.3 @@ -1,22 +1,23 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="krb5-plugins"
     3.7 -VERSION="1.17"
     3.8 +VERSION="1.18"
     3.9  CATEGORY="security"
    3.10  SHORT_DESC="Plugins for MIT Kerberos."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="MIT"
    3.13  WEB_SITE="https://web.mit.edu/kerberos/"
    3.14  
    3.15 +DEPENDS="krb5 libcrypto"
    3.16  WANTED="krb5"
    3.17 -DEPENDS="krb5 libcrypto"
    3.18  
    3.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.20  genpkg_rules()
    3.21  {
    3.22 -	while read file; do
    3.23 +	while read file
    3.24 +	  do
    3.25  		dir=$(dirname $file)
    3.26  		[ -d $fs$dir ] || mkdir -p $fs$dir
    3.27 -		cp -a $install$file $fs$dir
    3.28 -	done < $wanted_stuff/$PACKAGE.files-list
    3.29 +		cp -a $install$file	$fs$dir
    3.30 +	  done < $wanted_stuff/$PACKAGE.files-list
    3.31  }
     4.1 --- a/krb5-user/receipt	Sun Mar 01 17:01:17 2020 +0100
     4.2 +++ b/krb5-user/receipt	Sun Mar 01 17:30:20 2020 +0100
     4.3 @@ -1,22 +1,23 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="krb5-user"
     4.7 -VERSION="1.17"
     4.8 +VERSION="1.18"
     4.9  CATEGORY="security"
    4.10  SHORT_DESC="Basic programs to authenticate using MIT Kerberos."
    4.11  MAINTAINER="pascal.bellard@slitaz.org"
    4.12  LICENSE="MIT"
    4.13  WEB_SITE="https://web.mit.edu/kerberos/"
    4.14  
    4.15 +DEPENDS="krb5"
    4.16  WANTED="krb5"
    4.17 -DEPENDS="krb5"
    4.18  
    4.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.20  genpkg_rules()
    4.21  {
    4.22 -	while read file; do
    4.23 +	while read file
    4.24 +	  do
    4.25  		dir=$(dirname $file)
    4.26  		[ -d $fs$dir ] || mkdir -p $fs$dir
    4.27 -		cp -a $install$file $fs$dir
    4.28 -	done < $wanted_stuff/$PACKAGE.files-list
    4.29 +		cp -a $install$file	$fs$dir
    4.30 +	  done < $wanted_stuff/$PACKAGE.files-list
    4.31  }
     5.1 --- a/krb5/receipt	Sun Mar 01 17:01:17 2020 +0100
     5.2 +++ b/krb5/receipt	Sun Mar 01 17:30:20 2020 +0100
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="krb5"
     5.7 -VERSION="1.17"
     5.8 +VERSION="1.18"
     5.9  CATEGORY="security"
    5.10  SHORT_DESC="Network authentication protocol with strong authentication."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
    5.12 @@ -11,36 +11,29 @@
    5.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.14  WGET_URL="${WEB_SITE}dist/$PACKAGE/$VERSION/$TARBALL"
    5.15  
    5.16 -
    5.17  DEPENDS="libkrb5"
    5.18  BUILD_DEPENDS="bison openssl-dev perl"
    5.19 +
    5.20  CONFIG_FILES="/etc/krb5"
    5.21  
    5.22  # Rules to configure and make the package.
    5.23  compile_rules()
    5.24  {
    5.25 -#	srcdir=$PACKAGE-$VERSION
    5.26 -#	[ -d $src/src ] || tar xzf $src/$srcdir.tar.gz 
    5.27 -	# This is for cookutils. If more than one file was extracted it create
    5.28 -	# $PACKAGE-$VERSION to move files in it. Krb5 is the only package like
    5.29 -	# that so we do the trick here.
    5.30 -#	if [ -d "$srcdir" -a -x /usr/bin/cook ]; then
    5.31 -#		mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir .
    5.32 -#	else
    5.33 -#		mv $srcdir/* .
    5.34 -#	fi
    5.35 -
    5.36  	cd $src/src
    5.37  
    5.38  	# FS#25384
    5.39  #	sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4
    5.40 -	patch --input=$stuff/krb5-1.17-ac_check_krb5.m4.patch	\
    5.41 -		util/ac_check_krb5.m4
    5.42 +
    5.43 +#	patch --input=$stuff/krb5-1.17-ac_check_krb5.m4.patch	\
    5.44 +#		util/ac_check_krb5.m4
    5.45 +	# in 1.18 replaced by:
    5.46 +	# --with-kerberos5=/usr
    5.47  
    5.48  	CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
    5.49  	CXXFLAGS="$CFLAGS"
    5.50  
    5.51  	./configure			\
    5.52 +		--with-kerberos5=/usr	\
    5.53  		--localstatedir=/var	\
    5.54  		$CONFIGURE_ARGS &&
    5.55  	make $MAKEFLAGS -j 1 &&
    5.56 @@ -50,16 +43,18 @@
    5.57  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.58  genpkg_rules()
    5.59  {
    5.60 -	mkdir -p $fs/usr $fs/etc
    5.61 +	mkdir -p $fs/usr
    5.62 +	mkdir -p $fs/etc
    5.63  
    5.64  	cp -a $install/usr/share/examples/krb5	$fs/etc
    5.65  	cp -a $install/usr/bin			$fs/usr
    5.66  	cp -a $install/usr/sbin			$fs/usr
    5.67  	cp -a $install/usr/lib			$fs/usr
    5.68  
    5.69 -	cat $stuff/*.files-list | while read file; do
    5.70 +	cat $stuff/*.files-list | while read file
    5.71 +	  do
    5.72  		rm -rf ${fs}$file
    5.73 -	done
    5.74 +	  done
    5.75  }
    5.76  
    5.77  # Pre and post install commands for Tazpkg.