summaryrefslogtreecommitdiff
path: root/package/krb5/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/krb5/Makefile
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/krb5/Makefile')
-rw-r--r--package/krb5/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/package/krb5/Makefile b/package/krb5/Makefile
index 049bf44af..80b757823 100644
--- a/package/krb5/Makefile
+++ b/package/krb5/Makefile
@@ -9,15 +9,22 @@ PKG_NAME:= krb5
PKG_VERSION:= 1.6.3
PKG_RELEASE:= 1
PKG_MD5SUM:= 2dc1307686eb1c2bf1ab08ea805dad46
-MASTER_SITES:= http://web.mit.edu/kerberos/dist/krb5/1.6/
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-signed.tar
+PKG_DESCR:= MIT kerberos server
+PKG_SECTION:= net
+PKG_DEPENDS:= krb5-libs
+PKG_URL:= http://web.mit.edu/kerberos
+PKG_SITES:= http://web.mit.edu/kerberos/dist/krb5/1.6/
+
+PKG_DESCR_1:= MIT kerberos libraries
+PKG_SECTION_1:= libs
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-signed.tar
WRKSRC= ${WRKDIST}/src
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,KRB5_SERVER,krb5-server,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,KRB5_LIBS,krb5-libs,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(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}))
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --without-krb4 --disable-static --without-tcl
@@ -33,13 +40,12 @@ post-extract:
(cd ${WRKDIR}; tar xzf ${PKG_NAME}-${PKG_VERSION}.tar.gz)
post-install:
- ${INSTALL_DIR} ${IDIR_KRB5_SERVER}/etc/init.d
+ ${INSTALL_DIR} ${IDIR_KRB5_SERVER}/etc
${INSTALL_DIR} ${IDIR_KRB5_SERVER}/etc/krb5kdc
${INSTALL_DIR} ${IDIR_KRB5_SERVER}/usr/sbin
${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} ./files/krb5.init ${IDIR_KRB5_SERVER}/etc/init.d/krb5
${INSTALL_BIN} ${WRKINST}/usr/sbin/{ktutil,kdb5_util,krb5kdc,kadmind,kadmin.local,kadmin} \
${IDIR_KRB5_SERVER}/usr/sbin
${INSTALL_DATA} ${WRKINST}/usr/lib/krb5/plugins/kdb/db2.so \