wok-6.x diff krb5/receipt @ rev 22612
updated codeblocks again (10.05 -> 17.12)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 10 13:36:24 2020 +0100 (2020-01-10) |
parents | 77be6b57303b |
children | 5e70242061ce |
line diff
1.1 --- a/krb5/receipt Thu Mar 10 02:23:56 2016 +0200 1.2 +++ b/krb5/receipt Fri Jan 10 13:36:24 2020 +0100 1.3 @@ -1,51 +1,62 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="krb5" 1.7 -VERSION="1.10.3" 1.8 +VERSION="1.17" 1.9 CATEGORY="security" 1.10 SHORT_DESC="Network authentication protocol with strong authentication." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="MIT" 1.13 -TARBALL="$PACKAGE-$VERSION-signed.tar" 1.14 -WEB_SITE="http://web.mit.edu/Kerberos/" 1.15 -WGET_URL="${WEB_SITE}dist/$PACKAGE/${VERSION:0:4}/$TARBALL" 1.16 -CONFIG_FILES="/etc/krb5" 1.17 -CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer" 1.18 -CXXFLAGS="$CFLAGS" 1.19 +WEB_SITE="https://web.mit.edu/kerberos/" 1.20 + 1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.22 +WGET_URL="${WEB_SITE}dist/$PACKAGE/$VERSION/$TARBALL" 1.23 + 1.24 1.25 DEPENDS="libkrb5" 1.26 -BUILD_DEPENDS="perl bison" 1.27 +BUILD_DEPENDS="bison openssl-dev perl" 1.28 +CONFIG_FILES="/etc/krb5" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - srcdir=$PACKAGE-$VERSION 1.34 - [ -d $src/src ] || tar xzf $src/$srcdir.tar.gz 1.35 +# srcdir=$PACKAGE-$VERSION 1.36 +# [ -d $src/src ] || tar xzf $src/$srcdir.tar.gz 1.37 # This is for cookutils. If more than one file was extracted it create 1.38 # $PACKAGE-$VERSION to move files in it. Krb5 is the only package like 1.39 # that so we do the trick here. 1.40 - if [ -d "$srcdir" -a -x /usr/bin/cook ]; then 1.41 - mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir . 1.42 - else 1.43 - mv $srcdir/* . 1.44 - fi 1.45 +# if [ -d "$srcdir" -a -x /usr/bin/cook ]; then 1.46 +# mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir . 1.47 +# else 1.48 +# mv $srcdir/* . 1.49 +# fi 1.50 + 1.51 cd $src/src 1.52 1.53 # FS#25384 1.54 - sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4 1.55 +# sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4 1.56 + patch --input=$stuff/krb5-1.17-ac_check_krb5.m4.patch \ 1.57 + util/ac_check_krb5.m4 1.58 1.59 - ./configure --localstatedir=/var $CONFIGURE_ARGS && 1.60 - make $MAKEFLAGS && make install 1.61 + CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer" 1.62 + CXXFLAGS="$CFLAGS" 1.63 + 1.64 + ./configure \ 1.65 + --localstatedir=/var \ 1.66 + $CONFIGURE_ARGS && 1.67 + make $MAKEFLAGS -j 1 && 1.68 + make install 1.69 } 1.70 1.71 # Rules to gen a SliTaz package suitable for Tazpkg. 1.72 genpkg_rules() 1.73 { 1.74 mkdir -p $fs/usr $fs/etc 1.75 - cp -a $install/usr/share/examples/krb5 $fs/etc 1.76 - cp -a $install/usr/bin $fs/usr 1.77 - cp -a $install/usr/sbin $fs/usr 1.78 - cp -a $install/usr/lib $fs/usr 1.79 + 1.80 + cp -a $install/usr/share/examples/krb5 $fs/etc 1.81 + cp -a $install/usr/bin $fs/usr 1.82 + cp -a $install/usr/sbin $fs/usr 1.83 + cp -a $install/usr/lib $fs/usr 1.84 + 1.85 cat $stuff/*.files-list | while read file; do 1.86 rm -rf ${fs}$file 1.87 done