[arch-commits] Commit in brltty/trunk (2 files)
David Runge
dvzrv at archlinux.org
Thu Jan 21 21:55:58 UTC 2021
Date: Thursday, January 21, 2021 @ 21:55:58
Author: dvzrv
Revision: 406599
upgpkg: brltty 6.2-3: Rebuild to fix directory ownership.
Replace patch for polkit path permissions with install call.
Fixes https://bugs.archlinux.org/task/69394
Modified:
brltty/trunk/PKGBUILD
Deleted:
brltty/trunk/brltty-6.2-polkit_path_permission.patch
-----------------------------------------+
PKGBUILD | 9 ++++-----
brltty-6.2-polkit_path_permission.patch | 12 ------------
2 files changed, 4 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-21 19:21:49 UTC (rev 406598)
+++ PKGBUILD 2021-01-21 21:55:58 UTC (rev 406599)
@@ -6,7 +6,7 @@
pkgname=brltty
pkgver=6.2
-pkgrel=2
+pkgrel=3
pkgdesc="Braille display driver for Linux/Unix"
arch=('x86_64')
url="https://brltty.app"
@@ -35,19 +35,15 @@
options=('!emptydirs')
install=brltty.install
source=("https://brltty.app/archive/${pkgname}-${pkgver}.tar.bz2"
- "${pkgname}-6.2-polkit_path_permission.patch"
"${pkgname}-6.2-systemd_sysusers_groups.patch"
)
sha512sums=('9cf102e87c082ed4e8a88b08fe4c2c40fde7bf566ba64ba39fbc4e392d639816b4dc176c20713a6ab6aa244de1aecdb80533b21331f01726b86d85d100090a55'
- '431e54b7b69d5f3cce820a2c6fdef60a4691a5383d449b9cd140a64aec2b38e837697797701e0622be59cdea1c5ccc4385946327b26aff63b9fdb8636c35903d'
'32ba91271e2247b4a330cd213ed75b591268cb99a79c2efd9ae675804faee027c6b2f782768cb2329a65fc914ca2400b2901f35ce1fc2522c6691b343799eb02')
b2sums=('6aeeeeea27f5069944bc1822087f3b58948192951d33790d61085917d875bc4041d04f5993171a7559154a5b6eee0633fce510fef040ed5b6f4b00fc9298dfd5'
- '6fd79113054c541740834ce7e3aefe779ee5f5c98618c0669cb6412ed09645d1037ac155c3d2c1f65087bb23567c1f4d55add8fc9c63568464d120a30cd6ee2c'
'036e36d558594bb06af1eb41ff5fc9ae52ccf4bad54556c3f4f81a5e2f31f574039835e5e756455527c327a73d563a3db54a9f32e3478545a2a22c2725aaeee2')
prepare() {
cd "${pkgname}-${pkgver}"
- patch -Np1 -i ../"${pkgname}-6.2-polkit_path_permission.patch"
patch -Np1 -i ../"${pkgname}-6.2-systemd_sysusers_groups.patch"
./autogen
}
@@ -77,4 +73,7 @@
make INSTALL_ROOT="${pkgdir}" install-dracut
make INSTALL_ROOT="${pkgdir}" install-polkit
install -vDm 644 "Documents/${pkgname}.conf" -t "${pkgdir}/etc/"
+
+ # fix directory permission and ownership
+ install -vdm 750 -o root -g 102 "$pkgdir/usr/share/polkit-1/rules.d"
}
Deleted: brltty-6.2-polkit_path_permission.patch
===================================================================
--- brltty-6.2-polkit_path_permission.patch 2021-01-21 19:21:49 UTC (rev 406598)
+++ brltty-6.2-polkit_path_permission.patch 2021-01-21 21:55:58 UTC (rev 406599)
@@ -1,12 +0,0 @@
-diff -ruN a/Authorization/Polkit/Makefile.in b/Authorization/Polkit/Makefile.in
---- a/Authorization/Polkit/Makefile.in 2020-12-11 23:51:58.000000000 +0100
-+++ b/Authorization/Polkit/Makefile.in 2021-01-20 23:49:22.918774464 +0100
-@@ -35,7 +35,7 @@
- $(INSTALL_DATA) $(SRC_DIR)/actions $(POLKIT_ACTIONS_DIRECTORY)/$(POLKIT_PACKAGE_NAME).$(POLKIT_ACTIONS_EXTENSION)
-
- install-rules-directory:
-- $(INSTALL_DIRECTORY) $(POLKIT_RULES_DIRECTORY)
-+ install -vdm 750 $(POLKIT_RULES_DIRECTORY)
-
- install-rules: install-rules-directory
- $(INSTALL_DATA) $(SRC_DIR)/rules $(POLKIT_RULES_DIRECTORY)/$(POLKIT_PACKAGE_NAME).$(POLKIT_RULES_EXTENSION)
More information about the arch-commits
mailing list