summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-rw-r--r--nfs/libevent.morph5
-rw-r--r--nfs/nfs-utils.morph18
-rw-r--r--nfs/rpcbind.morph16
-rw-r--r--nfs/tcp-wrappers.morph12
-rw-r--r--nfs/ti-rpc.morph8
5 files changed, 59 insertions, 0 deletions
diff --git a/nfs/libevent.morph b/nfs/libevent.morph
new file mode 100644
index 00000000..1a619a7f
--- /dev/null
+++ b/nfs/libevent.morph
@@ -0,0 +1,5 @@
+name: nfs/libevent.morph
+kind: chunk
+repo: upstream:libevent
+ref: 1c41f68f2246e9144ca20c76b833004480f9d58a
+build-system: autotools
diff --git a/nfs/nfs-utils.morph b/nfs/nfs-utils.morph
new file mode 100644
index 00000000..2717d132
--- /dev/null
+++ b/nfs/nfs-utils.morph
@@ -0,0 +1,18 @@
+name: nfs/nfs-utils.morph
+kind: chunk
+repo: upstream:nfs-utils
+ref: 08baf3bc2f66a1ca6401191e19380028d2fc2c6d
+build-system: autotools
+configure-commands:
+- NOCONFIGURE=1 ./autogen.sh
+- ./configure --prefix="$PREFIX" --disable-nfsv4 --disable-nfsv41 --disable-gss --with-rpcgen=internal
+install-commands:
+- make DESTDIR="$DESTDIR" install
+- mkdir -p "$DESTDIR"/lib/systemd/system
+- install -m644 proc-fs-nfsd.mount "$DESTDIR"/lib/systemd/system
+- install -m644 nfs-mountd.service "$DESTDIR"/lib/systemd/system
+- install -m644 nfs-server.service "$DESTDIR"/lib/systemd/system
+build_depends:
+- nfs/libevent.morph
+- nfs/tcp-wrappers.morph
+- nfs/ti-rpc.morph
diff --git a/nfs/rpcbind.morph b/nfs/rpcbind.morph
new file mode 100644
index 00000000..b4b43ad7
--- /dev/null
+++ b/nfs/rpcbind.morph
@@ -0,0 +1,16 @@
+name: nfs/rpcbind.morph
+kind: chunk
+repo: upstream:rpcbind
+ref: aa3ac0d86c258d3e355ae59df31a96da795ecdfa
+build-system: autotools
+configure-commands:
+- NOCONFIGURE=1 ./autogen.sh
+- ./configure --prefix="$PREFIX" --enable-libwrap --with-rpcuser=nobody --enable-warmstarts
+install-commands:
+- make DESTDIR="$DESTDIR" install
+- mkdir -p "$DESTDIR"/lib/systemd/system
+- install -m644 rpcbind.service "$DESTDIR"/lib/systemd/system
+- install -m644 rpcbind.socket "$DESTDIR"/lib/systemd/system
+build_depends:
+- nfs/ti-rpc.morph
+- nfs/tcp-wrappers.morph
diff --git a/nfs/tcp-wrappers.morph b/nfs/tcp-wrappers.morph
new file mode 100644
index 00000000..a872c883
--- /dev/null
+++ b/nfs/tcp-wrappers.morph
@@ -0,0 +1,12 @@
+name: nfs/tcp-wrappers.morph
+kind: chunk
+repo: upstream:tcp-wrappers
+ref: 23b65f29b324b65a057a3fa87613b788856d6e4e
+build-system: manual
+build-commands:
+- make MAJOR=0 MINOR=7 REL=6 linux
+install-commands:
+- mkdir -p "$DESTDIR"/"$PREFIX"/include
+- install -p -m644 tcpd.h "$DESTDIR"/"$PREFIX"/include
+- mkdir -p "$DESTDIR"/"$PREFIX"/lib
+- cp -a libwrap.so* "$DESTDIR"/"$PREFIX"/lib
diff --git a/nfs/ti-rpc.morph b/nfs/ti-rpc.morph
new file mode 100644
index 00000000..0c115bc2
--- /dev/null
+++ b/nfs/ti-rpc.morph
@@ -0,0 +1,8 @@
+name: nfs/ti-rpc.morph
+kind: chunk
+repo: upstream:ti-rpc
+ref: c5a7a19070e74115fc9c26aa6f3dfec1da220c1f
+build-system: autotools
+configure-commands:
+- NOCONFIGURE=1 ./autogen.sh
+- ./configure --prefix="$PREFIX" --sysconfdir=/etc