wok-current diff krb5/receipt @ rev 23983
linld: fix strtol
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 24 08:47:45 2020 +0000 (2020-11-24) |
parents | ff8dc62daa05 |
children | 2a0479881723 |
line diff
1.1 --- a/krb5/receipt Sat Mar 16 16:04:43 2019 +0100 1.2 +++ b/krb5/receipt Tue Nov 24 08:47:45 2020 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="krb5" 1.7 -VERSION="1.17" 1.8 +VERSION="1.18" 1.9 CATEGORY="security" 1.10 SHORT_DESC="Network authentication protocol with strong authentication." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,36 +11,29 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WGET_URL="${WEB_SITE}dist/$PACKAGE/$VERSION/$TARBALL" 1.15 1.16 - 1.17 DEPENDS="libkrb5" 1.18 BUILD_DEPENDS="bison openssl-dev perl" 1.19 + 1.20 CONFIG_FILES="/etc/krb5" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 -# srcdir=$PACKAGE-$VERSION 1.26 -# [ -d $src/src ] || tar xzf $src/$srcdir.tar.gz 1.27 - # This is for cookutils. If more than one file was extracted it create 1.28 - # $PACKAGE-$VERSION to move files in it. Krb5 is the only package like 1.29 - # that so we do the trick here. 1.30 -# if [ -d "$srcdir" -a -x /usr/bin/cook ]; then 1.31 -# mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir . 1.32 -# else 1.33 -# mv $srcdir/* . 1.34 -# fi 1.35 - 1.36 cd $src/src 1.37 1.38 # FS#25384 1.39 # sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4 1.40 - patch --input=$stuff/krb5-1.17-ac_check_krb5.m4.patch \ 1.41 - util/ac_check_krb5.m4 1.42 + 1.43 +# patch --input=$stuff/krb5-1.17-ac_check_krb5.m4.patch \ 1.44 +# util/ac_check_krb5.m4 1.45 + # in 1.18 replaced by: 1.46 + # --with-kerberos5=/usr 1.47 1.48 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer" 1.49 CXXFLAGS="$CFLAGS" 1.50 1.51 ./configure \ 1.52 + --with-kerberos5=/usr \ 1.53 --localstatedir=/var \ 1.54 $CONFIGURE_ARGS && 1.55 make $MAKEFLAGS -j 1 && 1.56 @@ -50,16 +43,18 @@ 1.57 # Rules to gen a SliTaz package suitable for Tazpkg. 1.58 genpkg_rules() 1.59 { 1.60 - mkdir -p $fs/usr $fs/etc 1.61 + mkdir -p $fs/usr 1.62 + mkdir -p $fs/etc 1.63 1.64 cp -a $install/usr/share/examples/krb5 $fs/etc 1.65 cp -a $install/usr/bin $fs/usr 1.66 cp -a $install/usr/sbin $fs/usr 1.67 cp -a $install/usr/lib $fs/usr 1.68 1.69 - cat $stuff/*.files-list | while read file; do 1.70 + cat $stuff/*.files-list | while read file 1.71 + do 1.72 rm -rf ${fs}$file 1.73 - done 1.74 + done 1.75 } 1.76 1.77 # Pre and post install commands for Tazpkg.