- Add "Conversation failure" error code to authentication errors

list in order to permit login with special usernames.
- Fix conssole command
- Bump PORTREVISION

PR:		ports/174482
Submitted by:	Maxim Samsonov <xors@mailup.net>
Approved by:	Henry Hu <henry.hu.sh@gmail.com> (maintainer)
This commit is contained in:
Guido Falsi 2013-03-23 12:35:14 +00:00
parent 100c5c1378
commit 2995bf313d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315025
3 changed files with 12 additions and 2 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= slim
PORTVERSION= 1.3.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= x11
MASTER_SITES= http://slim.berlios.de/releases/

View File

@ -0,0 +1,10 @@
--- PAM.cpp.orig 2012-06-26 12:20:14.000000000 +0400
+++ PAM.cpp 2012-12-16 16:05:09.000000000 +0400
@@ -128,6 +128,7 @@
case PAM_MAXTRIES:
case PAM_CRED_INSUFFICIENT:
case PAM_AUTH_ERR:
+ case PAM_CONV_ERR:
throw Auth_Exception(pam_handle, "pam_authentication()", last_result);
case PAM_SUCCESS:

View File

@ -18,7 +18,7 @@
reboot_cmd /sbin/shutdown -r now
-console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
-#suspend_cmd /usr/sbin/suspend
+console_cmd %%LOCALBASE%%/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/motd; exec /bin/login"
+console_cmd %%LOCALBASE%%/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/motd; exec /usr/bin/login"
+suspend_cmd /usr/sbin/acpiconf -s 3
# Full path to the xauth binary