packages: lxdm/lxdm.init, lxdm/lxdm.spec - added the setuid.patch - added -...

witekfl witekfl at pld-linux.org
Mon Aug 2 09:25:18 CEST 2010


Author: witekfl                      Date: Mon Aug  2 07:25:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added the setuid.patch
- added -d to the init script
- rel 1

---- Files affected:
packages/lxdm:
   lxdm.init (1.1 -> 1.2) , lxdm.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/lxdm/lxdm.init
diff -u packages/lxdm/lxdm.init:1.1 packages/lxdm/lxdm.init:1.2
--- packages/lxdm/lxdm.init:1.1	Sun Aug  1 14:32:42 2010
+++ packages/lxdm/lxdm.init	Mon Aug  2 09:25:12 2010
@@ -8,7 +8,6 @@
 # description:	Starts and stops the LXDM Display Manager at startup and \
 #		shutdown..
 #
-# config:	/etc/X11/gdm/gdm-config
 # probe:	true
 # hide:		true
 
@@ -26,7 +25,7 @@
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/lxdm ]; then
 		msg_starting "LXDE Display Manager"
-		start-stop-daemon --start -b --exec /usr/sbin/lxdm
+		start-stop-daemon --start -b --exec /usr/sbin/lxdm -- -d
 		ok
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/lxdm

================================================================
Index: packages/lxdm/lxdm.spec
diff -u packages/lxdm/lxdm.spec:1.2 packages/lxdm/lxdm.spec:1.3
--- packages/lxdm/lxdm.spec:1.2	Sun Aug  1 14:34:00 2010
+++ packages/lxdm/lxdm.spec	Mon Aug  2 09:25:12 2010
@@ -1,9 +1,8 @@
 # $Revision$, $Date$
-# TODO: make it work
 Summary:	Light weight X11 display manager
 Name:		lxdm
 Version:	0.2.0
-Release:	0.1
+Release:	1
 License:	GPL v3
 Group:		X11/Applications
 Source0:	http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
@@ -11,7 +10,9 @@
 Source1:	%{name}.pamd
 Source2:	%{name}.init
 Source3:	%{name}.Xsession
+Patch0:		%{name}-setuid.patch
 URL:		http://lxde.sourceforge.net/
+BuildRequires:	ConsoleKit-devel
 BuildRequires:	gettext-devel
 BuildRequires:	gtk+2-devel
 BuildRequires:	intltool
@@ -38,6 +39,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 rm -f data/lxdm.conf
@@ -87,6 +89,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/08/02 07:25:12  witekfl
+- added the setuid.patch
+- added -d to the init script
+- rel 1
+
 Revision 1.2  2010/08/01 12:34:00  witekfl
 - TODO
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lxdm/lxdm.init?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lxdm/lxdm.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list