rpms/lksctp-tools/devel lksctp-tools-1.0.5-syntax.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 lksctp-tools.spec, 1.7, 1.8 sources, 1.2, 1.3 lksctp-tools-1.0.2-syntax.patch, 1.1, NONE
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Jan 24 06:40:00 UTC 2006
Author: wtogami
Update of /cvs/dist/rpms/lksctp-tools/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv22482
Modified Files:
.cvsignore lksctp-tools.spec sources
Added Files:
lksctp-tools-1.0.5-syntax.patch
Removed Files:
lksctp-tools-1.0.2-syntax.patch
Log Message:
- Update to 1.0.5.
- Update to 1.0.4.
- Update syntax patch.
- Execute bootstrap if no configure script is found.
- Don't own entire man? directories.
- Own data and lib lksctp-tools directories.
- Move devel libs in _libdir/lksctp-tools/ to devel package.
- Exclude .la files.
- Minor spec file cleanups.
See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=172935
lksctp-tools-1.0.5-syntax.patch:
apps/sctp_test.c | 6 +++---
func_tests/test_basic.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE lksctp-tools-1.0.5-syntax.patch ---
diff -urN lksctp-tools-1.0.5.orig/src/apps/sctp_test.c lksctp-tools-1.0.5/src/apps/sctp_test.c
--- lksctp-tools-1.0.5.orig/src/apps/sctp_test.c 2006-01-04 14:06:22.000000000 -0500
+++ lksctp-tools-1.0.5/src/apps/sctp_test.c 2006-01-24 01:13:09.000000000 -0500
@@ -72,7 +72,7 @@
#define REPEAT 10
#define BIG_REPEAT 1000000
#define MAX_BIND_RETRYS 10
-#define BODYSIZE 10
+#define BODYSIZE 11
#define MSG_CNT 10 /* If this is changed the msg_sizes array
needs to be modified accordingly. */
@@ -325,7 +325,7 @@
DEBUG_PRINT(DEBUG_MIN, "Data %d bytes.", msg_len);
DEBUG_PRINT(DEBUG_MAX, " First %d bytes: ",
- (msg_len < BODYSIZE)?msg_len:BODYSIZE);
+ (msg_len < (BODYSIZE - 1))?msg_len:(BODYSIZE - 1));
/* Make sure that everything is printable and that we
* are NUL terminated...
*/
@@ -355,7 +355,7 @@
if (!isprint(text[i])) text[i] = '.';
}
- strncpy(tmptext, text, BODYSIZE);
+ strncpy(tmptext, text, (BODYSIZE - 1));
tmptext[BODYSIZE-1] = '\0';
DEBUG_PRINT(DEBUG_MAX, "%s", tmptext);
diff -urN lksctp-tools-1.0.5.orig/src/func_tests/test_basic.c lksctp-tools-1.0.5/src/func_tests/test_basic.c
--- lksctp-tools-1.0.5.orig/src/func_tests/test_basic.c 2006-01-04 14:06:22.000000000 -0500
+++ lksctp-tools-1.0.5/src/func_tests/test_basic.c 2006-01-24 01:14:09.000000000 -0500
@@ -82,7 +82,7 @@
int pf_class;
uint32_t ppid;
uint32_t stream;
- sctp_assoc_t associd1, associd2;
+ sctp_assoc_t associd1 = NULL, associd2;
struct sctp_assoc_change *sac;
char *big_buffer;
struct sockaddr *laddrs, *paddrs;
Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/lksctp-tools/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 24 Jan 2005 12:44:30 -0000 1.2
+++ .cvsignore 24 Jan 2006 06:39:58 -0000 1.3
@@ -1 +1 @@
-lksctp-tools-1.0.2.tar.gz
+lksctp-tools-1.0.5.tar.gz
Index: lksctp-tools.spec
===================================================================
RCS file: /cvs/dist/rpms/lksctp-tools/devel/lksctp-tools.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- lksctp-tools.spec 9 Dec 2005 22:41:47 -0000 1.7
+++ lksctp-tools.spec 24 Jan 2006 06:39:58 -0000 1.8
@@ -1,25 +1,20 @@
-%define lksctp_version 1.0.2
-
-%define file_version %{lksctp_version}
-
Summary: User-space access to Linux Kernel SCTP
Name: lksctp-tools
-Version: %{lksctp_version}
-Release: 5.1
+Version: 1.0.5
+Release: 0.fc5
License: LGPL
Group: System Environment/Libraries
-URL: http://lksctp.sourceforge.net
-Source0: %{name}-%{file_version}.tar.gz
-Patch0 : lksctp-tools-1.0.2-syntax.patch
+URL: http://lksctp.sourceforge.net/
+Source: http://dl.sf.net/lksctp/lksctp-tools-%{version}.tar.gz
+Patch0: lksctp-tools-1.0.5-syntax.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-BuildRequires: gcc
#BuildRequires: tetex, tetex-latex, tetex-xdvi, tetex-dvips
#BuildRequires: ghostscript, enscript
BuildRequires: libtool, automake, autoconf
%description
-This is the lksctp-tools package for Linux Kernel SCTP Reference
-Implementation.
+This is the lksctp-tools package for Linux Kernel SCTP (Stream Control
+Transmission Protocol) Reference Implementation.
This package is intended to supplement the Linux Kernel SCTP Reference
Implementation now available in the Linux kernel source tree in
@@ -27,22 +22,16 @@
package documentation README file, section titled "LKSCTP - Linux
Kernel SCTP."
-This package contains the base run-time library & command-line tools.
+This package contains the base run-time library and command-line tools.
%package devel
-Summary: Development kit for lksctp-tools
+Summary: Development files for lksctp-tools
Group: Development/Libraries
Requires: %{name} = %{version}
-Requires: glibc-devel
%description devel
-Development kit for lksctp-tools
-
-- Man pages
-- Header files
-- Static libraries
-- Symlinks to dynamic libraries
-- Tutorial source code
+Development files for lksctp-tools which include man pages, header files,
+static libraries, symlinks to dynamic libraries and some tutorial source code.
%package doc
Summary: Documents pertaining to SCTP
@@ -50,15 +39,16 @@
Requires: %{name} = %{version}
%description doc
-Documents pertaining to LKSCTP & SCTP in general
-- IETF RFC's & Internet Drafts
+Documents pertaining to LKSCTP & SCTP in general (IETF RFC's & Internet
+Drafts).
%prep
-%setup -q -n %{name}-%{file_version}
+%setup -q
%patch0 -p1
%build
-%configure --enable-shared --enable-static
+[ ! -x ./configure ] && sh bootstrap
+%configure
make
%install
@@ -68,35 +58,49 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING ChangeLog COPYING.lib README
+%defattr(-,root,root,0755)
+%doc AUTHORS ChangeLog COPYING* README
%{_bindir}/*
%{_libdir}/libsctp.so.*
-%{_libdir}/lksctp-tools/*
+%dir %{_libdir}/lksctp-tools/
+%{_libdir}/lksctp-tools/libwithsctp.so.*
+%{_mandir}/man7/*
%files devel
-%defattr(-,root,root,-)
-%{_includedir}
-%{_libdir}/libsctp.so
+%defattr(-,root,root,0755)
+%{_includedir}/*
%{_libdir}/libsctp.a
-%{_libdir}/libsctp.la
-%{_datadir}/lksctp-tools/*
-%{_mandir}/*
+%exclude %{_libdir}/libsctp.la
+%{_libdir}/libsctp.so
+%dir %{_libdir}/lksctp-tools/
+%{_libdir}/lksctp-tools/libwithsctp.a
+%exclude %{_libdir}/lksctp-tools/libwithsctp.la
+%{_libdir}/lksctp-tools/libwithsctp.so
+%{_datadir}/lksctp-tools/
+%{_mandir}/man3/*
%files doc
-%defattr(-,root,root,-)
+%defattr(-,root,root,0755)
%doc doc/*.txt
%changelog
-* Fri Dec 09 2005 Jesse Keating <jkeating at redhat.com>
-- rebuilt
+* Tue Jan 24 2006 Warren Togami <wtogami at redhat.com> 1.0.5-1
+- 1.0.5
+
+* Fri Nov 11 2005 Matthias Saou <http://freshrpms.net/> 1.0.4-1
+- Update to 1.0.4.
+- Update syntax patch.
+- Execute bootstrap if no configure script is found.
+- Don't own entire man? directories.
+- Own data and lib lksctp-tools directories.
+- Move devel libs in _libdir/lksctp-tools/ to devel package.
+- Exclude .la files.
+- Minor spec file cleanups.
* Wed Mar 02 2005 Karsten Hopp <karsten at redhat.de> 1.0.2-5
- build with gcc-4
@@ -113,13 +117,13 @@
* Thu Dec 30 2004 Sridhar Samudrala <sri at us.ibm.com> 1.0.2-1
- 1.0.2 Release
-
+
* Tue May 11 2004 Sridhar Samudrala <sri at us.ibm.com> 1.0.1-1
- 1.0.1 Release
-
+
* Thu Feb 26 2004 Sridhar Samudrala <sri at us.ibm.com> 1.0.0-1
- 1.0.0 Release
-
+
* Fri Feb 6 2004 Francois-Xavier Kowalski <francois-xavier.kowalski at hp.com> 0.9.0-1
- package only .txt doc files
Index: sources
===================================================================
RCS file: /cvs/dist/rpms/lksctp-tools/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 24 Jan 2005 12:44:30 -0000 1.2
+++ sources 24 Jan 2006 06:39:58 -0000 1.3
@@ -1 +1 @@
-d4f885e3f7edabdc6b309a01800f52c9 lksctp-tools-1.0.2.tar.gz
+aa6d09d392849f5456c6fbd1ebbb525e lksctp-tools-1.0.5.tar.gz
--- lksctp-tools-1.0.2-syntax.patch DELETED ---
More information about the fedora-cvs-commits
mailing list