OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Feb-2006 09:24:50
Branch: HEAD Handle: 2006021108245000
Added files:
openpkg-src/quagga quagga.patch
Modified files:
openpkg-src/quagga quagga.spec
Log:
upgrading package: quagga 0.98.5 -> 0.99.3
Summary:
Revision Changes Path
1.5 +24 -0 openpkg-src/quagga/quagga.patch
1.32 +5 -13 openpkg-src/quagga/quagga.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/quagga/quagga.patch
============================================================================
$ cvs diff -u -r0 -r1.5 quagga.patch
--- /dev/null 2006-02-11 09:24:49 +0100
+++ quagga.patch 2006-02-11 09:24:50 +0100
@@ -0,0 +1,24 @@
+Index: lib/buffer.c
+--- lib/buffer.c.orig 2005-11-24 18:02:26 +0100
++++ lib/buffer.c 2006-02-11 09:17:42 +0100
+@@ -53,7 +53,7 @@
+ size_t sp;
+
+ /* Actual data stream (variable length). */
+- unsigned char data[]; /* real dimension is buffer->size */
++ unsigned char data[0]; /* real dimension is buffer->size */
+ };
+
+ /* It should always be true that: 0 <= sp <= cp <= size */
+Index: ospfd/ospf_api.c
+--- ospfd/ospf_api.c.orig 2005-11-24 17:51:16 +0100
++++ ospfd/ospf_api.c 2006-02-11 09:17:42 +0100
+@@ -68,7 +68,7 @@
+ struct opaque_lsa
+ {
+ struct lsa_header header;
+- u_char mydata[];
++ u_char mydata[0];
+ };
+
+ struct opaque_lsa *olsa;
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/quagga/quagga.spec
============================================================================
$ cvs diff -u -r1.31 -r1.32 quagga.spec
--- openpkg-src/quagga/quagga.spec 1 Jan 2006 13:21:06 -0000 1.31
+++ openpkg-src/quagga/quagga.spec 11 Feb 2006 08:24:50 -0000 1.32
@@ -32,8 +32,8 @@
Class: PLUS
Group: Network
License: GPL
-Version: 0.98.5
-Release: 20051014
+Version: 0.99.3
+Release: 20060211
# list of sources
Source0: http://www.quagga.net/download/quagga-%{version}.tar.gz
@@ -43,6 +43,7 @@
Source4: ripd.conf
Source5: zebra.conf
Source6: vtysh.conf
+Patch0: quagga.patch
# build information
Prefix: %{l_prefix}
@@ -69,21 +70,12 @@
prog quagga = {
version = %{version}
url = http://www.quagga.net/download/
- regex = quagga-(\d+\.[0-9]?[02468]\.\d+)\.tar\.gz
+ regex = quagga-(__VER__)\.tar\.gz
}
%prep
%setup -q
- %{l_shtool} subst \
- -e 's;/usr/bin/perl;%{l_prefix}/bin/perl;g' \
- vtysh/extract.pl
- case "%{l_platform -t}" in
- *-freebsd* )
- %{l_shtool} subst \
- -e 's;UINT32_MAX;UINT_MAX;' \
- bgpd/bgp_routemap.c
- ;;
- esac
+ %patch -p0
%build
# configure package
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]