Date: Sunday, March 11, 2018 @ 21:12:10
  Author: heftig
Revision: 318656

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 318655, gnome-user-share/trunk/PKGBUILD)
  gnome-user-share/repos/gnome-unstable-x86_64/fix-no-password-mode.patch
    (from rev 318655, gnome-user-share/trunk/fix-no-password-mode.patch)

----------------------------+
 PKGBUILD                   |   42 ++++++++++++++++++++++++++++++
 fix-no-password-mode.patch |   59 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

Copied: gnome-user-share/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318655, 
gnome-user-share/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2018-03-11 21:12:10 UTC (rev 318656)
@@ -0,0 +1,42 @@
+# $Id$
+# Contributor: Roman Kyrylych <ro...@archlinux.org>
+
+pkgname=gnome-user-share
+pkgver=3.27.90+3+g878737f
+pkgrel=1
+pkgdesc="Easy to use user-level file sharing for GNOME"
+arch=(x86_64)
+url="https://git.gnome.org/browse/gnome-user-share";
+license=(GPL)
+depends=(mod_dnssd dconf gtk3 libnotify libcanberra)
+makedepends=(intltool libnautilus-extension itstool docbook-xsl gnome-common 
git)
+options=(!emptydirs)
+groups=(gnome)
+_commit=878737fa4c9c0c1e48db61f8af0afd02951b40ae  # master
+source=("git+https://git.gnome.org/browse/gnome-user-share#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^GNOME_USER_SHARE_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --libexecdir=/usr/lib \
+      --localstatedir=/var \
+      --with-httpd=/usr/bin/httpd \
+      --with-modules-path=/usr/lib/httpd/modules
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}

Copied: gnome-user-share/repos/gnome-unstable-x86_64/fix-no-password-mode.patch 
(from rev 318655, 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    2018-03-11 21:12:10 UTC 
(rev 318656)
@@ -0,0 +1,59 @@
+From a1afc2e9aa3b86f408739e78bd23382c53df5b5c Mon Sep 17 00:00:00 2001
+From: Josselin Mouette <j...@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...@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
+

Reply via email to