[arch-commits] Commit in singularity-container/repos/community-x86_64 (4 files)

George Rawlinson grawlinson at gemini.archlinux.org
Tue Nov 9 22:36:56 UTC 2021


    Date: Tuesday, November 9, 2021 @ 22:36:56
  Author: grawlinson
Revision: 1039486

archrelease: copy trunk to community-x86_64

Added:
  singularity-container/repos/community-x86_64/PKGBUILD
    (from rev 1039485, singularity-container/trunk/PKGBUILD)
  singularity-container/repos/community-x86_64/tmpfiles.conf
    (from rev 1039485, singularity-container/trunk/tmpfiles.conf)
Deleted:
  singularity-container/repos/community-x86_64/PKGBUILD
  singularity-container/repos/community-x86_64/tmpfiles.conf

---------------+
 PKGBUILD      |  166 ++++++++++++++++++++++++++++----------------------------
 tmpfiles.conf |    2 
 2 files changed, 85 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-09 22:32:42 UTC (rev 1039485)
+++ PKGBUILD	2021-11-09 22:36:56 UTC (rev 1039486)
@@ -1,82 +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.3
-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')
-b2sums=('792659f3455d353038edcede5c70ee26e4d95827f696c178a493f4d572a8753cda05f7189d8f8f43894164fa3d56f7c18cf32a4b66ee10b81e80207ae9f07fe3'
-        '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 1039485, singularity-container/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-09 22:36:56 UTC (rev 1039486)
@@ -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.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"
+}

Deleted: tmpfiles.conf
===================================================================
--- tmpfiles.conf	2021-11-09 22:32:42 UTC (rev 1039485)
+++ tmpfiles.conf	2021-11-09 22:36:56 UTC (rev 1039486)
@@ -1 +0,0 @@
-d /var/lib/singularity/mnt/session

Copied: singularity-container/repos/community-x86_64/tmpfiles.conf (from rev 1039485, singularity-container/trunk/tmpfiles.conf)
===================================================================
--- tmpfiles.conf	                        (rev 0)
+++ tmpfiles.conf	2021-11-09 22:36:56 UTC (rev 1039486)
@@ -0,0 +1 @@
+d /var/lib/singularity/mnt/session



More information about the arch-commits mailing list