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.

44 lines
1.5 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 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 pkginstalled -f e2fsprogs; then
  29. # e2fsprogs provides libcom_err and compile_et
  30. var_append extraconfopt ' ' "--with-system-et"
  31. # help to find 'com_err.h'
  32. var_append CC_WRAPPER_INSERT ' ' "-I$( pkgprefix -r includedir e2fsprogs )/et"
  33. # e2fsprogs provides libss and mk_cmds
  34. var_append extraconfopt ' ' "--with-system-ss"
  35. fi
  36. # OpenLDAP database backend module
  37. if pkginstalled -f openldap; then
  38. var_append extraconfopt ' ' "--with-ldap"
  39. fi