[arch-commits] Commit in gnome-user-share/repos (8 files)

Jan Steffens heftig at archlinux.org
Fri Sep 25 15:39:52 UTC 2015


    Date: Friday, September 25, 2015 @ 17:39:51
  Author: heftig
Revision: 247435

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  gnome-user-share/repos/gnome-unstable-i686/
  gnome-user-share/repos/gnome-unstable-i686/PKGBUILD
    (from rev 247434, gnome-user-share/trunk/PKGBUILD)
  gnome-user-share/repos/gnome-unstable-i686/fix-no-password-mode.patch
    (from rev 247434, gnome-user-share/trunk/fix-no-password-mode.patch)
  gnome-user-share/repos/gnome-unstable-i686/gnome-user-share.install
    (from rev 247434, gnome-user-share/trunk/gnome-user-share.install)
  gnome-user-share/repos/gnome-unstable-x86_64/
  gnome-user-share/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 247434, gnome-user-share/trunk/PKGBUILD)
  gnome-user-share/repos/gnome-unstable-x86_64/fix-no-password-mode.patch
    (from rev 247434, gnome-user-share/trunk/fix-no-password-mode.patch)
  gnome-user-share/repos/gnome-unstable-x86_64/gnome-user-share.install
    (from rev 247434, gnome-user-share/trunk/gnome-user-share.install)

--------------------------------------------------+
 gnome-unstable-i686/PKGBUILD                     |   30 ++++++++++
 gnome-unstable-i686/fix-no-password-mode.patch   |   59 +++++++++++++++++++++
 gnome-unstable-i686/gnome-user-share.install     |   12 ++++
 gnome-unstable-x86_64/PKGBUILD                   |   30 ++++++++++
 gnome-unstable-x86_64/fix-no-password-mode.patch |   59 +++++++++++++++++++++
 gnome-unstable-x86_64/gnome-user-share.install   |   12 ++++
 6 files changed, 202 insertions(+)

Copied: gnome-user-share/repos/gnome-unstable-i686/PKGBUILD (from rev 247434, gnome-user-share/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2015-09-25 15:39:51 UTC (rev 247435)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Roman Kyrylych <roman at archlinux.org>
+
+pkgname=gnome-user-share
+pkgver=3.18.0
+pkgrel=1
+pkgdesc="Easy to use user-level file sharing for GNOME."
+arch=('i686' 'x86_64')
+url="http://ftp.gnome.org/pub/GNOME/sources/gnome-user-share/"
+license=('GPL')
+depends=('mod_dnssd' 'dconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'libcanberra')
+makedepends=('intltool' 'libnautilus-extension' 'itstool' 'docbook-xsl')
+options=('!emptydirs')
+groups=('gnome')
+install=gnome-user-share.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('feb3bed59193eafea31f563ed7eab5f066aa5f86d4a89f067b162653d168d3fc')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --libexecdir=/usr/lib/gnome-user-share \
+      --localstatedir=/var
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: gnome-user-share/repos/gnome-unstable-i686/fix-no-password-mode.patch (from rev 247434, gnome-user-share/trunk/fix-no-password-mode.patch)
===================================================================
--- gnome-unstable-i686/fix-no-password-mode.patch	                        (rev 0)
+++ gnome-unstable-i686/fix-no-password-mode.patch	2015-09-25 15:39:51 UTC (rev 247435)
@@ -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
+

Copied: gnome-user-share/repos/gnome-unstable-i686/gnome-user-share.install (from rev 247434, gnome-user-share/trunk/gnome-user-share.install)
===================================================================
--- gnome-unstable-i686/gnome-user-share.install	                        (rev 0)
+++ gnome-unstable-i686/gnome-user-share.install	2015-09-25 15:39:51 UTC (rev 247435)
@@ -0,0 +1,12 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: gnome-user-share/repos/gnome-unstable-x86_64/PKGBUILD (from rev 247434, gnome-user-share/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2015-09-25 15:39:51 UTC (rev 247435)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Roman Kyrylych <roman at archlinux.org>
+
+pkgname=gnome-user-share
+pkgver=3.18.0
+pkgrel=1
+pkgdesc="Easy to use user-level file sharing for GNOME."
+arch=('i686' 'x86_64')
+url="http://ftp.gnome.org/pub/GNOME/sources/gnome-user-share/"
+license=('GPL')
+depends=('mod_dnssd' 'dconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'libcanberra')
+makedepends=('intltool' 'libnautilus-extension' 'itstool' 'docbook-xsl')
+options=('!emptydirs')
+groups=('gnome')
+install=gnome-user-share.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('feb3bed59193eafea31f563ed7eab5f066aa5f86d4a89f067b162653d168d3fc')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --libexecdir=/usr/lib/gnome-user-share \
+      --localstatedir=/var
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: gnome-user-share/repos/gnome-unstable-x86_64/fix-no-password-mode.patch (from rev 247434, 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	2015-09-25 15:39:51 UTC (rev 247435)
@@ -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
+

Copied: gnome-user-share/repos/gnome-unstable-x86_64/gnome-user-share.install (from rev 247434, gnome-user-share/trunk/gnome-user-share.install)
===================================================================
--- gnome-unstable-x86_64/gnome-user-share.install	                        (rev 0)
+++ gnome-unstable-x86_64/gnome-user-share.install	2015-09-25 15:39:51 UTC (rev 247435)
@@ -0,0 +1,12 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list