summaryrefslogtreecommitdiff
path: root/package/krb5/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
commit5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch)
treecd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/krb5/Makefile
parent401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff)
parent4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: BUGS package/autoconf/Makefile
Diffstat (limited to 'package/krb5/Makefile')
-rw-r--r--package/krb5/Makefile45
1 files changed, 25 insertions, 20 deletions
diff --git a/package/krb5/Makefile b/package/krb5/Makefile
index 38dff7af3..533e50c39 100644
--- a/package/krb5/Makefile
+++ b/package/krb5/Makefile
@@ -4,17 +4,18 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= krb5
-PKG_VERSION:= 1.6.3
-PKG_RELEASE:= 1
-PKG_MD5SUM:= 2dc1307686eb1c2bf1ab08ea805dad46
+PKG_VERSION:= 1.7
+PKG_RELEASE:= 3
+PKG_MD5SUM:= 9f7b3402b4731a7fa543db193bf1b564
PKG_DESCR:= MIT kerberos server
PKG_SECTION:= net
-PKG_DEPENDS:= krb5-libs
+PKG_DEPENDS:= libkrb5 libncurses libss libcom-err
+PKG_BUILDDEP+= ncurses e2fsprogs
PKG_URL:= http://web.mit.edu/kerberos
-PKG_SITES:= http://web.mit.edu/kerberos/dist/krb5/1.6/
+PKG_SITES:= http://web.mit.edu/kerberos/dist/krb5/1.7/
-PKG_DESCR_1:= MIT kerberos libraries
-PKG_SECTION_1:= libs
+PKG_DESCR_LIB:= MIT kerberos libraries
+PKG_SECTION_LIB:= libs
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-signed.tar
WRKSRC= ${WRKDIST}/src
@@ -22,17 +23,19 @@ WRKSRC= ${WRKDIST}/src
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,KRB5_SERVER,krb5-server,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,KRB5_LIBS,krb5-libs,$(PKG_VERSION)-${PKG_RELEASE},,${PKG_DESCR_1},${PKG_SECTION_1}))
+$(eval $(call PKG_template,LIBKRB5,libkrb5,$(PKG_VERSION)-${PKG_RELEASE},,${PKG_DESCR_LIB},${PKG_SECTION_LIB}))
-CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS+= --without-krb4 --disable-static --without-tcl
+TCFLAGS+= -I${STAGING_DIR}/usr/include/et
+CONFIGURE_ARGS+= --disable-static \
+ --disable-profiled \
+ --with-system-ss \
+ --with-system-et \
+ --without-tcl
CONFIGURE_ENV+= krb5_cv_attr_constructor_destructor=yes,yes \
ac_cv_func_regcomp=yes \
ac_cv_printf_positional=yes \
ac_cv_file__etc_environment=no \
ac_cv_file__etc_TIMEZONE=no
-BUILD_STYLE= auto
-INSTALL_STYLE= auto confprog
post-extract:
(cd ${WRKDIR}; tar xzf ${PKG_NAME}-${PKG_VERSION}.tar.gz)
@@ -44,18 +47,20 @@ post-install:
${INSTALL_DIR} ${IDIR_KRB5_SERVER}/usr/lib
${INSTALL_DIR} ${IDIR_KRB5_SERVER}/usr/lib/krb5/plugins/kdb
${INSTALL_DATA} ./files/kdc.conf ${IDIR_KRB5_SERVER}/etc/krb5kdc
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/{ktutil,kdb5_util,krb5kdc,kadmind,kadmin.local,kadmin} \
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/{ktutil,kadmin} \
+ ${IDIR_KRB5_SERVER}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/{kdb5_util,krb5kdc,kadmind,kadmin.local} \
${IDIR_KRB5_SERVER}/usr/sbin
${INSTALL_DATA} ${WRKINST}/usr/lib/krb5/plugins/kdb/db2.so \
${IDIR_KRB5_SERVER}/usr/lib/krb5/plugins/kdb
- ${CP} ${WRKINST}/usr/lib/lib{des425,gssrpc,kadm5clnt,kadm5srv,kdb5}.so* \
+ ${CP} ${WRKINST}/usr/lib/lib{gssrpc,kadm5clnt,kadm5srv,kdb5}.so* \
${IDIR_KRB5_SERVER}/usr/lib
# krb5-libs
- ${INSTALL_DIR} ${IDIR_KRB5_LIBS}/etc
- ${INSTALL_DIR} ${IDIR_KRB5_LIBS}/usr/lib
- ${INSTALL_DATA} ./files/krb5.conf ${IDIR_KRB5_LIBS}/etc
- ${CP} ${WRKINST}/usr/lib/lib{com_err,gssapi_krb5,k5crypto,krb5,krb5support}.so* \
- ${IDIR_KRB5_LIBS}/usr/lib
- echo '/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init' > ${IDIR_KRB5_LIBS}/etc/gssapi_mech.conf
+ ${INSTALL_DIR} ${IDIR_LIBKRB5}/etc
+ ${INSTALL_DIR} ${IDIR_LIBKRB5}/usr/lib
+ ${INSTALL_DATA} ./files/krb5.conf ${IDIR_LIBKRB5}/etc
+ ${CP} ${WRKINST}/usr/lib/lib{gssapi_krb5,k5crypto,krb5,krb5support}.so* \
+ ${IDIR_LIBKRB5}/usr/lib
+ echo '/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init' > ${IDIR_LIBKRB5}/etc/gssapi_mech.conf
include ${TOPDIR}/mk/pkg-bottom.mk