[arch-commits] Commit in (7 files)
Date: Wednesday, July 13, 2022 @ 18:25:55 Author: heftig Revision: 1252589 extra2community: Moving js78 from extra to community Added: js78/ js78/repos/ js78/trunk/ js78/trunk/0001-Fixes-for-LTO-PGO-support.patch js78/trunk/0002-Fixes-for-Python-3.10.patch js78/trunk/0003-Fixes-for-Rust-1.56.patch js78/trunk/PKGBUILD --+ 0001-Fixes-for-LTO-PGO-support.patch | 103 +++ 0002-Fixes-for-Python-3.10.patch | 1013 + 0003-Fixes-for-Rust-1.56.patch | 447 ++ PKGBUILD | 140 4 files changed, 1703 insertions(+) Added: js78/trunk/0001-Fixes-for-LTO-PGO-support.patch === --- js78/trunk/0001-Fixes-for-LTO-PGO-support.patch (rev 0) +++ js78/trunk/0001-Fixes-for-LTO-PGO-support.patch 2022-07-13 18:25:55 UTC (rev 1252589) @@ -0,0 +1,103 @@ +From Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +Date: Tue, 17 Nov 2020 22:45:47 +0100 +Subject: [PATCH] Fixes for LTO+PGO support + +Cherry-picked from Firefox Nightly. +--- + build/moz.configure/lto-pgo.configure | 7 +-- + config/makefiles/rust.mk | 21 + + 2 files changed, 22 insertions(+), 6 deletions(-) + +diff --git a/build/moz.configure/lto-pgo.configure b/build/moz.configure/lto-pgo.configure +index 366c6691f7d1..e5342a037ee9 100644 +--- a/build/moz.configure/lto-pgo.configure b/build/moz.configure/lto-pgo.configure +@@ -229,7 +229,10 @@ def lto(value, c_compiler, ld64_known_good, target, instrumented_build): + # instruction sets. + else: + num_cores = multiprocessing.cpu_count() +-cflags.append("-flto") ++if len(value) and value[0].lower() == 'full': ++cflags.append("-flto") ++else: ++cflags.append("-flto=thin") + cflags.append("-flifetime-dse=1") + + ldflags.append("-flto=%s" % num_cores) +@@ -258,6 +261,6 @@ set_config('MOZ_LTO', lto.enabled) + set_define('MOZ_LTO', lto.enabled) + set_config('MOZ_LTO_CFLAGS', lto.cflags) + set_config('MOZ_LTO_LDFLAGS', lto.ldflags) +-set_config('MOZ_LTO_RUST', lto.rust_lto) ++set_config('MOZ_LTO_RUST_CROSS', lto.rust_lto) + add_old_configure_assignment('MOZ_LTO_CFLAGS', lto.cflags) + add_old_configure_assignment('MOZ_LTO_LDFLAGS', lto.ldflags) +diff --git a/config/makefiles/rust.mk b/config/makefiles/rust.mk +index f4475054f897..f19dfbc72fad 100644 +--- a/config/makefiles/rust.mk b/config/makefiles/rust.mk +@@ -59,17 +59,19 @@ cargo_rustc_flags = $(CARGO_RUSTCFLAGS) + ifndef DEVELOPER_OPTIONS + ifndef MOZ_DEBUG_RUST + # Enable link-time optimization for release builds, but not when linking +-# gkrust_gtest. ++# gkrust_gtest. And not when doing cross-language LTO. ++ifndef MOZ_LTO_RUST_CROSS + ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE))) + cargo_rustc_flags += -Clto + endif + # Versions of rust >= 1.45 need -Cembed-bitcode=yes for all crates when + # using -Clto. + ifeq (,$(filter 1.38.% 1.39.% 1.40.% 1.41.% 1.42.% 1.43.% 1.44.%,$(RUSTC_VERSION))) + RUSTFLAGS += -Cembed-bitcode=yes + endif + endif + endif ++endif + + ifdef CARGO_INCREMENTAL + export CARGO_INCREMENTAL +@@ -195,10 +197,19 @@ target_rust_ltoable := force-cargo-library-build + target_rust_nonltoable := force-cargo-test-run force-cargo-library-check $(foreach b,build check,force-cargo-program-$(b)) + + ifdef MOZ_PGO_RUST +-rust_pgo_flags := $(if $(MOZ_PROFILE_GENERATE),-C profile-generate=$(topobjdir)) $(if $(MOZ_PROFILE_USE),-C profile-use=$(PGO_PROFILE_PATH)) ++ifdef MOZ_PROFILE_GENERATE ++rust_pgo_flags := -C profile-generate=$(topobjdir) ++# The C compiler may be passed extra llvm flags for PGO that we also want to pass to rust as well. ++# In PROFILE_GEN_CFLAGS, they look like "-mllvm foo", and we want "-C llvm-args=foo", so first turn ++# "-mllvm foo" into "-mllvm:foo" so that it becomes a unique argument, that we can then filter for, ++# excluding other flags, and then turn into the right string. ++rust_pgo_flags += $(patsubst -mllvm:%,-C llvm-args=%,$(filter -mllvm:%,$(subst -mllvm ,-mllvm:,$(PROFILE_GEN_CFLAGS ++else # MOZ_PROFILE_USE ++rust_pgo_flags := -C profile-use=$(PGO_PROFILE_PATH) ++endif + endif + +-$(target_rust_ltoable): RUSTFLAGS:=$(rustflags_override) $(rustflags_sancov) $(RUSTFLAGS) $(if $(MOZ_LTO_RUST),-Clinker-plugin-lto) $(rust_pgo_flags) ++$(target_rust_ltoable): RUSTFLAGS:=$(rustflags_override) $(rustflags_sancov) $(RUSTFLAGS) $(if $(MOZ_LTO_RUST_CROSS),-Clinker-plugin-lto) $(rust_pgo_flags) + $(target_rust_nonltoable): RUSTFLAGS:=$(rustflags_override) $(rustflags_sancov) $(RUSTFLAGS) + + TARGET_RECIPES := $(target_rust_ltoable) $(target_rust_nonltoable) +@@ -312,17 +323,19 @@ $(RUST_LIBRARY_FILE): force-cargo-library-build + # When we are
[arch-commits] Commit in (7 files)
Date: Wednesday, June 15, 2022 @ 13:55:55 Author: alucryd Revision: 1238032 add superslicer Added: superslicer/ superslicer/trunk/ superslicer/trunk/PKGBUILD superslicer/trunk/superslicer-boost1.79.patch superslicer/trunk/superslicer-cereal.patch superslicer/trunk/superslicer-openexr3.patch superslicer/trunk/superslicer-wxgtk3-wayland.patch --+ PKGBUILD | 80 superslicer-boost1.79.patch | 81 + superslicer-cereal.patch | 70 +++ superslicer-openexr3.patch | 77 +++ superslicer-wxgtk3-wayland.patch | 21 + 5 files changed, 329 insertions(+) Added: superslicer/trunk/PKGBUILD === --- superslicer/trunk/PKGBUILD (rev 0) +++ superslicer/trunk/PKGBUILD 2022-06-15 13:55:55 UTC (rev 1238032) @@ -0,0 +1,80 @@ +# Maintainer: Lukas1818 aur at lukas1818 dot de + +pkgname=superslicer +pkgver=2.4.58.2 +pkgrel=1 +epoch=1 +pkgdesc='G-code generator for 3D printers' +arch=(x86_64) +url=https://github.com/supermerill/SuperSlicer +license=(AGPL3) +options=(!emptydirs) +depends=( + boost-libs + cgal + glew + imath + libspnav + nlopt + openvdb + qhull + wxgtk3 +) +makedepends=( + boost + cereal + cmake + eigen + git + libigl + ninja + wxgtk2 +) +optdepends=('superslicer-profiles: Predefined printer profiles') +_tag=6fcfe8fc9b70e2e5b0aefd122153c27815bb7c8f +source=( + git+https://github.com/supermerill/SuperSlicer.git#tag=${_tag} + superslicer-wxgtk3-wayland.patch + superslicer-cereal.patch + superslicer-openexr3.patch + superslicer-boost1.79.patch +) +b2sums=('SKIP' + '6b8abda2bfee9294bd5cd97380403680d6b2c6187af178e5eb4be2665280d1ff0d66036525b485e64d38d1d464756388fd4b53c6277d691079f51e6ee0c12372' + 'a652af374ca4cdd2b1db87bac9a1a6263a3c0df954c8afa4fddea3041659b159412fe3ab850d804a27dcb4b3ca8d64de511ef11769d353d7d2a0f7021dc38e99' + 'd351d05190977e55047504d13ab4172c7eaf7fb2077a61a448dd29a8a27084ee4b13284143102b7ea3dff0edc8b20675dff0014e9f26cd5f448e50c04a1d6779' + '45ff3ab349a92b072eed57a511aead233e4356fcc9ab9382902af9702aee22f73c9a9f07a58420ca20c7c2cd41e81637f1d0114033c2fdb7f597cbcb484fa8ff') + +prepare() { + cd SuperSlicer + patch -Np1 -i "$srcdir/superslicer-wxgtk3-wayland.patch" + patch -Np1 -i "$srcdir/superslicer-cereal.patch" + patch -Np1 -i "$srcdir/superslicer-openexr3.patch" + patch -Np1 -i "$srcdir/superslicer-boost1.79.patch" +} + +pkgver() { + cd SuperSlicer + git describe --tags +} + +build() { + cmake -S SuperSlicer -B build -G Ninja \ +-DCMAKE_BUILD_TYPE=None \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DOpenGL_GL_PREFERENCE=GLVND \ +-DSLIC3R_ALPHA=OFF \ +-DSLIC3R_BUILD_TESTS=OFF \ +-DSLIC3R_FHS=ON \ +-DSLIC3R_GTK=3 \ +-DSLIC3R_STATIC=OFF \ +-DSLIC3R_WX_STABLE=ON + cmake --build build +} + +package() { + DESTDIR="${pkgdir}" cmake --install build + test ! -h "${pkgdir}/usr/share/SuperSlicer/resources" || rm "${pkgdir}/usr/share/SuperSlicer/resources" +} + +# vim: ts=2 sw=2 et: Added: superslicer/trunk/superslicer-boost1.79.patch === --- superslicer/trunk/superslicer-boost1.79.patch (rev 0) +++ superslicer/trunk/superslicer-boost1.79.patch 2022-06-15 13:55:55 UTC (rev 1238032) @@ -0,0 +1,81 @@ +From 408e56f0390f20aaf793e0aa0c70c4d9544401d4 Mon Sep 17 00:00:00 2001 +From: Vojtech Bubnik +Date: Mon, 25 Apr 2022 08:33:48 +0200 +Subject: [PATCH] Fix of Boost 1.79 deprecated boost::filesystem::ofstream + #8238 Replacing boost::filesystem::fstream with boost::nowide::fstream + variants with the unfortunate cost of string path conversion on Windows from + 16 bits to UTF8 and back to 16 bits. + +Unfortunately we cannot use std::filesystem yet as it is missing +on older MACs and because the interface is crooked minefield on Windows +see https://github.com/microsoft/STL/issues/909 +--- + src/hints/HintsToPot.cpp| 2 +- + src/libslic3r/Preset.cpp| 2 +- + src/slic3r/GUI/HintNotification.cpp | 8 +--- + 3 files changed, 7 insertions(+), 5 deletions(-) + +diff --git a/src/hints/HintsToPot.cpp b/src/hints/HintsToPot.cpp +index 7c8029cdeb..4791f0612f 100644 +--- a/src/hints/HintsToPot.cpp b/src/hints/HintsToPot.cpp +@@ -9,7 +9,7 @@ + + bool write_to_pot(boost::filesystem::path path, const std::vector>& data) + { +- boost::filesystem::ofstream file(std::move(path), std::ios_base::app); ++ boost::nowide::ofstream file(path.string(), std::ios_base::app); + for (const auto& element : data) + { + //Example of .pot element +diff --git a/src/libslic3r/Preset.cpp b/src/libslic3r/Preset.cpp +index f3a1c15b3e..f171cb14dd 100644 +---
[arch-commits] Commit in (7 files)
Date: Tuesday, May 17, 2022 @ 22:02:04 Author: grawlinson Revision: 1207742 addpkg: emacs-slime 2.27-1 Added: emacs-slime/ emacs-slime/repos/ emacs-slime/trunk/ emacs-slime/trunk/PKGBUILD emacs-slime/trunk/fix-swank-loader-path.patch emacs-slime/trunk/fix-texinfo-path.patch emacs-slime/trunk/slime.install -+ PKGBUILD| 108 ++ fix-swank-loader-path.patch | 38 ++ fix-texinfo-path.patch | 11 slime.install | 24 + 4 files changed, 181 insertions(+) Added: emacs-slime/trunk/PKGBUILD === --- emacs-slime/trunk/PKGBUILD (rev 0) +++ emacs-slime/trunk/PKGBUILD 2022-05-17 22:02:04 UTC (rev 1207742) @@ -0,0 +1,108 @@ +# Maintainer: George Rawlinson +# Contributor: Johannes Weiner +# Contributor: Daniel Leidisch +# Contributor: Stefan Husmann +# Contributor: Polar Phoenix + +pkgbase=emacs-slime +pkgname=('emacs-slime' 'cl-swank') +pkgver=2.27 +pkgrel=1 +pkgdesc='Superior Lisp Interaction Mode for Emacs' +arch=('any') +url='https://slime.common-lisp.dev' +license=( + 'MIT' + 'GPL' + 'LGPL' + 'custom:LLGPL' + 'custom:Public' +) +makedepends=( + 'git' + 'emacs' + 'texlive-core' +) +_commit='cf30941e5858e93eb91574ad91499075222a447b' +source=( + "$pkgbase::git+https://github.com/slime/slime#commit=$_commit; + 'fix-swank-loader-path.patch' + 'fix-texinfo-path.patch' +) +b2sums=('SKIP' + 'db30f1d35bab8be64a2206af4b338b85be226d7af7eef240384d700dc76119b57cda7ba3fb0e78ffa767d394371ed8726be48965f2ad5854f9a041a7dc8c48c4' + '067c07d49afa83748804481153e771edef68ce72437431ca994494f9e8e8d3265cfdab0a6a7a670aa62e279d5c1a2b4aecca0b37d5d8b3ecf0b06b488125a367') + +pkgver() { + cd "$pkgbase" + + git describe --tags | sed 's/^v//' +} + +prepare() { + cd "$pkgbase" + + # apply patches + patch --strip=1 --input="$srcdir/fix-swank-loader-path.patch" + patch --strip=1 --input="$srcdir/fix-texinfo-path.patch" + + # license extraction + sed -n '/License/,/public/p' README.md > LICENSE +} + +build() { + cd "$pkgbase" + + # compile emacs lisp files + make + + # create texinfo page & html manual + make -C doc slime.info html/index.html +} + +package_emacs-slime() { + _pkgname="${pkgname#emacs-}" + depends=('emacs' 'cl-swank') + install='slime.install' + + cd "$pkgbase" + + # install package + install -vd "$pkgdir/usr/share/emacs/site-lisp/$_pkgname" + cp -vr contrib lib ./*.el{,c} "$pkgdir/usr/share/emacs/site-lisp/$_pkgname" + + # delete unnecessary files + find "$pkgdir/usr/share/emacs/site-lisp/$_pkgname" \ +-name 'Makefile' -delete -or \ +-name '*.lisp' -delete + + # general documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" CONTRIBUTING.md \ +README.md NEWS PROBLEMS doc/slime-refcard.pdf + + # texinfo file + install -vDm644 -t "$pkgdir/usr/share/info" doc/slime.info + + # html manual + cp -vr doc/html "$pkgdir/usr/share/doc/$pkgname" + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} + +package_cl-swank() { + local _pkgname="${pkgname#cl-}" + pkgdesc+=' (Lisp-side server)' + depends=('common-lisp' 'cl-asdf') + + cd "$pkgbase" + + # install library + install -vDm644 -t "$pkgdir/usr/share/common-lisp/source/$_pkgname" ./*.{lisp,asd} + install -vDm644 -t "$pkgdir/usr/share/common-lisp/source/$_pkgname/contrib" contrib/*.lisp + install -vDm644 -t "$pkgdir/usr/share/common-lisp/source/$_pkgname/$_pkgname" swank/*.lisp + echo "$pkgver" > "$pkgdir/usr/share/common-lisp/source/$_pkgname/slime-version" + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} Added: emacs-slime/trunk/fix-swank-loader-path.patch === --- emacs-slime/trunk/fix-swank-loader-path.patch (rev 0) +++ emacs-slime/trunk/fix-swank-loader-path.patch 2022-05-17 22:02:04 UTC (rev 1207742) @@ -0,0 +1,38 @@ +--- a/slime.el b/slime.el +@@ -179,7 +179,7 @@ This applies to the *inferior-lisp* buffer and the network connections." + :prefix "slime-" + :group 'slime) + +-(defcustom slime-backend "swank-loader.lisp" ++(defcustom slime-backend "/usr/share/common-lisp/source/swank/swank-loader.lisp" + "The name of the Lisp file that loads the Swank server. + This name is interpreted relative to the directory containing + slime.el, but could also be set to an absolute filename." +--- a/swank-loader.lisp b/swank-loader.lisp +@@ -16,6 +16,7 @@ + ;; (load ".../swank-loader.lisp") + ;; (setq swank-loader::*fasl-directory* "/tmp/fasl/") + ;; (swank-loader:init) ++(require "asdf") + + (cl:defpackage :swank-loader + (:use :cl) +@@ -145,14 +146,10 @@ operating system, and hardware architecture." + (defun slime-version-string () + "Return a string identifying
[arch-commits] Commit in (7 files)
Date: Wednesday, May 11, 2022 @ 10:30:51 Author: artafinde Revision: 1198304 prometheus-systemd-exporter: upstream version 0.4.0 Added: prometheus-systemd-exporter/ prometheus-systemd-exporter/repos/ prometheus-systemd-exporter/trunk/ prometheus-systemd-exporter/trunk/PKGBUILD prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.conf prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.service prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.sysusers --+ PKGBUILD | 57 + prometheus-systemd-exporter.conf |1 prometheus-systemd-exporter.service | 18 ++ prometheus-systemd-exporter.sysusers |1 4 files changed, 77 insertions(+) Added: prometheus-systemd-exporter/trunk/PKGBUILD === --- prometheus-systemd-exporter/trunk/PKGBUILD (rev 0) +++ prometheus-systemd-exporter/trunk/PKGBUILD 2022-05-11 10:30:51 UTC (rev 1198304) @@ -0,0 +1,57 @@ +# Maintainer: Leonidas Spyropoulos + +pkgname=prometheus-systemd-exporter +_pkgname=systemd_exporter +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Application-level metrics for systemd units" +url="https://github.com/povilasv/systemd_exporter; +arch=('x86_64') +license=('Apache') +depends=('glibc') +makedepends=('go' 'git') +options=(!lto) +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/povilasv/systemd_exporter/archive/v${pkgver}.tar.gz; +prometheus-systemd-exporter.conf +prometheus-systemd-exporter.service +prometheus-systemd-exporter.sysusers) +sha256sums=('dba92f33cda8476c84cd86cf3f8c66844fae1a107e57aca1e96e86ffdca6e472' +'24c91b7bb90cb65bf5edddc93cce810f57f2e06f265cef955303325526508f23' +'9230d7a3092418da27e0690387700a8d1c143bcc1f157c62548be5bd169a' +'3deec7e797e31ad3b3149efbbef529e7bd2b7072268d948ae2e299790a46613b') + +build() { + cd "${_pkgname}-${pkgver}" + + go build \ +-trimpath \ +-buildmode=pie \ +-mod=readonly \ +-modcacherw \ +-ldflags "-linkmode external -extldflags ${LDFLAGS} \ + -X github.com/prometheus/common/version.Version=$pkgver \ + -X github.com/prometheus/common/version.Revision=$pkgver \ + -X github.com/prometheus/common/version.Branch=tarball \ + -X github.com/prometheus/common/version.BuildUser=someone@builder \ + -X github.com/prometheus/common/version.BuildDate=$(date -d=@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \ +. +} + +check() { + cd "${_pkgname}-${pkgver}" + + go test ./... +} + +package() { + install -Dm644 prometheus-systemd-exporter.conf "$pkgdir"/etc/conf.d/prometheus-systemd-exporter + install -Dm644 prometheus-systemd-exporter.service "$pkgdir"/usr/lib/systemd/system/prometheus-systemd-exporter.service + install -Dm644 prometheus-systemd-exporter.sysusers "$pkgdir"/usr/lib/sysusers.d/prometheus-systemd-exporter.conf + + cd "${_pkgname}-${pkgver}" + + install -Dm755 systemd_exporter "${pkgdir}/usr/bin/${pkgname}" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: Added: prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.conf === --- prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.conf (rev 0) +++ prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.conf 2022-05-11 10:30:51 UTC (rev 1198304) @@ -0,0 +1 @@ +SYSTEMD_EXPORTER_ARGS="" Added: prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.service === --- prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.service (rev 0) +++ prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.service 2022-05-11 10:30:51 UTC (rev 1198304) @@ -0,0 +1,18 @@ +[Unit] +Description=Prometheus exporter for systemd metrics +Requires=network-online.target +After=network-online.target + +[Service] +User=systemd_exporter +Group=systemd_exporter +Restart=on-failure +EnvironmentFile=-/etc/conf.d/prometheus-systemd-exporter +ExecStart=/usr/bin/prometheus-systemd-exporter $SYSTEMD_EXPORTER_ARGS +ExecReload=/bin/kill -HUP $MAINPID +NoNewPrivileges=true +ProtectHome=read-only +ProtectSystem=strict + +[Install] +WantedBy=multi-user.target Added: prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.sysusers === --- prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.sysusers (rev 0) +++ prometheus-systemd-exporter/trunk/prometheus-systemd-exporter.sysusers 2022-05-11 10:30:51 UTC (rev 1198304) @@ -0,0 +1 @@ +u systemd_exporter - "Prometheus systemd-exporter user"
[arch-commits] Commit in (7 files)
Date: Sunday, May 1, 2022 @ 19:01:38 Author: polyzen Revision: 1192126 Add inadyn, with systemd unit and its own user Added: inadyn/ inadyn/repos/ inadyn/trunk/ inadyn/trunk/PKGBUILD inadyn/trunk/inadyn.sysusers.conf inadyn/trunk/inadyn.tmpfiles inadyn/trunk/override.conf --+ PKGBUILD | 53 + inadyn.sysusers.conf |1 inadyn.tmpfiles |2 + override.conf|2 + 4 files changed, 58 insertions(+) Added: inadyn/trunk/PKGBUILD === --- inadyn/trunk/PKGBUILD (rev 0) +++ inadyn/trunk/PKGBUILD 2022-05-01 19:01:38 UTC (rev 1192126) @@ -0,0 +1,53 @@ +# Maintainer: Daniel M. Capella +# Contributor: willemw +# Contributor: David Schury +# Contributor: reMiND +# Contributor: Eric Engestrom +# Contributor: trile7 at gmail dot com + +pkgname=inadyn +pkgver=2.9.1 +pkgrel=2 +pkgdesc='Dynamic DNS client with SSL/TLS support' +arch=('x86_64') +url=https://troglobit.com/projects/inadyn/ +license=('GPL') +depends=('ca-certificates' 'confuse' 'openssl') +replaces=("$pkgname-fork") +backup=("etc/$pkgname.conf") +source=("https://github.com/troglobit/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz; +'override.conf' +"$pkgname.sysusers.conf" +"$pkgname.tmpfiles") +sha256sums=('0094d20cfcd431674b8d658e93169c7589bf8f2b351b2860818a1ca05f0218c5' +'a44fa6cc87969de84acb5c7103db8753625a2da60cb78e4b3df887b0f5d8f5a6' +'a79bbc550c9b2e11197b9b5ee2e6fbc7ec890ad037b1808c29c48c037c26b4f9' +'bab6aa57251771ca6cc3d4efc02f7c3f0e3cf949ea6cf2066345d3ca8772c0fc') +b2sums=('23ae5df1ddcb92a995597f1d8deb4ae1896c8ca3e4c84d49964c747f96cd3a4db1f4f71721d25be0a478d1b0f9f82cd4985b3e4c91717015e249c97e1171e8db' + 'b8a100c6a219e0888018fece11f3737137fa6fef54ed5f60d383794aa54b66dc49212573ef9e2231a3fb957c0e9c572b2ad0d7602904eb3e431c06178c5a00c2' + '2e0cc165f5e6c94ded73cfdf019db735dac227a89033d370c89cdf926a8eb3851c938fd11acc0d7b5ab1bd7122b0c5fb9ca0cc00fe4dce9b915a530e2c0a1a5a' + 'cfc346bb059be3ed8e8b50161a66b4d2ade3e1431d89f00498d60608768399d8121f2e00fa3269b6b45995bd41c728ff5af85dba020421ab3b65cd9060c38f77') + +build() { + cd $pkgname-$pkgver + ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--sbindir=/usr/bin \ +--enable-openssl + make +} + +package() { + cd $pkgname-$pkgver + install -Dm600 -t "$pkgdir"/etc examples/$pkgname.conf + install -Dm644 -t "$pkgdir"/usr/lib/systemd/system $pkgname.service + install -Dm644 -t "$pkgdir"/usr/lib/systemd/system/$pkgname.service.d \ +../override.conf + install -Dm644 ../$pkgname.sysusers.conf \ +"$pkgdir"/usr/lib/sysusers.d/$pkgname.conf + install -Dm644 ../$pkgname.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf + make DESTDIR="$pkgdir" install-strip +} + Added: inadyn/trunk/inadyn.sysusers.conf === --- inadyn/trunk/inadyn.sysusers.conf (rev 0) +++ inadyn/trunk/inadyn.sysusers.conf 2022-05-01 19:01:38 UTC (rev 1192126) @@ -0,0 +1 @@ +u inadyn - "inadyn user" Added: inadyn/trunk/inadyn.tmpfiles === --- inadyn/trunk/inadyn.tmpfiles(rev 0) +++ inadyn/trunk/inadyn.tmpfiles2022-05-01 19:01:38 UTC (rev 1192126) @@ -0,0 +1,2 @@ +z /etc/inadyn.conf 0600 inadyn inadyn +d /var/cache/inadyn 0755 inadyn inadyn Added: inadyn/trunk/override.conf === --- inadyn/trunk/override.conf (rev 0) +++ inadyn/trunk/override.conf 2022-05-01 19:01:38 UTC (rev 1192126) @@ -0,0 +1,2 @@ +[Service] +User=inadyn
[arch-commits] Commit in (7 files)
Date: Friday, April 22, 2022 @ 08:38:11 Author: arojas Revision: 1187296 extra2community: Moving r from extra to community Added: r/ r/repos/ r/trunk/ r/trunk/PKGBUILD r/trunk/R.conf r/trunk/r.desktop r/trunk/r.png ---+ PKGBUILD | 86 R.conf|2 + r.desktop | 11 +++ r.png |1 4 files changed, 100 insertions(+) Added: r/trunk/PKGBUILD === --- r/trunk/PKGBUILD(rev 0) +++ r/trunk/PKGBUILD2022-04-22 08:38:11 UTC (rev 1187296) @@ -0,0 +1,86 @@ +# Maintainer: Antonio Rojas +# Contributor: Ronald van Haren +# Contributor: Damir Perisa +# Contributor: K. Piche + +pkgname=r +pkgver=4.1.3 +pkgrel=2 +pkgdesc='Language and environment for statistical computing and graphics' +arch=(x86_64) +license=(GPL) +url='https://www.r-project.org/' +depends=(lapack libtiff pcre2 perl libxmu pango zip unzip curl icu which) +makedepends=(jdk-openjdk gcc-fortran tk texlive-core) +optdepends=('tk: tcl/tk interface' +'texlive-bin: latex sty files' +'gcc-fortran: needed to compile some CRAN packages' +'openblas: faster linear algebra') +backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories' 'etc/R/javaconf') +options=(!emptydirs) +source=(https://cran.r-project.org/src/base/R-${pkgver%%.*}/R-$pkgver.tar.gz + r.desktop + r.png + R.conf) +sha256sums=('15ff5b333c61094060b2a52e9c1d8ec55cc42dd029e39ca22abdaa909526fed6' +'25b01ea93fa704884b65ba002d44d4e99725bd826997e8c73b6467df9f23c798' +'1580d06a737951f4f3c903cbd514247d9071fc6868eb9c2de94bb999cc195cb1' +'b7833166041b06f716b6a79095d27d4abd83549816dc53193213827139eae6ef') + +prepare() { + cd R-$pkgver + # set texmf dir correctly in makefile + sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in +} + +build() { + cd R-$pkgver + ./configure --prefix=/usr \ + --libdir=/usr/lib \ + --sysconfdir=/etc/R \ + --datarootdir=/usr/share \ + rsharedir=/usr/share/R/ \ + rincludedir=/usr/include/R/ \ + rdocdir=/usr/share/doc/R/ \ + --with-x \ + --enable-R-shlib \ + --with-lapack \ + --with-blas \ + F77=gfortran \ + LIBnn=lib + make + make pdf info + + cd src/nmath/standalone + make shared +} + +package() { + cd R-$pkgver + make DESTDIR="$pkgdir" install install-pdf install-info + +# install libRmath.so + cd src/nmath/standalone + make DESTDIR="$pkgdir" install + +# Fixup R wrapper scripts. + sed -i "s|$pkgdir ||" "${pkgdir}/usr/bin/R" + rm "$pkgdir"/usr/lib/R/bin/R + cd "$pkgdir"/usr/lib/R/bin + ln -s ../../../bin/R + +# install some freedesktop.org compatibility + install -Dm644 "$srcdir"/r.desktop -t "$pkgdir"/usr/share/applications + install -Dm644 "$srcdir"/r.png -t "$pkgdir"/usr/share/pixmaps + +# move the config directory to /etc and create symlinks + install -d "$pkgdir"/etc/R + cd "$pkgdir"/usr/lib/R/etc + for _i in *; do +mv -f $_i "$pkgdir"/etc/R +ln -s /etc/R/$_i $_i + done + +# Install ld.so.conf.d file to ensure other applications access the shared lib + install -Dm644 "$srcdir"/R.conf -t "$pkgdir"/etc/ld.so.conf.d +} Added: r/trunk/R.conf === --- r/trunk/R.conf (rev 0) +++ r/trunk/R.conf 2022-04-22 08:38:11 UTC (rev 1187296) @@ -0,0 +1,2 @@ +/usr/lib/R/lib + Added: r/trunk/r.desktop === --- r/trunk/r.desktop (rev 0) +++ r/trunk/r.desktop 2022-04-22 08:38:11 UTC (rev 1187296) @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=R +GenericName=environment for statistical computing +Comment=language and environment for statistical computing and graphics +Exec=R +Icon=/usr/share/pixmaps/r.png +DocPath=/usr/lib/R/doc/html/index.html +StartupNotify=true +Terminal=true +Type=Application +Categories=Math;Science;Education Added: r/trunk/r.png === (Binary files differ) Index: r/trunk/r.png === --- r/trunk/r.png 2022-04-22 08:28:26 UTC (rev 1187295) +++ r/trunk/r.png 2022-04-22 08:38:11 UTC (rev 1187296) Property changes on: r/trunk/r.png ___ Added: svn:mime-type ## -0,0 +1 ## +image/png \ No newline at end of property
[arch-commits] Commit in (7 files)
Date: Monday, April 18, 2022 @ 17:35:05 Author: hashworks Revision: 1187010 Initial commit Added: plantuml-server/ plantuml-server/repos/ plantuml-server/trunk/ plantuml-server/trunk/PKGBUILD plantuml-server/trunk/plantuml-server.conf plantuml-server/trunk/plantuml-server.run plantuml-server/trunk/plantuml-server.service -+ PKGBUILD| 40 plantuml-server.conf|5 + plantuml-server.run |3 +++ plantuml-server.service | 36 4 files changed, 84 insertions(+) Added: plantuml-server/trunk/PKGBUILD === --- plantuml-server/trunk/PKGBUILD (rev 0) +++ plantuml-server/trunk/PKGBUILD 2022-04-18 17:35:05 UTC (rev 1187010) @@ -0,0 +1,40 @@ +# Maintainer: Justin Kromlinger + +pkgname=plantuml-server +pkgver=1.2022.4 +pkgrel=1 +pkgdesc="PlantUML Online Server" +arch=(any) +url="https://plantuml.com/; +license=('GPL') +depends=("java-runtime>=11" "bash") +makedepends=("maven" "java-environment>=11") +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plantuml/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz; +"${pkgname}.run" +"${pkgname}.conf" +"${pkgname}.service") +sha256sums=('919209adb4cd1191939b4f070562f017af684da19af9d9f33518065b4b2e186a' +'510711e73aa9bd2d42b4f1f2144fed90dfac011187bd540a9c4d01ee5588e052' +'96f26a243bf6d9945b4784d3ab73d861f6c4dc613157e51d1bcbcc55db0a2763' +'9eda0fc08f3b4703ba296a37743c52d37375986570fa19e9bb1ca1d18bbe2d97') +optdepends=('plantuml-ascii-math: AsciiMath or JLaTeXMath notation' +'ditaa: ditaa notation' +'graphviz: Graphviz/DOT notation') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + mvn package +} + +package() { + depends+=("java-runtime") + + install -m 755 -D "${pkgname}.run" "${pkgdir}/usr/bin/${pkgname}" + install -m 755 -D "${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}" + install -m 644 -D "${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" + + cd "${srcdir}/${pkgname}-${pkgver}" + install -m 644 -D "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" + install -m 644 -D "target/plantuml.war" "${pkgdir}/usr/share/java/${pkgname}/plantuml.war" + install -m 644 -D "target/dependency/jetty-runner.jar" "${pkgdir}/usr/share/java/${pkgname}/dependency/jetty-runner.jar" +} Added: plantuml-server/trunk/plantuml-server.conf === --- plantuml-server/trunk/plantuml-server.conf (rev 0) +++ plantuml-server/trunk/plantuml-server.conf 2022-04-18 17:35:05 UTC (rev 1187010) @@ -0,0 +1,5 @@ +PLANTUML_LIMIT_SIZE=4096 +PLANTUML_STATS=off +PLANTUML_JETTY_OPTIONS="--port " +HTTP_AUTHORIZATION=null +ALLOW_PLANTUML_INCLUDE=false \ No newline at end of file Added: plantuml-server/trunk/plantuml-server.run === --- plantuml-server/trunk/plantuml-server.run (rev 0) +++ plantuml-server/trunk/plantuml-server.run 2022-04-18 17:35:05 UTC (rev 1187010) @@ -0,0 +1,3 @@ +#!/bin/sh +plantuml_server=/usr/share/java/plantuml-server +exec /usr/bin/java -jar "${plantuml_server}/dependency/jetty-runner.jar" $PLANTUML_JETTY_OPTIONS "${plantuml_server}/plantuml.war" "$@" Added: plantuml-server/trunk/plantuml-server.service === --- plantuml-server/trunk/plantuml-server.service (rev 0) +++ plantuml-server/trunk/plantuml-server.service 2022-04-18 17:35:05 UTC (rev 1187010) @@ -0,0 +1,36 @@ +[Unit] +Description=PlantUML Online Server + +[Service] +User=nobody +EnvironmentFile=/etc/conf.d/plantuml-server +ExecStart=/usr/bin/plantuml-server +Restart=on-failure +RestartSec=5s +Type=simple +CapabilityBoundingSet= +AmbientCapabilities= +NoNewPrivileges=true +#SecureBits= +ProtectSystem=strict +ProtectHome=true +PrivateTmp=true +PrivateDevices=true +PrivateNetwork=false +PrivateUsers=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 +RestrictNamespaces=true +LockPersonality=true +RestrictRealtime=true +RestrictSUIDSGID=true +SystemCallFilter=@system-service +SystemCallArchitectures=native + +[Install] +WantedBy=multi-user.target \ No newline at end of file
[arch-commits] Commit in (7 files)
Date: Thursday, February 17, 2022 @ 14:44:12 Author: svenstaro Revision: 1133709 Move obsidian from AUR Added: obsidian/ obsidian/repos/ obsidian/trunk/ obsidian/trunk/PKGBUILD obsidian/trunk/Packaging permission from Arch Linux.eml obsidian/trunk/obsidian obsidian/trunk/obsidian.desktop --+ PKGBUILD | 50 + Packaging permission from Arch Linux.eml |1 obsidian |2 + obsidian.desktop | 11 ++ 4 files changed, 64 insertions(+) Added: obsidian/trunk/PKGBUILD === --- obsidian/trunk/PKGBUILD (rev 0) +++ obsidian/trunk/PKGBUILD 2022-02-17 14:44:12 UTC (rev 1133709) @@ -0,0 +1,50 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Gennadiy Mykhailiuta +# Contributor: Xuanwo + +pkgname=obsidian +pkgver=0.13.23 +pkgrel=1 +pkgdesc="Obsidian is a powerful knowledge base that works on top of a local folder of plain text Markdown files" +arch=('x86_64') +url="https://obsidian.md/; +license=('custom:Commercial') +depends=('zlib' 'hicolor-icon-theme' 'fuse' 'electron13') +makedepends=('asar') +options=(!strip) +source=( +"${pkgname}" +"${pkgname}.desktop" + "https://github.com/obsidianmd/obsidian-releases/releases/download/v${pkgver}/obsidian-${pkgver}.tar.gz; +) +sha256sums=( +'5f4699e03045f68932e976727a746342f971eddb77fe5a31d8d2c4084034ed5f' +'1153b7f4ce342663f766efa38dc07677aec13f7f619afef1f9b8e2b1f1849fe6' +'0c393639b516e40b5866ed0eb010373b9abd7ba143193389615b2e9fb7711db2' +) + +prepare() { +cd "$srcdir" +asar ef "${pkgname}-${pkgver}"/resources/obsidian.asar icon.png +} + +package() { +# Go to source directory +cd "$srcdir" + +# Create directories for installation +install -dm0755 "$pkgdir"/usr/bin +install -dm0755 "$pkgdir"/usr/lib/obsidian + +# Install executable file +install -Dm755 "$pkgname" "$pkgdir"/usr/bin/ +# Install desktop file +install -Dm644 "$pkgname".desktop -t "$pkgdir"/usr/share/applications/ +install -Dm644 icon.png "$pkgdir"/usr/share/pixmaps/obsidian.png +# Most of the release package is electron, but we use system's default one +# So strip away asar packages and put them to /usr/lib/ +cd "${pkgname}-${pkgver}"/resources/ +find . -type d -exec install -d {,"$pkgdir"/usr/lib/obsidian/}{} \; +find . -type f -exec install -D {,"$pkgdir"/usr/lib/obsidian/}{} \; +} + Added: obsidian/trunk/Packaging permission from Arch Linux.eml === (Binary files differ) Index: obsidian/trunk/Packaging permission from Arch Linux.eml === --- obsidian/trunk/Packaging permission from Arch Linux.eml 2022-02-17 13:40:11 UTC (rev 1133708) +++ obsidian/trunk/Packaging permission from Arch Linux.eml 2022-02-17 14:44:12 UTC (rev 1133709) Property changes on: obsidian/trunk/Packaging permission from Arch Linux.eml ___ Added: svn:mime-type ## -0,0 +1 ## +message/rfc822 \ No newline at end of property Added: obsidian/trunk/obsidian === --- obsidian/trunk/obsidian (rev 0) +++ obsidian/trunk/obsidian 2022-02-17 14:44:12 UTC (rev 1133709) @@ -0,0 +1,2 @@ +#!/bin/sh +exec /bin/electron13 /usr/lib/obsidian/app.asar "$@" Added: obsidian/trunk/obsidian.desktop === --- obsidian/trunk/obsidian.desktop (rev 0) +++ obsidian/trunk/obsidian.desktop 2022-02-17 14:44:12 UTC (rev 1133709) @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Obsidian +Exec=/usr/bin/obsidian %U +Terminal=false +Type=Application +Icon=obsidian +StartupWMClass=obsidian +X-AppImage-Version=0.12.5 +Comment=Obsidian +MimeType=x-scheme-handler/obsidian; +Categories=Office;
[arch-commits] Commit in (7 files)
Date: Sunday, January 9, 2022 @ 07:21:33 Author: grawlinson Revision: 1098265 addpkg: sonic 1.3.2-2 Added: sonic/ sonic/repos/ sonic/trunk/ sonic/trunk/PKGBUILD sonic/trunk/systemd.service sonic/trunk/sysusers.conf sonic/trunk/tmpfiles.conf -+ PKGBUILD| 70 ++ systemd.service | 46 +++ sysusers.conf |1 tmpfiles.conf |1 4 files changed, 118 insertions(+) Added: sonic/trunk/PKGBUILD === --- sonic/trunk/PKGBUILD(rev 0) +++ sonic/trunk/PKGBUILD2022-01-09 07:21:33 UTC (rev 1098265) @@ -0,0 +1,70 @@ +# Maintainer: George Rawlinson +# Contributor: Bruce Zhang + +pkgname=sonic +pkgver=1.3.2 +pkgrel=2 +pkgdesc="Fast, lightweight & schema-less search backend" +arch=('x86_64') +url="https://github.com/valeriansaliou/sonic; +license=('MPL2') +depends=('gcc-libs') +makedepends=('git' 'rust' 'clang' 'llvm') +backup=('etc/sonic.cfg') +options=('!lto') +_commit='ec3c660eadff232b864e8f57dfdfaf7912de9930' +source=( + "$pkgname::git+$url.git#commit=$_commit" + 'systemd.service' + 'sysusers.conf' + 'tmpfiles.conf' +) +sha512sums=('SKIP' + 'f623f4076210f5387d3b3b6e61e0d45323a5d9fbc139a3a658d3f8c317cbf863976e0e9c604eb1f03ca42f2f339d733382961b2b73d33464ec8154d8a9e18475' + '0fd64f7959024ecab487924d277679b81c78d1ba7d57d2dc63f654409f23bb0cbb0109ac513b25f1b1785115c3a9916f8c4e230fe94963f0bbe84f2784ec76e4' + '62b0bb63ba2eda59d530b38aeaf581f5b5fc5187c4615694be9e4a7e38dcb5ed55367b461ac483ab3d6c931d1754b980c8e48b5518388b8476437d988956883b') +b2sums=('SKIP' + 'f4e605968aa9cc8a5dccf98c60bbce77502e7bcba74f7d3d7ffbe6fedd7e7ac21006837d7c99cba0bf2dfc50a58fc78744861d16aa902dadbbb367ec26d7e0be' + '5e75e9b670baded2f3956849d2b7b0a90f5a573629f5812d8332b26d203425f14e131eabb2bb485cddf533c27a67ebdb4e87671324d316fa083d7ecdbeba6221' + 'ea9795c42003660522d89156eced726bc7db686ef8545bc57504e55341982be2e2336e9d872ce17d5c1607e0cd98e9a2f28f5836bd60b56e510ec5fd59c77143') + +pkgver() { + cd "$pkgname" + git describe --tags | sed "s/^v//" +} + +prepare() { + cd "$pkgname" + + # download dependencies + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "$pkgname" + cargo build --frozen --release +} + +check() { + cd "$pkgname" + cargo test --frozen +} + +package() { + # systemd integration + install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/sonic.service" + install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/sonic.conf" + install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/sonic.conf" + + cd "$pkgname" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" target/release/sonic + + + # configuration + install -vDm644 config.cfg "$pkgdir/etc/sonic.cfg" + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md +} Added: sonic/trunk/systemd.service === --- sonic/trunk/systemd.service (rev 0) +++ sonic/trunk/systemd.service 2022-01-09 07:21:33 UTC (rev 1098265) @@ -0,0 +1,46 @@ +[Unit] +Description=Sonic Search Index +Documentation=https://github.com/valeriansaliou/sonic +Wants=network-online.target +After=network-online.target + +[Service] +Type=simple +User=sonic +Group=sonic +ExecStart=/bin/sonic -c /etc/sonic.cfg +Restart=on-failure +RestartSec=5 + +# Hardening +WorkingDirectory=/var/lib/sonic +ReadWritePaths=/var/lib/sonic +UMask=0027 +NoNewPrivileges=true +LimitNOFILE=1048576 +ProtectSystem=strict +ProtectHome=true +PrivateUsers=yes +PrivateTmp=true +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 +RestrictNamespaces=true +LockPersonality=true +MemoryDenyWriteExecute=true +RestrictRealtime=true +RestrictSUIDSGID=true +RemoveIPC=true +CapabilityBoundingSet= +AmbientCapabilities= +SystemCallFilter=@system-service +SystemCallFilter=~@privileged @resources +SystemCallArchitectures=native + +[Install] +WantedBy=multi-user.target Added: sonic/trunk/sysusers.conf === --- sonic/trunk/sysusers.conf (rev 0) +++ sonic/trunk/sysusers.conf 2022-01-09 07:21:33 UTC (rev 1098265) @@ -0,0 +1 @@ +u sonic - "Sonic daemon user" /var/lib/sonic Added: sonic/trunk/tmpfiles.conf === --- sonic/trunk/tmpfiles.conf (rev 0) +++ sonic/trunk/tmpfiles.conf 2022-01-09 07:21:33 UTC (rev 1098265) @@ -0,0 +1 @@ +d /var/lib/sonic/ 0755 sonic sonic
[arch-commits] Commit in (7 files)
Date: Saturday, November 20, 2021 @ 17:55:30 Author: spupykin Revision: 1052886 add gerbera Added: gerbera/ gerbera/repos/ gerbera/trunk/ gerbera/trunk/PKGBUILD gerbera/trunk/gerbera.install gerbera/trunk/gerbera.sysusers gerbera/trunk/gerbera.tmpfiles --+ PKGBUILD | 43 +++ gerbera.install | 12 gerbera.sysusers |2 ++ gerbera.tmpfiles |4 4 files changed, 61 insertions(+) Added: gerbera/trunk/PKGBUILD === --- gerbera/trunk/PKGBUILD (rev 0) +++ gerbera/trunk/PKGBUILD 2021-11-20 17:55:30 UTC (rev 1052886) @@ -0,0 +1,43 @@ +# Maintainer: Sergej Pupykin +# Contributor: sulaweyo +# Contributor: Francois Menning + +pkgname=gerbera +pkgver=1.9.2 +pkgrel=1 +pkgdesc="UPnP Media Server (Based on MediaTomb)" +arch=(i686 x86_64 armv7h aarch64) +url="https://github.com/gerbera/gerbera; +license=('GPL2') +depends=('taglib' 'curl' 'sqlite' 'file' 'gcc-libs' 'libupnp' 'duktape' 'libexif' 'fmt' +'pugixml' 'spdlog' 'ffmpeg' 'ffmpegthumbnailer' 'libmatroska') +optdepends=('libmariadbclient') +makedepends=('cmake') +install=gerbera.install +options=('emptydirs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/gerbera/gerbera/archive/v$pkgver.tar.gz; + gerbera.sysusers + gerbera.tmpfiles) +sha256sums=('dee562cc5d22e8442e2fe1620b073bda612c80f9c4a811c647db06c1c4cd' +'0b55a4e1886f7aad0528446658433327815fd3f4d06e260518423f86dbe32dcc' +'452f5d4b5661e0262cb4a48d62a54f5f26d53c6d3aebf502cde072214a8b30d8') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + # Gerbera build options can be found here: https://github.com/gerbera/gerbera/blob/master/CMakeLists.txt + # use sqlite backend + cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_AVCODEC=1 -DWITH_FFMPEGTHUMBNAILER=1 . + # use mysql backend - requires libmariadbclient + #cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_AVCODEC=1 -DWITH_FFMPEGTHUMBNAILER=1 -DWITH_MYSQL=1 . + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}/" install + + install -dm0755 "${pkgdir}"/var/lib/gerbera + install -dm0755 "${pkgdir}"/etc/gerbera + install -Dm0644 "${srcdir}/${pkgname}".tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf + install -Dm0644 "${srcdir}/${pkgname}".sysusers "${pkgdir}"/usr/lib/sysusers.d/gerbera.conf +} Added: gerbera/trunk/gerbera.install === --- gerbera/trunk/gerbera.install (rev 0) +++ gerbera/trunk/gerbera.install 2021-11-20 17:55:30 UTC (rev 1052886) @@ -0,0 +1,12 @@ +post_install() { + echo ":: You need to generate a configuration file before running gerbera, e.g.:" + echo " gerbera --create-config | sudo tee /etc/gerbera/config.xml" + echo " chown -R gerbera:gerbera /etc/gerbera" + echo ":: Make sure points to /etc/gerbera in /etc/gerbera/config.xml:" + echo " /etc/gerbera" +} + +post_upgrade() { + echo ":: Version 1.2.0-3 of gerbera switched to the packages systemd unit." + echo " Please check your config before you start gerbera." +} Added: gerbera/trunk/gerbera.sysusers === --- gerbera/trunk/gerbera.sysusers (rev 0) +++ gerbera/trunk/gerbera.sysusers 2021-11-20 17:55:30 UTC (rev 1052886) @@ -0,0 +1,2 @@ +u gerbera - "Gerbera daemon user" /var/lib/gerbera +m gerbera video Added: gerbera/trunk/gerbera.tmpfiles === --- gerbera/trunk/gerbera.tmpfiles (rev 0) +++ gerbera/trunk/gerbera.tmpfiles 2021-11-20 17:55:30 UTC (rev 1052886) @@ -0,0 +1,4 @@ +d /var/lib/gerbera 0750 +Z /var/lib/gerbera - gerbera gerbera +z /etc/gerbera 0755 gerbera gerbera +z /etc/gerbera/config.xml 0660 gerbera gerbera
[arch-commits] Commit in (7 files)
Date: Wednesday, November 17, 2021 @ 21:36:52 Author: grawlinson Revision: 1051235 addpkg: drone-runner-ssh 1.0.1-3 Added: drone-runner-ssh/ drone-runner-ssh/repos/ drone-runner-ssh/trunk/ drone-runner-ssh/trunk/PKGBUILD drone-runner-ssh/trunk/systemd.service drone-runner-ssh/trunk/sysusers.conf drone-runner-ssh/trunk/tmpfiles.conf -+ PKGBUILD| 77 ++ systemd.service | 14 + sysusers.conf |1 tmpfiles.conf |1 4 files changed, 93 insertions(+) Added: drone-runner-ssh/trunk/PKGBUILD === --- drone-runner-ssh/trunk/PKGBUILD (rev 0) +++ drone-runner-ssh/trunk/PKGBUILD 2021-11-17 21:36:52 UTC (rev 1051235) @@ -0,0 +1,77 @@ +# Maintainer: George Rawlinson + +pkgname=drone-runner-ssh +pkgver=1.0.1 +pkgrel=3 +pkgdesc="Drone runner that executes a pipeline on a remote machine" +arch=('x86_64') +url="https://github.com/drone-runners/drone-runner-ssh; +license=('custom:Polyform-Small-Business-1.0.0' 'custom:Polyform-Free-Trial-1.0.0' 'custom:Polyform-Noncommercial-1.0.0') +depends=('glibc') +makedepends=('go' 'git') +optdepends=('drone: for a local Drone instance') +source=( + "$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" + 'systemd.service' + 'sysusers.conf' + 'tmpfiles.conf' +) +sha512sums=('5ff1a1199a38908882614464dc4fb3302d325e04402190c25bc69a4048b5a328cedec4d952232f824896ff2ed6cbf8c2f8808a5afe330883dbead6c10f1d2d5d' + '6eaa30699fbbaeebaa824add5c1c921e74042d200ae699c393914f3c5f90ae9cdafbd6bbe9d5d555f4914ad9c37ccc897bb0ba65c87dc5fa14b975df0f3da8ab' + 'a7d51b61f054bb97f873c7f3e5512776095ed23f9eb5ac9c7a1b007d6595ccc9de0ac4224ca38cdba565bb5ec702c09889e7c7395f03dfb277bb0a5c3225942b' + '239c3eda7cf7ffcac5df80699ec231f2797f4f35b18b26d570303a7597755d1e4958152139ddb3bb5268fe711a1fb055aa97b8d054af13653b0d5f2e35dfb537') +b2sums=('9bc1c3382b615769399417b03e5f20893d7720dc138879029ad23597aaa7fc986e33b3f19b64888682142e862d9a8bc8731c564949075a6ef7956d22f3c7f72c' + '90d868e9f6932eedc814473e160c661da7cf06a3cf1adf0709b462e388130f3f149120cf36dc6bb9f6bffbca8fce7c8624aa8a0b2511ea64d9b72dc950eea746' + '8459bbc51dd5006159041de20fc8288bed444e9ba8b48d8a95d2f6ea5a89e38e4d1f5db816c2b35f29b3219aba396bff509157a8b234105041d61c3f4504fef6' + 'f2742d5c60a3b68ecf7dab2d602b442bafcc619d838fcc74f5f186113778719797f9fa3975643c0925def2acf282c09120c186abc90b1ee5a34a7796b38f00fd') + +prepare() { + cd "$pkgname-$pkgver" + + # create directory for build output + mkdir -p build + + # download dependencies + go mod download +} + +build() { + cd "$pkgname-$pkgver" + + # set Go flags + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + go build -v \ +-trimpath \ +-buildmode=pie \ +-mod=readonly\ +-modcacherw \ +-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ +-o build \ +. +} + +check() { + cd "$pkgname-$pkgver" + go test -v ./... +} + +package() { + # systemd integration + install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" + install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" + install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" + + cd "$pkgname-$pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/* + + # licenses + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" licenses/* LICENSE.md + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md CHANGELOG.md +} Added: drone-runner-ssh/trunk/systemd.service === --- drone-runner-ssh/trunk/systemd.service (rev 0) +++ drone-runner-ssh/trunk/systemd.service 2021-11-17 21:36:52 UTC (rev 1051235) @@ -0,0 +1,14 @@ +[Unit] +Description=Drone Runner (SSH) +Requires=network-online.target +After=network-online.target + +[Service] +User=drone-runner-ssh +Group=drone-runner-ssh +WorkingDirectory=/var/lib/drone-runner-ssh +ReadWritePaths=/var/lib/drone-runner-ssh +ExecStart=/usr/bin/drone-runner-ssh + +[Install] +WantedBy=multi-user.target Added: drone-runner-ssh/trunk/sysusers.conf === --- drone-runner-ssh/trunk/sysusers.conf(rev 0) +++ drone-runner-ssh/trunk/sysusers.conf2021-11-17 21:36:52 UTC (rev 1051235) @@ -0,0 +1 @@ +u drone-runner-ssh - "Drone Runner SSH user" Added: drone-runner-ssh/trunk/tmpfiles.conf === --- drone-runner-ssh/trunk/tmpfiles.conf(rev 0) +++ drone-runner-ssh/trunk/tmpfiles.conf2021-11-17 21:36:52 UTC (rev 1051235) @@ -0,0 +1 @@ +d /var/lib/drone-runner-ssh 0750
[arch-commits] Commit in (7 files)
Date: Wednesday, November 17, 2021 @ 21:31:23 Author: grawlinson Revision: 1051233 addpkg: drone-runner-exec 1.0.0beta.9-3 Added: drone-runner-exec/ drone-runner-exec/repos/ drone-runner-exec/trunk/ drone-runner-exec/trunk/PKGBUILD drone-runner-exec/trunk/systemd.service drone-runner-exec/trunk/sysusers.conf drone-runner-exec/trunk/tmpfiles.conf -+ PKGBUILD| 78 ++ systemd.service | 14 + sysusers.conf |1 tmpfiles.conf |1 4 files changed, 94 insertions(+) Added: drone-runner-exec/trunk/PKGBUILD === --- drone-runner-exec/trunk/PKGBUILD(rev 0) +++ drone-runner-exec/trunk/PKGBUILD2021-11-17 21:31:23 UTC (rev 1051233) @@ -0,0 +1,78 @@ +# Maintainer: George Rawlinson + +pkgname=drone-runner-exec +_pkgver=1.0.0-beta.9 +pkgver="${_pkgver/-/}" +pkgrel=3 +pkgdesc="Drone pipeline runner that executes builds directly on the host machine" +arch=('x86_64') +url="https://github.com/drone-runners/drone-runner-exec; +license=('custom:Polyform-Small-Business-1.0.0' 'custom:Polyform-Free-Trial-1.0.0' 'custom:Polyform-Noncommercial-1.0.0') +depends=('glibc') +makedepends=('go' 'git') +optdepends=('drone: for a local Drone instance') +source=( + "$pkgname-$pkgver.tar.gz::$url/archive/v$_pkgver.tar.gz" + 'systemd.service' + 'sysusers.conf' + 'tmpfiles.conf' +) +sha512sums=('42df17954a888fc397b884a25a76477fd897ecf4173e875b224701c01cbf4206594368db337e4cfdc793251af3c70851e50fa3f49ae4f1d6d1bc1ad95ac0fc71' + '65102869afb04c64297c28078ba826a019935cc9b7063d758d19ff92fc2efe04ee3f377453fce11c9e1912765e2857d8380e81fae9e412921beffb757c91d3a4' + 'f64b194edc695028e4140800b24aa35bc04673c27738552d0d5e9e04ef5381a740063dad7835cbf71efea9acc71c889b396deb497289c95cfda40e273f5ce0b1' + 'b093531f17ae9f92c55ab55a613923b8276873abf6b608bf95cec8fa1f174d30756ab81ac80294d97fd3aac536bb7144423fae8862ccbfd65c77b6dbe785e4f1') +b2sums=('93004282c7956cbf4b8683170001029504e8c1c21415b0cf06a80d46b572685a12c493adfb832b5d531c60fdab4246997de1efdd88a255e0be31edbf134f0d08' + '178d82980e869dc5a282649ce4988c632ade74f411bf3077341804a972f3569dd07af3710fd21dcb7bf2aa2c6b3654e85d207f0da15e8b500bca2c10455da04f' + '18f301ee30c65a650d2287fe07a0604eea8c12acbe4d526c1d8b64eaccab3e36372e3b7d6b08b4ab00273e1677b9ee9aedf8c1321438bdb5b5532d8b87e6b023' + '27835b580a3d4124f688a955f82f35639579c7aaf222aad5ab70f674dad290eb20875f3e36d67d5f8193b91f044ca6f81db0f3a91034a27d7faa24e53b4f15f4') + +prepare() { + cd "$pkgname-$_pkgver" + + # create directory for build output + mkdir -p build + + # download dependencies + go mod download +} + +build() { + cd "$pkgname-$_pkgver" + + # set Go flags + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + go build -v \ +-trimpath \ +-buildmode=pie \ +-mod=readonly \ +-modcacherw \ +-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ +-o build \ +. +} + +check() { + cd "$pkgname-$_pkgver" + go test -v ./... +} + +package() { + # systemd integration + install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" + install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" + install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" + + cd "$pkgname-$_pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/* + + # licenses + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" licenses/* LICENSE.md + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md CHANGELOG.md +} Added: drone-runner-exec/trunk/systemd.service === --- drone-runner-exec/trunk/systemd.service (rev 0) +++ drone-runner-exec/trunk/systemd.service 2021-11-17 21:31:23 UTC (rev 1051233) @@ -0,0 +1,14 @@ +[Unit] +Description=Drone Runner (Exec) +Requires=network-online.target +After=network-online.target + +[Service] +User=drone-runner-exec +Group=drone-runner-exec +WorkingDirectory=/var/lib/drone-runner-exec +ReadWritePaths=/var/lib/drone-runner-exec +ExecStart=/usr/bin/drone-runner-exec + +[Install] +WantedBy=multi-user.target Added: drone-runner-exec/trunk/sysusers.conf === --- drone-runner-exec/trunk/sysusers.conf (rev 0) +++ drone-runner-exec/trunk/sysusers.conf 2021-11-17 21:31:23 UTC (rev 1051233) @@ -0,0 +1 @@ +u drone-runner-exec - "Drone Runner Exec user" Added: drone-runner-exec/trunk/tmpfiles.conf === --- drone-runner-exec/trunk/tmpfiles.conf (rev 0) +++ drone-runner-exec/trunk/tmpfiles.conf 2021-11-17
[arch-commits] Commit in (7 files)
Date: Wednesday, November 17, 2021 @ 21:24:48 Author: grawlinson Revision: 1051231 addpkg: drone-runner-docker 1.7.0-1 Added: drone-runner-docker/ drone-runner-docker/repos/ drone-runner-docker/trunk/ drone-runner-docker/trunk/PKGBUILD drone-runner-docker/trunk/systemd.service drone-runner-docker/trunk/sysusers.conf drone-runner-docker/trunk/tmpfiles.conf -+ PKGBUILD| 77 ++ systemd.service | 14 + sysusers.conf |1 tmpfiles.conf |1 4 files changed, 93 insertions(+) Added: drone-runner-docker/trunk/PKGBUILD === --- drone-runner-docker/trunk/PKGBUILD (rev 0) +++ drone-runner-docker/trunk/PKGBUILD 2021-11-17 21:24:48 UTC (rev 1051231) @@ -0,0 +1,77 @@ +# Maintainer: George Rawlinson + +pkgname=drone-runner-docker +pkgver=1.7.0 +pkgrel=1 +pkgdesc="Drone pipeline runner that executes builds inside Docker containers" +arch=('x86_64') +url="https://github.com/drone-runners/drone-runner-docker; +license=('custom:Polyform-Small-Business-1.0.0' 'custom:Polyform-Free-Trial-1.0.0') +depends=('glibc' 'docker') +makedepends=('go' 'git') +optdepends=('drone: for a local Drone instance') +source=( + "$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" + 'systemd.service' + 'sysusers.conf' + 'tmpfiles.conf' +) +sha512sums=('1bc1a88b6e645e7bd9285101387fa9490a5d8f6f6493efb5987349e8b00b9571bf52079ada3d3f314fa0e8fd63abcd89f5b5c2e6b030231968c340498ae9025b' + 'eb92c3ad379153953adb07d064d1f33ba52015df2fb045412c57d38c5000f74ce1a0f8ea6042ffd1a5dcf3adbc5535b19067488cc5fd351d78c014effbbd17e8' + 'fd328a189b7144e1cc519cf24863de2c4552c4df29ebb30cad3d100163577bd3083cdadb8eef7fa6970149f5a470490fd26a47ddf2a8d502cd38e977599159a1' + 'e0d22286f58388e0393c0368bd5ea56099718ba772805913056c5251597d3887e013ba5fc9243d856d61d3b531dfd18087dd7aafe43c5857074ad6cac255') +b2sums=('e7b749cf2c04f11ed9cb5e486a1bb7a39c85f060ee9448ee9206407788a058d8d829d1c54571699206de6a01a5546256d127f604e3a7948df31606dd43e31350' + 'a76e0c190fcecbd99be68e9ead11c6cda27cf30045c9585356032982d1ecf053f2e8ed5b2a640403bd6a214eccfa50ec425bf34a284966a315a6754272133e99' + '327ef1f6158fc970d37b41d40e3b2f2c937f701ac4d7dda846b48ddf517d3f0e39ce360ae13aef8539587e71f861593941da3be32df032f6d65deb7927c8da9b' + '02b6ca4f1bdbaf968c81a2aab25efdb76d53590baadfa4c239239bc2b39bf09f8266775fc8addcf3a51fa48bd0a1ecfdb34c674b7355fbe5476cd53ae1780504') + +prepare() { + cd "$pkgname-$pkgver" + + # create directory for build output + mkdir -p build + + # download dependencies + go mod download +} + +build() { + cd "$pkgname-$pkgver" + + # set Go flags + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + go build -v \ +-trimpath \ +-buildmode=pie \ +-mod=readonly \ +-modcacherw \ +-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ +-o build \ +. +} + +check() { + cd "$pkgname-$pkgver" + go test -v ./... +} + +package() { + # systemd integration + install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" + install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" + install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" + + cd "$pkgname-$pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/* + + # licenses + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" licenses/* LICENSE.md + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md CHANGELOG.md +} Added: drone-runner-docker/trunk/systemd.service === --- drone-runner-docker/trunk/systemd.service (rev 0) +++ drone-runner-docker/trunk/systemd.service 2021-11-17 21:24:48 UTC (rev 1051231) @@ -0,0 +1,14 @@ +[Unit] +Description=Drone Runner (Docker) +Requires=network-online.target +After=network-online.target + +[Service] +User=drone-runner-docker +Group=drone-runner-docker +WorkingDirectory=/var/lib/drone-runner-docker +ReadWritePaths=/var/lib/drone-runner-docker +ExecStart=/usr/bin/drone-runner-docker + +[Install] +WantedBy=multi-user.target Added: drone-runner-docker/trunk/sysusers.conf === --- drone-runner-docker/trunk/sysusers.conf (rev 0) +++ drone-runner-docker/trunk/sysusers.conf 2021-11-17 21:24:48 UTC (rev 1051231) @@ -0,0 +1 @@ +u drone-runner-docker - "Drone Runner Docker user" Added: drone-runner-docker/trunk/tmpfiles.conf === --- drone-runner-docker/trunk/tmpfiles.conf (rev 0) +++ drone-runner-docker/trunk/tmpfiles.conf 2021-11-17 21:24:48 UTC (rev 1051231) @@
[arch-commits] Commit in (7 files)
Date: Wednesday, November 17, 2021 @ 20:37:33 Author: grawlinson Revision: 1051217 addpkg: drone 2.5.0-1 Added: drone/ drone/repos/ drone/trunk/ drone/trunk/PKGBUILD drone/trunk/systemd.service drone/trunk/sysusers.conf drone/trunk/tmpfiles.conf -+ PKGBUILD| 111 ++ systemd.service | 15 +++ sysusers.conf |1 tmpfiles.conf |1 4 files changed, 128 insertions(+) Added: drone/trunk/PKGBUILD === --- drone/trunk/PKGBUILD(rev 0) +++ drone/trunk/PKGBUILD2021-11-17 20:37:33 UTC (rev 1051217) @@ -0,0 +1,111 @@ +# Maintainer: George Rawlinson +# Contributor: Khorne + +pkgbase=drone +pkgname=( + 'drone' + 'drone-oss' +) +pkgver=2.5.0 +pkgrel=1 +pkgdesc="Continuous Delivery platform built on container technology" +arch=('x86_64') +url="https://drone.io; +makedepends=('go' 'git') +source=( + "$pkgbase-$pkgver.tar.gz::https://github.com/drone/drone/archive/v$pkgver.tar.gz; + 'systemd.service' + 'tmpfiles.conf' + 'sysusers.conf' +) +sha512sums=('b9c28f93e06d7da73a4481cebdd6613f46dcb6615d0430ce5e3db7ca1b141b288c9b0fd6e064d6c8fd59ca8f7e0478b7b0dc23f92822e1b4de37df2304356e6e' + '51f274d1edf1f8ee127cb84ca420c32de1e5c0a8a2363b4221034be430a1c93a7517deb997fddade4988b90735b2fbe50ce450058510e1dd64944ee18a96af49' + 'dfdc522b0e17f6b68d86f6599020bc75328de84aa1a393c53a0edc5ed229fb6ef99a0b544eebca6f9eee1b9f2ce04906bcca105792bccf2e49cdd51f10026886' + '9488ba861487ecaf96e6b39afc3aeabd0951b9c0ee552cdb552d12f08f73cdcf2c57e5a322139f34e0aa5b2c9b2f5751f08bf66dca2bd8dd041b60b96e41c710') +b2sums=('9e1d6ee9de56cbba9772c23f5b680c66d0c88d10444a701b54bf088bc757b063fc746d03506fe4d31840158f1d162336cb9064f5ec5b41247fdcede37ce028a1' + 'e7bec2be6fc60c36e8c880dcedffde8ec7d0c1b5cbe0fef07526221b48820314f69a8282f341478a89711216b91b58114c0e7e1270d941bc7bd175f952837452' + '9c1bf8e4a382190f2d1bd560ef5c4a9fadad8c38dcd3cf3b79af42f6d0c16de533ba2d5f6cf676003e4ca6b745833e5e100baf4328111cf540ac5f43f67c6145' + '18e5c4ea19348479dc3408bd2546f324f0908acc759c7c79c350006c6c5e6db02cd388a9aa9bd3d4f6b4b1f2efcf6aa7f7e67eac43f8d55566afe341b7ec142e') + +prepare() { + cd "$pkgbase-$pkgver" + + # create directory for build output + mkdir build build-oss + + # download dependencies + go mod download +} + +build() { + cd "$pkgbase-$pkgver" + + # set Go flags + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + # enterprise version + go build -v \ +-trimpath \ +-buildmode=pie \ +-mod=readonly \ +-modcacherw \ +-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ +-o build \ +./cmd/... + + # community version + go build -v \ +-trimpath \ +-buildmode=pie \ +-mod=readonly \ +-modcacherw \ +-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ +-tags "oss nolimit" \ +-o build-oss \ +./cmd/... +} + +check() { + cd "$pkgbase-$pkgver" + go test -v ./... +} + +package_drone() { + pkgdesc+=" (Enterprise Edition)" + license=('custom:Drone-Non-Commercial') + # ref: https://discourse.drone.io/t/exec-runner-404-error-on-ping/7922 + depends=('glibc') + conflicts=('drone-oss') + + # systemd integration + install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" + install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" + install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" + + cd "$pkgbase-$pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/* + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE NOTICE +} + +package_drone-oss() { + pkgdesc+=" (Community Edition)" + license=('Apache') + depends=('glibc' 'docker') + conflicts=('drone') + + # systemd integration + install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" + install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" + install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" + + cd "$pkgbase-$pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build-oss/* +} Added: drone/trunk/systemd.service === --- drone/trunk/systemd.service (rev 0) +++ drone/trunk/systemd.service 2021-11-17 20:37:33 UTC (rev 1051217) @@ -0,0 +1,15 @@ +[Unit] +Description=Drone +Requires=network-online.target +After=network-online.target + +[Service] +User=drone +Group=drone +ExecStart=/usr/bin/drone-server +RestartSec=5 +Restart=on-failure +SyslogIdentifier=drone-server + +[Install] +WantedBy=multi-user.target Added: drone/trunk/sysusers.conf === --- drone/trunk/sysusers.conf
[arch-commits] Commit in (7 files)
Date: Monday, August 23, 2021 @ 14:37:32 Author: bastelfreak Revision: 1004372 Add prometheus-bird-exporter Added: prometheus-bird-exporter/ prometheus-bird-exporter/repos/ prometheus-bird-exporter/trunk/ prometheus-bird-exporter/trunk/PKGBUILD prometheus-bird-exporter/trunk/prometheus-bird-exporter.conf prometheus-bird-exporter/trunk/prometheus-bird-exporter.service prometheus-bird-exporter/trunk/prometheus-bird-exporter.sysusers ---+ PKGBUILD | 61 prometheus-bird-exporter.conf |1 prometheus-bird-exporter.service | 18 ++ prometheus-bird-exporter.sysusers |1 4 files changed, 81 insertions(+) Added: prometheus-bird-exporter/trunk/PKGBUILD === --- prometheus-bird-exporter/trunk/PKGBUILD (rev 0) +++ prometheus-bird-exporter/trunk/PKGBUILD 2021-08-23 14:37:32 UTC (rev 1004372) @@ -0,0 +1,61 @@ +# Maintainer: Tim Meusel + +pkgname=prometheus-bird-exporter +pkgver=1.2.6 +pkgrel=1 + +pkgdesc='Exporter for bird metrics' +url='https://github.com/czerwonk/bird_exporter' +arch=('x86_64') +license=('Apache') + +depends=('glibc') +makedepends=('go' 'git') + +backup=('etc/conf.d/prometheus-bird-exporter') + +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz" +prometheus-bird-exporter.conf +prometheus-bird-exporter.service +prometheus-bird-exporter.sysusers) + +sha512sums=('078aee86528f92f45f0a5cc01fd251d7b6df06703b4942cbfb2877719abe02bc0ed00b0a3870860570578d69cce67e8a7bda839375abe8772cf86bf0d3c09a21' + 'b00b3db72e3389b7da3f68927951a87d76d937e81c6d35d0ccb7f091fb57bbe11feceb8626301b86f2e0c7be353282c3abfa4c5f2379c9e1e12a963074945411' + 'c3cba590d4a69372fbecda3e383f15c8492f8f2d8dc47f676513ffcabda4520f2b13a8dd368e2c271249d552a30ff79d28df6e173af729816751d9204feae211' + '1a57390a23ce7021f2f40992f0a3c63c044e150621da8d34576eb81c0ecbe4411bb80a6e5e792a8aefffaf67d59b3df585304d2dc328046b9bc7fe033c82fe23') + +build() { + cd "bird_exporter-${pkgver}" + + go build \ +-trimpath \ +-buildmode=pie \ +-mod=readonly \ +-modcacherw \ +-ldflags "-linkmode external -extldflags ${LDFLAGS} \ + -X github.com/prometheus/common/version.Version=${pkgver} \ + -X github.com/prometheus/common/version.Revision=${pkgver} \ + -X github.com/prometheus/common/version.Branch=tarball \ + -X github.com/prometheus/common/version.BuildUser=someone@builder \ + -X github.com/prometheus/common/version.BuildDate=$(date -d=@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \ +. +} + +check() { + cd "bird_exporter-${pkgver}" + + #make collector/fixtures/sys/.unpacked + #go test ./... + go test ./... -v -covermode=count + #./end-to-end-test.sh +} + +package () { + install -Dm644 prometheus-bird-exporter.conf "$pkgdir"/etc/conf.d/prometheus-bird-exporter + install -Dm644 prometheus-bird-exporter.service "$pkgdir"/usr/lib/systemd/system/prometheus-bird-exporter.service + install -Dm644 prometheus-bird-exporter.sysusers "$pkgdir"/usr/lib/sysusers.d/prometheus-bird-exporter.conf + + cd bird_exporter-$pkgver + + install -Dm755 bird_exporter "$pkgdir"/usr/bin/prometheus-bird-exporter +} Added: prometheus-bird-exporter/trunk/prometheus-bird-exporter.conf === --- prometheus-bird-exporter/trunk/prometheus-bird-exporter.conf (rev 0) +++ prometheus-bird-exporter/trunk/prometheus-bird-exporter.conf 2021-08-23 14:37:32 UTC (rev 1004372) @@ -0,0 +1 @@ +BIRD_EXPORTER_ARGS="" Added: prometheus-bird-exporter/trunk/prometheus-bird-exporter.service === --- prometheus-bird-exporter/trunk/prometheus-bird-exporter.service (rev 0) +++ prometheus-bird-exporter/trunk/prometheus-bird-exporter.service 2021-08-23 14:37:32 UTC (rev 1004372) @@ -0,0 +1,18 @@ +[Unit] +Description=Prometheus exporter for bird metrics +Requires=bird.service +After=bird.service + +[Service] +User=bird_exporter +Group=bird_exporter +Restart=on-failure +EnvironmentFile=-/etc/conf.d/prometheus-bird-exporter +ExecStart=/usr/bin/prometheus-bird-exporter $BIRD_EXPORTER_ARGS +ExecReload=/bin/kill -HUP $MAINPID +NoNewPrivileges=true +ProtectHome=read-only +ProtectSystem=strict + +[Install] +WantedBy=multi-user.target Added: prometheus-bird-exporter/trunk/prometheus-bird-exporter.sysusers === --- prometheus-bird-exporter/trunk/prometheus-bird-exporter.sysusers (rev 0) +++ prometheus-bird-exporter/trunk/prometheus-bird-exporter.sysusers 2021-08-23 14:37:32 UTC (rev 1004372) @@ -0,0 +1 @@ +u bird_exporter - "Prometheus bird-exporter user"
[arch-commits] Commit in (7 files)
Date: Monday, August 16, 2021 @ 13:13:06 Author: daurnimator Revision: 1000991 initial attempt at packaging grafana-agent Added: grafana-agent/ grafana-agent/repos/ grafana-agent/trunk/ grafana-agent/trunk/PKGBUILD grafana-agent/trunk/grafana-agent.service grafana-agent/trunk/grafana-agent.sysusers grafana-agent/trunk/grafana-agent.tmpfiles + PKGBUILD | 62 +++ grafana-agent.service | 31 +++ grafana-agent.sysusers |2 + grafana-agent.tmpfiles |1 4 files changed, 96 insertions(+) Added: grafana-agent/trunk/PKGBUILD === --- grafana-agent/trunk/PKGBUILD(rev 0) +++ grafana-agent/trunk/PKGBUILD2021-08-16 13:13:06 UTC (rev 1000991) @@ -0,0 +1,62 @@ +# Maintainer: Daurnimator + +pkgname=('grafana-agent' 'grafana-agentctl') +pkgver=0.18.2 +pkgrel=1 +pkgdesc='Grafana Agent is a telemetry collector for sending metrics, logs, and trace data to the opinionated Grafana observability stack' +url='https://github.com/grafana/agent' +arch=('x86_64') +license=('Apache') +depends=('glibc') +makedepends=('go') +source=($pkgname-$pkgver.tar.gz::https://github.com/grafana/agent/archive/v$pkgver.tar.gz +grafana-agent.sysusers grafana-agent.service grafana-agent.tmpfiles) +sha512sums=('c39d5cb0d356dd1ed412e44c548e112768ed58520722b07be0e00fe84e07ed944ebdd7d738f8b2e309870b5b0c803df3987814547f06cc42e3f89193e61f9f1c' + '1e58f6273562fd6ddeae41bb6d223230ed301199af6bd2f85fa3d2c1e6352952c600cd4488ad769069519c42b6863be84aaa2c93c88f696e5a0bedbb93758d0e' + '1902dfa919fc68503d464073c4d2e4497a0eab06a9eedabc2dc09b9b18d75f28ffc73b161c83dbc9c6c2fbd0a3d24e721b4c92aff3a02e3b3675e5baa0396c55' + '3a4c4896b2454272b5a2d53ba5aa7009fa5b42a573fef521afb5d9712e53119539c4195d2b149d04d086c5fa197ccf7dc9bbdc407efb55514e3c92b994121fa8') + +build() { + cd "agent-$pkgver" + + for path in cmd/agent cmd/agentctl; do +go build \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags " \ + -X github.com/grafana/agent/pkg/build.Version=$pkgver + -X github.com/grafana/agent/pkg/build.BuildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) + -linkmode external + -extldflags \"${LDFLAGS}\"" \ + "./$path" + done +} + +check() { + cd "agent-$pkgver" + + go test -v ./... +} + +package_grafana-agent() { + backup=('etc/grafana-agent.yaml') + + cd "agent-$pkgver" + + install -Dm755 agent "$pkgdir/usr/bin/grafana-agent" + install -Dm644 packaging/grafana-agent.yaml "$pkgdir/etc/grafana-agent.yaml" + + install -Dm644 "$srcdir/grafana-agent.sysusers" "$pkgdir/usr/lib/sysusers.d/grafana-agent.conf" + install -Dm644 "$srcdir/grafana-agent.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/grafana-agent.conf" + install -Dm644 "$srcdir/grafana-agent.service" "$pkgdir/usr/lib/systemd/system/grafana-agent.service" +} + +package_grafana-agentctl() { + pkgdesc="provides utilities for interacting with Grafana Agent" + + cd "agent-$pkgver" + + install -Dm755 -t "$pkgdir"/usr/bin agentctl +} Added: grafana-agent/trunk/grafana-agent.service === --- grafana-agent/trunk/grafana-agent.service (rev 0) +++ grafana-agent/trunk/grafana-agent.service 2021-08-16 13:13:06 UTC (rev 1000991) @@ -0,0 +1,31 @@ +[Unit] +Description=Grafana Agent is a telemetry collector for sending metrics, logs, and trace data to the opinionated Grafana observability stack. +Documentation=https://grafana.com/docs/agent/ +Wants=network-online.target +After=network-online.target + +[Service] +Restart=always +Environment=HOSTNAME=%H +ExecStart=/usr/bin/grafana-agent --config.file /etc/grafana-agent.yaml --log.level $LOG_LEVEL $CUSTOM_ARGS +User=grafana-agent +# If running the Agent in scraping service mode, you will want to override this value with +# something larger to allow the Agent to gracefully leave the cluster. 4800s is recommend. +TimeoutStopSec=20s +SendSIGKILL=no + +NoNewPrivileges=true +MemoryDenyWriteExecute=true +RestrictRealtime=true + +ProtectHome=true +ProtectSystem=strict +ReadWritePaths=/var/lib/grafana-agent +PrivateTmp=true + +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectControlGroups=true + +[Install] +WantedBy=multi-user.target Added: grafana-agent/trunk/grafana-agent.sysusers === --- grafana-agent/trunk/grafana-agent.sysusers (rev 0) +++ grafana-agent/trunk/grafana-agent.sysusers 2021-08-16 13:13:06 UTC (rev 1000991) @@ -0,0 +1,2 @@ +u grafana-agent - "grafana-agent user" /var/lib/grafana-agent +m grafana-agent systemd-journal Added: grafana-agent/trunk/grafana-agent.tmpfiles
[arch-commits] Commit in (7 files)
Date: Saturday, August 14, 2021 @ 18:39:57 Author: bastelfreak Revision: 998547 add gortr Added: gortr/ gortr/repos/ gortr/trunk/ gortr/trunk/PKGBUILD gortr/trunk/gortr.env gortr/trunk/gortr.service gortr/trunk/gortr.sysusers + PKGBUILD | 57 +++ gortr.env |1 gortr.service | 22 + gortr.sysusers |2 + 4 files changed, 82 insertions(+) Added: gortr/trunk/PKGBUILD === --- gortr/trunk/PKGBUILD(rev 0) +++ gortr/trunk/PKGBUILD2021-08-14 18:39:57 UTC (rev 998547) @@ -0,0 +1,57 @@ +# Maintainer Tim Meusel +# Contributor: Nigel Kukard +# Contributor: Zhaofeng Li + +pkgname=gortr +pkgver=0.14.7 +pkgrel=5 +pkgdesc="The RPKI-to-Router server used at Cloudflare" +arch=('x86_64' 'i686' 'aarch64' 'armv7l') +url='https://github.com/cloudflare/gortr' +license=('BSD') +depends=() +makedepends=('go') +backup=('etc/conf.d/gortr') +source=( + "gortr-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" + 'gortr.env' + 'gortr.service' + 'gortr.sysusers' +) + +sha512sums=('02cd38da2af1af11a3384578c81cc07098b6e0a5abdf17cd70dcc7256c7a0ec687a60d590e7ce7a133faa28d0a768ef206c7a59672a10998e52b8a2dc2752a44' + '3b48c5aa6e4ee074df4e7087f664a114f9fd9b5d586f17cad9cc5af6a6bff788f46012dbec37b5c08e5b858bcbe7f59d7fc65e013104a57a5606e1c3d0b9ee61' + 'c5a1bfb1957ef42d73811d087151c565beaec46b0d533dcd27661304e26e394040f0c4f3d75b1eedd6728e3c4a27c07db5a626cb8d8e8fe99bc6851f858df955' + 'be46844e548f7eaf46c7f7b07db42b192c88f7c2cb980ab0dca952838ad0c80854f21414f12d47f62f51128ddd5d971e243a8846eece604228c2a4d13d64f1d7') + +prepare(){ + cd "$pkgname-$pkgver" + mkdir -p build/ +} + +build() { + cd "$pkgname-$pkgver" + export GOPATH="$srcdir"/go + 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" + go build -o build ./cmd/... +} + +check() { + cd "$pkgname-$pkgver" + go test ./... +} + +package() { + install -Dm755 "${srcdir}/gortr-${pkgver}/build/gortr" "${pkgdir}/usr/bin/gortr" + install -Dm755 "${srcdir}/gortr-${pkgver}/build/rtrdump" "${pkgdir}/usr/bin/rtrdump" + install -Dm755 "${srcdir}/gortr-${pkgver}/build/rtrmon" "${pkgdir}/usr/bin/rtrmon" + install -Dm644 "${srcdir}/gortr.env" "${pkgdir}/etc/conf.d/gortr" + install -Dm644 "${srcdir}/gortr.service" "${pkgdir}/usr/lib/systemd/system/gortr.service" + install -Dm644 "${srcdir}/gortr.sysusers" "${pkgdir}/usr/lib/sysusers.d/gortr.conf" + install -Dm644 "${srcdir}/gortr-${pkgver}/cmd/gortr/cf.pub" "${pkgdir}/usr/lib/${pkgname}/cf.pub" + install -Dm644 "${srcdir}/gortr-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Added: gortr/trunk/gortr.env === --- gortr/trunk/gortr.env (rev 0) +++ gortr/trunk/gortr.env 2021-08-14 18:39:57 UTC (rev 998547) @@ -0,0 +1 @@ +GORTR_ARGS= Added: gortr/trunk/gortr.service === --- gortr/trunk/gortr.service (rev 0) +++ gortr/trunk/gortr.service 2021-08-14 18:39:57 UTC (rev 998547) @@ -0,0 +1,22 @@ +[Unit] +Description=GoRTR +After=network.target +Wants=network-online.target + +[Service] +Type=simple +Restart=on-failure +RestartSec=10s +EnvironmentFile=/etc/conf.d/gortr +WorkingDirectory=/usr/lib/gortr +ExecStart=/usr/bin/gortr $GORTR_ARGS +User=gortr +PrivateDevices=yes +PrivateTmp=yes +ProtectSystem=full +ProtectHome=yes +CapabilityBoundingSet=cap_net_raw +AmbientCapabilities=cap_net_raw + +[Install] +WantedBy=multi-user.target Added: gortr/trunk/gortr.sysusers === --- gortr/trunk/gortr.sysusers (rev 0) +++ gortr/trunk/gortr.sysusers 2021-08-14 18:39:57 UTC (rev 998547) @@ -0,0 +1,2 @@ +u gortr - "User to run Cloudflares gortr Daemon" +g gortr -
[arch-commits] Commit in (7 files)
Date: Tuesday, August 3, 2021 @ 08:49:26 Author: bastelfreak Revision: 993477 iadd ruby-log4r Added: ruby-log4r/ ruby-log4r/repos/ ruby-log4r/trunk/ ruby-log4r/trunk/PKGBUILD ruby-log4r/trunk/disable-broken-test.patch ruby-log4r/trunk/e64ed5143aae17fef85fe191c967765409061266.patch ruby-log4r/trunk/fix-broken-test.patch + PKGBUILD | 62 +++ disable-broken-test.patch | 15 + e64ed5143aae17fef85fe191c967765409061266.patch | 38 ++ fix-broken-test.patch | 30 +++ 4 files changed, 145 insertions(+) Added: ruby-log4r/trunk/PKGBUILD === --- ruby-log4r/trunk/PKGBUILD (rev 0) +++ ruby-log4r/trunk/PKGBUILD 2021-08-03 08:49:26 UTC (rev 993477) @@ -0,0 +1,62 @@ +# Maintainer: Tim Meusel +_gemname=log4r +pkgname="ruby-${_gemname}" +pkgver=1.1.10 +pkgrel=3 +pkgdesc='Log4r, logging framework for ruby' +arch=(any) +url="https://github.com/colbygk/${_gemname}; +license=('LGPL') +depends=('ruby') +makedepends=('git' 'rake' 'ruby-bundler') +checkdepends=('ruby-test-unit' 'ruby-builder') +options=(!emptydirs) +source=("git+${url}#commit=40e2c2edd657a21b34f09dec7de238f348b6f428" 'disable-broken-test.patch' 'e64ed5143aae17fef85fe191c967765409061266.patch') +noextract=($_gemname-$pkgver.gem) +sha512sums=('SKIP' + 'e5c5a2b587af405b4b434c6db95a615ccb161c7e2f794c20e4c7203c7bace53beb26ba1a1d35b5acbeef71c97c3ecb4fca4354d289275bda6f513c451afb59f8' + '7efd5d5eedbc9c94e70180d9e66e73430d3272f3ddad771bca37f1941ca5d2adac150c82680e66963dc0c48af4163034c6beddaedc0915d2de31351d16d59c20') + +prepare() { + cd "${srcdir}/${_gemname}" + sed --in-place 's|~>|>=|g' "${_gemname}.gemspec" + # add missing license to gemspec, to please bundler during build + sed --in-place '22s/^$/ gem.license = "LGPL-3.0-or-later"/' "${_gemname}.gemspec" + # manipulate the broken LOADPATH so the tests can find tests/tests_helper.rb + for file in $(find tests/*.rb -type f ! -name '*_*'); do +sed --in-place 's|require.*|require "#{File.dirname(__FILE__)}/test_helper"|' "${file}" + done + # remove broken test - https://github.com/colbygk/log4r/issues/37 + rm tests/testxmlconf.rb + # remove deprecated gemcutter to please rubygems + sed --in-place 's|:gemcutter|"https://rubygems.org;|' Gemfile + # one particular test needs to be disabled. + # It assumes that the test is executed with pure ruby, not wrapped with rake + # it fails upstream as well + patch -p1 -N -i "${srcdir}/disable-broken-test.patch" + # fix deprecated YAML lib method name + sed --in-place 's|YAML.load_documents|YAML.load_stream|' lib/log4r/yamlconfigurator.rb + # create directory where tests can write data + # path is hardcoded in the tests, but they don't create the directory + mkdir junk + # apply commit e64ed5143aae17fef85fe191c967765409061266 + # it fixes broken tests. the fix is not yet released + patch -p1 -N -i "${srcdir}/e64ed5143aae17fef85fe191c967765409061266.patch" +} + +build() { + cd "${srcdir}/${_gemname}" + gem build "${_gemname}.gemspec" +} + +check() { + cd "${srcdir}/${_gemname}" + rake test --trace +} + +package() { + cd "${srcdir}/${_gemname}" + local _gemdir="$(ruby -e'puts Gem.default_dir')" + gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem" + rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem" +} Added: ruby-log4r/trunk/disable-broken-test.patch === --- ruby-log4r/trunk/disable-broken-test.patch (rev 0) +++ ruby-log4r/trunk/disable-broken-test.patch 2021-08-03 08:49:26 UTC (rev 993477) @@ -0,0 +1,15 @@ +diff --git a/tests/testGDC.rb b/tests/testGDC.rb +index 460d6e1..01ffa56 100644 +--- a/tests/testGDC.rb b/tests/testGDC.rb +@@ -3,10 +3,6 @@ require 'test_helper' + class TestGDC < TestCase + include Log4r + +- def test_gdc_default +-assert(GDC.get() == "testGDC.rb", "Expected 'testGDC.rb' got '#{GDC.get()}'" ) +- end +- + def test_gdc_set + assert_nothing_raised() { GDC.set("testGDCset") } + assert(GDC.get() == "testGDCset", "Expected 'testGDCset' got '#{GDC.get()}'" ) Added: ruby-log4r/trunk/e64ed5143aae17fef85fe191c967765409061266.patch === --- ruby-log4r/trunk/e64ed5143aae17fef85fe191c967765409061266.patch (rev 0) +++ ruby-log4r/trunk/e64ed5143aae17fef85fe191c967765409061266.patch 2021-08-03 08:49:26 UTC (rev 993477) @@ -0,0 +1,38 @@ +commit e64ed5143aae17fef85fe191c967765409061266 +Author: Vít Ondruch +Date: Tue Jan 9 13:56:33 2018 +0100 + +First parameter of assert is always what is expected. + +The other parameter
[arch-commits] Commit in (7 files)
Date: Friday, June 11, 2021 @ 08:50:51 Author: grawlinson Revision: 962041 addpkg: nomad 1.1.1-1 Initial info-dump Added: nomad/ nomad/repos/ nomad/trunk/ nomad/trunk/PKGBUILD nomad/trunk/nomad.hcl nomad/trunk/systemd.service nomad/trunk/tmpfiles.conf -+ PKGBUILD| 73 ++ nomad.hcl |1 systemd.service | 20 ++ tmpfiles.conf |1 4 files changed, 95 insertions(+) Added: nomad/trunk/PKGBUILD === --- nomad/trunk/PKGBUILD(rev 0) +++ nomad/trunk/PKGBUILD2021-06-11 08:50:51 UTC (rev 962041) @@ -0,0 +1,73 @@ +# Maintainer: George Rawlinson + +pkgname=nomad +pkgver=1.1.1 +pkgrel=1 +pkgdesc="A simple and flexible workload orchestrator" +arch=('x86_64') +url="https://www.nomadproject.io; +license=('MPL2') +depends=('glibc' 'iptables') +makedepends=('go' 'git') +# additonal drivers: +# podman: https://github.com/hashicorp/nomad-driver-podman +# containerd: https://github.com/Roblox/nomad-driver-containerd +# firecracker: https://github.com/firecracker-microvm/firecracker +# lxc: https://github.com/hashicorp/nomad-driver-lxc +# amazon-ecs (experimental): https://github.com/hashicorp/nomad-driver-ecs +# singularity: https://github.com/hpcng/nomad-driver-singularity +# systemd-nspawn: https://github.com/JanMa/nomad-driver-nspawn +optdepends=( + 'docker: for docker driver' + 'java-runtime: for java driver' + 'qemu: for qemu driver' +) +backup=(etc/nomad.d/nomad.hcl) +source=( + "$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/nomad/archive/v$pkgver.tar.gz; + 'systemd.service' + 'tmpfiles.conf' + 'nomad.hcl' +) +b2sums=('85384697dc3da8846804e1e116b9048a662b90c1942254959f564da806a9cab7f42140f4c6947a5ccb02550b0b6902bde15c0fc607b32894ee5efb0f1ca95062' + '0f931868e9d7465f3be176ab789b7c7b5a4c35713a82e4d3bb94460254011779d814d4708f4f8cc76ba0dd1928ac7eeda42e01ed43be675a5d26d0b75ba986b9' + '464963ce700e41b081af414e36e0c255cfea9b4fa55cb34d892bfd70da6ece92d273dfee9cd542918bb2852b99bdc9cde1b082a8c4de6f1ce0024b534843c3d2' + '6050c07db88d1c3433915ad5733b43d7c4f4b32172e65915e0421693f8b78012ae7bb8b2e3cfa0bb9d49101db4f0ec2ca3d460ba984382ff4d48dd0b6ddc600d') + +prepare() { + cd "$pkgname-$pkgver" + mkdir build + go mod vendor +} + +# README: https://www.nomadproject.io/docs/install/production/requirements +# TODO find out what kind of 'upstream' configuration goes into /etc/nomad.d ? +# REFERENCE: https://salsa.debian.org/go-team/packages/nomad + +build() { + # TODO find out if `make bootstrap` is actually required + # FIXME remove nonvidia for actual releases ... + # TODO find out what codegen_generated actually does + local GO_TAGS="ui release codegen_generated nonvidia" + cd "$pkgname-$pkgver" + CGO_ENABLED=1 go build -v \ +-buildmode=pie \ +-trimpath \ +-mod=vendor \ +-modcacherw \ +-ldflags "-extldflags $LDFLAGS -X "main.GitCommit=${pkgver}"" \ +-tags "$GO_TAGS" \ +-o build . +} + +package() { + # binary + install -vDm755 -t "$pkgdir/usr/bin" "$pkgname-$pkgver/build/$pkgname" + + # configuration + install -vDm644 -t "$pkgdir/etc/nomad.d" nomad.hcl + + # systemd integration + install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" + install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" +} Added: nomad/trunk/nomad.hcl === --- nomad/trunk/nomad.hcl (rev 0) +++ nomad/trunk/nomad.hcl 2021-06-11 08:50:51 UTC (rev 962041) @@ -0,0 +1 @@ +data_dir = "/var/lib/nomad" Added: nomad/trunk/systemd.service === --- nomad/trunk/systemd.service (rev 0) +++ nomad/trunk/systemd.service 2021-06-11 08:50:51 UTC (rev 962041) @@ -0,0 +1,20 @@ +[Unit] +Description=Nomad +Documentation=https://www.nomadproject.io/docs/ +Wants=network-online.target consul.service +After=network-online.target consul.service + +[Service] +ExecReload=/bin/kill -HUP $MAINPID +ExecStart=/usr/bin/nomad agent -config /etc/nomad.d +KillMode=process +KillSignal=SIGINT +LimitNOFILE=65536 +LimitNPROC=infinity +Restart=on-failure +RestartSec=2 +TasksMax=infinity +OOMScoreAdjust=-1000 + +[Install] +WantedBy=multi-user.target Added: nomad/trunk/tmpfiles.conf === --- nomad/trunk/tmpfiles.conf (rev 0) +++ nomad/trunk/tmpfiles.conf 2021-06-11 08:50:51 UTC (rev 962041) @@ -0,0 +1 @@ +d /var/lib/nomad 0700
[arch-commits] Commit in (7 files)
Date: Tuesday, May 18, 2021 @ 20:17:52 Author: svenstaro Revision: 936291 Add gcc10 for cuda Added: gcc10/ gcc10/repos/ gcc10/trunk/ gcc10/trunk/PKGBUILD gcc10/trunk/c89 gcc10/trunk/c99 gcc10/trunk/fs64270.patch ---+ PKGBUILD | 235 c89 | 10 ++ c99 | 10 ++ fs64270.patch | 27 ++ 4 files changed, 282 insertions(+) Added: gcc10/trunk/PKGBUILD === --- gcc10/trunk/PKGBUILD(rev 0) +++ gcc10/trunk/PKGBUILD2021-05-18 20:17:52 UTC (rev 936291) @@ -0,0 +1,235 @@ +# Maintainer: Sven-Hendrik Haase +pkgname=(gcc10 gcc10-libs gcc10-fortran) +pkgver=10.2.0 +_majorver=${pkgver%%.*} +_islver=0.21 +pkgrel=1 +pkgdesc='The GNU Compiler Collection (Version 10)' +arch=(x86_64) +license=(GPL LGPL FDL custom) +url='https://gcc.gnu.org' +makedepends=(binutils libmpc gcc-ada doxygen python git libxcrypt) +checkdepends=(dejagnu inetutils) +options=(!emptydirs) +_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*} +# _commit=6beb39ee6c465c21d0cc547fd66b445100cdcc35 +# source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit +source=(https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz{,.sig} +http://isl.gforge.inria.fr/isl-${_islver}.tar.xz +c89 c99 +fs64270.patch +ipa-fix-bit-CPP-when-combined-with-IPA-bit-CP.patch +ipa-fix-ICE-in-get_default_value.patch +) +validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrow...@archlinux.org + 86CFFCA918CF3AF47147588051E8B148AC34 # evange...@foutrelis.com + 13975A70E63C361C73AE69EF6EEB81F8981C74C7 # richard.guent...@gmail.com + 33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek +sha256sums=('b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c' +'SKIP' +'777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960' +'c1991d0ad4c303dddcb49ac38908e8a12704e2479177ea2a80bb79dc26a2b283' +'d46a033eed3bc2b9bd8c57bcfd16c095564cd56ff822fe7feae06d7679026fff' +'e4b53a95dbc6e023d7359cb1f7d180eb4a8dc95116b325dab2d6e8edfc0caa1b' +'fcb11c9bcea320afd202b031b48f8750aeaedaa4b0c5dddcd2c0a16381e927e4' +'42865f2af3f48140580c4ae70b6ea03b5bdca0f29654773ef0d42ce00d60ea16') + +prepare() { + [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc + cd gcc + + # link isl for in-tree build + ln -s ../isl-${_islver} isl + + # Do not run fixincludes + sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in + + # Arch Linux installs x86_64 libraries /lib + sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64 + + # hack! - some configure tests for header files using "$CPP $CPPFLAGS" + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure + + # Turn off SSP for nostdlib|nodefaultlibs|ffreestanding + # https://bugs.archlinux.org/task/64270 + patch -p1 -i "$srcdir/fs64270.patch" + + # Fix a crash in mpv when mesa 20.2 is compiled with LTO + # https://gitlab.freedesktop.org/mesa/mesa/-/issues/3239 + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96482 + patch -Np1 -i ../ipa-fix-bit-CPP-when-combined-with-IPA-bit-CP.patch + patch -Np1 -i ../ipa-fix-ICE-in-get_default_value.patch + + mkdir -p "$srcdir/gcc-build" +} + +build() { + cd gcc-build + + # using -pipe causes spurious test-suite failures + # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565 + CFLAGS=${CFLAGS/-pipe/} + CXXFLAGS=${CXXFLAGS/-pipe/} + + "$srcdir/gcc/configure" --prefix=/usr \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-pkgversion="Arch Linux $pkgver-$pkgrel" \ + --with-bugurl=https://bugs.archlinux.org/ \ + --enable-languages=c,c++,fortran,lto \ + --with-isl \ + --with-linker-hash-style=gnu \ + --with-system-zlib \ + --enable-__cxa_atexit \ + --enable-cet=auto \ + --enable-checking=release \ + --enable-clocale=gnu \ + --enable-default-pie \ + --enable-default-ssp \ + --enable-gnu-indirect-function \ + --enable-gnu-unique-object \ + --enable-install-libiberty \ + --enable-linker-build-id \ + --enable-lto \ + --enable-multilib \ + --enable-plugin \ + --enable-shared \ + --enable-threads=posix \ + --disable-libssp \ + --disable-libstdcxx-pch \ + --disable-libunwind-exceptions \ + --disable-werror \ + --program-suffix=-${_majorver} \ + --enable-version-specific-runtime-libs \ + --disable-multilib + + make + + # make documentation + make -C $CHOST/libstdc++-v3/doc doc-man-doxygen +} + +# check() { +# cd gcc-build +# +# # do not abort on error as some are "expected" +# make -k check || true +# "$srcdir/gcc/contrib/test_summary" +# } + +package_gcc10-libs()
[arch-commits] Commit in (7 files)
Date: Friday, April 16, 2021 @ 03:19:47 Author: polyzen Revision: 919260 Reproducible archives Modified: dark-reader/trunk/PKGBUILD firefox-clearurls/trunk/PKGBUILD firefox-stylus/trunk/PKGBUILD firefox-temporary-containers/trunk/PKGBUILD firefox-tree-style-tab/trunk/PKGBUILD firefox-tridactyl/trunk/PKGBUILD firefox-ublock-origin/trunk/PKGBUILD -+ dark-reader/trunk/PKGBUILD |7 --- firefox-clearurls/trunk/PKGBUILD|5 +++-- firefox-stylus/trunk/PKGBUILD |5 +++-- firefox-temporary-containers/trunk/PKGBUILD |5 +++-- firefox-tree-style-tab/trunk/PKGBUILD |5 +++-- firefox-tridactyl/trunk/PKGBUILD|8 +--- firefox-ublock-origin/trunk/PKGBUILD|5 +++-- 7 files changed, 24 insertions(+), 16 deletions(-) Modified: dark-reader/trunk/PKGBUILD === --- dark-reader/trunk/PKGBUILD 2021-04-16 03:02:00 UTC (rev 919259) +++ dark-reader/trunk/PKGBUILD 2021-04-16 03:19:47 UTC (rev 919260) @@ -4,13 +4,13 @@ pkgname=('dark-reader' 'firefox-dark-reader' 'thunderbird-dark-reader') pkgbase=dark-reader pkgver=4.9.31 -pkgrel=1 +pkgrel=2 pkgdesc='Inverts brightness of web pages and aims to reduce eyestrain while browsing the web' url=https://darkreader.org/ arch=('any') license=('MIT') -makedepends=('npm') -source=("https://github.com/darkreader/darkreader/archive/v$pkgver/darkreader-v$pkgver.tar.gz;) +makedepends=('npm' 'strip-nondeterminism') +source=("https://github.com/darkreader/darkreader/archive/v$pkgver/darkreader-$pkgver.tar.gz;) b2sums=('d2dfebd43fd81d000f6948601591fca6e0e415dbe0e72e624ba04bf60c56507ad9deca6b32b87adb169866165347f67202c0edfedf8d5173b0755fe25eef19f7') build() { @@ -17,6 +17,7 @@ cd darkreader-$pkgver npm ci npm run build + strip-nondeterminism -t zip build-*.xpi } check() { Modified: firefox-clearurls/trunk/PKGBUILD === --- firefox-clearurls/trunk/PKGBUILD2021-04-16 03:02:00 UTC (rev 919259) +++ firefox-clearurls/trunk/PKGBUILD2021-04-16 03:19:47 UTC (rev 919260) @@ -4,13 +4,13 @@ _name=ClearUrls pkgname=firefox-clearurls pkgver=1.21.0 -pkgrel=2 +pkgrel=3 pkgdesc='Removes tracking elements from URLs' arch=('any') url=https://clearurls.xyz license=('LGPL3') groups=('firefox-addons') -makedepends=('zip') +makedepends=('strip-nondeterminism' 'zip') source=("https://gitlab.com/KevinRoebert/$_name/-/archive/$pkgver/$_name-$pkgver.tar.gz;) b2sums=('aad56d52c58e603064588628df9e79dff9a7045fa2f664c3034626cd1636dd57ed30a7d839048606ba9715e3491a73d3bc92ebd1764de45843a783da6958445b') @@ -31,6 +31,7 @@ "$pkgdir"/usr/lib/firefox/browser/extensions/{74145f27-f039-47ce-a470-a662b129930a}.xpi \ clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* \ core_js/* css/* fonts/* _locales/* + strip-nondeterminism -t zip "$pkgdir"/usr/lib/firefox/browser/extensions/* } # vim:set ts=2 sw=2 et: Modified: firefox-stylus/trunk/PKGBUILD === --- firefox-stylus/trunk/PKGBUILD 2021-04-16 03:02:00 UTC (rev 919259) +++ firefox-stylus/trunk/PKGBUILD 2021-04-16 03:19:47 UTC (rev 919260) @@ -2,13 +2,13 @@ pkgname=firefox-stylus pkgver=1.5.17 -pkgrel=1 +pkgrel=2 pkgdesc='Easily install themes and skins for many popular sites' url=https://add0n.com/stylus.html arch=('any') license=('GPL3') groups=('firefox-addons') -makedepends=('git' 'npm') +makedepends=('git' 'npm' 'strip-nondeterminism') source=("https://github.com/openstyles/stylus/archive/v$pkgver/stylus-v$pkgver.tar.gz;) b2sums=('f3e884cab0fe930c47fccdfd735b59913e0339174aa2224e17e504462c603f1cb77b3a35c16b93faca5b9725803056cd3054dbb584a44c6d3a159a6bd6a0fd01') @@ -21,6 +21,7 @@ build() { cd stylus-$pkgver npm run zip + strip-nondeterminism -t zip stylus.zip } package() { Modified: firefox-temporary-containers/trunk/PKGBUILD === --- firefox-temporary-containers/trunk/PKGBUILD 2021-04-16 03:02:00 UTC (rev 919259) +++ firefox-temporary-containers/trunk/PKGBUILD 2021-04-16 03:19:47 UTC (rev 919260) @@ -4,13 +4,13 @@ _name=temporary-containers pkgname=firefox-temporary-containers pkgver=1.9.2 -pkgrel=2 +pkgrel=3 pkgdesc='Open tabs, websites, and links in automatically managed disposable containers' arch=('any') url=https://github.com/stoically/temporary-containers license=('MIT') groups=('firefox-addons') -makedepends=('git' 'npm') +makedepends=('git' 'npm' 'strip-nondeterminism') provides=('firefox-extension-temporary-containers') replaces=('firefox-extension-temporary-containers') source=("$url/archive/v$pkgver/$_name-v$pkgver.tar.gz") @@ -21,6 +21,7 @@ npm ci npm run build:webpack npm run webext:build +
[arch-commits] Commit in (7 files)
Date: Wednesday, March 17, 2021 @ 08:37:17 Author: alucryd Revision: 410143 add tomcat10 Added: tomcat10/ tomcat10/trunk/ tomcat10/trunk/PKGBUILD tomcat10/trunk/tomcat10.install tomcat10/trunk/tomcat10.service tomcat10/trunk/tomcat10.sysusers tomcat10/trunk/tomcat10.tmpfiles ---+ PKGBUILD | 125 tomcat10.install | 16 ++ tomcat10.service | 35 ++ tomcat10.sysusers |1 tomcat10.tmpfiles |5 ++ 5 files changed, 182 insertions(+) Added: tomcat10/trunk/PKGBUILD === --- tomcat10/trunk/PKGBUILD (rev 0) +++ tomcat10/trunk/PKGBUILD 2021-03-17 08:37:17 UTC (rev 410143) @@ -0,0 +1,125 @@ +# Maintainer: Maxime Gauduin +# Contributor: Olli + +pkgname=tomcat10 +pkgver=10.0.4 +pkgrel=1 +pkgdesc='Open source implementation of the Java Servlet 5.0 and JavaServer Pages 3.0 technologies' +arch=(any) +url=https://tomcat.apache.org/ +license=(APACHE) +depends=( + 'java-runtime>=8' + java-jsvc + java-commons-daemon + eclipse-ecj +) +makedepends=( + ant + git + java-environment=8 +) +optdepends=('tomcat-native: to allow optimal performance in production environments') +backup=( + etc/tomcat10/catalina.policy + etc/tomcat10/catalina.properties + etc/tomcat10/context.xml + etc/tomcat10/logging.properties + etc/tomcat10/server.xml + etc/tomcat10/tomcat-users.xml + etc/tomcat10/web.xml +) +install=tomcat10.install +_tag=ec47d24b49bc176f47b786bc96248e94d1823685 +source=( + git+https://github.com/apache/tomcat.git#tag=${_tag} + tomcat10.service + tomcat10.sysusers + tomcat10.tmpfiles +) +b2sums=('SKIP' + '2bdf5f9e0ff8766363b2f0ac636415ee416bcfc3f4cc2859e1917d5352da827d0d25dc1c81260c38c1cf3e149d3701931b5a6bd0f32daeed9af4612dbc0b1f72' + 'ab6584d66e0e2e4d094a54d658af6e6397cbfee56ed211a6add84763d3b89c9e260127387a318c531f23182abde59c2289986773658f45e1c877687e1233b477' + '79ef7469fd113253479e212ed5faf9ec7e0e55b4eba25a120d1e3814b35241b6f8f2e78b1b36554088c8944b2652b8e304fd16615132db057e76a32a7778a39d') + +_gid_log=19 +_gid_tomcat=59 +_uid_tomcat=59 + +pkgver() { + cd tomcat + + _pkgver=$(git describe --tags) + + if [[ ${_pkgver} != 10.* ]]; then +exit 1 + fi + + echo ${_pkgver} +} + +prepare() { + cd tomcat + + cp build.properties.default build.properties + sed "/^base\.path=/c\base\.path=${srcdir}" -i build.properties + sed "/^compile.debug=/c\compile.debug=false" -i build.properties + sed "/^trydownload.httpusecaches=/c\trydownload.httpusecaches=false" -i build.properties +} + +build() { + cd tomcat + + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk + export PATH="$JAVA_HOME/bin:$PATH" + + ant +} + +package() { + cd tomcat/output/build + + # Tomcat general files + install -dm 755 "${pkgdir}"/usr/share/tomcat10/bin + install -m 755 bin/* -t "${pkgdir}"/usr/share/tomcat10/bin/ + # commons-daemon is packaged on its own + rm "${pkgdir}"/usr/share/tomcat10/bin/{*.bat,commons-daemon*} + ln -s /usr/share/java/commons-daemon.jar "${pkgdir}"/usr/share/tomcat10/bin/commons-daemon.jar + + install -dm 755 "${pkgdir}"/usr/share/java/tomcat10 + install -m 644 lib/* -t "${pkgdir}"/usr/share/java/tomcat10/ + # eclipse-ecj is packaged on its own + rm "${pkgdir}"/usr/share/java/tomcat10/ecj-*.jar + ln -s ../eclipse-ecj.jar "${pkgdir}"/usr/share/java/tomcat10/ecj.jar + + ln -s /usr/share/java/tomcat10 "${pkgdir}"/usr/share/tomcat10/lib + + # We log through systemd but this would still be required for stock Tomcat logging + install -dm 775 -o ${_uid_tomcat} -g ${_gid_log} "${pkgdir}"/var/log/tomcat10 + ln -s /var/log/tomcat10 "${pkgdir}"/usr/share/tomcat10/logs + touch "${pkgdir}"/var/log/tomcat10/catalina.{out,err} + chgrp ${_gid_log} "${pkgdir}"/var/log/tomcat10/catalina.{out,err} + + install -dm 775 "${pkgdir}"/etc/tomcat10 + install -m 640 -g ${_gid_tomcat} conf/* -t "${pkgdir}"/etc/tomcat10/ + + install -dm 775 -g ${_gid_tomcat} "${pkgdir}"/etc/tomcat10/Catalina + ln -s /etc/tomcat10 "${pkgdir}"/usr/share/tomcat10/conf + + install -dm 775 "${pkgdir}"/var/lib/tomcat10 + cp -dr --no-preserve=ownership webapps "${pkgdir}"/var/lib/tomcat10/ + chown -R ${_uid_tomcat}:${_gid_tomcat} "${pkgdir}"/var/lib/tomcat10 + chmod 775 "${pkgdir}"/var/lib/tomcat10/webapps + ln -s /var/lib/tomcat10/webapps "${pkgdir}"/usr/share/tomcat10/webapps + + install -dm 1777 "${pkgdir}"/var/tmp + install -dm 775 -o ${_uid_tomcat} -g ${_gid_tomcat} "${pkgdir}"/var/tmp/tomcat10/{temp,work} + ln -s /var/tmp/tomcat10/temp "${pkgdir}"/usr/share/tomcat10/temp + ln -s /var/tmp/tomcat10/work "${pkgdir}"/usr/share/tomcat10/work + + install -Dm 644 ../../../tomcat10.service -t "${pkgdir}"/usr/lib/systemd/system/ + install -Dm 644 ../../../tomcat10.sysusers "${pkgdir}"/usr/lib/sysusers.d/tomcat10.conf + install -Dm 644 ../../../tomcat10.tmpfiles
[arch-commits] Commit in (7 files)
Date: Tuesday, March 16, 2021 @ 10:04:33 Author: alucryd Revision: 891779 try adding dotnet-core-3.1 again Added: dotnet-core-3.1/ dotnet-core-3.1/trunk/ dotnet-core-3.1/trunk/-core-setup-fix-computed-rid.patch dotnet-core-3.1/trunk/-coreclr-libicu-68.patch dotnet-core-3.1/trunk/-corefx-add-arch-rids.patch dotnet-core-3.1/trunk/-corefx-fix-build-clang10.patch dotnet-core-3.1/trunk/PKGBUILD + -core-setup-fix-computed-rid.patch | 75 +++ -coreclr-libicu-68.patch | 756 +++ -corefx-add-arch-rids.patch| 91 +++ -corefx-fix-build-clang10.patch| 13 PKGBUILD | 168 ++ 5 files changed, 1103 insertions(+) Added: dotnet-core-3.1/trunk/-core-setup-fix-computed-rid.patch === --- dotnet-core-3.1/trunk/-core-setup-fix-computed-rid.patch (rev 0) +++ dotnet-core-3.1/trunk/-core-setup-fix-computed-rid.patch 2021-03-16 10:04:33 UTC (rev 891779) @@ -0,0 +1,75 @@ +diff -rupN core-setup.0267ad09c6f2e2a37b23b7d230ffbf9e787dd388.orig/src/corehost/build.sh core-setup.0267ad09c6f2e2a37b23b7d230ffbf9e787dd388/src/corehost/build.sh +--- core-setup.0267ad09c6f2e2a37b23b7d230ffbf9e787dd388.orig/src/corehost/build.sh 2021-03-12 17:57:36.793772783 +0100 core-setup.0267ad09c6f2e2a37b23b7d230ffbf9e787dd388/src/corehost/build.sh 2021-03-12 18:00:39.490798906 +0100 +@@ -1,61 +1,5 @@ + #!/usr/bin/env bash + +-init_rid_plat() +-{ +-# Detect Distro +-if [ $__CrossBuild == 1 ]; then +-if [ -z $ROOTFS_DIR ]; then +-echo "ROOTFS_DIR is not defined." +-exit -1 +-else +-if [ -e $ROOTFS_DIR/etc/os-release ]; then +-source $ROOTFS_DIR/etc/os-release +-__rid_plat="$ID.$VERSION_ID" +-if [[ "$ID" == "alpine" ]]; then +-__rid_plat="linux-musl" +-fi +-fi +-echo "__rid_plat is $__rid_plat" +-fi +-else +-__rid_plat="" +-if [ -e /etc/os-release ]; then +-source /etc/os-release +-if [[ "$ID" == "rhel" ]]; then +-# remove the last version number +-VERSION_ID=${VERSION_ID%.*} +-fi +-__rid_plat="$ID.$VERSION_ID" +-if [[ "$ID" == "alpine" ]]; then +-__rid_plat="linux-musl" +-fi +-elif [ -e /etc/redhat-release ]; then +-local redhatRelease=$( --arch --hostver --apphostver --fxrver --policyver --commithash [--xcompiler ]" +@@ -186,8 +130,7 @@ fi + + # __base_rid is the base RID that corehost is shipped for, effectively, the name of the folder in "runtimes/{__base_rid}/native/" inside the nupkgs. + # __rid_plat is the OS portion of the RID. +-__rid_plat= +-init_rid_plat ++__rid_plat="arch" + + if [ -z $__rid_plat ]; then + echo "Unknown base rid (eg.: osx.10.12, ubuntu.14.04) being targeted" Added: dotnet-core-3.1/trunk/-coreclr-libicu-68.patch === --- dotnet-core-3.1/trunk/-coreclr-libicu-68.patch (rev 0) +++ dotnet-core-3.1/trunk/-coreclr-libicu-68.patch 2021-03-16 10:04:33 UTC (rev 891779) @@ -0,0 +1,756 @@ +diff -rupN coreclr.fa682a7bd0a7a1eb5f80904c10b88301eb33150c.orig/src/corefx/System.Globalization.Native/pal_calendarData.c coreclr.fa682a7bd0a7a1eb5f80904c10b88301eb33150c/src/corefx/System.Globalization.Native/pal_calendarData.c +--- coreclr.fa682a7bd0a7a1eb5f80904c10b88301eb33150c.orig/src/corefx/System.Globalization.Native/pal_calendarData.c 2021-03-12 14:51:31.467369566 +0100 coreclr.fa682a7bd0a7a1eb5f80904c10b88301eb33150c/src/corefx/System.Globalization.Native/pal_calendarData.c 2021-03-12 14:55:07.887506576 +0100 +@@ -115,8 +115,8 @@ int32_t GlobalizationNative_GetCalendars + { + UErrorCode err = U_ZERO_ERROR; + char locale[ULOC_FULLNAME_CAPACITY]; +-GetLocale(localeName, locale, ULOC_FULLNAME_CAPACITY, FALSE, ); +-UEnumeration* pEnum = ucal_getKeywordValuesForLocale("calendar", locale, TRUE, ); ++GetLocale(localeName, locale, ULOC_FULLNAME_CAPACITY, false, ); ++UEnumeration* pEnum = ucal_getKeywordValuesForLocale("calendar", locale, true, ); + int stringEnumeratorCount = uenum_count(pEnum, ); + int calendarsReturned = 0; + for (int i = 0; i < stringEnumeratorCount && calendarsReturned < calendarsCapacity; i++) +@@ -186,7 +186,7 @@ ResultCode GlobalizationNative_GetCalend + { + UErrorCode err = U_ZERO_ERROR; + char locale[ULOC_FULLNAME_CAPACITY]; +-GetLocale(localeName, locale, ULOC_FULLNAME_CAPACITY, FALSE, ); ++GetLocale(localeName, locale, ULOC_FULLNAME_CAPACITY, false, ); + + if (U_FAILURE(err)) +
[arch-commits] Commit in (7 files)
Date: Sunday, March 14, 2021 @ 16:15:32 Author: alucryd Revision: 891223 Add legacy dotnet 3.1 package Added: dotnet-core-3.1/ dotnet-core-3.1/trunk/ dotnet-core-3.1/trunk/-core-setup-fix-computed-rid.patch dotnet-core-3.1/trunk/-coreclr-libicu-68.patch dotnet-core-3.1/trunk/-corefx-add-arch-rids.patch dotnet-core-3.1/trunk/-corefx-fix-build-clang10.patch dotnet-core-3.1/trunk/PKGBUILD + -core-setup-fix-computed-rid.patch | 75 +++ -coreclr-libicu-68.patch | 756 +++ -corefx-add-arch-rids.patch| 91 +++ -corefx-fix-build-clang10.patch| 13 PKGBUILD | 168 ++ 5 files changed, 1103 insertions(+) Added: dotnet-core-3.1/trunk/-core-setup-fix-computed-rid.patch === --- dotnet-core-3.1/trunk/-core-setup-fix-computed-rid.patch (rev 0) +++ dotnet-core-3.1/trunk/-core-setup-fix-computed-rid.patch 2021-03-14 16:15:32 UTC (rev 891223) @@ -0,0 +1,75 @@ +diff -rupN core-setup.0267ad09c6f2e2a37b23b7d230ffbf9e787dd388.orig/src/corehost/build.sh core-setup.0267ad09c6f2e2a37b23b7d230ffbf9e787dd388/src/corehost/build.sh +--- core-setup.0267ad09c6f2e2a37b23b7d230ffbf9e787dd388.orig/src/corehost/build.sh 2021-03-12 17:57:36.793772783 +0100 core-setup.0267ad09c6f2e2a37b23b7d230ffbf9e787dd388/src/corehost/build.sh 2021-03-12 18:00:39.490798906 +0100 +@@ -1,61 +1,5 @@ + #!/usr/bin/env bash + +-init_rid_plat() +-{ +-# Detect Distro +-if [ $__CrossBuild == 1 ]; then +-if [ -z $ROOTFS_DIR ]; then +-echo "ROOTFS_DIR is not defined." +-exit -1 +-else +-if [ -e $ROOTFS_DIR/etc/os-release ]; then +-source $ROOTFS_DIR/etc/os-release +-__rid_plat="$ID.$VERSION_ID" +-if [[ "$ID" == "alpine" ]]; then +-__rid_plat="linux-musl" +-fi +-fi +-echo "__rid_plat is $__rid_plat" +-fi +-else +-__rid_plat="" +-if [ -e /etc/os-release ]; then +-source /etc/os-release +-if [[ "$ID" == "rhel" ]]; then +-# remove the last version number +-VERSION_ID=${VERSION_ID%.*} +-fi +-__rid_plat="$ID.$VERSION_ID" +-if [[ "$ID" == "alpine" ]]; then +-__rid_plat="linux-musl" +-fi +-elif [ -e /etc/redhat-release ]; then +-local redhatRelease=$( --arch --hostver --apphostver --fxrver --policyver --commithash [--xcompiler ]" +@@ -186,8 +130,7 @@ fi + + # __base_rid is the base RID that corehost is shipped for, effectively, the name of the folder in "runtimes/{__base_rid}/native/" inside the nupkgs. + # __rid_plat is the OS portion of the RID. +-__rid_plat= +-init_rid_plat ++__rid_plat="arch" + + if [ -z $__rid_plat ]; then + echo "Unknown base rid (eg.: osx.10.12, ubuntu.14.04) being targeted" Added: dotnet-core-3.1/trunk/-coreclr-libicu-68.patch === --- dotnet-core-3.1/trunk/-coreclr-libicu-68.patch (rev 0) +++ dotnet-core-3.1/trunk/-coreclr-libicu-68.patch 2021-03-14 16:15:32 UTC (rev 891223) @@ -0,0 +1,756 @@ +diff -rupN coreclr.fa682a7bd0a7a1eb5f80904c10b88301eb33150c.orig/src/corefx/System.Globalization.Native/pal_calendarData.c coreclr.fa682a7bd0a7a1eb5f80904c10b88301eb33150c/src/corefx/System.Globalization.Native/pal_calendarData.c +--- coreclr.fa682a7bd0a7a1eb5f80904c10b88301eb33150c.orig/src/corefx/System.Globalization.Native/pal_calendarData.c 2021-03-12 14:51:31.467369566 +0100 coreclr.fa682a7bd0a7a1eb5f80904c10b88301eb33150c/src/corefx/System.Globalization.Native/pal_calendarData.c 2021-03-12 14:55:07.887506576 +0100 +@@ -115,8 +115,8 @@ int32_t GlobalizationNative_GetCalendars + { + UErrorCode err = U_ZERO_ERROR; + char locale[ULOC_FULLNAME_CAPACITY]; +-GetLocale(localeName, locale, ULOC_FULLNAME_CAPACITY, FALSE, ); +-UEnumeration* pEnum = ucal_getKeywordValuesForLocale("calendar", locale, TRUE, ); ++GetLocale(localeName, locale, ULOC_FULLNAME_CAPACITY, false, ); ++UEnumeration* pEnum = ucal_getKeywordValuesForLocale("calendar", locale, true, ); + int stringEnumeratorCount = uenum_count(pEnum, ); + int calendarsReturned = 0; + for (int i = 0; i < stringEnumeratorCount && calendarsReturned < calendarsCapacity; i++) +@@ -186,7 +186,7 @@ ResultCode GlobalizationNative_GetCalend + { + UErrorCode err = U_ZERO_ERROR; + char locale[ULOC_FULLNAME_CAPACITY]; +-GetLocale(localeName, locale, ULOC_FULLNAME_CAPACITY, FALSE, ); ++GetLocale(localeName, locale, ULOC_FULLNAME_CAPACITY, false, ); + + if (U_FAILURE(err)) + return
[arch-commits] Commit in (7 files)
Date: Saturday, March 13, 2021 @ 17:03:01 Author: felixonmars Revision: 890364 move old lsp-test to lsp0 namespace Added: haskell-lsp-test/ haskell-lsp-test/repos/ haskell-lsp-test/trunk/ haskell-lsp-test/trunk/PKGBUILD haskell-lsp0-test/ Modified: haskell-lsp0-test/trunk/PKGBUILD Deleted: haskell-lsp-test/ --+ haskell-lsp-test/trunk/PKGBUILD | 63 + haskell-lsp0-test/trunk/PKGBUILD |8 ++-- 2 files changed, 67 insertions(+), 4 deletions(-) Added: haskell-lsp-test/trunk/PKGBUILD === --- haskell-lsp-test/trunk/PKGBUILD (rev 0) +++ haskell-lsp-test/trunk/PKGBUILD 2021-03-13 17:03:01 UTC (rev 890364) @@ -0,0 +1,63 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.13.0.0 +pkgrel=1 +pkgdesc="Functional test framework for LSP servers." +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lens' 'haskell-lsp' 'haskell-lsp-types' + 'haskell-parser-combinators' 'haskell-some' 'haskell-unliftio' + 'haskell-unordered-containers') +makedepends=('ghc' 'uusi' 'haskell-hspec') +# https://github.com/bubba/lsp-test/issues/92 +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('4b9888d25aa749e1be37ac22c8a7c90e4dbb34983797f05a9be07ed775cf9a38') + +prepare() { + cd $_hkgname-$pkgver + gen-setup + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-fdummyserver + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + # https://github.com/bubba/lsp-test/issues/93 + runhaskell Setup test || echo "Tests failed" +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +} Modified: haskell-lsp0-test/trunk/PKGBUILD === --- haskell-lsp-test/trunk/PKGBUILD 2021-03-13 16:41:51 UTC (rev 890363) +++ haskell-lsp0-test/trunk/PKGBUILD2021-03-13 17:03:01 UTC (rev 890364) @@ -1,16 +1,16 @@ # Maintainer: Felix Yan _hkgname=lsp-test -pkgname=haskell-lsp-test +pkgname=haskell-lsp0-test pkgver=0.11.0.7 -pkgrel=113 -pkgdesc="Functional test framework for LSP servers" +pkgrel=1 +pkgdesc="Functional test framework for LSP servers (Legacy 0.x version)" url="https://github.com/bubba/lsp-test#readme; license=("BSD") arch=('x86_64') depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' - 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-data-default' 'haskell-lsp0' 'haskell-lens' 'haskell-parser-combinators' 'haskell-unordered-containers') makedepends=('ghc' 'uusi' 'haskell-hspec') # Hackage source is missing test data
[arch-commits] Commit in (7 files)
Date: Saturday, March 13, 2021 @ 16:33:26 Author: felixonmars Revision: 890358 move old lsp 0.x package to lsp0 namespace Added: haskell-lsp/ haskell-lsp/repos/ haskell-lsp/trunk/ haskell-lsp/trunk/PKGBUILD haskell-lsp0/ Modified: haskell-lsp0/trunk/PKGBUILD Deleted: haskell-lsp/ -+ haskell-lsp/trunk/PKGBUILD | 49 ++ haskell-lsp0/trunk/PKGBUILD |6 ++--- 2 files changed, 52 insertions(+), 3 deletions(-) Added: haskell-lsp/trunk/PKGBUILD === --- haskell-lsp/trunk/PKGBUILD (rev 0) +++ haskell-lsp/trunk/PKGBUILD 2021-03-13 16:33:26 UTC (rev 890358) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=lsp +pkgname=haskell-lsp +pkgver=1.1.1.0 +pkgrel=1 +pkgdesc="Haskell library for the Microsoft Language Server Protocol" +url="https://github.com/alanz/lsp; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-attoparsec' 'haskell-data-default' + 'haskell-dependent-map' 'haskell-hashable' 'haskell-hslogger' 'haskell-lens' + 'haskell-lsp-types' 'haskell-network-uri' 'haskell-random' 'haskell-scientific' + 'haskell-sorted-list' 'haskell-unliftio-core' 'haskell-unordered-containers' 'haskell-uuid') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-hspec-discover' + 'haskell-quickcheck-instances' 'haskell-rope-utf16-splay') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('3941236a681b1b31d5e99798fd0fc7bff8428254cad666f108eaf11a36f9cd12') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +} Modified: haskell-lsp0/trunk/PKGBUILD === --- haskell-lsp/trunk/PKGBUILD 2021-03-13 16:32:15 UTC (rev 890357) +++ haskell-lsp0/trunk/PKGBUILD 2021-03-13 16:33:26 UTC (rev 890358) @@ -1,10 +1,10 @@ # Maintainer: Felix Yan _hkgname=haskell-lsp -pkgname=haskell-lsp +pkgname=haskell-lsp0 pkgver=0.24.0.0 -pkgrel=36 -pkgdesc="Haskell library for the Microsoft Language Server Protocol" +pkgrel=1 +pkgdesc="Haskell library for the Microsoft Language Server Protocol (Legacy 0.x version)" url="https://github.com/alanz/haskell-lsp; license=("MIT") arch=('x86_64')
[arch-commits] Commit in (7 files)
Date: Friday, February 26, 2021 @ 23:03:29 Author: heftig Revision: 874471 extra2community: Moving apricots from extra to community Added: apricots/ apricots/repos/ apricots/trunk/ apricots/trunk/PKGBUILD apricots/trunk/apricots-0.2.6-freealut.patch apricots/trunk/apricots.desktop apricots/trunk/apricots.png ---+ PKGBUILD | 41 + apricots-0.2.6-freealut.patch | 76 apricots.desktop | 10 + apricots.png |1 4 files changed, 128 insertions(+) Added: apricots/trunk/PKGBUILD === --- apricots/trunk/PKGBUILD (rev 0) +++ apricots/trunk/PKGBUILD 2021-02-26 23:03:29 UTC (rev 874471) @@ -0,0 +1,41 @@ +# Contributor: Damir Perisa + +pkgname=apricots +pkgver=0.2.6 +pkgrel=12 +pkgdesc="A simple 2D flying/bombing game similar to basic side scrollers" +url="https://web.archive.org/web/20060426053238/http://www.fishies.org.uk/apricots.html; +arch=(x86_64) +license=(GPL) +depends=(gcc-libs sdl freealut hicolor-icon-theme) +backup=(etc/apricots.cfg) +source=("https://web.archive.org/web/20060426053238/http://www.fishies.org.uk/apricots-0.2.6.tar.gz; +apricots.desktop apricots.png +apricots-0.2.6-freealut.patch) +sha512sums=('37f72f527eff0df9de8e7b69c8c6efc8857445095282e6a6a5493533aa75d967ddfc33a4f3776972f46b43d7040aff011e3888e91eff4ee831fab610bf9695b6' + '9f2255f440fef17dccb38474edc5bef9f9770d026bbbc074e0a4dbd4bcc6fb639e00e7c6f370c67f478d6bc0d869f3c40bcfc0b493a08bff531fd754b7282d75' + '77061be211c4f03e21af3b6c0f43d1be6b1d2b323415d7e0c03daf1b29d6010ac69b1f7e27057ff399f91987f6b10b8e78f66d669cb81f396ae2cfc209b41983' + '002cc098dc0239c2fb771560d0957b93242d03055ade9a02e015e8a1e867ef06feb66499e3a39d1fea5261ede98b7193e256a0fc2cccb785df4e709cd3ca6efc') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../apricots-0.2.6-freealut.patch + autoreconf -fvi +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + install -Dt . /usr/bin/libtool + make +} + +package() { + make -C $pkgname-$pkgver install prefix="$pkgdir/usr" + + install -Dt "$pkgdir/etc" -m644 "$pkgdir/usr/share/apricots/apricots.cfg" + ln -srft "$pkgdir/usr/share/apricots" "$pkgdir/etc/apricots.cfg" + + install -Dt "$pkgdir/usr/share/applications" -m644 apricots.desktop + install -Dt "$pkgdir/usr/share/icons/hicolor/24x24/apps" -m644 apricots.png +} Added: apricots/trunk/apricots-0.2.6-freealut.patch === --- apricots/trunk/apricots-0.2.6-freealut.patch (rev 0) +++ apricots/trunk/apricots-0.2.6-freealut.patch2021-02-26 23:03:29 UTC (rev 874471) @@ -0,0 +1,76 @@ +diff -u -r apricots-0.2.6/apricots/apricots.cpp apricots-0.2.6-freealut/apricots/apricots.cpp +--- apricots-0.2.6/apricots/apricots.cpp 2003-08-05 22:01:16.0 + apricots-0.2.6-freealut/apricots/apricots.cpp 2019-09-21 11:16:31.723765376 + +@@ -16,6 +16,7 @@ + int main(int, char**){ + #endif + ++atexit(SDL_Quit); + // Initialize data + gamedata g; + init_data(g); +diff -u -r apricots-0.2.6/apricots/sampleio.cpp apricots-0.2.6-freealut/apricots/sampleio.cpp +--- apricots-0.2.6/apricots/sampleio.cpp 2003-08-05 23:21:22.0 + apricots-0.2.6-freealut/apricots/sampleio.cpp 2019-09-21 11:17:03.164207665 + +@@ -13,6 +13,9 @@ + // Code cleanup + + #include "sampleio.h" ++#include ++#include ++#include + + // Empty Noaudio sound routines + #if AP_AUDIO==AUDIO_NOAUDIO +@@ -74,12 +77,9 @@ + alListenerfv(AL_ORIENTATION, front ); + + // Load in samples +- ALvoid* data = malloc(5 * (512 * 3) * 1024); + alGenBuffers(numsamples, samples); + + for (int i = 0; i < numsamples; i++){ +-ALsizei freq; +-ALboolean fileok; + // Evil OpenAL portability fix done here + #ifdef _WIN32 + ALenum format; +@@ -87,15 +87,12 @@ + alutLoadWAVFile(filenames[i],); + fileok = (alGetError() == AL_NO_ERROR); + #else +-ALsizei format; +-ALsizei trash; +-fileok = alutLoadWAV(filenames[i],); ++ samples[i] = alutCreateBufferFromFile(filenames[i]); + #endif +-if (!fileok){ ++if (samples[i] == AL_NONE){ + cerr << "sampleio: could not open " << filenames[i] << endl; + exit(1); + } +-alBufferData(samples[i], format, data, filelen, freq); + } + + // Generate Sources +@@ -107,7 +104,6 @@ + alSourcefv(sources[j], AL_ORIENTATION, back ); + } + +- free(data); + + } + +diff -u -r apricots-0.2.6/configure.in apricots-0.2.6-freealut/configure.in +--- apricots-0.2.6/configure.in2003-08-13 01:11:25.0 + apricots-0.2.6-freealut/configure.in 2019-09-21 11:16:31.723765376 + +@@ -100,7 +100,8 @@
[arch-commits] Commit in (7 files)
Date: Monday, February 15, 2021 @ 02:35:38 Author: polyzen Revision: 860367 Remove tests dir in package() for reproducibility Seems rebuilderd does not run check(), as Python cache files generated there do not show in the output. Modified: python-sphinxcontrib-applehelp/trunk/PKGBUILD python-sphinxcontrib-devhelp/trunk/PKGBUILD python-sphinxcontrib-htmlhelp/trunk/PKGBUILD python-sphinxcontrib-jsmath/trunk/PKGBUILD python-sphinxcontrib-qthelp/trunk/PKGBUILD python-sphinxcontrib-serializinghtml/trunk/PKGBUILD urlwatch/trunk/PKGBUILD -+ python-sphinxcontrib-applehelp/trunk/PKGBUILD |3 ++- python-sphinxcontrib-devhelp/trunk/PKGBUILD |3 ++- python-sphinxcontrib-htmlhelp/trunk/PKGBUILD|3 ++- python-sphinxcontrib-jsmath/trunk/PKGBUILD |3 ++- python-sphinxcontrib-qthelp/trunk/PKGBUILD |3 ++- python-sphinxcontrib-serializinghtml/trunk/PKGBUILD |3 ++- urlwatch/trunk/PKGBUILD |3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) Modified: python-sphinxcontrib-applehelp/trunk/PKGBUILD === --- python-sphinxcontrib-applehelp/trunk/PKGBUILD 2021-02-15 02:35:30 UTC (rev 860366) +++ python-sphinxcontrib-applehelp/trunk/PKGBUILD 2021-02-15 02:35:38 UTC (rev 860367) @@ -3,7 +3,7 @@ _name=sphinxcontrib-applehelp pkgname=python-sphinxcontrib-applehelp pkgver=1.0.2 -pkgrel=3 +pkgrel=4 pkgdesc='Sphinx extension which outputs Apple help books' arch=('any') url=https://github.com/sphinx-doc/sphinxcontrib-applehelp @@ -25,6 +25,7 @@ package() { cd $_name-$pkgver + rm -r tests python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE } Modified: python-sphinxcontrib-devhelp/trunk/PKGBUILD === --- python-sphinxcontrib-devhelp/trunk/PKGBUILD 2021-02-15 02:35:30 UTC (rev 860366) +++ python-sphinxcontrib-devhelp/trunk/PKGBUILD 2021-02-15 02:35:38 UTC (rev 860367) @@ -3,7 +3,7 @@ _name=sphinxcontrib-devhelp pkgname=python-sphinxcontrib-devhelp pkgver=1.0.2 -pkgrel=3 +pkgrel=4 pkgdesc='Sphinx extension which outputs Devhelp document' arch=('any') url=https://github.com/sphinx-doc/sphinxcontrib-devhelp @@ -25,6 +25,7 @@ package() { cd $_name-$pkgver + rm -r tests python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE } Modified: python-sphinxcontrib-htmlhelp/trunk/PKGBUILD === --- python-sphinxcontrib-htmlhelp/trunk/PKGBUILD2021-02-15 02:35:30 UTC (rev 860366) +++ python-sphinxcontrib-htmlhelp/trunk/PKGBUILD2021-02-15 02:35:38 UTC (rev 860367) @@ -3,7 +3,7 @@ _name=sphinxcontrib-htmlhelp pkgname=python-sphinxcontrib-htmlhelp pkgver=1.0.3 -pkgrel=3 +pkgrel=4 pkgdesc='Sphinx extension which renders HTML help files' arch=('any') url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp @@ -25,6 +25,7 @@ package() { cd $_name-$pkgver + rm -r tests python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE } Modified: python-sphinxcontrib-jsmath/trunk/PKGBUILD === --- python-sphinxcontrib-jsmath/trunk/PKGBUILD 2021-02-15 02:35:30 UTC (rev 860366) +++ python-sphinxcontrib-jsmath/trunk/PKGBUILD 2021-02-15 02:35:38 UTC (rev 860367) @@ -3,7 +3,7 @@ _name=sphinxcontrib-jsmath pkgname=python-sphinxcontrib-jsmath pkgver=1.0.1 -pkgrel=6 +pkgrel=7 pkgdesc='Sphinx extension which renders display math in HTML via JavaScript' arch=('any') url=https://github.com/sphinx-doc/sphinxcontrib-jsmath @@ -25,6 +25,7 @@ package() { cd $_name-$pkgver + rm -r tests python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE } Modified: python-sphinxcontrib-qthelp/trunk/PKGBUILD === --- python-sphinxcontrib-qthelp/trunk/PKGBUILD 2021-02-15 02:35:30 UTC (rev 860366) +++ python-sphinxcontrib-qthelp/trunk/PKGBUILD 2021-02-15 02:35:38 UTC (rev 860367) @@ -3,7 +3,7 @@ _name=sphinxcontrib-qthelp pkgname=python-sphinxcontrib-qthelp pkgver=1.0.3 -pkgrel=3 +pkgrel=4 pkgdesc='Sphinx extension which outputs QtHelp document' arch=('any') url=https://github.com/sphinx-doc/sphinxcontrib-qthelp @@ -25,6 +25,7 @@ package() { cd $_name-$pkgver + rm -r tests python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE } Modified: python-sphinxcontrib-serializinghtml/trunk/PKGBUILD
[arch-commits] Commit in (7 files)
Date: Thursday, January 28, 2021 @ 13:10:35 Author: jelle Revision: 833276 Add hedgedoc New service for Arch Linux Added: hedgedoc/ hedgedoc/repos/ hedgedoc/trunk/ hedgedoc/trunk/PKGBUILD hedgedoc/trunk/hedgedoc.service hedgedoc/trunk/sysusers.conf hedgedoc/trunk/tmpfiles.conf --+ PKGBUILD | 132 + hedgedoc.service | 46 ++ sysusers.conf|1 tmpfiles.conf|2 4 files changed, 181 insertions(+) Added: hedgedoc/trunk/PKGBUILD === --- hedgedoc/trunk/PKGBUILD (rev 0) +++ hedgedoc/trunk/PKGBUILD 2021-01-28 13:10:35 UTC (rev 833276) @@ -0,0 +1,132 @@ +# Maintainer: Jelle van der Waa + +pkgname=hedgedoc +pkgver=1.7.2 +pkgrel=1 +pkgdesc="Platform to write and share markdown" +arch=('any') +url='https://github.com/hedgedoc/hedgedoc' +license=('AGPL3') +depends=('nodejs' 'npm') +makedepends=('nodejs' 'sqlite' 'python' 'node-gyp' 'git' 'yarn') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'sqlite: sqlite database support') +backup=("etc/webapps/${pkgname}"/{config.json,sequelizerc}) +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hedgedoc/${pkgname}/archive/${pkgver}.tar.gz; +"sysusers.conf" +"tmpfiles.conf" +"hedgedoc.service") +options=(!emptydirs) +sha1sums=('d9420b702529558bddcbc7686ba8f0ce76e8b3c9' + 'dc4220c9d7e21d2b5b5c54462bb681375d1cce62' + 'faee704ac2e65e565f7bdcb527c2d0c73c20e682' + '1214d01fbe0c042f5a5b2e3790d1f02b3fcb9d95') + +build() { + cd "${pkgname}-${pkgver}" + # Build steps from Dockerfile + yarn install --production=false + yarn run build + rm -rf node_modules + # Production modules + yarn install --production=true +} + +package() { + cd "${pkgname}-${pkgver}" + + # removing unneeded files and directories + find node_modules -type f \ + \( \ + -iname '*Makefile*' -o \ + -iname '*armv*' -o \ + -iname '*.cache' -o \ + -iname '*Makefile*' -o \ + -iname '*appveyor.yml' -o \ + -iname '*.babelrc' -o \ + -iname '*.bak' -o \ + -iname '*bower.json' -o \ + -iname '*.c' -o \ + -iname '*.cc' -o \ + -iname '*.cpp' -o \ + -iname '*.md' -o \ + -iname '*.markdown' -o \ + -iname '*.rst' -o \ + -iname '*.nycrc' -o \ + -iname '*.npmignore' -o \ + -iname '*.editorconfig' -o \ + -iname '*.el' -o \ + -iname '*.eslintignore' -o \ + -iname '*.eslintrc*' -o \ + -iname '*.fimbullinter.yaml' -o \ + -iname '*.gitattributes' -o \ + -iname '*.gitmodules' -o \ + -iname '*.h' -o \ + -iname '*.html' -o \ + -iname '*.jshintrc' -o \ + -iname '*.jscs.json' -o \ + -iname '*.log' -o \ + -iname '*logo.svg' -o \ + -iname '*.nvmrc' -o \ + -iname '*.o' -o \ + -iname '*package-lock.json' -o \ + -iname '*.travis.yml' -o \ + -iname '*.prettierrc' -o \ + -iname '*.sh' -o \ + -iname '*.tags*' -o \ + -iname '*.Dockerfile*' -o \ + -iname '*.tm_properties' -o \ + -iname '*.wotanrc.yaml' -o \ + -iname '*tsconfig.json' -o \ + -iname '*yarn.lock' \ + \) \ + -delete + + find node_modules -type d \ + \( \ + -iwholename '*.github' -o \ + -iwholename '*.tscache' -o \ + -iwholename '*/man' -o \ + -iwholename '*/test' -o \ + -iwholename '*/scripts' -o \ + -iwholename '*/git-hooks' -o \ + -iwholename '*/linux-arm64' -o \ + -iwholename '*/linux-armvy' -o \ + -iwholename '*/linux-armv7' -o \ + -iwholename '*/win32-ia32' -o \ + -iwholename '*/win32-x64' -o \ + -iwholename '*/darwin-x64' \ + \) \ + -exec rm -rvf {} + + + install -m0755 -d "${pkgdir}/usr/share/webapps/${pkgname}" + + # install application parts + cp -a bin public lib locales node_modules "${pkgdir}/usr/share/webapps/${pkgname}" + install -m0644 app.js -t "${pkgdir}/usr/share/webapps/${pkgname}" + install -m0644 package.json -t "${pkgdir}/usr/share/webapps/${pkgname}" + + # Make public/uploads a symlink to the hedgedoc writable directory. + # An alternative would be to configure the uploadsPath in config.json. + rm "${pkgdir}/usr/share/webapps/${pkgname}/public/uploads/.gitkeep" + rm -d "${pkgdir}/usr/share/webapps/${pkgname}/public/uploads" + ln -s "/var/lib/${pkgname}/uploads" \ + "${pkgdir}/usr/share/webapps/${pkgname}/public/uploads" + + + # Setup config files in /etc. + install -m0755 -d "${pkgdir}/etc/webapps/${pkgname}" + cp config.json.example "${pkgdir}/etc/webapps/${pkgname}/config.json" + cp .sequelizerc.example