Tweaked to default to running with NFSv4 disabled because it still needs work
This commit is contained in:
15
Makefile
15
Makefile
@@ -8,13 +8,15 @@
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
DEPENDS = bash,glibc,libcap,libtirpc,rpcbind,util-linux
|
||||
# !!! May want to create separate nfs-client/nfs-server packages !!! #
|
||||
|
||||
ARCH = x86_64
|
||||
DEPENDS = bash,dash,e2fsprogs,glibc,krb5,libcap,libevent,libnfsidmap,libtirpc,lvm2,openssl,tcp-wrappers,util-linux
|
||||
URL = https://sourceforge.net/projects/nfs/
|
||||
REPO = server
|
||||
BRIEF = Utilities for managing NFS
|
||||
DESC = Utilities for managing NFS
|
||||
SNAPVER = 1
|
||||
SNAPVER = 2
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
@@ -48,9 +50,9 @@ $(SRCDIR)/config.log: $(SRCDIR)/configure
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--without-tcp-wrappers \
|
||||
--disable-nfsv4 \
|
||||
--disable-gss \
|
||||
--with-tcp-wrappers \
|
||||
--enable-libmount-mount \
|
||||
--disable-nfsdcltrack \
|
||||
--build=x86_64-snap-linux-gnu \
|
||||
--host=x86_64-snap-linux-gnu \
|
||||
--target=x86_64-snap-linux-gnu
|
||||
@@ -66,7 +68,10 @@ $(ROOT): $(SRCDIR)/binfile
|
||||
fi
|
||||
|
||||
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
||||
install -d -m 0755 $(ROOT)/etc/default && \
|
||||
install -d -m 0755 $(ROOT)/etc/init.d && \
|
||||
install -m 0644 $(SNAPDIR)/nfs-server.default \
|
||||
$(ROOT)/etc/default/nfs-server && \
|
||||
install -m 0755 $(SNAPDIR)/nfs-server.init \
|
||||
$(ROOT)/etc/init.d/nfs-server && \
|
||||
install -m 0755 $(SNAPDIR)/statd.init \
|
||||
|
||||
Reference in New Issue
Block a user