Update of /cvsroot/leaf/devel/davidmbrooke/src/bering-uclibc/apps/nfsutils
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv1271/nfsutils
Added Files:
buildtool.cfg buildtool.mk
Log Message:
NFS Server Package for Werner van Staden
--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
Server = cvs-contrib-sourceforge
Directory = nfsutils
Revision = HEAD
</File>
<File nfs-utils-1.1.1.tar.gz>
Server = cvs-contrib-sourceforge
Directory = nfsutils
Revision = HEAD
envname = NFSUTILS_SOURCE
</File>
<File support_nfs_svc_socket_c.patch>
Server = cvs-contrib-sourceforge
Directory = nfsutils
Revision = HEAD
envname = NFSUTILS_PATCH1
</File>
<File utils_mountd_cache_c.patch>
Server = cvs-contrib-sourceforge
Directory = nfsutils
Revision = HEAD
envname = NFSUTILS_PATCH2
</File>
<File nfsutils.default>
Server = cvs-contrib-sourceforge
Directory = nfsutils
Revision = HEAD
</File>
<File nfsutils.exports>
Server = cvs-contrib-sourceforge
Directory = nfsutils
Revision = HEAD
</File>
<File nfsutils.init>
Server = cvs-contrib-sourceforge
Directory = nfsutils
Revision = HEAD
</File>
<Package>
<nfsutils>
Version = 1.1.1
Revision = 1
Help <<EOF
The user-space daemons required for an NFS server where nfsd support
is included in the kernel. Includes rpc.nfsd, rpc.mountd, exportfs
and supporting utilities.
Demands a kernel compiled with CONFIG_NFSD=m, CONFIG_NFSD_V3=y,
CONFIG_NFSD_TCP=y, CONFIG_SUNRPC=m, CONFIG_LOCKD=m and CONFIG_LOCKD_V4=y
and the loading of the resultant kernel modules (sunrpc, lockd, nfsd).
Also demands a variant of uClibc compiled with UCLIBC_HAS_RPC=y for
functions svcudp_create() and svctcp_create().
Homepage: http://nfs.sourceforge.net/
Requires: portmap.lrp
LRP package by __PACKAGER__, __BUILDDATE__
EOF
PackageType = lrp
PackageName = nfsutils
<Permissions>
Files = 644
Directories = 755
</Permissions>
<Owner>
Files = root:root
Directories = root:root
</Owner>
<Contents>
<File>
Filename = usr/sbin/exportfs
Source = usr/sbin/exportfs
Type = binary
Permissions = 755
</File>
<File>
Filename = usr/sbin/
Source = usr/sbin/rpc.*
Type = binary
Permissions = 755
</File>
<File>
Filename = usr/sbin/showmount
Source = usr/sbin/showmount
Type = binary
Permissions = 755
</File>
<File>
Filename = usr/sbin/sm-notify
Source = usr/sbin/sm-notify
Type = binary
Permissions = 755
</File>
<File>
Filename = etc/default/nfsutils
Source = etc/default/nfsutils
Description = nfsutils daemon configuration
Type = binary
Type = conf
Type = local
</File>
<File>
Filename = etc/exports
Source = etc/exports
Description = nfsutils exportfs configuration
Type = binary
Type = conf
Type = local
</File>
<File>
Filename = etc/init.d/nfsutils
Source = etc/init.d/nfsutils
Type = binary
Permissions = 755
</File>
<File>
Filename = var/lib/nfs/sm
Type = directory
</File>
</Contents>
</nfsutils>
</Package>
--- NEW FILE: buildtool.mk ---
#############################################################
#
# buildtool makefile for nfsutils
#
#############################################################
include $(MASTERMAKEFILE)
NFSUTILS_DIR:=nfs-utils-1.1.1
NFSUTILS_TARGET_DIR:=$(BT_BUILD_DIR)/nfsutils
# Option settings for 'configure':
# Don't want the extra complexity of NFSv4
# Disable uuid to avoid the need for libblkid
# Disable gss to avoid the need for libnfsidmap
CONFOPTS:=--enable-nfsv4=no --enable-uuid=no --enable-gss=no \
--build=$(GNU_TARGET_NAME) --host=$(GNU_HOST_NAME)
$(NFSUTILS_DIR)/.source:
zcat $(NFSUTILS_SOURCE) | tar -xvf -
( cd $(NFSUTILS_DIR) ; \
patch -p1 < ../$(NFSUTILS_PATCH1) ; \
patch -p1 < ../$(NFSUTILS_PATCH2) )
touch $(NFSUTILS_DIR)/.source
source: $(NFSUTILS_DIR)/.source
# Need libwrap (TCP_WRAPPERS) for the "configure" step, so run configure
# as part of "build" rather than "source" so that dependency is resolved
$(NFSUTILS_DIR)/.configure: $(NFSUTILS_DIR)/.source
( cd $(NFSUTILS_DIR) ; ./configure $(CONFOPTS) )
touch $(NFSUTILS_DIR)/.configure
build: $(NFSUTILS_DIR)/.configure
mkdir -p $(NFSUTILS_TARGET_DIR)
$(MAKE) CC=$(TARGET_CC) LD=$(TARGET_LD) -C $(NFSUTILS_DIR)
$(MAKE) -C $(NFSUTILS_DIR) DESTDIR=$(NFSUTILS_TARGET_DIR) install
#
$(BT_STRIP) $(BT_STRIP_BINOPTS) $(NFSUTILS_TARGET_DIR)/usr/sbin/exportfs
cp -f $(NFSUTILS_TARGET_DIR)/usr/sbin/exportfs
$(BT_STAGING_DIR)/usr/sbin
$(BT_STRIP) $(BT_STRIP_BINOPTS) $(NFSUTILS_TARGET_DIR)/usr/sbin/nfsstat
cp -f $(NFSUTILS_TARGET_DIR)/usr/sbin/nfsstat $(BT_STAGING_DIR)/usr/sbin
$(BT_STRIP) $(BT_STRIP_BINOPTS)
$(NFSUTILS_TARGET_DIR)/usr/sbin/rpc.mountd
cp $(NFSUTILS_TARGET_DIR)/usr/sbin/rpc.mountd $(BT_STAGING_DIR)/usr/sbin
$(BT_STRIP) $(BT_STRIP_BINOPTS) $(NFSUTILS_TARGET_DIR)/usr/sbin/rpc.nfsd
cp -f $(NFSUTILS_TARGET_DIR)/usr/sbin/rpc.nfsd
$(BT_STAGING_DIR)/usr/sbin
$(BT_STRIP) $(BT_STRIP_BINOPTS)
$(NFSUTILS_TARGET_DIR)/usr/sbin/rpc.statd
cp -f $(NFSUTILS_TARGET_DIR)/usr/sbin/rpc.statd
$(BT_STAGING_DIR)/usr/sbin
$(BT_STRIP) $(BT_STRIP_BINOPTS)
$(NFSUTILS_TARGET_DIR)/usr/sbin/showmount
cp -f $(NFSUTILS_TARGET_DIR)/usr/sbin/showmount
$(BT_STAGING_DIR)/usr/sbin
$(BT_STRIP) $(BT_STRIP_BINOPTS)
$(NFSUTILS_TARGET_DIR)/usr/sbin/sm-notify
cp -f $(NFSUTILS_TARGET_DIR)/usr/sbin/sm-notify
$(BT_STAGING_DIR)/usr/sbin
mkdir -p $(BT_STAGING_DIR)/etc/default/
mkdir -p $(BT_STAGING_DIR)/etc/init.d/
cp -a nfsutils.default $(BT_STAGING_DIR)/etc/default/nfsutils
cp -a nfsutils.exports $(BT_STAGING_DIR)/etc/exports
cp -a nfsutils.init $(BT_STAGING_DIR)/etc/init.d/nfsutils
clean:
rm -rf $(NFSUTILS_TARGET_DIR)
$(MAKE) -C $(NFSUTILS_DIR) clean
rm -f $(NFSUTILS_DIR)/.configure
srcclean: clean
rm -rf $(NFSUTILS_DIR)
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages,
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits