[arch-commits] Commit in gnome-user-share/repos (3 files)
Jan Steffens
heftig at archlinux.org
Thu Sep 12 22:19:22 UTC 2019
Date: Thursday, September 12, 2019 @ 22:19:21
Author: heftig
Revision: 362371
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gnome-user-share/repos/gnome-unstable-x86_64/
gnome-user-share/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 362370, gnome-user-share/trunk/PKGBUILD)
gnome-user-share/repos/gnome-unstable-x86_64/fix-no-password-mode.patch
(from rev 362370, gnome-user-share/trunk/fix-no-password-mode.patch)
----------------------------+
PKGBUILD | 40 +++++++++++++++++++++++++++++
fix-no-password-mode.patch | 59 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 99 insertions(+)
Copied: gnome-user-share/repos/gnome-unstable-x86_64/PKGBUILD (from rev 362370, gnome-user-share/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2019-09-12 22:19:21 UTC (rev 362371)
@@ -0,0 +1,40 @@
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+
+pkgname=gnome-user-share
+pkgver=3.34.0
+pkgrel=1
+pkgdesc="Easy to use user-level file sharing for GNOME"
+arch=(x86_64)
+url="https://gitlab.gnome.org/GNOME/gnome-user-share"
+license=(GPL)
+depends=(mod_dnssd dconf gtk3 libnotify libcanberra)
+makedepends=(libnautilus-extension git meson yelp-tools)
+groups=(gnome)
+_commit=6f5213ad76e78f0ea3040610ce9fa94a59505913 # tags/GNOME_USER_SHARE_3_34_0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-user-share.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^GNOME_USER_SHARE_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build \
+ -D httpd=/usr/bin/httpd \
+ -D modules_path=/usr/lib/httpd/modules \
+ -D nautilus_extension=true
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
Copied: gnome-user-share/repos/gnome-unstable-x86_64/fix-no-password-mode.patch (from rev 362370, gnome-user-share/trunk/fix-no-password-mode.patch)
===================================================================
--- gnome-unstable-x86_64/fix-no-password-mode.patch (rev 0)
+++ gnome-unstable-x86_64/fix-no-password-mode.patch 2019-09-12 22:19:21 UTC (rev 362371)
@@ -0,0 +1,59 @@
+From a1afc2e9aa3b86f408739e78bd23382c53df5b5c Mon Sep 17 00:00:00 2001
+From: Josselin Mouette <joss at debian.org>
+Date: Tue, 24 Jun 2014 15:00:36 +0200
+Subject: data: Fix httpd configuration with require_password=never
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The AuthType, AuthName, AuthDigestDomain, AuthDigestProvider,
+AuthUserFile and AuthGroupFile directives should be in an
+<IfDefine> section, executed only when password authentication
+is configured, otherwise we get this error:
+"AuthType configured with no corresponding authorization directives"
+
+Thanks to scorpy_sk at yahoo.com and Arno Töll.
+
+diff --git a/data/dav_user_2.4.conf b/data/dav_user_2.4.conf
+index de2e885..9604637 100644
+--- a/data/dav_user_2.4.conf
++++ b/data/dav_user_2.4.conf
+@@ -30,20 +30,28 @@ DNSSDAutoRegisterUserDir Off
+ <Location />
+ DAV On
+
+- AuthType Digest
+- AuthName "${GUS_LOGIN_LABEL}"
+- AuthDigestDomain /
++ <IfDefine RequirePasswordAlways>
++ AuthType Digest
++ AuthName "${GUS_LOGIN_LABEL}"
++ AuthDigestDomain /
+
+- AuthDigestProvider file
+- AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
+- AuthGroupFile /usr/share/gnome-user-share/dav_groupfile
++ AuthDigestProvider file
++ AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
++ AuthGroupFile /usr/share/gnome-user-share/dav_groupfile
+
+- <IfDefine RequirePasswordAlways>
+ Require user guest
+ Require group guest
+ </IfDefine>
+
+ <IfDefine RequirePasswordOnWrite>
++ AuthType Digest
++ AuthName "${GUS_LOGIN_LABEL}"
++ AuthDigestDomain /
++
++ AuthDigestProvider file
++ AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
++ AuthGroupFile /usr/share/gnome-user-share/dav_groupfile
++
+ <LimitExcept GET OPTIONS PROPFIND>
+ Require user guest
+ Require group guest
+--
+cgit v0.10.1
+
More information about the arch-commits
mailing list