#------------------------------------------------------------------------------ # Copyright (c) 2005-2024 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 18.09.2005 jed # Last Update: $Id$ # # !!! this is not a script but an step-by-step howto !!! #------------------------------------------------------------------------------ exit 1 # - list of binaries: # - /usr/sbin/exportfs # - /usr/sbin/rpc.lockd # - /usr/sbin/rpc.mountd # - /usr/sbin/rpc.nfsd # - /usr/sbin/nfsstat # - /usr/sbin/nhfsgraph (currently not part of package) # - /usr/sbin/nhfsnums (currently not part of package) # - /usr/sbin/nhfsrun (currently not part of package) # - /usr/sbin/nhfsstone (currently not part of package) # - /usr/sbin/rpc.rquotad # - /usr/sbin/showmount # - /usr/sbin/rpc.statd # # - needs the following library packages to be build: # # - needs the following packages to be build: ### download # http://sourceforge.net/projects/nfs wget http://prdownloads.sourceforge.net/nfs/nfs-utils-1.0.6.tar.gz?download wget http://acl.bestbits.at/current/diff/nfs-utils-1.0.6-export-acl.diff.gz ### extract gzip -d nfs-utils-1.0.6.tar.gz tar xvf nfs-utils-1.0.6.tar cd nfs-utils-1.0.6 ### acl patches manually applied # support/nfs/exports.c # utils/exportfs/exportfs.c # utils/exportfs/exports.man ### build ./configure --sysconfdir=/etc --enable-secure-statd --enable-rquotad make # strip files strip -s utils/exportfs/exportfs strip -s utils/lockd/lockd strip -s utils/mountd/mountd strip -s utils/nfsd/nfsd strip -s utils/nfsstat/nfsstat strip -s utils/nhfsstone/nhfsgraph # currently not part of package strip -s utils/nhfsstone/nhfsnums # currently not part of package strip -s utils/nhfsstone/nhfsrun # currently not part of package strip -s utils/nhfsstone/nhfsstone # currently not part of package strip -s utils/rquotad/rquotad strip -s utils/showmount/showmount strip -s utils/statd/statd # copy files cp utils/exportfs/exportfs /usr/sbin/ cp utils/lockd/lockd /usr/sbin/rpc.lockd cp utils/mountd/mountd /usr/sbin/rpc.mountd cp utils/nfsd/nfsd /usr/sbin/rpc.nfsd cp utils/nfsstat/nfsstat /usr/sbin/ cp utils/nhfsstone/nhfsgraph /usr/sbin/nhfsgraph # currently not part of package cp utils/nhfsstone/nhfsnums /usr/sbin/nhfsnums # currently not part of package cp utils/nhfsstone/nhfsrun /usr/sbin/nhfsrun # currently not part of package cp utils/nhfsstone/nhfsstone /usr/sbin/nhfsstone # currently not part of package cp utils/rquotad/rquotad /usr/sbin/rpc.rquotad cp utils/showmount/showmount /usr/sbin/ cp utils/statd/statd /usr/sbin/rpc.statd Version 1.1.1 Uebersetzt mit Kernel 2.4.35-wt1 gcc-3.4.6 eisfair-development-1.3.0 export CFLAGS='-O2 -march=i486 -fomit-frame-pointer' export CXXFLAGS="${CFLAGS}" ./configure --sysconfdir=/etc --enable-secure-statd --prefix=/usr --disable-nfsv4 --disable-gss i486-pc-linux-gnu make make check make prefix=/public/nfs-1.1.1/usr install strip -R .note -R .comment /public/nfs-1.1.1/usr/sbin/*