SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "krb5"

# SliTaz package receipt.

PACKAGE="krb5"
VERSION="1.8.3"
CATEGORY="security"
SHORT_DESC="Network authentication protocol with strong authentication."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION-signed.tar"
BUILD_DEPENDS="perl bison"
WEB_SITE="http://web.mit.edu/Kerberos/"
WGET_URL="${WEB_SITE}dist/$PACKAGE/${VERSION%.*}/$TARBALL"
DEPENDS="libkrb5"
CONFIG_FILES="/etc/krb5"

# Rules to configure and make the package.
compile_rules()
{
    srcdir=$PACKAGE-$VERSION
    [ -d $src/src ] || tar xzf $src/$srcdir.tar.gz
    # This is for cookutils. If more than one file was extracted it create
    # $PACKAGE-$VERSION to move files in it. Krb5 is the only package like
    # that so we do the trick here.
    if [ -d "$srcdir" -a -x /usr/bin/cook ]; then
        mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir .
    else
        mv $srcdir/* .
    fi
    cd $src/src
    ./configure --localstatedir=/var $CONFIGURE_ARGS &&
    make $MAKEFLAGS && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr $fs/etc
    cp -a $_pkg/usr/share/examples/krb5 $fs/etc
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/usr/lib $fs/usr
    cat $stuff/*.files-list | while read file; do
        rm -rf ${fs}$file
    done
}

# Pre and post install commands for Tazpkg.
post_install()
{
    cat <<EOF
----
To start $PACKAGE server you can run :

    /etc/init.d/$PACKAGE start

Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
----
EOF
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)