packages: amtterm/amtterm.spec, amtterm/amtterm-reconnect-hack.patch (NEW)=?UTF-8?Q?=20?=...

baggins baggins at pld-linux.org
Fri Apr 27 21:00:13 CEST 2012


Author: baggins                      Date: Fri Apr 27 19:00:13 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- hack around lost conections during system reset/bootup

---- Files affected:
packages/amtterm:
   amtterm.spec (1.1 -> 1.2) , amtterm-reconnect-hack.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/amtterm/amtterm.spec
diff -u packages/amtterm/amtterm.spec:1.1 packages/amtterm/amtterm.spec:1.2
--- packages/amtterm/amtterm.spec:1.1	Thu Apr 12 13:19:21 2012
+++ packages/amtterm/amtterm.spec	Fri Apr 27 21:00:08 2012
@@ -3,11 +3,12 @@
 Summary:	Intel AMT serial-over-lan (sol) client
 Name:		amtterm
 Version:	1.3
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/Networking
 Source0:	http://www.kraxel.org/releases/amtterm/%{name}-%{version}.tar.gz
 # Source0-md5:	a2385b2305680ae06687867527924ff5
+Patch0:		amtterm-reconnect-hack.patch
 URL:		http://www.kraxel.org/blog/linux/amtterm/
 BuildRequires:	gtk+2-devel
 BuildRequires:	pkg-config
@@ -31,6 +32,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 prefix=%{_prefix} \
@@ -68,6 +70,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/04/27 19:00:08  baggins
+- rel 2
+- hack around lost conections during system reset/bootup
+
 Revision 1.1  2012/04/12 11:19:21  baggins
 - new
 

================================================================
Index: packages/amtterm/amtterm-reconnect-hack.patch
diff -u /dev/null packages/amtterm/amtterm-reconnect-hack.patch:1.1
--- /dev/null	Fri Apr 27 21:00:13 2012
+++ packages/amtterm/amtterm-reconnect-hack.patch	Fri Apr 27 21:00:08 2012
@@ -0,0 +1,18 @@
+diff -ur amtterm-1.3/redir.c amtterm-1.3.ne/redir.c
+--- amtterm-1.3/redir.c	2011-05-26 11:19:45.000000000 +0200
++++ amtterm-1.3.ne/redir.c	2012-04-17 11:40:56.000000000 +0200
+@@ -382,6 +382,14 @@
+ 		goto again;
+ 	    redir_stop(r);
+ 	    break;
++	case 0x29: /* FIXME */
++	    bshift = r->blen;
++	    if (r->blen < bshift)
++		goto again;
++	    redir_stop(r);
++	    redir_connect(r);
++	    redir_start(r);
++	    break;
+ 	default:
+ 	    snprintf(r->err, sizeof(r->err), "%s: unknown r->buf 0x%02x",
+ 		     __FUNCTION__, r->buf[0]);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/amtterm/amtterm.spec?r1=1.1&r2=1.2



More information about the pld-cvs-commit mailing list