summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorpaul <paul>2003-03-25 05:07:42 +0000
committerpaul <paul>2003-03-25 05:07:42 +0000
commit6898008484a562ff5bae178a6fb0bd885fe8b1e5 (patch)
tree27797ca6532ca0ef85f538ac8f3070639e579229 /redhat
parent1ef74ef70bdab672458c4d1e4cea24197066c0af (diff)
2003-03-25 Paul Jakma <paul@dishone.st>
* sync to latest zebra CVS * spec file: updated and added define for ospf-api/client NB: OSPF-API has been broken by the zebra.org changes, which has added struct ospf * as a new arg to many functions
Diffstat (limited to 'redhat')
-rw-r--r--redhat/zebra.spec20
1 files changed, 17 insertions, 3 deletions
diff --git a/redhat/zebra.spec b/redhat/zebra.spec
index 77f51465..db42c682 100644
--- a/redhat/zebra.spec
+++ b/redhat/zebra.spec
@@ -1,5 +1,5 @@
# conditionals
-%define with_snmp 1
+%define with_snmp 0
%define with_vtysh 1
%define with_ospf_te 1
%define with_nssa 1
@@ -8,6 +8,8 @@
%define with_vtysh 1
%define with_pam 1
%define with_ipv6 1
+%define with_ospfclient 0
+%define with_ospfapi 0
%define with_multipath 64
# path defines
@@ -24,7 +26,7 @@
Summary: Routing daemon
Name: zebra
Version: 0.94
-Release: 2003031801
+Release: 2003032501
License: GPL
Group: System Environment/Daemons
Source0: ftp://ftp.zebra.org/pub/zebra/%{name}-%{version}.tar.gz
@@ -105,6 +107,16 @@ developing OSPF-API and zebra applications.
%if %with_vtysh
--enable-vtysh \
%endif
+%if %with_ospfclient
+ --enable-ospfclient=yes \
+%else
+ --enable-ospfclient=no\
+%endif
+%if %with_ospfapi
+ --enable-ospfapi=yes \
+%else
+ --enable-ospfapi=no \
+%endif
%if %with_pam
--with-libpam
%endif
@@ -243,8 +255,10 @@ fi
%files devel
%defattr(-,root,root)
%dir %{_libdir}/*
-%dir %{_includedir}/ospfd/*
+%dir %{_includedir}/ospfd/*
+%if %with_ospfapi
%dir %{_includedir}/ospfapi/*
+%endif
%changelog
* Mon Mar 18 2003 Paul Jakma <paul@dishone.st>