pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

singularity: Application container for Linux



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sat Jun 2 09:39:53 2018 -0500
Changeset:	908719f15613f88a1bb57bfc8daf2bb1efc8977c

Modified Files:
	Makefile
Added Files:
	singularity/DESCR
	singularity/Makefile
	singularity/PLIST
	singularity/distinfo

Log Message:
singularity: Application container for Linux

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=908719f15613f88a1bb57bfc8daf2bb1efc8977c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |   1 +
 singularity/DESCR    |   9 ++++
 singularity/Makefile |  55 ++++++++++++++++++++
 singularity/PLIST    | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++
 singularity/distinfo |   6 +++
 5 files changed, 213 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 240c655b3b..e359d493ee 100644
--- a/Makefile
+++ b/Makefile
@@ -4147,6 +4147,7 @@ SUBDIR+=	simulavr-git
 SUBDIR+=	simutrans
 SUBDIR+=	simutrans-data
 SUBDIR+=	singular
+SUBDIR+=	singularity
 SUBDIR+=	sipp
 SUBDIR+=	siproxd
 SUBDIR+=	siptoolbox
diff --git a/singularity/DESCR b/singularity/DESCR
new file mode 100644
index 0000000000..7d48130848
--- /dev/null
+++ b/singularity/DESCR
@@ -0,0 +1,9 @@
+Singularity is a container platform focused on supporting "Mobility of Compute"
+Mobility of Compute encapsulates the development to compute model where
+developers can work in an environment of their choosing and creation and when
+the developer needs additional compute resources, this environment can easily
+be copied and executed on other platforms. Additionally as the primary use case
+for Singularity is targeted towards computational portability, many of the
+barriers to entry of other container solutions do not apply to Singularity
+making it an ideal solution for users (both computational and
+non-computational) and HPC centers.
diff --git a/singularity/Makefile b/singularity/Makefile
new file mode 100644
index 0000000000..c9cb2e023d
--- /dev/null
+++ b/singularity/Makefile
@@ -0,0 +1,55 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Fri Jun  1 21:50:38 CDT 2018               #
+###########################################################
+
+DISTNAME=	singularity-${PV}
+CATEGORIES=	emulators
+MASTER_SITES=	${MASTER_SITE_GITHUB:=singularityware/}
+GITHUB_PROJECT=	singularity
+GITHUB_TAG=	${PV}
+
+MAINTAINER=	bacon%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/singularityware/singularity
+COMMENT=	Container
+LICENSE=	modified-bsd
+
+REPLACE_PYTHON=		libexec/helpers/*/*.py
+REPLACE_PYTHON+=	libexec/python/*.py
+REPLACE_PYTHON+=	libexec/python/*/*.py
+REPLACE_PYTHON+=	libexec/python/*/*/*.py
+
+USE_TOOLS+=	autoconf automake autoreconf bash
+USE_LIBTOOL=	yes
+GNU_CONFIGURE=	yes
+
+PV=		2.5.1
+CONFIG_SHELL=	${BASH}
+CHECK_PORTABILITY_SKIP=	configure
+
+# Requires clone()
+ONLY_FOR_PLATFORM=	Linux-*-*
+
+EGDIR=			${PREFIX}/share/examples/${PKGBASE}
+PKG_SYSCONFSUBDIR=	${PKGBASE}
+CONF_FILES+=	${EGDIR}/default-nsswitch.conf ${PKG_SYSCONFDIR}/default-nsswitch.conf
+CONF_FILES+=	${EGDIR}/init ${PKG_SYSCONFDIR}/init
+CONF_FILES+=	${EGDIR}/nvliblist.conf ${PKG_SYSCONFDIR}/nvliblist.conf
+CONF_FILES+=	${EGDIR}/singularity.conf ${PKG_SYSCONFDIR}/singularity.conf
+
+INSTALLATION_DIRS=	${EGDIR}
+
+pre-configure:
+	cd ${WRKSRC} && autoreconf -if
+
+# FIXME: Should this be necessary?
+post-install:
+	${MV} ${DESTDIR}${PKG_SYSCONFDIR}/*.conf ${DESTDIR}${EGDIR}
+	${MV} ${DESTDIR}${PKG_SYSCONFDIR}/init ${DESTDIR}${EGDIR}
+
+.include "../../archivers/libarchive/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/singularity/PLIST b/singularity/PLIST
new file mode 100644
index 0000000000..b3254bbcd4
--- /dev/null
+++ b/singularity/PLIST
@@ -0,0 +1,142 @@
+@comment $NetBSD$
+bin/run-singularity
+bin/singularity
+etc/bash_completion.d/singularity
+include/singularity/bind.h
+include/singularity/image.h
+include/singularity/runtime.h
+lib/singularity/libsingularity-image.la
+lib/singularity/libsingularity-runtime.la
+libexec/singularity/bin/action
+libexec/singularity/bin/action-suid
+libexec/singularity/bin/builddef
+libexec/singularity/bin/cleanupd
+libexec/singularity/bin/docker-extract
+libexec/singularity/bin/get-section
+libexec/singularity/bin/image-type
+libexec/singularity/bin/mount
+libexec/singularity/bin/mount-suid
+libexec/singularity/bin/prepheader
+libexec/singularity/bin/start
+libexec/singularity/bin/start-suid
+libexec/singularity/bootstrap-scripts/checks.sh
+libexec/singularity/bootstrap-scripts/deffile-driver-arch.sh
+libexec/singularity/bootstrap-scripts/deffile-driver-busybox.sh
+libexec/singularity/bootstrap-scripts/deffile-driver-debootstrap.sh
+libexec/singularity/bootstrap-scripts/deffile-driver-docker.sh
+libexec/singularity/bootstrap-scripts/deffile-driver-localimage.sh
+libexec/singularity/bootstrap-scripts/deffile-driver-self.sh
+libexec/singularity/bootstrap-scripts/deffile-driver-shub.sh
+libexec/singularity/bootstrap-scripts/deffile-driver-yum.sh
+libexec/singularity/bootstrap-scripts/deffile-driver-zypper.sh
+libexec/singularity/bootstrap-scripts/deffile-post.sh
+libexec/singularity/bootstrap-scripts/deffile-sections.sh
+libexec/singularity/bootstrap-scripts/environment.sh
+libexec/singularity/bootstrap-scripts/environment.tar
+libexec/singularity/bootstrap-scripts/functions
+libexec/singularity/bootstrap-scripts/main-deffile.sh
+libexec/singularity/bootstrap-scripts/main-dockerhub.sh
+libexec/singularity/bootstrap-scripts/main-null.sh
+libexec/singularity/bootstrap-scripts/post.sh
+libexec/singularity/bootstrap-scripts/pre.sh
+libexec/singularity/cli/action_argparser.sh
+libexec/singularity/cli/apps.exec
+libexec/singularity/cli/apps.info
+libexec/singularity/cli/bootstrap.exec
+libexec/singularity/cli/bootstrap.info
+libexec/singularity/cli/build.exec
+libexec/singularity/cli/build.info
+libexec/singularity/cli/check.exec
+libexec/singularity/cli/check.info
+libexec/singularity/cli/create.exec
+libexec/singularity/cli/create.info
+libexec/singularity/cli/exec.exec
+libexec/singularity/cli/exec.info
+libexec/singularity/cli/help.exec
+libexec/singularity/cli/help.info
+libexec/singularity/cli/image.create.exec
+libexec/singularity/cli/image.create.info
+libexec/singularity/cli/image.exec
+libexec/singularity/cli/image.expand.exec
+libexec/singularity/cli/image.expand.info
+libexec/singularity/cli/image.export.exec
+libexec/singularity/cli/image.export.info
+libexec/singularity/cli/image.import.exec
+libexec/singularity/cli/image.import.info
+libexec/singularity/cli/image.info
+libexec/singularity/cli/inspect.exec
+libexec/singularity/cli/inspect.info
+libexec/singularity/cli/instance.exec
+libexec/singularity/cli/instance.info
+libexec/singularity/cli/instance.list.exec
+libexec/singularity/cli/instance.list.info
+libexec/singularity/cli/instance.start.exec
+libexec/singularity/cli/instance.start.info
+libexec/singularity/cli/instance.stop.exec
+libexec/singularity/cli/instance.stop.info
+libexec/singularity/cli/mount.exec
+libexec/singularity/cli/mount.info
+libexec/singularity/cli/pull.exec
+libexec/singularity/cli/pull.info
+libexec/singularity/cli/run.exec
+libexec/singularity/cli/run.info
+libexec/singularity/cli/selftest.exec
+libexec/singularity/cli/selftest.info
+libexec/singularity/cli/shell.exec
+libexec/singularity/cli/shell.info
+libexec/singularity/cli/test.exec
+libexec/singularity/cli/test.info
+libexec/singularity/functions
+libexec/singularity/handlers/archive-cpio.sh
+libexec/singularity/handlers/archive-tar.sh
+libexec/singularity/handlers/image-docker.sh
+libexec/singularity/handlers/image-http.sh
+libexec/singularity/handlers/image-instance.sh
+libexec/singularity/handlers/image-shub.sh
+libexec/singularity/helpers/apps/list.sh
+libexec/singularity/helpers/check.sh
+libexec/singularity/helpers/checks/1-bash-hiddens.py
+libexec/singularity/helpers/checks/1-cache-content.py
+libexec/singularity/helpers/checks/1-docker.py
+libexec/singularity/helpers/checks/1-hello-world.sh
+libexec/singularity/helpers/checks/3-cve.py
+libexec/singularity/helpers/help.sh
+libexec/singularity/helpers/image.sh
+libexec/singularity/helpers/inspect.sh
+libexec/singularity/helpers/record-env.sh
+libexec/singularity/image-handler.sh
+libexec/singularity/python/__init__.py
+libexec/singularity/python/base.py
+libexec/singularity/python/defaults.py
+libexec/singularity/python/docker/__init__.py
+libexec/singularity/python/docker/api.py
+libexec/singularity/python/docker/main.py
+libexec/singularity/python/docker/tasks.py
+libexec/singularity/python/helpers/__init__.py
+libexec/singularity/python/helpers/json/__init__.py
+libexec/singularity/python/helpers/json/add.py
+libexec/singularity/python/helpers/json/delete.py
+libexec/singularity/python/helpers/json/dump.py
+libexec/singularity/python/helpers/json/get.py
+libexec/singularity/python/helpers/json/inspect.py
+libexec/singularity/python/helpers/json/main.py
+libexec/singularity/python/import.py
+libexec/singularity/python/message.py
+libexec/singularity/python/pull.py
+libexec/singularity/python/shell.py
+libexec/singularity/python/shub/__init__.py
+libexec/singularity/python/shub/api.py
+libexec/singularity/python/shub/main.py
+libexec/singularity/python/size.py
+libexec/singularity/python/sutils.py
+libexec/singularity/python/templates.py
+man/man1/singularity.1
+share/examples/singularity/default-nsswitch.conf
+share/examples/singularity/init
+share/examples/singularity/nvliblist.conf
+share/examples/singularity/singularity.conf
+@pkgdir var/singularity/mnt/session
+@pkgdir var/singularity/mnt/overlay
+@pkgdir var/singularity/mnt/final
+@pkgdir var/singularity/mnt/container
+@pkgdir etc/singularity
diff --git a/singularity/distinfo b/singularity/distinfo
new file mode 100644
index 0000000000..ec4bdb19ae
--- /dev/null
+++ b/singularity/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (singularity-2.5.1.tar.gz) = 29e72052f901218b1996fec32f7990b14135329a
+RMD160 (singularity-2.5.1.tar.gz) = eb957981be467e375b0d21c39b6c9f995d7c2e5f
+SHA512 (singularity-2.5.1.tar.gz) = cbe5ca50eaf349a73702c3e8ec2d9493fa3a2309b195a1be261843f70edbab36b97dae575c56da0fb1ab2b465abb8f2b004fc72e7e2a966c71cc7bf685e4e96e
+Size (singularity-2.5.1.tar.gz) = 236497 bytes


Home | Main Index | Thread Index | Old Index