From owner-svn-ports-all@FreeBSD.ORG Mon Mar 30 20:24:44 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 969E3604; Mon, 30 Mar 2015 20:24:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68C21FF5; Mon, 30 Mar 2015 20:24:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2UKOiWK098415; Mon, 30 Mar 2015 20:24:44 GMT (envelope-from alonso@FreeBSD.org) Received: (from alonso@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2UKOhkd098411; Mon, 30 Mar 2015 20:24:43 GMT (envelope-from alonso@FreeBSD.org) Message-Id: <201503302024.t2UKOhkd098411@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: alonso set sender to alonso@FreeBSD.org using -f From: Alonso Schaich Date: Mon, 30 Mar 2015 20:24:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382722 - in head/x11/kde4-workspace: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 20:24:44 -0000 Author: alonso Date: Mon Mar 30 20:24:43 2015 New Revision: 382722 URL: https://svnweb.freebsd.org/changeset/ports/382722 QAT: https://qat.redports.org/buildarchive/r382722/ Log: Obtain a credential on login with KDM4 PAM_SETCRED(3)'s second parameter does not default to PAM_ESTABLISH_CRED on FreeBSD, so explify it, as was proposed on the forums[1] back in decembre. Bump port revision as this commit changes the runtime behavior of the installed port. [1] https://forums.freebsd.org/threads/problem-with-kdm4-kerberos-and-nfsv4.49253 PR: 195899 Approved by: rakuco (mentor) MFH: 2015Q1 Modified: head/x11/kde4-workspace/Makefile head/x11/kde4-workspace/files/patch-kdm__backend__client.c Modified: head/x11/kde4-workspace/Makefile ============================================================================== --- head/x11/kde4-workspace/Makefile Mon Mar 30 19:54:21 2015 (r382721) +++ head/x11/kde4-workspace/Makefile Mon Mar 30 20:24:43 2015 (r382722) @@ -2,6 +2,7 @@ PORTNAME= kde-workspace PORTVERSION= ${KDE4_WORKSPACE_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_BRANCH}/${KDE4_VERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} Modified: head/x11/kde4-workspace/files/patch-kdm__backend__client.c ============================================================================== --- head/x11/kde4-workspace/files/patch-kdm__backend__client.c Mon Mar 30 19:54:21 2015 (r382721) +++ head/x11/kde4-workspace/files/patch-kdm__backend__client.c Mon Mar 30 20:24:43 2015 (r382722) @@ -1,6 +1,6 @@ ---- ./kdm/backend/client.c.orig 2010-07-06 10:54:30.000000000 +0400 -+++ ./kdm/backend/client.c 2010-07-30 22:23:48.264408318 +0400 -@@ -1309,6 +1309,9 @@ +--- kdm/backend/client.c.orig 2014-11-06 23:36:58.000000000 +0100 ++++ kdm/backend/client.c 2015-03-09 13:20:24.870430799 +0100 +@@ -1322,6 +1322,9 @@ char ckDeviceBuf[20] = ""; const char *ckDevice = ckDeviceBuf; dbus_bool_t isLocal; @@ -10,7 +10,7 @@ #endif char *failsafeArgv[2]; char *buf, *buf2; -@@ -1340,6 +1343,13 @@ +@@ -1353,6 +1356,13 @@ # ifdef HAVE_VTS if (td->serverVT > 0) sprintf(ckDeviceBuf, "/dev/tty%d", td->serverVT); @@ -24,3 +24,12 @@ # endif isLocal = ((td->displayType & d_location) == dLocal); # ifdef XDMCP +@@ -1532,7 +1542,7 @@ + environ = pam_env; + # endif + removeCreds = True; /* set it first - i don't trust PAM's rollback */ +- pretc = pam_setcred(pamh, 0); ++ pretc = pam_setcred(pamh, PAM_ESTABLISH_CRED); + reInitErrorLog(); + # ifndef HAVE_PAM_GETENVLIST + pam_env = environ;