wok view krb5/receipt @ rev 25270

gst-ffmpeg*: ORC_TARGET_ALTIVEC_ALTIVEC not defined yet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 15:43:19 2022 +0000 (2022-07-17)
parents 5e70242061ce
children
line source
1 # SliTaz package receipt.
3 PACKAGE="krb5"
4 VERSION="1.18"
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"
14 DEPENDS="libkrb5"
15 BUILD_DEPENDS="bison openssl-dev perl"
17 CONFIG_FILES="/etc/krb5"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/Current release/!d;/.*krb5-[0-9]/!d;s|.*>krb5-||;s|<.*||'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src/src
31 # FS#25384
32 # sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4
34 # patch --input=$stuff/krb5-1.17-ac_check_krb5.m4.patch \
35 # util/ac_check_krb5.m4
36 # in 1.18 replaced by:
37 # --with-kerberos5=/usr
39 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
40 CXXFLAGS="$CFLAGS"
42 ./configure \
43 --with-kerberos5=/usr \
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
54 mkdir -p $fs/etc
56 cp -a $install/usr/share/examples/krb5 $fs/etc
57 cp -a $install/usr/bin $fs/usr
58 cp -a $install/usr/sbin $fs/usr
59 cp -a $install/usr/lib $fs/usr
61 cat $stuff/*.files-list | while read file
62 do
63 rm -rf ${fs}$file
64 done
65 }
67 # Pre and post install commands for Tazpkg.
68 post_install()
69 {
70 [ -z "$quiet" ] && cat <<EOF
71 ----
72 To start $PACKAGE server you can run:
74 /etc/init.d/$PACKAGE start
76 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
77 ----
78 EOF
79 }