diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-01-26 21:14:13 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-01-26 21:14:13 +0800 |
commit | 66ced07ece86d108d9c4102361e4dddfc82c130e (patch) | |
tree | ef1e20f5a0c9ac78d0e11699e0616c433d073384 /x11 | |
parent | d8237e4a34d419f653d66001449ff07dc6ee2a2d (diff) | |
download | marcuscom-ports-66ced07ece86d108d9c4102361e4dddfc82c130e.tar marcuscom-ports-66ced07ece86d108d9c4102361e4dddfc82c130e.tar.gz marcuscom-ports-66ced07ece86d108d9c4102361e4dddfc82c130e.tar.bz2 marcuscom-ports-66ced07ece86d108d9c4102361e4dddfc82c130e.tar.lz marcuscom-ports-66ced07ece86d108d9c4102361e4dddfc82c130e.tar.xz marcuscom-ports-66ced07ece86d108d9c4102361e4dddfc82c130e.tar.zst marcuscom-ports-66ced07ece86d108d9c4102361e4dddfc82c130e.zip |
Fix "cannot open session" error.
Still it would be great if someone with more pam knowledge then me and ahze
double checks this.
Submitted by: Berislav Purgar <bpurgar@gmail.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16672 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm3/Makefile | 5 | ||||
-rw-r--r-- | x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam | 17 |
2 files changed, 13 insertions, 9 deletions
diff --git a/x11/gdm3/Makefile b/x11/gdm3/Makefile index edafe1187..83c2214ba 100644 --- a/x11/gdm3/Makefile +++ b/x11/gdm3/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gdm3/Makefile,v 1.16 2012/01/21 23:36:03 ahze Exp $ +# $MCom: ports/x11/gdm3/Makefile,v 1.17 2012/01/26 00:35:47 ahze Exp $ # PORTNAME= gdm PORTVERSION= 3.2.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 @@ -139,4 +139,5 @@ post-install: .if ${OSVERSION} < 900000 CONFIGLIBS+= -lutil .endif + .include <bsd.port.post.mk> diff --git a/x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam b/x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam index 76c523dcb..08686fb88 100644 --- a/x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam +++ b/x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam @@ -1,24 +1,27 @@ ---- gui/simple-greeter/extensions/password/gdm-password.pam.orig 2011-10-19 11:41:52.000000000 -0400 -+++ gui/simple-greeter/extensions/password/gdm-password.pam 2012-01-26 00:30:31.982559286 -0500 -@@ -1,19 +1,12 @@ +--- gui/simple-greeter/extensions/password/gdm-password.pam.orig 2011-10-19 17:41:52.000000000 +0200 ++++ gui/simple-greeter/extensions/password/gdm-password.pam 2012-01-26 14:09:55.000000000 +0100 +@@ -1,19 +1,13 @@ # Sample PAM file for doing password authentication. # Distros should replace this with what makes sense for them. -auth required pam_env.so auth sufficient pam_unix.so nullok try_first_pass -auth requisite pam_succeed_if.so uid >= 500 quiet -auth required pam_deny.so -+auth required pam_permit.so ++auth required pam_unix.so account required pam_unix.so -account sufficient pam_localuser.so -account sufficient pam_succeed_if.so uid < 500 quiet - account required pam_permit.so +-account required pam_permit.so -password requisite pam_cracklib.so try_first_pass retry=3 type= password sufficient pam_unix.so nullok try_first_pass use_authtok -password required pam_deny.so -+password required pam_permit.so ++password required pam_unix.so ++ ++#session required pam_unix.so ++session include system -session optional pam_keyinit.so revoke -session required pam_limits.so - session required pam_unix.so +-session required pam_unix.so |