Patches for aports can be sent to this list

1

[alpine-aports] [PATCH] testing/singularity: new aport

khm
Details
Message ID
<20180103051923.45831-1-khm@sciops.net>
Sender timestamp
1514956763
DKIM signature
missing
Download raw message
Patch: +32 -0
Singularity is a container platform focused on "mobility of computing."
It differs from other popular container platforms by not requiring
users to have special privileges or any running daemons to work.

Homepage at http://singularity.lbl.gov/
---
 testing/singularity/APKBUILD | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 testing/singularity/APKBUILD

diff --git a/testing/singularity/APKBUILD b/testing/singularity/APKBUILD
new file mode 100644
index 0000000000..315ee5ab95
--- /dev/null
+++ b/testing/singularity/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Kurt H Maier <khm@sciops.net>
+# Maintainer: Kurt H Maier <khm@sciops.net>
+pkgname=singularity
+pkgver=2.4.2
+pkgrel=0
+pkgdesc="A container platform focused on supporting 'Mobility of Compute'"
+url="http://singularity.lbl.gov/"
+arch="all"
+license="BSD-3-Clause-LBNL"
+depends="python"
+makedepends="autoconf automake gcc make libtool linux-headers"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/singularityware/singularity/releases/download/$pkgver/singularity-$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver 
+
+build() {
+	cd "$builddir"
+	./configure --prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--disable-suid \
+		--with-userns
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="2c26af6cd092bc030113cdb2a79430d82d51b7438330a6cd0706e46438296feed4d86b08d57efff0b7df148ca0e08f706b8a214f03439bccd7d196714cd06dbc  singularity-2.4.2.tar.gz"
-- 
2.15.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] Re: [PATCH v2] testing/singularity: new aport

khm
Details
Message ID
<20180104013029.GA11249@wopr>
In-Reply-To
<20180103051923.45831-1-khm@sciops.net> (view parent)
Sender timestamp
1515029429
DKIM signature
missing
Download raw message
Singularity is a container platform focused on "mobility of computing."
It differs from other popular container platforms by not requiring
users to have special privileges or any running daemons to work.

Homepage at http://singularity.lbl.gov/
---
Changes v1 -> v2:
	- enabled suid tools 

 testing/singularity/APKBUILD | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 testing/singularity/APKBUILD

diff --git a/testing/singularity/APKBUILD b/testing/singularity/APKBUILD
new file mode 100644
index 0000000000..df234075bb
--- /dev/null
+++ b/testing/singularity/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Kurt H Maier <khm@sciops.net>
+# Maintainer: Kurt H Maier <khm@sciops.net>
+pkgname=singularity
+pkgver=2.4.2
+pkgrel=0
+pkgdesc="A container platform focused on supporting 'Mobility of
Compute'"
+url="http://singularity.lbl.gov/"
+arch="all"
+license="BSD-3-Clause-LBNL"
+depends="python"
+makedepends="autoconf automake gcc make libtool linux-headers"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/singularityware/singularity/releases/download/$pkgver/singularity-$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver 
+options="suid"
+
+build() {
+       cd "$builddir"
+       ./configure --prefix=/usr \
+               --sysconfdir=/etc \
+               --localstatedir=/var \
+               --with-userns
+       make
+}
+
+package() {
+       cd "$builddir"
+       make DESTDIR="$pkgdir" -j1 install 
+}
+
+sha512sums="2c26af6cd092bc030113cdb2a79430d82d51b7438330a6cd0706e46438296feed4d86b08d57efff0b7df148ca0e08f706b8a214f03439bccd7d196714cd06dbc
singularity-2.4.2.tar.gz"
-- 
2.15.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---