Makefile 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:= krb5
  7. PKG_VERSION:= 1.6.3
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 2dc1307686eb1c2bf1ab08ea805dad46
  10. MASTER_SITES:= http://web.mit.edu/kerberos/dist/krb5/1.6/
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-signed.tar
  12. WRKSRC= ${WRKDIST}/src
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,KRB5_SERVER,krb5-server,$(PKG_VERSION)-$(PKG_RELEASE)))
  15. $(eval $(call PKG_template,KRB5_LIBS,krb5-libs,$(PKG_VERSION)-$(PKG_RELEASE)))
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ARGS+= --without-krb4 --disable-static --without-tcl
  18. CONFIGURE_ENV+= krb5_cv_attr_constructor_destructor=yes,yes \
  19. ac_cv_func_regcomp=yes \
  20. ac_cv_printf_positional=yes \
  21. ac_cv_file__etc_environment=no \
  22. ac_cv_file__etc_TIMEZONE=no
  23. BUILD_STYLE= auto
  24. INSTALL_STYLE= auto confprog
  25. post-extract:
  26. (cd ${WRKDIR}; tar xzf ${PKG_NAME}-${PKG_VERSION}.tar.gz)
  27. post-install:
  28. ${INSTALL_DIR} ${IDIR_KRB5_SERVER}/etc/init.d
  29. ${INSTALL_DIR} ${IDIR_KRB5_SERVER}/etc/krb5kdc
  30. ${INSTALL_DIR} ${IDIR_KRB5_SERVER}/usr/sbin
  31. ${INSTALL_DIR} ${IDIR_KRB5_SERVER}/usr/lib
  32. ${INSTALL_DIR} ${IDIR_KRB5_SERVER}/usr/lib/krb5/plugins/kdb
  33. ${INSTALL_DATA} ./files/kdc.conf ${IDIR_KRB5_SERVER}/etc/krb5kdc
  34. ${INSTALL_BIN} ./files/krb5.init ${IDIR_KRB5_SERVER}/etc/init.d/krb5
  35. ${INSTALL_BIN} ${WRKINST}/usr/sbin/{ktutil,kdb5_util,krb5kdc,kadmind,kadmin.local,kadmin} \
  36. ${IDIR_KRB5_SERVER}/usr/sbin
  37. ${INSTALL_DATA} ${WRKINST}/usr/lib/krb5/plugins/kdb/db2.so \
  38. ${IDIR_KRB5_SERVER}/usr/lib/krb5/plugins/kdb
  39. ${CP} ${WRKINST}/usr/lib/lib{des425,gssrpc,kadm5clnt,kadm5srv,kdb5}.so* \
  40. ${IDIR_KRB5_SERVER}/usr/lib
  41. # krb5-libs
  42. ${INSTALL_DIR} ${IDIR_KRB5_LIBS}/etc
  43. ${INSTALL_DIR} ${IDIR_KRB5_LIBS}/usr/lib
  44. ${INSTALL_DATA} ./files/krb5.conf ${IDIR_KRB5_LIBS}/etc
  45. ${CP} ${WRKINST}/usr/lib/lib{com_err,gssapi_krb5,k5crypto,krb5,krb5support}.so* \
  46. ${IDIR_KRB5_LIBS}/usr/lib
  47. echo '/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init' > ${IDIR_KRB5_LIBS}/etc/gssapi_mech.conf
  48. include ${TOPDIR}/mk/pkg-bottom.mk