summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Majewski2020-01-31 19:52:03 +0100
committerKevin Majewski2020-01-31 19:52:03 +0100
commit3ac596c687cdaba8dfb9ede5c9db6d19be4f8583 (patch)
treed8fecbc6e03461f8196388666c430b9168a455d3
parent20268a58c35c8bf09ecccf28b2ada1c3fdcfc2a4 (diff)
downloadaur-3ac596c687cdaba8dfb9ede5c9db6d19be4f8583.tar.gz
Fix Patches and switch to SHA512
-rw-r--r--.SRCINFO8
-rw-r--r--0001-Xsession-Don-t-start-ssh-agent-by-default.patch7
-rw-r--r--0002-pam-arch-Don-t-check-greeter-account-for-expiry.patch9
-rw-r--r--0003-pam-arch-Restrict-greeter-service-to-the-gdm-user.patch9
-rw-r--r--PKGBUILD8
5 files changed, 22 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 410fc42f855..4c736c411b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,10 +20,10 @@ pkgbase = gdm-git
source = 0001-Xsession-Don-t-start-ssh-agent-by-default.patch
source = 0002-pam-arch-Don-t-check-greeter-account-for-expiry.patch
source = 0003-pam-arch-Restrict-greeter-service-to-the-gdm-user.patch
- sha256sums = SKIP
- sha256sums = 098ffb1cdc0232f014e5fe5fb8d268b752afc54d6ee661664036879acd075b22
- sha256sums = 2e2b12d4609004a010245de51a8c017b164e84f249cd19706d020cb599d2d7e7
- sha256sums = 3fa02eb7bbbe1586eae4ae98221a284251ca2869dc731c80b753e7effc443379
+ sha512sums = SKIP
+ sha512sums = 08566451366502496c1892aa1a7f6e244fd64d170c45e51bd9d60d48afbd761e6aad43d7d6c46958b6073b058952ffa0d14392c27463de49fd6505160025fe8c
+ sha512sums = a21056d37632abc91e59c99eb396b742083e3142d36bc6333c2b81fb00be3e595c1f695aebf09e798627bd137b7d5ef782ba047c5596da3cc0f9185dcb890d6d
+ sha512sums = 02bfafce2c77b25545d72aeccb0606b7425d85d4c2d6bfaf0632bd46997d57acfe35cd686aeafda08018d555f0b690f192752b1baad951d5e47dd0e636267559
pkgname = gdm-git
install = gdm.install
diff --git a/0001-Xsession-Don-t-start-ssh-agent-by-default.patch b/0001-Xsession-Don-t-start-ssh-agent-by-default.patch
index 7c5efabccee..bfdaca1ee13 100644
--- a/0001-Xsession-Don-t-start-ssh-agent-by-default.patch
+++ b/0001-Xsession-Don-t-start-ssh-agent-by-default.patch
@@ -14,7 +14,7 @@ index 9d79558c..ff6d9de0 100755
@@ -175,14 +175,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
@@ -24,7 +24,8 @@ index 9d79558c..ff6d9de0 100755
-fi
-
echo "$0: Setup done, will execute: $command"
-
+
eval exec $command
---
+--
2.23.0
+
diff --git a/0002-pam-arch-Don-t-check-greeter-account-for-expiry.patch b/0002-pam-arch-Don-t-check-greeter-account-for-expiry.patch
index fde4c6cbcc1..60ae9d0d756 100644
--- a/0002-pam-arch-Don-t-check-greeter-account-for-expiry.patch
+++ b/0002-pam-arch-Don-t-check-greeter-account-for-expiry.patch
@@ -19,11 +19,12 @@ index 618a7d3a..89521472 100644
@@ -1,7 +1,7 @@
auth required pam_env.so
auth optional pam_permit.so
-
+
-account include system-local-login
+account optional pam_permit.so
-
+
password required pam_deny.so
-
---
+
+--
2.23.0
+
diff --git a/0003-pam-arch-Restrict-greeter-service-to-the-gdm-user.patch b/0003-pam-arch-Restrict-greeter-service-to-the-gdm-user.patch
index 16f462336b0..daed25a7feb 100644
--- a/0003-pam-arch-Restrict-greeter-service-to-the-gdm-user.patch
+++ b/0003-pam-arch-Restrict-greeter-service-to-the-gdm-user.patch
@@ -16,15 +16,16 @@ index 89521472..d59c9cb9 100644
auth required pam_env.so
+auth required pam_succeed_if.so audit quiet_success user = gdm
auth optional pam_permit.so
-
+
+account required pam_succeed_if.so audit quiet_success user = gdm
account optional pam_permit.so
-
+
password required pam_deny.so
-
+
session optional pam_keyinit.so force revoke
+session required pam_succeed_if.so audit quiet_success user = gdm
session required pam_systemd.so
session optional pam_permit.so
---
+--
2.23.0
+
diff --git a/PKGBUILD b/PKGBUILD
index a5a5328f7cc..8f5d5985fea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,10 +13,10 @@ source=("git+https://gitlab.gnome.org/GNOME/gdm.git"
0001-Xsession-Don-t-start-ssh-agent-by-default.patch
0002-pam-arch-Don-t-check-greeter-account-for-expiry.patch
0003-pam-arch-Restrict-greeter-service-to-the-gdm-user.patch)
-sha256sums=('SKIP'
- '098ffb1cdc0232f014e5fe5fb8d268b752afc54d6ee661664036879acd075b22'
- '2e2b12d4609004a010245de51a8c017b164e84f249cd19706d020cb599d2d7e7'
- '3fa02eb7bbbe1586eae4ae98221a284251ca2869dc731c80b753e7effc443379')
+sha512sums=('SKIP'
+ '08566451366502496c1892aa1a7f6e244fd64d170c45e51bd9d60d48afbd761e6aad43d7d6c46958b6073b058952ffa0d14392c27463de49fd6505160025fe8c'
+ 'a21056d37632abc91e59c99eb396b742083e3142d36bc6333c2b81fb00be3e595c1f695aebf09e798627bd137b7d5ef782ba047c5596da3cc0f9185dcb890d6d'
+ '02bfafce2c77b25545d72aeccb0606b7425d85d4c2d6bfaf0632bd46997d57acfe35cd686aeafda08018d555f0b690f192752b1baad951d5e47dd0e636267559')
pkgver() {
cd gdm