Date: Tuesday, March 13, 2018 @ 20:27:36
  Author: heftig
Revision: 318867

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gdm/repos/gnome-unstable-x86_64/
  
gdm/repos/gnome-unstable-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
    (from rev 318866, 
gdm/trunk/0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
  gdm/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 318866, gdm/trunk/PKGBUILD)
  gdm/repos/gnome-unstable-x86_64/gdm.install
    (from rev 318866, gdm/trunk/gdm.install)
  gdm/repos/gnome-unstable-x86_64/gdm.sysusers
    (from rev 318866, gdm/trunk/gdm.sysusers)

------------------------------------------------------+
 0002-Xsession-Don-t-start-ssh-agent-by-default.patch |   31 +++++
 PKGBUILD                                             |   92 +++++++++++++++++
 gdm.install                                          |    3 
 gdm.sysusers                                         |    2 
 4 files changed, 128 insertions(+)

Copied: 
gdm/repos/gnome-unstable-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
 (from rev 318866, 
gdm/trunk/0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
===================================================================
--- gnome-unstable-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch  
                        (rev 0)
+++ gnome-unstable-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch  
2018-03-13 20:27:36 UTC (rev 318867)
@@ -0,0 +1,31 @@
+From 8bf4d553ba9e7a5978ed8920ca0b06e624de2eda Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steff...@gmail.com>
+Date: Sat, 20 Jun 2015 17:22:38 +0200
+Subject: [PATCH 2/2] Xsession: Don't start ssh-agent by default
+
+---
+ data/Xsession.in | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/data/Xsession.in b/data/Xsession.in
+index f253375..c143b30 100755
+--- a/data/Xsession.in
++++ b/data/Xsession.in
+@@ -184,14 +184,6 @@ if [ "x$command" = "xdefault" ] ; then
+   fi
+ fi
+ 
+-# add ssh-agent if found
+-sshagent="`gdmwhich ssh-agent`"
+-if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
+-    command="$sshagent -- $command"
+-elif [ -z "$sshagent" ] ; then
+-    echo "$0: ssh-agent not found!"
+-fi
+-
+ echo "$0: Setup done, will execute: $command"
+ 
+ eval exec $command
+-- 
+2.4.5
+

Copied: gdm/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318866, 
gdm/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2018-03-13 20:27:36 UTC (rev 318867)
@@ -0,0 +1,92 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+# Maintainer: Jan de Groot <j...@archlinux.org>
+
+pkgbase=gdm
+pkgname=(gdm libgdm)
+pkgver=3.28.0
+pkgrel=1
+pkgdesc="Display manager and login screen"
+arch=(x86_64)
+license=(GPL)
+url="https://wiki.gnome.org/Projects/GDM";
+depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server 
xorg-server-xwayland xorg-xhost)
+makedepends=(yelp-tools intltool gobject-introspection git docbook-xsl)
+checkdepends=(check)
+_commit=a510c612b4646b98167d58a699dbb9b1b95aaa8c  # tags/3.28.0^0
+source=("git+https://git.gnome.org/browse/gdm#commit=$_commit";
+        0002-Xsession-Don-t-start-ssh-agent-by-default.patch
+        gdm.sysusers)
+sha256sums=('SKIP'
+            '9449da0b6ee58aa3fde65e6d8d1f30513e4176a7dc6d176f17f320ce82cb1d82'
+            '6d9c8e38c7de85b6ec75e488585b8c451f5d9b4fabd2a42921dc3bfcc4aa3e13')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+  patch -Np1 -i ../0002-Xsession-Don-t-start-ssh-agent-by-default.patch
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgbase
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib \
+    --disable-schemas-compile \
+    --disable-static \
+    --enable-gdm-xsession \
+    --enable-ipv6 \
+    --with-default-pam-config=arch \
+    --with-default-path=/usr/local/bin:/usr/local/sbin:/usr/bin \
+    --without-plymouth \
+    --without-tcp-wrappers
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgbase
+  make check
+}
+
+package_gdm() {
+  depends+=(libgdm)
+  optdepends=('fprintd: fingerprint authentication')
+  backup=(etc/pam.d/gdm-autologin etc/pam.d/gdm-fingerprint 
etc/pam.d/gdm-launch-environment
+          etc/pam.d/gdm-password etc/pam.d/gdm-smartcard etc/gdm/custom.conf
+          etc/gdm/Xsession etc/gdm/PostSession/Default 
etc/gdm/PreSession/Default)
+  groups=(gnome)
+  install=gdm.install
+
+  cd $pkgbase
+  make DESTDIR="$pkgdir" install
+
+  chown -R 120:120 "$pkgdir/var/lib/gdm"
+
+  # Unused or created at start
+  rm -r "$pkgdir"/var/{cache,log,run}
+
+  install -Dm644 ../gdm.sysusers "$pkgdir/usr/lib/sysusers.d/gdm.conf"
+
+### Split libgdm
+  make -C libgdm DESTDIR="$pkgdir" uninstall
+  mv "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml" 
"$srcdir"
+}
+
+package_libgdm() {
+  pkgdesc="GDM support library"
+  depends=(systemd glib2 dconf)
+
+  cd $pkgbase
+  make -C libgdm DESTDIR="$pkgdir" install
+  install -Dt "$pkgdir/usr/share/glib-2.0/schemas" -m644 \
+    "$srcdir/org.gnome.login-screen.gschema.xml"
+}

Copied: gdm/repos/gnome-unstable-x86_64/gdm.install (from rev 318866, 
gdm/trunk/gdm.install)
===================================================================
--- gnome-unstable-x86_64/gdm.install                           (rev 0)
+++ gnome-unstable-x86_64/gdm.install   2018-03-13 20:27:36 UTC (rev 318867)
@@ -0,0 +1,3 @@
+post_install() {
+  systemd-sysusers gdm.conf
+}

Copied: gdm/repos/gnome-unstable-x86_64/gdm.sysusers (from rev 318866, 
gdm/trunk/gdm.sysusers)
===================================================================
--- gnome-unstable-x86_64/gdm.sysusers                          (rev 0)
+++ gnome-unstable-x86_64/gdm.sysusers  2018-03-13 20:27:36 UTC (rev 318867)
@@ -0,0 +1,2 @@
+g gdm 120 -
+u gdm 120 "Gnome Display Manager" /var/lib/gdm

Reply via email to