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: 23-Oct-2006 13:48:32
Branch: OPENPKG_2_STABLE Handle: 2006102312483200
Modified files: (Branch: OPENPKG_2_STABLE)
openpkg-src/zebra zebra.spec
Log:
MFC: provide an IPv6 build-time option
Summary:
Revision Changes Path
1.59.2.3 +10 -2 openpkg-src/zebra/zebra.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/zebra/zebra.spec
============================================================================
$ cvs diff -u -r1.59.2.2 -r1.59.2.3 zebra.spec
--- openpkg-src/zebra/zebra.spec 16 Oct 2006 14:58:44 -0000 1.59.2.2
+++ openpkg-src/zebra/zebra.spec 23 Oct 2006 11:48:32 -0000 1.59.2.3
@@ -33,7 +33,10 @@
Group: Routing
License: GPL
Version: 0.95a
-Release: 2.20061018
+Release: 2.20061023
+
+# package options
+%option with_ipv6 no
# list of sources
Source0: ftp://ftp.zebra.org/pub/zebra/zebra-%{version}.tar.gz
@@ -94,9 +97,14 @@
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/zebra \
--enable-vtysh \
+%if "%{with_ipv6}" == "yes"
+ --enable-ipv6 \
+ --enable-ospf6d \
+%else
+ --disable-ipv6 \
--disable-ospf6d \
+%endif
--disable-ripngd \
- --disable-ipv6 \
--without-libpam
# rebuild vtysh command list
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]