wok view krb5/receipt @ rev 22318
updated yad-gtk2, yad-gtk2-html and yad-gtk3 (0.28.1 -> 0.40.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 14 15:39:07 2019 +0100 (2019-11-14) |
parents | 77be6b57303b |
children | 5e70242061ce |
line source
1 # SliTaz package receipt.
3 PACKAGE="krb5"
4 VERSION="1.17"
5 CATEGORY="security"
6 SHORT_DESC="Network authentication protocol with strong authentication."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://web.mit.edu/kerberos/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}dist/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="libkrb5"
16 BUILD_DEPENDS="bison openssl-dev perl"
17 CONFIG_FILES="/etc/krb5"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # srcdir=$PACKAGE-$VERSION
23 # [ -d $src/src ] || tar xzf $src/$srcdir.tar.gz
24 # This is for cookutils. If more than one file was extracted it create
25 # $PACKAGE-$VERSION to move files in it. Krb5 is the only package like
26 # that so we do the trick here.
27 # if [ -d "$srcdir" -a -x /usr/bin/cook ]; then
28 # mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir .
29 # else
30 # mv $srcdir/* .
31 # fi
33 cd $src/src
35 # FS#25384
36 # sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4
37 patch --input=$stuff/krb5-1.17-ac_check_krb5.m4.patch \
38 util/ac_check_krb5.m4
40 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
41 CXXFLAGS="$CFLAGS"
43 ./configure \
44 --localstatedir=/var \
45 $CONFIGURE_ARGS &&
46 make $MAKEFLAGS -j 1 &&
47 make install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr $fs/etc
55 cp -a $install/usr/share/examples/krb5 $fs/etc
56 cp -a $install/usr/bin $fs/usr
57 cp -a $install/usr/sbin $fs/usr
58 cp -a $install/usr/lib $fs/usr
60 cat $stuff/*.files-list | while read file; do
61 rm -rf ${fs}$file
62 done
63 }
65 # Pre and post install commands for Tazpkg.
66 post_install()
67 {
68 [ -z "$quiet" ] && cat <<EOF
69 ----
70 To start $PACKAGE server you can run:
72 /etc/init.d/$PACKAGE start
74 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
75 ----
76 EOF
77 }