From owner-svn-ports-all@FreeBSD.ORG Tue Nov 27 23:11:33 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21BA5C23; Tue, 27 Nov 2012 23:11:33 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 06A188FC0C; Tue, 27 Nov 2012 23:11:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qARNBWKR080013; Tue, 27 Nov 2012 23:11:32 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qARNBWs6080009; Tue, 27 Nov 2012 23:11:32 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201211272311.qARNBWs6080009@svn.freebsd.org> From: Guido Falsi Date: Tue, 27 Nov 2012 23:11:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307866 - in head/x11/slim: . 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.14 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: Tue, 27 Nov 2012 23:11:33 -0000 Author: madpilot Date: Tue Nov 27 23:11:32 2012 New Revision: 307866 URL: http://svnweb.freebsd.org/changeset/ports/307866 Log: - Fix stopping via rc script - Fix build with clang [1] - Trim Makefile headers - Bump PORTREVISION PR: ports/173852 Submitted by: Douglas Carmichael Approved by: Henry Hu (maintainer) Obtained by: slim svn repository [1] Feature safe: yes Added: head/x11/slim/files/patch-log.h (contents, props changed) Modified: head/x11/slim/Makefile (contents, props changed) head/x11/slim/files/slim.in (contents, props changed) Modified: head/x11/slim/Makefile ============================================================================== --- head/x11/slim/Makefile Tue Nov 27 22:34:39 2012 (r307865) +++ head/x11/slim/Makefile Tue Nov 27 23:11:32 2012 (r307866) @@ -1,12 +1,9 @@ -# New ports collection makefile for: slim -# Date created: 8 Jan 2006 -# Whom: Tobias Roth -# +# Created by: Tobias Roth # $FreeBSD$ PORTNAME= slim PORTVERSION= 1.3.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= http://slim.berlios.de/releases/ @@ -15,8 +12,8 @@ COMMENT= Graphical login manager for X11 LICENSE= GPLv2 -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ - ck-connector.0:${PORTSDIR}/sysutils/consolekit \ +LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ + ck-connector:${PORTSDIR}/sysutils/consolekit \ png15:${PORTSDIR}/graphics/png \ freetype:${PORTSDIR}/print/freetype2 \ fontconfig:${PORTSDIR}/x11-fonts/fontconfig Added: head/x11/slim/files/patch-log.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/slim/files/patch-log.h Tue Nov 27 23:11:32 2012 (r307866) @@ -0,0 +1,15 @@ +--- log.h.orig 2012-06-26 10:20:14.000000000 +0200 ++++ log.h 2012-11-25 20:00:39.294546666 +0100 +@@ -1,6 +1,12 @@ + #ifndef _LOG_H_ + #define _LOG_H_ + ++#ifdef USE_CONSOLEKIT ++#include "Ck.h" ++#endif ++#ifdef USE_CONSOLEKIT ++#include "PAM.h" ++#endif + #include "const.h" + #include + Modified: head/x11/slim/files/slim.in ============================================================================== --- head/x11/slim/files/slim.in Tue Nov 27 22:34:39 2012 (r307865) +++ head/x11/slim/files/slim.in Tue Nov 27 23:11:32 2012 (r307866) @@ -61,9 +61,8 @@ slim_prestop () find_pidfile - xpid=`ps -axww | grep '/bin/[X] .* -auth /var/run/slim.auth'` - xpid="${xpid## }" - [ -n "$xpid" ] && kill ${xpid%% *} + xpid=`ps -axww | grep '/bin/[X] .* -auth /var/run/slim.auth' | grep -v grep | awk '{print $1};'` + [ -n "$xpid" ] && kill $xpid } run_rc_command "$1"