OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.8 KiB

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