wok-6.x view krb5/receipt @ rev 23654
Up openssh (8.2p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 21 06:14:03 2020 +0000 (2020-04-21) |
parents | ff8dc62daa05 |
children | 2a0479881723 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src/src
24 # FS#25384
25 # sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4
27 # patch --input=$stuff/krb5-1.17-ac_check_krb5.m4.patch \
28 # util/ac_check_krb5.m4
29 # in 1.18 replaced by:
30 # --with-kerberos5=/usr
32 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
33 CXXFLAGS="$CFLAGS"
35 ./configure \
36 --with-kerberos5=/usr \
37 --localstatedir=/var \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS -j 1 &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr
47 mkdir -p $fs/etc
49 cp -a $install/usr/share/examples/krb5 $fs/etc
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/sbin $fs/usr
52 cp -a $install/usr/lib $fs/usr
54 cat $stuff/*.files-list | while read file
55 do
56 rm -rf ${fs}$file
57 done
58 }
60 # Pre and post install commands for Tazpkg.
61 post_install()
62 {
63 [ -z "$quiet" ] && cat <<EOF
64 ----
65 To start $PACKAGE server you can run:
67 /etc/init.d/$PACKAGE start
69 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
70 ----
71 EOF
72 }