OBS User unknown 2007-01-15 23:23:57 +00:00 committed by Git OBS Bridge
commit 39f46dcf09
7 changed files with 460 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

238
linux-atm-2.5.0.diff Normal file
View File

@ -0,0 +1,238 @@
Index: src/ilmid/atmf_uni.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/ilmid/atmf_uni.c,v
retrieving revision 1.2.2.1
diff -u -w -r1.2.2.1 atmf_uni.c
--- src/ilmid/atmf_uni.c 19 Jul 2003 21:07:19 -0000 1.2.2.1
+++ src/ilmid/atmf_uni.c 22 Apr 2005 09:41:13 -0000
@@ -203,6 +203,7 @@
int cmp;
NetPrefixNode *prefix, *newPrefix;
AsnOid *varBindName;
+ NetPrefixNode *node;
diag(COMPONENT,DIAG_DEBUG,"setNetPrefix");
varBindName = &varbind->name;
@@ -217,7 +218,9 @@
varBindName->octs[NETPREFIX_LEN + 1] != NETPREFIX_STRINGLEN)
return NOSUCHNAME;
- for(prefix = (NetPrefixNode *) var->value, cmp = AsnOidLess;
+ node = (NetPrefixNode *) var->value;
+
+ for(prefix = node, cmp = AsnOidLess;
prefix != NULL && (cmp = AsnOidCompare(varBindName, prefix->name)) <
AsnOidEqual;
prefix = prefix->next);
@@ -228,7 +231,7 @@
newPrefix->name = alloc_t(AsnOid);
newPrefix->name->octs = alloc(varBindName->octetLen);
AsnOidCopy(newPrefix->name, varBindName);
- Q_INSERT_BEFORE((NetPrefixNode *) var->value, newPrefix, prefix);
+ Q_INSERT_BEFORE(node, newPrefix, prefix);
if(atmNetPrefix.octs == NULL)
{
atmNetPrefix.octetLen = varBindName->octetLen - NETPREFIX_LEN - 2;
@@ -238,7 +241,7 @@
}
else if (varbind->value->a.simple->a.number == INVALID && cmp == AsnOidEqual)
{
- Q_REMOVE((NetPrefixNode *) var->value, prefix);
+ Q_REMOVE(node, prefix);
}
return NOERROR;
Index: src/lane/lecs_db.l
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/lane/lecs_db.l,v
retrieving revision 1.2
diff -u -w -r1.2 lecs_db.l
--- src/lane/lecs_db.l 9 Oct 2001 22:33:07 -0000 1.2
+++ src/lane/lecs_db.l 22 Apr 2005 09:41:13 -0000
@@ -7,6 +7,7 @@
/*Standard includes*/
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
/* Local includes */
#include "lecs_load.h"
Index: src/lane/load_lex.l
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/lane/load_lex.l,v
retrieving revision 1.2
diff -u -w -r1.2 load_lex.l
--- src/lane/load_lex.l 9 Oct 2001 22:33:07 -0000 1.2
+++ src/lane/load_lex.l 22 Apr 2005 09:41:13 -0000
@@ -4,6 +4,7 @@
#include <config.h>
#endif
+#include <string.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Index: src/lane/mem_lecs.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/lane/mem_lecs.c,v
retrieving revision 1.2
diff -u -w -r1.2 mem_lecs.c
--- src/lane/mem_lecs.c 9 Oct 2001 22:33:07 -0000 1.2
+++ src/lane/mem_lecs.c 22 Apr 2005 09:41:13 -0000
@@ -13,6 +13,7 @@
/* System includes */
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
/* Local includes */
Index: src/maint/atmtcp.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/maint/atmtcp.c,v
retrieving revision 1.2
diff -u -w -r1.2 atmtcp.c
--- src/maint/atmtcp.c 9 Oct 2001 22:33:07 -0000 1.2
+++ src/maint/atmtcp.c 22 Apr 2005 09:41:13 -0000
@@ -60,7 +60,7 @@
static IN *inputs = NULL;
static fd_set in_set;
static int fds = 0;
-static int debug = 0;
+/* static */ int debug = 0;
static int links = 0;
Index: src/mpoad/k_interf.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/mpoad/k_interf.c,v
retrieving revision 1.2
diff -u -w -r1.2 k_interf.c
--- src/mpoad/k_interf.c 9 Oct 2001 22:33:07 -0000 1.2
+++ src/mpoad/k_interf.c 22 Apr 2005 09:41:13 -0000
@@ -4,6 +4,7 @@
#include <stdio.h>
#include <unistd.h>
+#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/param.h> /* for OPEN_MAX */
Index: src/mpoad/p_factory.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/mpoad/p_factory.c,v
retrieving revision 1.2
diff -u -w -r1.2 p_factory.c
--- src/mpoad/p_factory.c 9 Oct 2001 22:33:07 -0000 1.2
+++ src/mpoad/p_factory.c 22 Apr 2005 09:41:13 -0000
@@ -34,7 +34,9 @@
while( count > 1 ) {
/* This is the inner loop */
- sum += * ((uint16_t *) addr)++;
+ // sum += * ((uint16_t *) addr)++;
+ sum += * ((uint16_t *) addr);
+ addr += 2;
count -= 2;
}
Index: src/qgen/qlib.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/qgen/qlib.c,v
retrieving revision 1.2
diff -u -w -r1.2 qlib.c
--- src/qgen/qlib.c 9 Oct 2001 22:33:07 -0000 1.2
+++ src/qgen/qlib.c 22 Apr 2005 09:41:13 -0000
@@ -26,7 +26,7 @@
#include "op.h"
-static int debug = 0;
+/* static */ int debug = 0;
void PREFIX(report)(int severity,const char *msg,...)
Index: src/sigd/cfg_y.y
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/sigd/cfg_y.y,v
retrieving revision 1.2.2.1
diff -u -w -r1.2.2.1 cfg_y.y
--- src/sigd/cfg_y.y 20 Apr 2005 16:40:47 -0000 1.2.2.1
+++ src/sigd/cfg_y.y 22 Apr 2005 09:41:13 -0000
@@ -10,6 +10,7 @@
#include <string.h>
#include <ctype.h>
#include <limits.h>
+#include <stdlib.h>
#include "atm.h"
#include "atmd.h"
Index: src/switch/cfg_y.y
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/switch/cfg_y.y,v
retrieving revision 1.2.2.1
diff -u -w -r1.2.2.1 cfg_y.y
--- src/switch/cfg_y.y 20 Apr 2005 16:40:47 -0000 1.2.2.1
+++ src/switch/cfg_y.y 22 Apr 2005 09:41:13 -0000
@@ -10,6 +10,7 @@
#include <string.h>
#include <errno.h>
#include <limits.h>
+#include <stdlib.h>
#include "atm.h"
Index: src/switch/debug/debug.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/switch/debug/debug.c,v
retrieving revision 1.2
diff -u -w -r1.2 debug.c
--- src/switch/debug/debug.c 9 Oct 2001 22:33:08 -0000 1.2
+++ src/switch/debug/debug.c 22 Apr 2005 09:41:13 -0000
@@ -43,7 +43,8 @@
void fab_init(CALL *call)
{
- PRV(call) = alloc_t(FAB);
+ // PRV(call) = alloc_t(FAB);
+ call->fab = alloc_t(FAB);
PRV(call)->next = calls;
calls = call;
}
@@ -59,7 +60,8 @@
diag(COMPONENT,DIAG_FATAL,"fab_destroy: call %p not found",call);
*walk = PRV(call)->next;
free(PRV(call));
- PRV(call) = NULL;
+ // PRV(call) = NULL;
+ call->fab = NULL;
}
Index: src/switch/tcp/tcpsw.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/switch/tcp/tcpsw.c,v
retrieving revision 1.2
diff -u -w -r1.2 tcpsw.c
--- src/switch/tcp/tcpsw.c 9 Oct 2001 22:33:08 -0000 1.2
+++ src/switch/tcp/tcpsw.c 22 Apr 2005 09:41:13 -0000
@@ -345,7 +345,8 @@
void fab_init(CALL *call)
{
- PRV(call) = alloc_t(FAB);
+ // PRV(call) = alloc_t(FAB);
+ call->fab = alloc_t(FAB);
PRV(call)->active = 0;
PRV(call)->next = calls;
calls = call;
@@ -362,7 +363,8 @@
diag(COMPONENT,DIAG_FATAL,"fab_destroy: call %p not found",call);
*walk = PRV(call)->next;
free(PRV(call));
- PRV(call) = NULL;
+ // PRV(call) = NULL;
+ call->fab = NULL;
}

3
linux-atm-2.5.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3115e81df3baa728cf4e693b3a5fbe5738a186478d17bb774e7bb2a57c581f80
size 705176

61
linux-atm.changes Normal file
View File

@ -0,0 +1,61 @@
-------------------------------------------------------------------
Sat May 27 23:01:13 CEST 2006 - schwab@suse.de
- Don't strip binaries.
-------------------------------------------------------------------
Wed Jan 25 21:37:56 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Apr 22 11:37:24 CEST 2005 - arvin@suse.de
- updated to latest CVS
-------------------------------------------------------------------
Wed Apr 20 10:45:31 CEST 2005 - arvin@suse.de
- updated to 2.5.0 CVS + my GCC 4.0 and other patches
-------------------------------------------------------------------
Mon Apr 18 16:58:04 CEST 2005 - arvin@suse.de
- some (but not all) gcc 4.0 fixes
-------------------------------------------------------------------
Tue Apr 20 11:46:09 CEST 2004 - arvin@suse.de
- removed some compile warnings
-------------------------------------------------------------------
Sat Jan 10 17:24:09 CET 2004 - adrian@suse.de
- add %run_ldconfig
-------------------------------------------------------------------
Sat Jul 19 12:38:22 CEST 2003 - meissner@suse.de
- drop 1 line from ltconfig, so it builds shared libs on ppc64.
-------------------------------------------------------------------
Mon May 26 16:33:37 CEST 2003 - arvin@suse.de
- split package into linux-atm, linux-atm-lib and linux-atm-devel
- include all programs/files to make rpm v4 happy
-------------------------------------------------------------------
Thu Apr 18 14:36:40 CEST 2002 - kukuk@suse.de
- Add suse_update_config for x86_64
-------------------------------------------------------------------
Tue Jan 08 11:12:13 CET 2002 - arvin@suse.de
- include some documentation in the package
-------------------------------------------------------------------
Mon Jan 07 13:22:54 CET 2002 - arvin@suse.de
- initial package for atm

134
linux-atm.spec Normal file
View File

@ -0,0 +1,134 @@
#
# spec file for package linux-atm (Version 2.5.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: linux-atm
URL: http://sourceforge.net/projects/linux-atm/
License: BSD, GPL
Group: Productivity/Networking/Other
Summary: Tools for ATM
Version: 2.5.0
Release: 14
Source0: linux-atm-%{version}.tar.bz2
Patch0: linux-atm-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Tools to support ATM (Asynchronous Transfer Mode) networking.
Authors:
--------
Werner Almesberger, EPFL ICA <wa@almesberger.net>
Mitchell Blank Jr., <mitch@sfgoth.com>
Paul B. Schroeder, <paulsch@us.ibm.com>
%package lib
Group: System/Libraries
Summary: Libraries for ATM
%description lib
Libraries for ATM (Asynchronous Transfer Mode) networking.
Authors:
--------
Werner Almesberger, EPFL ICA <wa@almesberger.net>
Mitchell Blank Jr., <mitch@sfgoth.com>
Paul B. Schroeder, <paulsch@us.ibm.com>
%package devel
Group: Development/Libraries/C and C++
Summary: Development for ATM
Requires: linux-atm-lib = %version
%description devel
Libraries and header files for ATM (Asynchronous Transfer Mode)
networking.
Authors:
--------
Werner Almesberger, EPFL ICA <wa@almesberger.net>
Mitchell Blank Jr., <mitch@sfgoth.com>
Paul B. Schroeder, <paulsch@us.ibm.com>
%prep
%setup -q -n linux-atm-%{version}
%patch0
%build
%{?suse_update_config}
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr --sysconf=/etc --mandir=%{_mandir} --libdir=%{_libdir}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf %{buildroot}
%post lib
%run_ldconfig
%postun lib
%run_ldconfig
%files
%defattr(-,root,root)
%config(noreplace) /etc/atmsigd.conf
/usr/bin/*
/usr/sbin/*
%doc README AUTHORS ChangeLog NEWS THANKS BUGS
%doc COPYING COPYING.GPL COPYING.LGPL
%doc %{_mandir}/man*/*.gz
%files lib
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%{_includedir}/*
%changelog -n linux-atm
* Sat May 27 2006 - schwab@suse.de
- Don't strip binaries.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Apr 22 2005 - arvin@suse.de
- updated to latest CVS
* Wed Apr 20 2005 - arvin@suse.de
- updated to 2.5.0 CVS + my GCC 4.0 and other patches
* Mon Apr 18 2005 - arvin@suse.de
- some (but not all) gcc 4.0 fixes
* Tue Apr 20 2004 - arvin@suse.de
- removed some compile warnings
* Sat Jan 10 2004 - adrian@suse.de
- add %%run_ldconfig
* Sat Jul 19 2003 - meissner@suse.de
- drop 1 line from ltconfig, so it builds shared libs on ppc64.
* Mon May 26 2003 - arvin@suse.de
- split package into linux-atm, linux-atm-lib and linux-atm-devel
- include all programs/files to make rpm v4 happy
* Thu Apr 18 2002 - kukuk@suse.de
- Add suse_update_config for x86_64
* Tue Jan 08 2002 - arvin@suse.de
- include some documentation in the package
* Mon Jan 07 2002 - arvin@suse.de
- initial package for atm

0
ready Normal file
View File