[csw-devel] SF.net SVN: gar:[7474] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Nov 27 10:10:10 CET 2009


Revision: 7474
          http://gar.svn.sourceforge.net/gar/?rev=7474&view=rev
Author:   dmichelsen
Date:     2009-11-27 09:10:09 +0000 (Fri, 27 Nov 2009)

Log Message:
-----------
zebra: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/zebra/
    csw/mgar/pkg/zebra/branches/
    csw/mgar/pkg/zebra/tags/
    csw/mgar/pkg/zebra/trunk/
    csw/mgar/pkg/zebra/trunk/Makefile
    csw/mgar/pkg/zebra/trunk/checksums
    csw/mgar/pkg/zebra/trunk/files/
    csw/mgar/pkg/zebra/trunk/files/0001-Fix-for-Sun-Studio.patch


Property changes on: csw/mgar/pkg/zebra/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/zebra/trunk/Makefile
===================================================================
--- csw/mgar/pkg/zebra/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/zebra/trunk/Makefile	2009-11-27 09:10:09 UTC (rev 7474)
@@ -0,0 +1,38 @@
+GARNAME = zebra
+GARVERSION = 0.95a
+CATEGORIES = server
+
+DESCRIPTION = Manages TCP/IP Based Routing Protocols
+define BLURB
+  GNU Zebra is free software that manages TCP/IP based routing protocols.
+  It is released as part of the GNU Project, and it is distributed under the
+  GNU General Public License. It supports BGP-4 protocol as described in RFC1771
+  (A Border Gateway Protocol 4) as well as RIPv1, RIPv2 and OSPFv2. Unlike traditional,
+  monolithic architectures and even the so-called "new modular architectures" that
+  remove the burden of processing routing functions from the cpu and utilize special
+  ASIC chips instead, Zebra software offers true modularity.
+endef
+
+MASTER_SITES = ftp://ftp.zebra.org/pub/zebra/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+PATCHFILES = 0001-Fix-for-Sun-Studio.patch
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+sysconfdir = /etc/opt/csw
+localstatedir = /var/opt/csw
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+TEST_TARGET = check
+
+EXTRA_PAX_ARGS = -s ",\.conf.sample\(.*\),.conf\1.CSW,p"
+
+SAMPLECONF = /etc/opt/csw/bgpd.conf
+SAMPLECONF += /etc/opt/csw/bgpd.conf2
+SAMPLECONF += /etc/opt/csw/ospfd.conf
+SAMPLECONF += /etc/opt/csw/ripd.conf
+SAMPLECONF += /etc/opt/csw/zebra.conf
+
+include gar/category.mk

Added: csw/mgar/pkg/zebra/trunk/checksums
===================================================================
--- csw/mgar/pkg/zebra/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/zebra/trunk/checksums	2009-11-27 09:10:09 UTC (rev 7474)
@@ -0,0 +1,2 @@
+48b2c6d28b807b684e1b4cbdff96e0b2  0001-Fix-for-Sun-Studio.patch
+9b8fec2d4f910334e50167414fcf193b  zebra-0.95a.tar.gz

Added: csw/mgar/pkg/zebra/trunk/files/0001-Fix-for-Sun-Studio.patch
===================================================================
--- csw/mgar/pkg/zebra/trunk/files/0001-Fix-for-Sun-Studio.patch	                        (rev 0)
+++ csw/mgar/pkg/zebra/trunk/files/0001-Fix-for-Sun-Studio.patch	2009-11-27 09:10:09 UTC (rev 7474)
@@ -0,0 +1,61 @@
+From 8fbae5034f3fcbb3c197cfa854bc37142e239967 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 27 Nov 2009 09:53:39 +0100
+Subject: [PATCH] Fix for Sun Studio
+
+---
+ lib/prefix.h |   10 +++++-----
+ 1 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/lib/prefix.h b/lib/prefix.h
+index 7d7cde6..60e8439 100644
+--- a/lib/prefix.h
++++ b/lib/prefix.h
+@@ -41,7 +41,7 @@ struct prefix
+       struct in_addr adv_router;
+     } lp;
+     u_char val[8];
+-  } u __attribute__ ((aligned (8)));
++  } u;
+ };
+ 
+ /* IPv4 prefix structure. */
+@@ -49,7 +49,7 @@ struct prefix_ipv4
+ {
+   u_char family;
+   u_char prefixlen;
+-  struct in_addr prefix __attribute__ ((aligned (8)));
++  struct in_addr prefix;
+ };
+ 
+ /* IPv6 prefix structure. */
+@@ -58,7 +58,7 @@ struct prefix_ipv6
+ {
+   u_char family;
+   u_char prefixlen;
+-  struct in6_addr prefix __attribute__ ((aligned (8)));
++  struct in6_addr prefix;
+ };
+ #endif /* HAVE_IPV6 */
+ 
+@@ -66,7 +66,7 @@ struct prefix_ls
+ {
+   u_char family;
+   u_char prefixlen;
+-  struct in_addr id __attribute__ ((aligned (8)));
++  struct in_addr id;
+   struct in_addr adv_router;
+ };
+ 
+@@ -75,7 +75,7 @@ struct prefix_rd
+ {
+   u_char family;
+   u_char prefixlen;
+-  u_char val[8] __attribute__ ((aligned (8)));
++  u_char val[8];
+ };
+ 
+ #ifndef INET_ADDRSTRLEN
+-- 
+1.6.5.1
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list