Date: Tuesday, April 10, 2018 @ 17:20:12 Author: heftig Revision: 321486
archrelease: copy trunk to extra-x86_64 Added: gnome-user-share/repos/extra-x86_64/PKGBUILD (from rev 321485, gnome-user-share/trunk/PKGBUILD) gnome-user-share/repos/extra-x86_64/fix-no-password-mode.patch (from rev 321485, gnome-user-share/trunk/fix-no-password-mode.patch) Deleted: gnome-user-share/repos/extra-x86_64/PKGBUILD gnome-user-share/repos/extra-x86_64/fix-no-password-mode.patch ----------------------------+ PKGBUILD | 84 +++++++++++++++--------------- fix-no-password-mode.patch | 118 +++++++++++++++++++++---------------------- 2 files changed, 101 insertions(+), 101 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-10 17:19:41 UTC (rev 321485) +++ PKGBUILD 2018-04-10 17:20:12 UTC (rev 321486) @@ -1,42 +0,0 @@ -# $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/extra-x86_64/PKGBUILD (from rev 321485, gnome-user-share/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-10 17:20:12 UTC (rev 321486) @@ -0,0 +1,42 @@ +# $Id$ +# Contributor: Roman Kyrylych <ro...@archlinux.org> + +pkgname=gnome-user-share +pkgver=3.28.0 +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=66aa73e5a55cfc42fbad6355c8b202aaf4763cdd # tags/GNOME_USER_SHARE_3_28_0^0 +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 +} Deleted: fix-no-password-mode.patch =================================================================== --- fix-no-password-mode.patch 2018-04-10 17:19:41 UTC (rev 321485) +++ fix-no-password-mode.patch 2018-04-10 17:20:12 UTC (rev 321486) @@ -1,59 +0,0 @@ -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 - Copied: gnome-user-share/repos/extra-x86_64/fix-no-password-mode.patch (from rev 321485, gnome-user-share/trunk/fix-no-password-mode.patch) =================================================================== --- fix-no-password-mode.patch (rev 0) +++ fix-no-password-mode.patch 2018-04-10 17:20:12 UTC (rev 321486) @@ -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 +