[arch-commits] Commit in singularity-container/repos/community-x86_64 (4 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Mon Nov 29 20:27:51 UTC 2021
Date: Monday, November 29, 2021 @ 20:27:51
Author: grawlinson
Revision: 1057619
archrelease: copy trunk to community-x86_64
Added:
singularity-container/repos/community-x86_64/PKGBUILD
(from rev 1057618, singularity-container/trunk/PKGBUILD)
singularity-container/repos/community-x86_64/tmpfiles.conf
(from rev 1057618, singularity-container/trunk/tmpfiles.conf)
Deleted:
singularity-container/repos/community-x86_64/PKGBUILD
singularity-container/repos/community-x86_64/tmpfiles.conf
---------------+
PKGBUILD | 168 ++++++++++++++++++++++++++++----------------------------
tmpfiles.conf | 2
2 files changed, 85 insertions(+), 85 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 20:27:07 UTC (rev 1057618)
+++ PKGBUILD 2021-11-29 20:27:51 UTC (rev 1057619)
@@ -1,84 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Maciej Sieczka <msieczka at sieczka dot org>
-
-_pkgname=singularity
-pkgname=singularity-container
-pkgver=3.8.4
-pkgrel=1
-pkgdesc='Application containers for secure high performance computing'
-arch=('x86_64')
-url='https://singularity.hpcng.org'
-license=('BSD')
-backup=(
- etc/singularity/capability.json
- etc/singularity/cgroups/cgroups.toml
- etc/singularity/ecl.toml
- etc/singularity/global-pgp-public
- etc/singularity/network/00_bridge.conflist
- etc/singularity/network/10_ptp.conflist
- etc/singularity/network/20_ipvlan.conflist
- etc/singularity/network/30_macvlan.conflist
- etc/singularity/network/40_fakeroot.conflist
- etc/singularity/nvliblist.conf
- etc/singularity/remote.yaml
- etc/singularity/rocmliblist.conf
- etc/singularity/seccomp-profiles/default.json
- etc/singularity/singularity.conf
-)
-depends=('squashfs-tools' 'libseccomp')
-makedepends=('go' 'git' 'cryptsetup')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/hpcng/singularity/archive/v$pkgver.tar.gz"
- 'tmpfiles.conf')
-sha512sums=('41befc2338c6949289736edc44440f6e2052f6d2e80a122362322c5c113d00c655ff2e814e9f1fbcf1fb146eb4a1f3234c104d208a7985279ab840f7c884f68e'
- '54588a0dc709a8bc14adb6b8092da4fc2af5200636d080cdc6179382ff48c9f526ecac7f8e9187cf4faed958588b3d96c09ce4fd89fd714b4d12e816d330c43f')
-b2sums=('8a3005b1fb1820b9852e8e082bcdb90f2ec4ef76fe6ad2e41106b439dc4b0622cc445d104924bb542e8c3c100abbe2d27577d30966fa119e86915f7f0c2dc5d6'
- '33b6c0a8698d15155829af047df42ab2c408f7c604490bdb03210bcf2af175c86a5ad1aaba90452062b21f22f8e36b519f1a07c86ce812af89ebb6f31c160074')
-
-prepare() {
- cd "$_pkgname-$pkgver"
-
- # provide version to build script
- echo "$pkgver" > VERSION
-
- # fix bash completion path
- sed -e "s|/etc/bash_completion.d|/usr/share/bash-completion/completions|" \
- -e "s|\$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|" \
- -i mlocal/frags/build_cli.mk
-}
-
-build() {
- cd "$_pkgname-$pkgver"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-
- ./mconfig \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --localstatedir=/var/lib \
- -P release-stripped \
- -v
-
- make -C builddir
-}
-
-package() {
- cd "$_pkgname-$pkgver"
-
- # binaries & man pages
- make -C builddir DESTDIR="$pkgdir" install man
-
- # license
- install -vDm644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
-
- # documentation
- install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-
- # let systemd-tmpfiles generate state directory
- rm -rf "$pkgdir/var"
- install -vDm644 "$srcdir/tmpfiles.conf" \
- "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
-}
Copied: singularity-container/repos/community-x86_64/PKGBUILD (from rev 1057618, singularity-container/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-29 20:27:51 UTC (rev 1057619)
@@ -0,0 +1,84 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Maciej Sieczka <msieczka at sieczka dot org>
+
+_pkgname=singularity
+pkgname=singularity-container
+pkgver=3.8.5
+pkgrel=1
+pkgdesc='Application containers for secure high performance computing'
+arch=('x86_64')
+url='https://singularity.hpcng.org'
+license=('BSD')
+backup=(
+ etc/singularity/capability.json
+ etc/singularity/cgroups/cgroups.toml
+ etc/singularity/ecl.toml
+ etc/singularity/global-pgp-public
+ etc/singularity/network/00_bridge.conflist
+ etc/singularity/network/10_ptp.conflist
+ etc/singularity/network/20_ipvlan.conflist
+ etc/singularity/network/30_macvlan.conflist
+ etc/singularity/network/40_fakeroot.conflist
+ etc/singularity/nvliblist.conf
+ etc/singularity/remote.yaml
+ etc/singularity/rocmliblist.conf
+ etc/singularity/seccomp-profiles/default.json
+ etc/singularity/singularity.conf
+)
+depends=('squashfs-tools' 'libseccomp')
+makedepends=('go' 'git' 'cryptsetup')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hpcng/singularity/archive/v$pkgver.tar.gz"
+ 'tmpfiles.conf')
+sha512sums=('c4fc943c6e7099183988bafc894311d5ee48662e4bad03cdbe6c9a2286b9a2c6680f320b6f1fce980868c5ac3f8f4e22ce288dea60429fdf5a15821569115973'
+ '54588a0dc709a8bc14adb6b8092da4fc2af5200636d080cdc6179382ff48c9f526ecac7f8e9187cf4faed958588b3d96c09ce4fd89fd714b4d12e816d330c43f')
+b2sums=('db26eb86c6821d4540a9e1db5b0ece03228430aa7f3f1137746321e980f9bbdaf57a497ae7104b71d8605b4a747e691a4138dce10ffdbfb706bfdae1af74e257'
+ '33b6c0a8698d15155829af047df42ab2c408f7c604490bdb03210bcf2af175c86a5ad1aaba90452062b21f22f8e36b519f1a07c86ce812af89ebb6f31c160074')
+
+prepare() {
+ cd "$_pkgname-$pkgver"
+
+ # provide version to build script
+ echo "$pkgver" > VERSION
+
+ # fix bash completion path
+ sed -e "s|/etc/bash_completion.d|/usr/share/bash-completion/completions|" \
+ -e "s|\$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|" \
+ -i mlocal/frags/build_cli.mk
+}
+
+build() {
+ cd "$_pkgname-$pkgver"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+
+ ./mconfig \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var/lib \
+ -P release-stripped \
+ -v
+
+ make -C builddir
+}
+
+package() {
+ cd "$_pkgname-$pkgver"
+
+ # binaries & man pages
+ make -C builddir DESTDIR="$pkgdir" install man
+
+ # license
+ install -vDm644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+ # let systemd-tmpfiles generate state directory
+ rm -rf "$pkgdir/var"
+ install -vDm644 "$srcdir/tmpfiles.conf" \
+ "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+}
Deleted: tmpfiles.conf
===================================================================
--- tmpfiles.conf 2021-11-29 20:27:07 UTC (rev 1057618)
+++ tmpfiles.conf 2021-11-29 20:27:51 UTC (rev 1057619)
@@ -1 +0,0 @@
-d /var/lib/singularity/mnt/session
Copied: singularity-container/repos/community-x86_64/tmpfiles.conf (from rev 1057618, singularity-container/trunk/tmpfiles.conf)
===================================================================
--- tmpfiles.conf (rev 0)
+++ tmpfiles.conf 2021-11-29 20:27:51 UTC (rev 1057619)
@@ -0,0 +1 @@
+d /var/lib/singularity/mnt/session
More information about the arch-commits
mailing list