diff options
-rw-r--r-- | x11/gdm3/Makefile | 6 | ||||
-rw-r--r-- | x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam | 13 |
2 files changed, 11 insertions, 8 deletions
diff --git a/x11/gdm3/Makefile b/x11/gdm3/Makefile index 4d047a2f5..c5f8b2856 100644 --- a/x11/gdm3/Makefile +++ b/x11/gdm3/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gdm3/Makefile,v 1.19 2012/06/01 20:55:17 mezz Exp $ +# $MCom: ports/x11/gdm3/Makefile,v 1.20 2012/06/02 13:10:28 kwm Exp $ # PORTNAME= gdm PORTVERSION= 3.4.1 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 @@ -99,7 +100,8 @@ post-patch: ${WRKSRC}/data/Makefile.in @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ - ${WRKSRC}/daemon/gdm-session-worker.c + ${WRKSRC}/daemon/gdm-session-worker.c \ + ${WRKSRC}/gui/simple-greeter/extensions/password/gdm-password.pam @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ -e 's|/usr/bin/X|${LOCALBASE}/bin/X|g' \ -e 's|/usr/bin/Xorg|${LOCALBASE}/bin/Xorg|g' \ 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 08686fb88..258ec55aa 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,13 +1,14 @@ ---- 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 @@ +--- gui/simple-greeter/extensions/password/gdm-password.pam.orig 2011-10-21 04:13:08.000000000 +0000 ++++ gui/simple-greeter/extensions/password/gdm-password.pam 2012-10-08 21:32:54.000000000 +0000 +@@ -1,19 +1,12 @@ # 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 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_unix.so ++auth optional %%LOCALBASE%%/lib/pam_gnome_keyring.so account required pam_unix.so -account sufficient pam_localuser.so @@ -15,12 +16,12 @@ -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 sufficient pam_unix.so nullok try_first_pass use_authtok -password required pam_deny.so +password required pam_unix.so + -+#session required pam_unix.so +session include system ++session optional %%LOCALBASE%%/lib/pam_gnome_keyring.so auto_start -session optional pam_keyinit.so revoke -session required pam_limits.so |