]> git.pld-linux.org Git - packages/bird.git/commitdiff
- upgraded to 1.2.1, added postscript docs and some minor fixes;
authorTomasz Pala <gotar@pld-linux.org>
Sun, 7 Mar 2010 11:59:14 +0000 (11:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (please verify 64bit patch against filter/config.Y)

Changed files:
    bird-64bit.patch -> 1.2
    bird.spec -> 1.43

bird-64bit.patch
bird.spec

index 2ee431ed16b54f8287a77200f9c0affbfeb7bf3b..74bbc3f05b8a2eddc8ae7ac0eee07819a8e51740 100644 (file)
@@ -1,13 +1,12 @@
 diff -dur -x '*~' bird-1.0.11.orig/conf/conf.h bird-1.0.11/conf/conf.h
 --- bird-1.0.11.orig/conf/conf.h       2000-06-04 21:30:13.000000000 +0200
 +++ bird-1.0.11/conf/conf.h    2005-07-22 15:30:41.000000000 +0200
-@@ -75,7 +75,7 @@
    struct symbol *next;
    struct sym_scope *scope;
    int class;
 -  int aux;
 +  long aux;
-   void *aux2; 
+   void *aux2;
    void *def;
    char name[1];
 diff -dur -x '*~' bird-1.0.11.orig/conf/confbase.Y bird-1.0.11/conf/confbase.Y
@@ -22,36 +21,6 @@ diff -dur -x '*~' bird-1.0.11.orig/conf/confbase.Y bird-1.0.11/conf/confbase.Y
    u32 i32;
    ip_addr a;
    struct symbol *s;
-diff -dur -x '*~' bird-1.0.11.orig/filter/config.Y bird-1.0.11/filter/config.Y
---- bird-1.0.11.orig/filter/config.Y   2004-05-31 19:44:39.000000000 +0200
-+++ bird-1.0.11/filter/config.Y        2005-07-22 15:29:16.000000000 +0200
-@@ -97,7 +97,7 @@
- decls: /* EMPTY */ { $$ = NULL; }
-  | one_decl ';' decls {
-      $$ = $1;
--     $$->aux = (int) $3;
-+     $$->aux = (long) $3;
-    }
-  ;
-@@ -105,7 +105,7 @@
- declsn: one_decl { $$ = $1; }
-  | declsn ';' one_decl {
-      $$ = $1;
--     $$->aux = (int) $3;
-+     $$->aux = (long) $3;
-    }
-  ;
-@@ -168,7 +168,7 @@
-      cf_push_scope($2);
-    } function_params function_body {
-      $2->def = $5;
--     $2->aux = (int) $4;
-+     $2->aux = (long) $4;
-      $2->aux2 = $5;
-      DBG("Hmm, we've got one function here - %s\n", $2->name); 
-      cf_pop_scope();
 diff -dur -x '*~' bird-1.0.11.orig/filter/filter.h bird-1.0.11/filter/filter.h
 --- bird-1.0.11.orig/filter/filter.h   2000-05-30 12:42:39.000000000 +0200
 +++ bird-1.0.11/filter/filter.h        2005-07-22 15:30:18.000000000 +0200
index 1b2383e3e8dd3bb6e485d56b51192049b0694a79..23c4b9ff907f3aa86ae8a6cdb875a8c7da69c3d8 100644 (file)
--- a/bird.spec
+++ b/bird.spec
@@ -5,19 +5,21 @@
 %bcond_without ipv6    # disable IPv6 support (and building bird-ipv6 package)
 %bcond_without ipv4    # disable IPv4 support (and building bird-ipv4 package)
 #
-Summary:       Routing daemon
-Summary(pl.UTF-8):     Demon dynamicznego routingu
+Summary:       The BIRD Internet Routing Daemon
+Summary(pl.UTF-8):     Demon BIRD Internetowego Routingu Dynamicznego
 Name:          bird
-Version:       1.0.12
+Version:       1.2.1
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         Networking/Daemons
 Source0:       ftp://bird.network.cz/pub/bird/%{name}-%{version}.tar.gz
-# Source0-md5: f404bde9b664ef801a81c7bdc784ec7c
+# Source0-md5: e158bd0a72e345841e39764975ee1d21
 Source1:       %{name}-ipv4.init
 Source2:       %{name}-ipv4.sysconfig
 Source3:       %{name}-ipv6.init
 Source4:       %{name}-ipv6.sysconfig
+Source5:       ftp://bird.network.cz/pub/bird/%{name}-doc-%{version}.tar.gz
+# Source5-md5: a82474c87f5c79f29a6c9088f9dfe30a
 Patch0:                %{name}-64bit.patch
 URL:           http://bird.network.cz/
 BuildRequires: autoconf
@@ -100,14 +102,16 @@ protokołów routingu, łatwym interfejsem konfiguracji i językiem
 filtrów o dużych możliwościach.
 
 %prep
-%setup -q
+%setup -q -a 5
 %patch0 -p1
 
 %build
 cp -f /usr/share/automake/config.* tools
+%{__autoconf}
+
+export CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
 
 %if %{with ipv6}
-%{__autoconf}
 %configure \
        --disable-memcheck \
        --enable-client \
@@ -175,7 +179,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc doc/*.html TODO README
+%doc doc/*.html doc/reply_codes %{name}-doc-%{version}/doc/*.ps ChangeLog NEWS README TODO
 %attr(755,root,root) %{_sbindir}/birdc
 
 %if %{with ipv4}
This page took 0.087837 seconds and 4 git commands to generate.