diff options
Diffstat (limited to 'package/nfs-utils/Makefile')
-rw-r--r-- | package/nfs-utils/Makefile | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile index 6d4c901b4..bb7244a7e 100644 --- a/package/nfs-utils/Makefile +++ b/package/nfs-utils/Makefile @@ -9,21 +9,35 @@ PKG_NAME:= nfs-utils PKG_VERSION:= 1.1.6 PKG_RELEASE:= 1 PKG_MD5SUM:= b0d1b8ec5c8c081a340cfc77bb8670cd -MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=nfs/} +PKG_DESCR:= Utilities for NFS kernel server implementation +PKG_DEPENDS:= portmap +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 -$(eval $(call PKG_template,NFS_UTILS,nfs-utils,${PKG_VERSION}-${PKG_RELEASE})) +ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_KRB5),y) +PKG_DEPENDS+= krb5-libs libevent libnfsidmap librpcsecgss libcom_err libgssglue +endif + +ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL),y) +PKG_DEPENDS+= heimdal-libs libevent libnfsidmap librpcsecgss libcom_err +endif + +ifeq (${ADK_IPV6},y) +PKG_DEPENDS+= libtirpc +endif + +$(eval $(call PKG_template,NFS_UTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -PKG_DEPENDS:= portmap, CONFIGURE_STYLE= autotool gnu ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_KRB5),y) CONFIGURE_ARGS+= --enable-nfsv4 \ --with-krb5-config=${STAGING_DIR}/usr/bin/krb5-config \ --enable-gss -PKG_DEPENDS+= krb5-libs, libevent, libnfsidmap, librpcsecgss, libcom_err, libgssglue CONFIGURE_ENV+= LIBS="-lrpcsecgss" endif @@ -31,7 +45,6 @@ ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL),y) CONFIGURE_ARGS+= --enable-nfsv4 \ --with-krb5-config=${STAGING_DIR}/usr/bin/krb5-config \ --enable-gss -PKG_DEPENDS+= heimdal-libs, libevent, libnfsidmap, librpcsecgss, libcom_err CONFIGURE_ENV+= LIBS="-lrpcsecgss" endif @@ -48,7 +61,6 @@ INSTALL_STYLE= auto TCPPFLAGS+= -I${LINUX_DIR}/include ifeq (${ADK_IPV6},y) -PKG_DEPENDS+= , libtirpc CONFIGURE_ARGS+= --enable-tirpc \ --with-tirpcinclude=${STAGING_DIR}/usr/include/tirpc endif @@ -58,10 +70,7 @@ post-install: ${INSTALL_DIR} ${IDIR_NFS_UTILS}/etc ${INSTALL_DATA} ./files/rpc ${IDIR_NFS_UTILS}/etc ${INSTALL_BIN} ${WRKBUILD}/utils/exportfs/exportfs ${IDIR_NFS_UTILS}/usr/sbin/ - ${INSTALL_DIR} ${IDIR_NFS_UTILS}/etc/init.d ${INSTALL_DIR} ${IDIR_NFS_UTILS}/usr/sbin - ${INSTALL_BIN} ./files/nfsd.init \ - ${IDIR_NFS_UTILS}/etc/init.d/nfs-server ${INSTALL_DATA} ./files/nfsd.exports ${IDIR_NFS_UTILS}/etc/exports ${INSTALL_BIN} ${WRKBUILD}/utils/statd/statd ${IDIR_NFS_UTILS}/usr/sbin/ ${INSTALL_BIN} ${WRKBUILD}/utils/nfsd/nfsd ${IDIR_NFS_UTILS}/usr/sbin/ @@ -72,6 +81,5 @@ ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_KERBEROS),y) ${INSTALL_BIN} ${WRKBUILD}/utils/gssd/svcgssd ${IDIR_NFS_UTILS}/usr/sbin/ ${INSTALL_BIN} ${WRKBUILD}/utils/idmapd/idmapd ${IDIR_NFS_UTILS}/usr/sbin/ endif - echo 'Depends: ${PKG_DEPENDS}' >>${IDIR_NFS_UTILS}/CONTROL/control include ${TOPDIR}/mk/pkg-bottom.mk |