SF.net SVN: gar:[23485] csw/mgar/pkg/screen/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Wed Apr 23 01:10:30 CEST 2014


Revision: 23485
          http://sourceforge.net/p/gar/code/23485
Author:   chninkel
Date:     2014-04-22 23:10:27 +0000 (Tue, 22 Apr 2014)
Log Message:
-----------
screen/trunk: force named pipe usage so existing sessions are not broken on upgrade

Modified Paths:
--------------
    csw/mgar/pkg/screen/trunk/Makefile
    csw/mgar/pkg/screen/trunk/files/changelog.CSW

Added Paths:
-----------
    csw/mgar/pkg/screen/trunk/files/0004-force-named-pipe-usage.patch

Modified: csw/mgar/pkg/screen/trunk/Makefile
===================================================================
--- csw/mgar/pkg/screen/trunk/Makefile	2014-04-22 22:28:24 UTC (rev 23484)
+++ csw/mgar/pkg/screen/trunk/Makefile	2014-04-22 23:10:27 UTC (rev 23485)
@@ -57,6 +57,11 @@
 #      https://bugs.debian.org/644788
 PATCHFILES += 60-644788-screen-4.1.0-4.0.3-interoperability.patch
 
+# Prior to screen 4.2.0, session sockets were in fact named pipe under Solaris
+# we force this behavior to continue to be sure upgrading screen doesn't break 
+# existing sessions
+PATCHFILES += 0004-force-named-pipe-usage.patch
+
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --enable-pam
 CONFIGURE_ARGS += --enable-telnet
@@ -74,6 +79,7 @@
 # see: http://stackoverflow.com/questions/1034587/how-does-xpg4-2-and-other-defines-work-on-solaris
 EXTRA_CFLAGS += -D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1
 
+
 include gar/category.mk
 
 # Only configure.in is provided so we must run autogen.sh

Added: csw/mgar/pkg/screen/trunk/files/0004-force-named-pipe-usage.patch
===================================================================
--- csw/mgar/pkg/screen/trunk/files/0004-force-named-pipe-usage.patch	                        (rev 0)
+++ csw/mgar/pkg/screen/trunk/files/0004-force-named-pipe-usage.patch	2014-04-22 23:10:27 UTC (rev 23485)
@@ -0,0 +1,25 @@
+From d59abe97bfdb53c2f0c7413c1e14985274950873 Mon Sep 17 00:00:00 2001
+From: Yann Rouillard <yann at pleiades.fr.eu.org>
+Date: Wed, 23 Apr 2014 01:03:54 +0200
+Subject: [PATCH] force named pipe usage
+
+---
+ acconfig.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/acconfig.h b/acconfig.h
+index de55102..dd84cbd 100644
+--- a/acconfig.h
++++ b/acconfig.h
+@@ -508,7 +508,7 @@
+ /*
+  * Define this if your system supports named pipes.
+  */
+-#undef NAMEDPIPE
++#define NAMEDPIPE
+ 
+ /*
+  * Define this if your system exits select() immediatly if a pipe is
+-- 
+1.8.4.1
+

Modified: csw/mgar/pkg/screen/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/screen/trunk/files/changelog.CSW	2014-04-22 22:28:24 UTC (rev 23484)
+++ csw/mgar/pkg/screen/trunk/files/changelog.CSW	2014-04-22 23:10:27 UTC (rev 23485)
@@ -5,8 +5,9 @@
   * Removed obsolete patches screen-maxwin.patch and
     0004-solaris10-has-linux-like-setenv.patch.
   * Updated patches screen-utmp.patch and opencsw-patchs.patch.
-  * Added patch 60-644788-screen-4.1.0-4.0.3-interoperability.patch to have a
-    smooth upgrade path that do not break existing screen sessions.
+  * Added patch 60-644788-screen-4.1.0-4.0.3-interoperability.patch 
+    and patch 0004-force-named-pipe-usage.patch to have a smooth
+    upgrade path that do not break existing screen sessions.
  
  -- Yann Rouillard <yann at opencsw.org>  Tue, 22 Apr 2014 22:58:01 +0200
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list