From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/singularity/
Date: Thu, 16 Apr 2020 16:36:00 +0000 (UTC) [thread overview]
Message-ID: <1587054923.e5faf5a00819f65078cbd18aa6c51f8ddfed55fa.marecki@gentoo> (raw)
commit: e5faf5a00819f65078cbd18aa6c51f8ddfed55fa
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 16 16:08:40 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Apr 16 16:35:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5faf5a0
sys-cluster/singularity: bump to 3.5.3
Invoking maintainer time-out on this one, on the one hand we have been
LONG overdue for a bump to major version 3 and on the other 2.6.2 has
apparently got problems with squashfs on newer kernels.
Discussion of dependencies, given some of them are not obvious and
official "install from source" documentation seems to include packages
which are not in fact needed:
- sys-libs/libseccomp - looked for by mconfig, moreover at least on my
system singularity binaries end up linked *dynamically* against it;
- virtual/pkgconfig - used by mconfig while looking for libseccomp;
- go-1.13+ - this version number is requested in mconfig;
- app-crypt/gpgme - NOT looked for by mconfig but Singularity does use
gpgme bindings for Go;
- dev-libs/openssl - looked for by mconfig;
- sys-apps/util-linux - libuuid and its header files looked for by mconfig;
- sys-fs/cryptsetup - looked for by mconfig;
- sys-fs/squashfs-tools - various tools from this package (e.g. unsquash)
are invoked at run time, that said I have experimentally confirmed that
Singularity builds fine without it.
Closes: https://bugs.gentoo.org/694048
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sys-cluster/singularity/Manifest | 1 +
sys-cluster/singularity/metadata.xml | 6 ++-
sys-cluster/singularity/singularity-3.5.3.ebuild | 59 ++++++++++++++++++++++++
3 files changed, 65 insertions(+), 1 deletion(-)
diff --git a/sys-cluster/singularity/Manifest b/sys-cluster/singularity/Manifest
index db1918daa9c..452f0d8dbf6 100644
--- a/sys-cluster/singularity/Manifest
+++ b/sys-cluster/singularity/Manifest
@@ -1 +1,2 @@
DIST singularity-2.6.1.tar.gz 835029 BLAKE2B 4a581e1bc5df9d664d68f17e275f01081c850aa53f8a9bfcceaf5eb2b8f16e3a018f88669674c7427c60ab00ec0f21b4ec5e6ecaab261c16f70a998cb54ff855 SHA512 063327c67dae2629d1decebc060c474a72e6741f6dc9b6373734e429ccf11d53ee55c1578c28e74e8f8bcda87f3e0b735a3a0e982c9ea894f03a31eaaadf617c
+DIST singularity-3.5.3.tar.gz 7885009 BLAKE2B 8afa2223906e7abf5f3d796efe7cf243dd9d91e61c8ca143a755ad772618ed01d20b7f4a030e82767cf9bf2a7431848d8344e30bde38f413ecd2eef0a9bab53e SHA512 b8bb44539e78eaf74c1b97e5bae8fae1f390412456d76b573fffe2a90240b182db1aec60aee80715547c3edfbaa0607506e2727a575bc951223f9a7c3be0a97e
diff --git a/sys-cluster/singularity/metadata.xml b/sys-cluster/singularity/metadata.xml
index f4750025819..e7f7edb94ed 100644
--- a/sys-cluster/singularity/metadata.xml
+++ b/sys-cluster/singularity/metadata.xml
@@ -5,7 +5,11 @@
<email>jlec@gentoo.org</email>
<name>Justin Lecher</name>
</maintainer>
+ <use>
+ <flag name="network">Install network plug-ins</flag>
+ <flag name="suid">Install SUID helper binary</flag>
+ </use>
<upstream>
- <remote-id type="github">singularityware/singularity</remote-id>
+ <remote-id type="github">sylabs/singularity</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sys-cluster/singularity/singularity-3.5.3.ebuild b/sys-cluster/singularity/singularity-3.5.3.ebuild
new file mode 100644
index 00000000000..2a51a4074fc
--- /dev/null
+++ b/sys-cluster/singularity/singularity-3.5.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info
+
+DESCRIPTION="Application containers for Linux"
+HOMEPAGE="https://sylabs.io"
+SRC_URI="https://github.com/sylabs/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples +network +suid"
+
+# Do not complain about CFLAGS etc since go projects do not use them.
+QA_FLAGS_IGNORED='.*'
+
+COMMON="sys-libs/libseccomp"
+BDEPEND="virtual/pkgconfig"
+DEPEND="${COMMON}
+ >=dev-lang/go-1.13.0
+ app-crypt/gpgme
+ dev-libs/openssl
+ sys-apps/util-linux
+ sys-fs/cryptsetup"
+RDEPEND="${COMMON}
+ sys-fs/squashfs-tools"
+
+CONFIG_CHECK="~SQUASHFS"
+
+S=${WORKDIR}/${PN}
+
+src_configure() {
+ local myconfargs=(
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --runstatedir=/run \
+ --localstatedir=/var \
+ $(usex network "" "--without-network") \
+ $(usex suid "" "--without-suid")
+ )
+ ./mconfig -v ${myconfargs[@]} || die "Error invoking mconfig"
+}
+
+src_compile() {
+ emake -C builddir
+}
+
+src_install() {
+ emake DESTDIR="${ED}" -C builddir install
+ keepdir /var/singularity/mnt/session
+
+ dodoc README.md CONTRIBUTORS.md CONTRIBUTING.md
+ if use examples; then
+ dodoc -r examples
+ fi
+}
next reply other threads:[~2020-04-16 16:36 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-16 16:36 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-04-14 9:52 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/singularity/ Marek Szuba
2022-03-20 22:44 Marek Szuba
2022-02-24 9:11 Marek Szuba
2022-02-09 16:44 Marek Szuba
2022-02-09 16:44 Marek Szuba
2021-12-26 13:03 Benda XU
2021-11-30 11:37 Marek Szuba
2021-11-30 11:28 Arthur Zamarin
2021-11-30 11:28 Arthur Zamarin
2021-11-30 10:55 Marek Szuba
2021-11-20 10:37 Marek Szuba
2021-11-20 7:28 Agostino Sarubbo
2021-11-19 13:39 Jakov Smolić
2021-11-11 20:15 Marek Szuba
2021-10-10 20:44 Marek Szuba
2021-09-20 9:41 Marek Szuba
2021-09-09 11:20 Marek Szuba
2021-08-17 11:31 Marek Szuba
2021-07-17 21:19 Marek Szuba
2021-07-17 7:44 Agostino Sarubbo
2021-07-17 7:42 Agostino Sarubbo
2021-06-16 10:15 Marek Szuba
2021-05-28 8:42 Marek Szuba
2021-05-28 0:29 Sam James
2021-05-28 0:29 Sam James
2021-05-27 10:42 Marek Szuba
2021-05-13 21:15 Sam James
2021-05-13 18:54 Sam James
2021-04-16 18:25 Marek Szuba
2021-04-16 18:25 Marek Szuba
2021-03-11 13:45 Marek Szuba
2021-03-11 13:45 Marek Szuba
2021-01-18 13:54 Marek Szuba
2020-11-27 19:17 Marek Szuba
2020-10-16 11:20 Marek Szuba
2020-10-05 12:09 Marek Szuba
2020-09-21 20:09 Marek Szuba
2020-09-05 19:44 Marek Szuba
2020-09-02 12:19 Marek Szuba
2020-09-01 14:39 Marek Szuba
2020-08-24 17:19 Marek Szuba
2020-07-21 15:18 Marek Szuba
2020-07-21 15:16 Marek Szuba
2020-07-21 15:16 Marek Szuba
2020-07-21 15:16 Marek Szuba
2020-05-07 17:58 Michał Górny
2020-04-24 14:25 Marek Szuba
2019-08-13 7:40 Michał Górny
2018-01-06 21:30 Justin Lecher
2017-10-29 12:03 Justin Lecher
2017-10-22 11:24 Justin Lecher
2017-10-21 8:42 Justin Lecher
2017-07-10 19:07 Justin Lecher
2016-11-13 18:15 Justin Lecher
2016-11-11 9:05 Justin Lecher
2016-11-11 9:05 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1587054923.e5faf5a00819f65078cbd18aa6c51f8ddfed55fa.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox