[arch-commits] Commit in stratisd/trunk (PKGBUILD)
Jiachen Yang
farseerfc at archlinux.org
Fri Jan 17 04:38:14 UTC 2020
Date: Friday, January 17, 2020 @ 04:38:14
Author: farseerfc
Revision: 552811
upgpkg: stratisd 2.0.0-2: stratisd: remove --debug option in dbus config
Modified:
stratisd/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-17 01:06:21 UTC (rev 552810)
+++ PKGBUILD 2020-01-17 04:38:14 UTC (rev 552811)
@@ -3,7 +3,7 @@
pkgname='stratisd'
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
pkgdesc='Easy to use local storage management for Linux.'
arch=('x86_64')
url='https://stratis-storage.github.io/'
@@ -11,9 +11,23 @@
makedepends=('asciidoc' 'cargo' 'rust')
depends=('dbus')
optdepends=('stratis-cli: command line interface')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stratis-storage/stratisd/archive/v${pkgver}.tar.gz")
-sha256sums=('d67d8bea566262cfc60a1596af98b3b7da5324b822a6c4d2f934794223766bf7')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stratis-storage/stratisd/archive/v${pkgver}.tar.gz"
+ "pr1704.patch::https://patch-diff.githubusercontent.com/raw/stratis-storage/stratisd/pull/1704.patch")
+sha256sums=('d67d8bea566262cfc60a1596af98b3b7da5324b822a6c4d2f934794223766bf7'
+ 'ee019eaf9cd332094e822cd75714be6e3934e738574b13c918deb1c866794523')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+
+ # patch double parens as in https://github.com/stratis-storage/stratisd/pull/1704
+ patch -Np1 -i ../pr1704.patch
+
+ # patch systemd config
+ sed -i 's,/usr/libexec,/usr/bin,g' stratisd.service
+ # patch dbus config
+ sed -i 's, --debug,,g' org.storage.stratis2.service
+}
+
build() {
cd "${pkgname}-${pkgver}"
@@ -20,9 +34,6 @@
# Release
make release
make stratisd.8
-
- # patch systemd config
- sed -i 's,/usr/libexec,/usr/bin,g' stratisd.service
}
check() {
More information about the arch-commits
mailing list