summaryrefslogtreecommitdiff
path: root/package/nfs-utils/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-27 23:09:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-27 23:09:19 +0100
commitdd163e09b582177ce54fae44b63b10579ee0746d (patch)
tree80f6341bacc9e62a274231157ec35a5b262f5e24 /package/nfs-utils/Makefile
parent537a2c4eaa446e52c6ba07007eb9ae75998b5580 (diff)
fix make allmodconfig
update several packages, remove snort-wireless.
Diffstat (limited to 'package/nfs-utils/Makefile')
-rw-r--r--package/nfs-utils/Makefile43
1 files changed, 15 insertions, 28 deletions
diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile
index c2cb0d806..b2c2c216f 100644
--- a/package/nfs-utils/Makefile
+++ b/package/nfs-utils/Makefile
@@ -4,53 +4,40 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= nfs-utils
-PKG_VERSION:= 1.2.0
+PKG_VERSION:= 1.2.1
PKG_RELEASE:= 1
-PKG_BUILDDEP+= libtirpc
-ifeq (${ADK_COMPILE_NFS_UTILS_WITH_KRB5},y)
-PKG_BUILDDEP+= libnfsidmap krb5 libevent libgssglue librpcsecgss
-endif
-ifeq (${ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL},y)
-PKG_BUILDDEP+= libnfsidmap heimdal libevent librpcsecgss
-endif
-PKG_MD5SUM:= 779cf81044e92cb51ad590960e7b3671
+PKG_MD5SUM:= c3ccd16c147befd49fe4541a506dd177
PKG_DESCR:= Utilities for NFS kernel server implementation
PKG_SECTION:= net
PKG_DEPENDS:= portmap libtirpc
+PKG_BUILDDEP+= libtirpc
+ifeq (${ADK_PACKAGE_NFS_UTILS_WITH_KERBEROS},y)
+PKG_BUILDDEP+= libnfsidmap krb5 libevent libgssglue librpcsecgss
+endif
PKG_URL:= http://sourceforge.net/projects/nfs
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=nfs/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+PKG_FLAVOURS:= WITH_KERBEROS
+PKGFD_WITH_KERBEROS:= enable Kerberos support (MIT)
-ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_KRB5),y)
-PKG_DEPENDS+= krb5-libs libevent libnfsidmap librpcsecgss libcom_err libgssglue
-endif
+include ${TOPDIR}/mk/package.mk
-ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL),y)
-PKG_DEPENDS+= heimdal-libs libevent libnfsidmap librpcsecgss libcom_err
+ifeq ($(ADK_PACKAGE_NFS_UTILS_WITH_KERBEROS),y)
+PKG_DEPENDS+= krb5-libs libevent libnfsidmap librpcsecgss libcom-err libgssglue
endif
$(eval $(call PKG_template,NFS_UTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TCPPFLAGS+= -I${LINUX_DIR}/include
-ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_KRB5),y)
+ifeq ($(ADK_PACKAGE_NFS_UTILS_WITH_KERBEROS),y)
CONFIGURE_ARGS+= --enable-nfsv4 \
--with-krb5-config=${STAGING_DIR}/usr/bin/krb5-config \
--enable-gss
CONFIGURE_ENV+= LIBS="-lrpcsecgss"
-endif
-
-ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL),y)
-CONFIGURE_ARGS+= --enable-nfsv4 \
- --with-krb5-config=${STAGING_DIR}/usr/bin/krb5-config \
- --enable-gss
-CONFIGURE_ENV+= LIBS="-lrpcsecgss"
-endif
-
-ifneq ($(ADK_COMPILE_NFS_UTILS_WITH_KERBEROS),y)
+else
CONFIGURE_ARGS+= --disable-nfsv4 \
--disable-gss
endif
@@ -62,7 +49,7 @@ CONFIGURE_ARGS+= --without-tcp-wrappers \
--with-tirpcinclude=${STAGING_DIR}/usr/include/tirpc \
--disable-uuid
-CONFIGURE_STYLE:= autotool gnu
+CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
@@ -76,7 +63,7 @@ post-install:
${INSTALL_BIN} ${WRKBUILD}/utils/statd/statd ${IDIR_NFS_UTILS}/usr/sbin/
${INSTALL_BIN} ${WRKBUILD}/utils/nfsd/nfsd ${IDIR_NFS_UTILS}/usr/sbin/
${INSTALL_BIN} ${WRKBUILD}/utils/mountd/mountd ${IDIR_NFS_UTILS}/usr/sbin/
-ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_KERBEROS),y)
+ifeq ($(ADK_PACKAGE_NFS_UTILS_WITH_KERBEROS),y)
${INSTALL_DATA} ./files/idmapd.conf ${IDIR_NFS_UTILS}/etc
${INSTALL_BIN} ${WRKBUILD}/utils/gssd/gssd ${IDIR_NFS_UTILS}/usr/sbin/
${INSTALL_BIN} ${WRKBUILD}/utils/gssd/svcgssd ${IDIR_NFS_UTILS}/usr/sbin/