[arch-commits] Commit in fluidsynth/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Sep 7 08:38:58 UTC 2022
Date: Wednesday, September 7, 2022 @ 08:38:57
Author: dvzrv
Revision: 455216
upgpkg: fluidsynth 2.2.9-2: Rebuild to apply upstreamed patch for removing wrong systemd sandboxing options.
This rebuild fixes https://bugs.archlinux.org/task/75821 and https://github.com/FluidSynth/fluidsynth/issues/1147
Modified:
fluidsynth/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-07 07:03:18 UTC (rev 455215)
+++ PKGBUILD 2022-09-07 08:38:57 UTC (rev 455216)
@@ -4,7 +4,7 @@
pkgname=fluidsynth
pkgver=2.2.9
-pkgrel=1
+pkgrel=2
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
arch=(x86_64)
url="https://www.fluidsynth.org/"
@@ -16,10 +16,20 @@
provides=(libfluidsynth.so soundfont-synthesizer)
backup=(etc/conf.d/$pkgname)
options=(debug)
-source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz)
-sha512sums=('90f44f6d7a4ed504eea5e2d39d8da2e0072bef746f3d969e367f0bab36a4cff479a98e795dc8b6b58b565fb266c44a137a14e98c7e4c77d1be3b300b8c066600')
-b2sums=('a6b4a19737d01e86a80084cdf88897da9af7d2c50be80fb0227a1d70effb8551667ae27f43ce63591830acfdef31ff0d99d51e3160b9b09c274637b259a82833')
+source=(
+ $pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
+ $pkgname-2.2.9-user_service_hardening.patch::https://github.com/FluidSynth/fluidsynth/pull/1148/commits/ecd5f01ad3078e391a289563e9a77db015a6bc3a.patch
+)
+sha512sums=('90f44f6d7a4ed504eea5e2d39d8da2e0072bef746f3d969e367f0bab36a4cff479a98e795dc8b6b58b565fb266c44a137a14e98c7e4c77d1be3b300b8c066600'
+ '25ef95db02aa06e4efdca59b744986f30108624141a8d57497b93514ffc5b6a158097fea1ea468e4ffa90614791dfc16fe141d66e5cb36cd76cf1de242fc15d9')
+b2sums=('a6b4a19737d01e86a80084cdf88897da9af7d2c50be80fb0227a1d70effb8551667ae27f43ce63591830acfdef31ff0d99d51e3160b9b09c274637b259a82833'
+ '453cc16f804dcb04f6ef2639fa32bfd1e99414584dbe3519ed26d73bd0aee2ad7a333e124a350ab02443694f0766473b4faa69246def24ec85af32ba23b3d049')
+prepare() {
+ # remove sandboxing options only available to systemd system services: https://github.com/FluidSynth/fluidsynth/issues/1147
+ patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.2.9-user_service_hardening.patch
+}
+
build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
More information about the arch-commits
mailing list