From owner-cvs-ports@FreeBSD.ORG Fri Mar 16 03:45:21 2012 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF0CD106564A; Fri, 16 Mar 2012 03:45:21 +0000 (UTC) (envelope-from mezz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD508FC0C; Fri, 16 Mar 2012 03:45:21 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id q2G3jL7v021669; Fri, 16 Mar 2012 03:45:21 GMT (envelope-from mezz@repoman.freebsd.org) Received: (from mezz@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id q2G3jLYn021668; Fri, 16 Mar 2012 03:45:21 GMT (envelope-from mezz) Message-Id: <201203160345.q2G3jLYn021668@repoman.freebsd.org> From: Jeremy Messenger Date: Fri, 16 Mar 2012 03:45:21 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/x11/gdm Makefile ports/x11/gdm/files gdm.in X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 03:45:21 -0000 mezz 2012-03-16 03:45:21 UTC FreeBSD ports repository Modified files: x11/gdm Makefile x11/gdm/files gdm.in Log: Fix the rc.d script: 1. If gnome_enable is not set, gdm_enable will remain undefined. 2. Change the order of calling load_rc_config() and setting the default variables to the typical order for ports 3. Not only is the checkyesno for gdm_enable in gdm_start() not needed, it causes problems if, for example the user does '/usr/local/etc/rc.d/gdm onestart' from the command line. 4. Switch to using 'unlink' instead of 'rm -f' 5. If lshal does not exist, error out instead of looping 6. Mark a variable local Bump the PORTREVISION. PR: ports/159391 Submitted by: dougb Feature safe: yes Revision Changes Path 1.141 +1 -1 ports/x11/gdm/Makefile 1.22 +17 -12 ports/x11/gdm/files/gdm.in