[arch-commits] Commit in fprintd/trunk (PKGBUILD dirmode.diff)

Jan Steffens heftig at archlinux.org
Fri Dec 11 16:33:44 UTC 2020


    Date: Friday, December 11, 2020 @ 16:33:44
  Author: heftig
Revision: 403987

1.90.7-3: FS#68932 fix statedir mode

Added:
  fprintd/trunk/dirmode.diff
Modified:
  fprintd/trunk/PKGBUILD

--------------+
 PKGBUILD     |   11 ++++++++---
 dirmode.diff |   15 +++++++++++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-11 16:30:30 UTC (rev 403986)
+++ PKGBUILD	2020-12-11 16:33:44 UTC (rev 403987)
@@ -3,7 +3,7 @@
 
 pkgname=fprintd
 pkgver=1.90.7
-pkgrel=2
+pkgrel=3
 pkgdesc="D-Bus service to access fingerprint readers"
 url="https://fprint.freedesktop.org/"
 arch=(x86_64)
@@ -13,8 +13,10 @@
              python-dbusmock)
 groups=(fprint)
 _commit=4612c1f3ed6e0acb7fda392ca0e5201107e00818  # tags/v1.90.7^0
-source=("git+https://gitlab.freedesktop.org/libfprint/fprintd.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://gitlab.freedesktop.org/libfprint/fprintd.git#commit=$_commit"
+        dirmode.diff)
+sha256sums=('SKIP'
+            'f57bd61e28a8c5cb183f27d3aba5847ae2a5e3ba9d9796bfd4a967caa173bb49')
 
 pkgver() {
   cd $pkgname
@@ -23,6 +25,9 @@
 
 prepare() {
   cd $pkgname
+
+  # Fix StateDirectoryMode https://bugs.archlinux.org/task/68932
+  git apply -3 ../dirmode.diff
 }
 
 build() {

Added: dirmode.diff
===================================================================
--- dirmode.diff	                        (rev 0)
+++ dirmode.diff	2020-12-11 16:33:44 UTC (rev 403987)
@@ -0,0 +1,15 @@
+ data/fprintd.service.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git c/data/fprintd.service.in i/data/fprintd.service.in
+index 9ea7a2a..02bd13e 100644
+--- c/data/fprintd.service.in
++++ i/data/fprintd.service.in
+@@ -13,6 +13,7 @@ ProtectKernelTunables=true
+ ProtectControlGroups=true
+ # This always corresponds to /var/lib/fprint
+ StateDirectory=fprint
++StateDirectoryMode=0700
+ ProtectHome=true
+ PrivateTmp=true
+ 



More information about the arch-commits mailing list