rpms/rhgb/F-9 rhgb-9.0.0-use-abstract-sockets.patch, NONE, 1.1 rhgb.spec, 1.100, 1.101

Ray Strode (rstrode) fedora-extras-commits at redhat.com
Fri May 2 18:57:31 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/rhgb/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14394

Modified Files:
	rhgb.spec 
Added Files:
	rhgb-9.0.0-use-abstract-sockets.patch 
Log Message:
- Use abstract sockets by default


rhgb-9.0.0-use-abstract-sockets.patch:

--- NEW FILE rhgb-9.0.0-use-abstract-sockets.patch ---
diff -up rhgb-9.0.0/src/main.c.use-abstract-sockets rhgb-9.0.0/src/main.c
--- rhgb-9.0.0/src/main.c.use-abstract-sockets	2008-05-02 14:43:51.000000000 -0400
+++ rhgb-9.0.0/src/main.c	2008-05-02 14:45:39.000000000 -0400
@@ -51,7 +51,7 @@
 #define SOCKET_NAME TMPPATH"/rhgb-socket"
 #define DISPLAY_NO ":9"
 #define LOCALHOST "127.0.0.1"
-#define DISPLAY_STRING LOCALHOST DISPLAY_NO
+#define DISPLAY_STRING DISPLAY_NO
 #define DISPLAY_FNAME TMPPATH"/display"
 #define PIPE_NAME TMPPATH"/rhgb-console"
 #define X_CONFIG "/etc/rhgb/xorg.conf"
@@ -425,6 +425,9 @@ display_init (void)
       return;
     }
 
+  /* FIXME: we don't need this anymore, but some services depend on us bringing it up
+   * (Yuck!).  We should fix those services then remove this ifconfig lo up command.
+   */
   system (NETWORK_COMMAND);
   unsetenv ("XAUTHORITY");
   putenv ((char *) DISPLAY_ENV);


Index: rhgb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rhgb/F-9/rhgb.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- rhgb.spec	2 May 2008 17:46:00 -0000	1.100
+++ rhgb.spec	2 May 2008 18:56:53 -0000	1.101
@@ -3,7 +3,7 @@
 Summary: Red Hat Graphical Boot
 Name: rhgb
 Version: 9.0.0
-Release: 5%{?dist}
+Release: 6%{?dist}
 Epoch: 1
 URL: http://www.redhat.com/
 Source0: %{name}-%{version}.tar.gz
@@ -22,6 +22,7 @@
 Patch0: rhgb-9.0.0-new-color.patch
 Patch1: rhgb-9.0.0-inittab.patch
 Patch2: rhgb-eeepc.patch
+Patch3: rhgb-9.0.0-use-abstract-sockets.patch
 
 %description
 Red Hat Graphical Boot provides a clean and simple interface to the boot process
@@ -31,6 +32,7 @@
 %patch0 -p1 -b .new-color
 %patch1 -p1 -b .inittab
 %patch2 -p1 -b .eeepc
+%patch3 -p1 -b .use-abstract-sockets
 
 %build
 %configure
@@ -60,7 +62,10 @@
 %dir %{_sysconfdir}/rhgb/temp
 
 %changelog
-* Fri May  2 2008 Matthias Clasen <mclasen at redhat.com> - 1:9.0.0-4
+* Fri May  2 2008 Ray Strode <rstrode at redhat.com> - 1:9.0.0-6
+- Use abstract sockets by default
+
+* Fri May  2 2008 Matthias Clasen <mclasen at redhat.com> - 1:9.0.0-5
 - Remove debug spew
 
 * Fri May  2 2008 Matthias Clasen <mclasen at redhat.com> - 1:9.0.0-4




More information about the fedora-extras-commits mailing list