mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2024-11-23 13:36:24 +00:00
def7fed6d5
gpkg/alsa-lib gpkg/clang gpkg/compiler-rt gpkg/fakeroot gpkg/harfbuzz gpkg/libdrm gpkg/lld gpkg/llvm gpkg/python-pip gpkg/krb5 gpkg/xmlto
45 lines
1.5 KiB
Bash
45 lines
1.5 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://web.mit.edu/kerberos
|
|
TERMUX_PKG_DESCRIPTION="The Kerberos network authentication system"
|
|
TERMUX_PKG_LICENSE="custom"
|
|
TERMUX_PKG_LICENSE_FILE="../NOTICE"
|
|
TERMUX_PKG_MAINTAINER="@termux-pacman"
|
|
TERMUX_PKG_VERSION=1.21.3
|
|
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/krb5-$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=b7a4cd5ead67fb08b980b21abd150ff7217e85ea320c9ed0c6dadd304840ad35
|
|
TERMUX_PKG_DEPENDS="e2fsprogs-glibc, libverto-glibc"
|
|
TERMUX_PKG_CONFFILES="glibc/etc/krb5.conf glibc/var/krb5kdc/kdc.conf"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--disable-static
|
|
--sbindir=$TERMUX_PREFIX/bin
|
|
--enable-shared
|
|
--with-system-et
|
|
--with-system-ss
|
|
--without-tcl
|
|
--without-ldap
|
|
--enable-dns-for-realm
|
|
--with-system-verto
|
|
DEFCCNAME=$TERMUX_PREFIX/tmp/krb5cc_%{uid}
|
|
DEFKTNAME=$TERMUX_PREFIX/etc/krb5.keytab
|
|
DEFCKTNAME=$TERMUX_PREFIX/var/krb5/user/%{euid}/client.keytab
|
|
"
|
|
#--with-ldap
|
|
|
|
termux_step_post_get_source() {
|
|
TERMUX_PKG_SRCDIR+="/src"
|
|
}
|
|
|
|
termux_step_post_make_install() {
|
|
# Enable logging to STDERR by default
|
|
echo -e "\tdefault = STDERR" >> $TERMUX_PKG_SRCDIR/config-files/krb5.conf
|
|
|
|
# Sample KDC config file
|
|
install -dm 700 $TERMUX_PREFIX/var/krb5kdc
|
|
install -pm 600 $TERMUX_PKG_SRCDIR/config-files/kdc.conf $TERMUX_PREFIX/var/krb5kdc/kdc.conf
|
|
|
|
# Default configuration file
|
|
install -pm 600 $TERMUX_PKG_SRCDIR/config-files/krb5.conf $TERMUX_PREFIX/etc/krb5.conf
|
|
|
|
install -dm 700 $TERMUX_PREFIX/share/aclocal
|
|
install -m 600 $TERMUX_PKG_SRCDIR/util/ac_check_krb5.m4 $TERMUX_PREFIX/share/aclocal
|
|
}
|