From 2b10a9677817377618e33d2b07ab7caefe316633 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 18 Aug 2014 17:05:22 +0000 Subject: Re-organise definitions with scripts/organise-morphologies.py --- strata/nfs/nfs-utils.morph | 12 ++++++++++++ strata/nfs/rpcbind.morph | 11 +++++++++++ strata/nfs/tcp-wrappers.morph | 9 +++++++++ strata/nfs/ti-rpc.morph | 6 ++++++ 4 files changed, 38 insertions(+) create mode 100644 strata/nfs/nfs-utils.morph create mode 100644 strata/nfs/rpcbind.morph create mode 100644 strata/nfs/tcp-wrappers.morph create mode 100644 strata/nfs/ti-rpc.morph (limited to 'strata/nfs') diff --git a/strata/nfs/nfs-utils.morph b/strata/nfs/nfs-utils.morph new file mode 100644 index 00000000..d09c063e --- /dev/null +++ b/strata/nfs/nfs-utils.morph @@ -0,0 +1,12 @@ +name: nfs-utils +kind: chunk +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 diff --git a/strata/nfs/rpcbind.morph b/strata/nfs/rpcbind.morph new file mode 100644 index 00000000..35b9c77a --- /dev/null +++ b/strata/nfs/rpcbind.morph @@ -0,0 +1,11 @@ +name: rpcbind +kind: chunk +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 diff --git a/strata/nfs/tcp-wrappers.morph b/strata/nfs/tcp-wrappers.morph new file mode 100644 index 00000000..c68671f6 --- /dev/null +++ b/strata/nfs/tcp-wrappers.morph @@ -0,0 +1,9 @@ +name: tcp-wrappers +kind: chunk +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/strata/nfs/ti-rpc.morph b/strata/nfs/ti-rpc.morph new file mode 100644 index 00000000..3fb91e1f --- /dev/null +++ b/strata/nfs/ti-rpc.morph @@ -0,0 +1,6 @@ +name: ti-rpc +kind: chunk +build-system: autotools +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --sysconfdir=/etc -- cgit v1.2.1