wok rev 21093

updated kerberos5 packages (1.10.3 -> 1.17)
author Hans-G?nter Theisgen
date Sat Mar 16 16:04:43 2019 +0100 (22 months ago)
parents 426eec51ef7c
children 4dece1e32570
files krb5-clients/receipt krb5-dev/receipt krb5-plugins/receipt krb5-user/receipt krb5/receipt krb5/stuff/krb5-1.17-ac_check_krb5.m4.patch libcomerr3/receipt libkrb5/receipt libkrb5support/receipt
line diff
     1.1 --- a/krb5-clients/receipt	Sat Mar 16 13:37:17 2019 +0100
     1.2 +++ b/krb5-clients/receipt	Sat Mar 16 16:04:43 2019 +0100
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="krb5-clients"
     1.7 -VERSION="1.10.3"
     1.8 +VERSION="1.17"
     1.9  CATEGORY="security"
    1.10 -SHORT_DESC="Misc clients using MIT Kerberos."
    1.11 +SHORT_DESC="Miscellaneous clients using MIT Kerberos."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -WEB_SITE="http://web.mit.edu/Kerberos/"
    1.15 +WEB_SITE="https://web.mit.edu/kerberos/"
    1.16 +
    1.17  WANTED="krb5"
    1.18 -
    1.19  DEPENDS="libkrb5"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22 @@ -20,4 +20,3 @@
    1.23  		cp -a $install$file $fs$dir
    1.24  	done < $wanted_stuff/$PACKAGE.files-list
    1.25  }
    1.26 -
     2.1 --- a/krb5-dev/receipt	Sat Mar 16 13:37:17 2019 +0100
     2.2 +++ b/krb5-dev/receipt	Sat Mar 16 16:04:43 2019 +0100
     2.3 @@ -1,14 +1,14 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="krb5-dev"
     2.7 -VERSION="1.10.3"
     2.8 +VERSION="1.17"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Network authentication protocol development files."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="MIT"
    2.13 -WEB_SITE="http://web.mit.edu/Kerberos/"
    2.14 +WEB_SITE="https://web.mit.edu/kerberos/"
    2.15 +
    2.16  WANTED="krb5"
    2.17 -
    2.18  DEPENDS="libkrb5"
    2.19  
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21 @@ -20,4 +20,3 @@
    2.22  		cp -a $install$file $fs$dir
    2.23  	done < $wanted_stuff/$PACKAGE.files-list
    2.24  }
    2.25 -
     3.1 --- a/krb5-plugins/receipt	Sat Mar 16 13:37:17 2019 +0100
     3.2 +++ b/krb5-plugins/receipt	Sat Mar 16 16:04:43 2019 +0100
     3.3 @@ -1,14 +1,14 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="krb5-plugins"
     3.7 -VERSION="1.10.3"
     3.8 +VERSION="1.17"
     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="http://web.mit.edu/Kerberos/"
    3.14 +WEB_SITE="https://web.mit.edu/kerberos/"
    3.15 +
    3.16  WANTED="krb5"
    3.17 -
    3.18  DEPENDS="krb5 libcrypto"
    3.19  
    3.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.21 @@ -20,4 +20,3 @@
    3.22  		cp -a $install$file $fs$dir
    3.23  	done < $wanted_stuff/$PACKAGE.files-list
    3.24  }
    3.25 -
     4.1 --- a/krb5-user/receipt	Sat Mar 16 13:37:17 2019 +0100
     4.2 +++ b/krb5-user/receipt	Sat Mar 16 16:04:43 2019 +0100
     4.3 @@ -1,14 +1,14 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="krb5-user"
     4.7 -VERSION="1.10.3"
     4.8 +VERSION="1.17"
     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="http://web.mit.edu/Kerberos/"
    4.14 +WEB_SITE="https://web.mit.edu/kerberos/"
    4.15 +
    4.16  WANTED="krb5"
    4.17 -
    4.18  DEPENDS="krb5"
    4.19  
    4.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.21 @@ -20,4 +20,3 @@
    4.22  		cp -a $install$file $fs$dir
    4.23  	done < $wanted_stuff/$PACKAGE.files-list
    4.24  }
    4.25 -
     5.1 --- a/krb5/receipt	Sat Mar 16 13:37:17 2019 +0100
     5.2 +++ b/krb5/receipt	Sat Mar 16 16:04:43 2019 +0100
     5.3 @@ -1,51 +1,62 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="krb5"
     5.7 -VERSION="1.10.3"
     5.8 +VERSION="1.17"
     5.9  CATEGORY="security"
    5.10  SHORT_DESC="Network authentication protocol with strong authentication."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
    5.12  LICENSE="MIT"
    5.13 -TARBALL="$PACKAGE-$VERSION-signed.tar"
    5.14 -WEB_SITE="http://web.mit.edu/Kerberos/"
    5.15 -WGET_URL="${WEB_SITE}dist/$PACKAGE/${VERSION:0:4}/$TARBALL"
    5.16 -CONFIG_FILES="/etc/krb5"
    5.17 -CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
    5.18 -CXXFLAGS="$CFLAGS"
    5.19 +WEB_SITE="https://web.mit.edu/kerberos/"
    5.20 +
    5.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.22 +WGET_URL="${WEB_SITE}dist/$PACKAGE/$VERSION/$TARBALL"
    5.23 +
    5.24  
    5.25  DEPENDS="libkrb5"
    5.26 -BUILD_DEPENDS="perl bison"
    5.27 +BUILD_DEPENDS="bison openssl-dev perl"
    5.28 +CONFIG_FILES="/etc/krb5"
    5.29  
    5.30  # Rules to configure and make the package.
    5.31  compile_rules()
    5.32  {
    5.33 -	srcdir=$PACKAGE-$VERSION
    5.34 -	[ -d $src/src ] || tar xzf $src/$srcdir.tar.gz 
    5.35 +#	srcdir=$PACKAGE-$VERSION
    5.36 +#	[ -d $src/src ] || tar xzf $src/$srcdir.tar.gz 
    5.37  	# This is for cookutils. If more than one file was extracted it create
    5.38  	# $PACKAGE-$VERSION to move files in it. Krb5 is the only package like
    5.39  	# that so we do the trick here.
    5.40 -	if [ -d "$srcdir" -a -x /usr/bin/cook ]; then
    5.41 -		mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir .
    5.42 -	else
    5.43 -		mv $srcdir/* .
    5.44 -	fi
    5.45 +#	if [ -d "$srcdir" -a -x /usr/bin/cook ]; then
    5.46 +#		mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir .
    5.47 +#	else
    5.48 +#		mv $srcdir/* .
    5.49 +#	fi
    5.50 +
    5.51  	cd $src/src
    5.52  
    5.53  	# FS#25384
    5.54 -	sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4
    5.55 +#	sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4
    5.56 +	patch --input=$stuff/krb5-1.17-ac_check_krb5.m4.patch	\
    5.57 +		util/ac_check_krb5.m4
    5.58  
    5.59 -	./configure --localstatedir=/var $CONFIGURE_ARGS &&
    5.60 -	make $MAKEFLAGS && make install
    5.61 +	CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
    5.62 +	CXXFLAGS="$CFLAGS"
    5.63 +
    5.64 +	./configure			\
    5.65 +		--localstatedir=/var	\
    5.66 +		$CONFIGURE_ARGS &&
    5.67 +	make $MAKEFLAGS -j 1 &&
    5.68 +	make install
    5.69  }
    5.70  
    5.71  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.72  genpkg_rules()
    5.73  {
    5.74  	mkdir -p $fs/usr $fs/etc
    5.75 -	cp -a $install/usr/share/examples/krb5 $fs/etc
    5.76 -	cp -a $install/usr/bin $fs/usr
    5.77 -	cp -a $install/usr/sbin $fs/usr
    5.78 -	cp -a $install/usr/lib $fs/usr
    5.79 +
    5.80 +	cp -a $install/usr/share/examples/krb5	$fs/etc
    5.81 +	cp -a $install/usr/bin			$fs/usr
    5.82 +	cp -a $install/usr/sbin			$fs/usr
    5.83 +	cp -a $install/usr/lib			$fs/usr
    5.84 +
    5.85  	cat $stuff/*.files-list | while read file; do
    5.86  		rm -rf ${fs}$file
    5.87  	done
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/krb5/stuff/krb5-1.17-ac_check_krb5.m4.patch	Sat Mar 16 16:04:43 2019 +0100
     6.3 @@ -0,0 +1,11 @@
     6.4 +--- util/ac_check_krb5.m4.orig	2019-01-08 17:02:37.000000000 +0100
     6.5 ++++ util/ac_check_krb5.m4	2019-03-16 15:09:26.672825114 +0100
     6.6 +@@ -29,7 +29,7 @@ AC_DEFUN([AC_CHECK_KRB5],
     6.7 + 	[  --with-kerberos5=PATH   Enable Kerberos 5 support],
     6.8 + 	[if test "x$withval" != "xno"; then
     6.9 + 		if test "x$withval" = "xyes"; then
    6.10 +-			KRB5ROOT=/usr/local
    6.11 ++			KRB5ROOT=/usr
    6.12 + 		else
    6.13 + 			KRB5ROOT=${withval}
    6.14 + 		fi
     7.1 --- a/libcomerr3/receipt	Sat Mar 16 13:37:17 2019 +0100
     7.2 +++ b/libcomerr3/receipt	Sat Mar 16 16:04:43 2019 +0100
     7.3 @@ -1,16 +1,16 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="libcomerr3"
     7.7 -VERSION="1.10.3"
     7.8 +VERSION="1.17"
     7.9  CATEGORY="security"
    7.10  SHORT_DESC="The libcomerr v3 library files."
    7.11  MAINTAINER="erjo@slitaz.org"
    7.12  LICENSE="MIT"
    7.13 -WEB_SITE="http://web.mit.edu/Kerberos/"
    7.14 +WEB_SITE="https://web.mit.edu/kerberos/"
    7.15  WANTED="krb5"
    7.16 -PROVIDE="libcomerr"
    7.17  
    7.18  DEPENDS="libkrb5support"
    7.19 +PROVIDE="libcomerr"
    7.20  
    7.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.22  genpkg_rules()
     8.1 --- a/libkrb5/receipt	Sat Mar 16 13:37:17 2019 +0100
     8.2 +++ b/libkrb5/receipt	Sat Mar 16 16:04:43 2019 +0100
     8.3 @@ -1,14 +1,14 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="libkrb5"
     8.7 -VERSION="1.10.3"
     8.8 +VERSION="1.17"
     8.9  CATEGORY="security"
    8.10  SHORT_DESC="Kerberos network authentication protocol libraries."
    8.11  MAINTAINER="pascal.bellard@slitaz.org"
    8.12  LICENSE="MIT"
    8.13 -WEB_SITE="http://web.mit.edu/Kerberos/"
    8.14 +WEB_SITE="https://web.mit.edu/kerberos/"
    8.15 +
    8.16  WANTED="krb5"
    8.17 -
    8.18  DEPENDS="libkrb5support libcomerr3"
    8.19  
    8.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.21 @@ -20,4 +20,3 @@
    8.22  		cp -a $install$file $fs$dir
    8.23  	done < $wanted_stuff/$PACKAGE.files-list
    8.24  }
    8.25 -
     9.1 --- a/libkrb5support/receipt	Sat Mar 16 13:37:17 2019 +0100
     9.2 +++ b/libkrb5support/receipt	Sat Mar 16 16:04:43 2019 +0100
     9.3 @@ -1,12 +1,13 @@
     9.4  # SliTaz package receipt.
     9.5  
     9.6  PACKAGE="libkrb5support"
     9.7 -VERSION="1.10.3"
     9.8 +VERSION="1.17"
     9.9  CATEGORY="security"
    9.10  SHORT_DESC="Kerberos network authentication protocol support libraries."
    9.11  MAINTAINER="pascal.bellard@slitaz.org"
    9.12  LICENSE="MIT"
    9.13 -WEB_SITE="http://web.mit.edu/Kerberos/"
    9.14 +WEB_SITE="https://web.mit.edu/kerberos/"
    9.15 +
    9.16  WANTED="krb5"
    9.17  
    9.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    9.19 @@ -18,4 +19,3 @@
    9.20  		cp -a $install$file $fs$dir
    9.21  	done < $wanted_stuff/$PACKAGE.files-list
    9.22  }
    9.23 -