summaryrefslogtreecommitdiff
path: root/elements/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'elements/nfs')
-rw-r--r--elements/nfs/libevent.bst8
-rw-r--r--elements/nfs/nfs-utils.bst21
-rw-r--r--elements/nfs/rpcbind.bst18
-rw-r--r--elements/nfs/ti-rpc.bst12
4 files changed, 59 insertions, 0 deletions
diff --git a/elements/nfs/libevent.bst b/elements/nfs/libevent.bst
new file mode 100644
index 00000000..48dbff8d
--- /dev/null
+++ b/elements/nfs/libevent.bst
@@ -0,0 +1,8 @@
+kind: autotools
+depends:
+- foundation.bst
+sources:
+- kind: git
+ url: upstream:libevent
+ track: release-2.1.5-beta
+ ref: 0b49ae34594533daa82c06a506078de9e336a013
diff --git a/elements/nfs/nfs-utils.bst b/elements/nfs/nfs-utils.bst
new file mode 100644
index 00000000..09fac488
--- /dev/null
+++ b/elements/nfs/nfs-utils.bst
@@ -0,0 +1,21 @@
+kind: autotools
+depends:
+- foundation.bst
+- nfs/libevent.bst
+- nfs/ti-rpc.bst
+sources:
+- kind: git
+ url: upstream:nfs-utils
+ track: baserock/master
+ ref: 0da9f20a22bb32b2da6b587b4e85dafde087c0f7
+config:
+ configure-commands:
+ - NOCONFIGURE=1 ./autogen.sh
+ - ./configure --prefix="%{prefix}" --disable-nfsv4 --disable-nfsv41 --disable-gss
+ --with-rpcgen=internal --without-tcp-wrappers
+ install-commands:
+ - make DESTDIR="%{install-root}" install
+ - mkdir -p "%{install-root}"/lib/systemd/system
+ - install -m644 proc-fs-nfsd.mount "%{install-root}"/lib/systemd/system
+ - install -m644 nfs-mountd.service "%{install-root}"/lib/systemd/system
+ - install -m644 nfs-server.service "%{install-root}"/lib/systemd/system
diff --git a/elements/nfs/rpcbind.bst b/elements/nfs/rpcbind.bst
new file mode 100644
index 00000000..36d9c37e
--- /dev/null
+++ b/elements/nfs/rpcbind.bst
@@ -0,0 +1,18 @@
+kind: autotools
+depends:
+- foundation.bst
+- nfs/ti-rpc.bst
+sources:
+- kind: git
+ url: upstream:rpcbind
+ track: baserock/master
+ ref: aa3ac0d86c258d3e355ae59df31a96da795ecdfa
+config:
+ configure-commands:
+ - NOCONFIGURE=1 ./autogen.sh
+ - ./configure --prefix="%{prefix}" --with-rpcuser=nobody --enable-warmstarts
+ install-commands:
+ - make DESTDIR="%{install-root}" install
+ - mkdir -p "%{install-root}"/lib/systemd/system
+ - install -m644 rpcbind.service "%{install-root}"/lib/systemd/system
+ - install -m644 rpcbind.socket "%{install-root}"/lib/systemd/system
diff --git a/elements/nfs/ti-rpc.bst b/elements/nfs/ti-rpc.bst
new file mode 100644
index 00000000..aeb573d9
--- /dev/null
+++ b/elements/nfs/ti-rpc.bst
@@ -0,0 +1,12 @@
+kind: autotools
+depends:
+- foundation.bst
+sources:
+- kind: git
+ url: upstream:ti-rpc
+ track: baserock/master
+ ref: c5a7a19070e74115fc9c26aa6f3dfec1da220c1f
+config:
+ configure-commands:
+ - NOCONFIGURE=1 ./autogen.sh
+ - ./configure --prefix="%{prefix}" --sysconfdir=/etc