aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-01-10 13:44:48 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-01-14 18:25:31 +0100
commit5262a8cbf4d59b05b7f7aeee61c399828afa5934 (patch)
treeab5d6ffc6c6e1fc9b7b79373bf3103839428a310
parente6bd90db2ba19c1dbb286843a1e4708738b29e26 (diff)
downloadaports-5262a8cbf4d59b05b7f7aeee61c399828afa5934.tar.gz
aports-5262a8cbf4d59b05b7f7aeee61c399828afa5934.tar.bz2
aports-5262a8cbf4d59b05b7f7aeee61c399828afa5934.tar.xz
testing/corecollector: upgrade to 0.2.0
-rw-r--r--testing/corecollector/APKBUILD10
-rw-r--r--testing/corecollector/corecollector.pre-install6
l---------testing/corecollector/corecollector.pre-upgrade1
3 files changed, 13 insertions, 4 deletions
diff --git a/testing/corecollector/APKBUILD b/testing/corecollector/APKBUILD
index 163d0ee8df..7d05fb7117 100644
--- a/testing/corecollector/APKBUILD
+++ b/testing/corecollector/APKBUILD
@@ -1,13 +1,15 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=corecollector
-pkgver=0.1.1
+pkgver=0.2.0
pkgrel=0
pkgdesc="A coredump collector written in D"
url="https://github.com/Cogitri/corecollector"
-arch="all !s390x !ppc64le" # Missing gdc on ppc64le, missing *context functions on s90x
+arch="all !ppc64le" # Missing gdc on ppc64le
license="GPL-3.0-or-later"
-makedepends="meson gcc-gdc"
+makedepends="meson gcc-gdc scdoc"
+install="$pkgname.pre-install $pkgname.pre-upgrade"
+subpackages="$pkgname-doc"
source="https://github.com/Cogitri/corecollector/archive/v$pkgver/corecollector-$pkgver.tar.gz"
build() {
@@ -29,4 +31,4 @@ package() {
DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="b67a05e5dd8d56a92a6d3e09d87949d8da9fb83a1d6685f9c9633c0829211aed977f3260d161560503166167054e53a3481f589e675e0db4f61de5db28cef81d corecollector-0.1.1.tar.gz"
+sha512sums="7af449e9134c663c7ea4de5b529c77bc84115179750fdf9e09492254d3008798e326a4e108d9735111e58f1f1e40414b570f0919749054a35325ec6e15b3dfb3 corecollector-0.2.0.tar.gz"
diff --git a/testing/corecollector/corecollector.pre-install b/testing/corecollector/corecollector.pre-install
new file mode 100644
index 0000000000..d61524ebd6
--- /dev/null
+++ b/testing/corecollector/corecollector.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S corecollector 2>/dev/null
+adduser -S -D -H -h /var/lib/corecollector -s /sbin/nologin -G corecollector -g corecollector corecollector 2>/dev/null
+
+exit 0
diff --git a/testing/corecollector/corecollector.pre-upgrade b/testing/corecollector/corecollector.pre-upgrade
new file mode 120000
index 0000000000..9b06931718
--- /dev/null
+++ b/testing/corecollector/corecollector.pre-upgrade
@@ -0,0 +1 @@
+corecollector.pre-install \ No newline at end of file