# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../krb5/krb5.conf # Copyright (C) 2011 - 2014 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- # MIT krb5 gets distributed as signed tarball which itself includes a gzip # compressed source tarball and a signature file krb5_custextract () { echo "Extracting $1 ($taropt) to a temporary directory ... " pkg_krb5_tempdir=`mktemp -d` tar -v $taropt $1 -C $pkg_krb5_tempdir echo "Extracting2 $1 ($taropt) ... " tar -xzvf $pkg_krb5_tempdir/$pkg-$ver.tar.gz | sed 's,^,$pkg-$ver/,' > untar.txt # remove temp dir rm -rf $pkg_krb5_tempdir } custextract=krb5_custextract # no toplevel Makefile hook_add preconf 9 'cd src' if atstage cross; then # NOTE: only checked against native builds of glibc! # TODO: check against native builds of other libc like musl! var_append configcache ' ' "krb5_cv_attr_constructor_destructor=yes,yes" var_append configcache ' ' "ac_cv_func_regcomp=yes" var_append configcache ' ' "ac_cv_printf_positional=yes" fi if pkginstalled -f e2fsprogs; then # e2fsprogs provides libcom_err and compile_et var_append extraconfopt ' ' "--with-system-et" # help to find 'com_err.h' var_append CC_WRAPPER_INSERT ' ' "-I$( pkgprefix -r includedir e2fsprogs )/et" # e2fsprogs provides libss and mk_cmds var_append extraconfopt ' ' "--with-system-ss" fi # OpenLDAP database backend module if pkginstalled -f openldap; then var_append extraconfopt ' ' "--with-ldap" fi