1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
Commit Graph

60 Commits

Author SHA1 Message Date
Jun Kuriyama
14eaeff4f0 Add SCRIPTS_ENV="WRKDIRPREFIX=${WRKDIRPREFIX}" to work around $WRKDIRPREFIX
environment.

No response from:	maintainer
Reference:		<7mwv98irg6.wl@waterblue.imgsrc.co.jp>
2001-06-02 07:42:31 +00:00
Josef Karthauser
f1c80f1988 I'm looking after these ports for Andreas for a while so I've
changed the MAINTAINER line to an email alias that directs mail to
us both.
2001-05-24 20:34:27 +00:00
Andreas Klemm
11f6992922 update to new zebra 0.91a
- some workarounds concerning installation of zebra info files
  since sources doesn't contain all info files...
- modified zebractl script to check, if zebra.conf exists, which
  is needed for every routing protocol, error message and exit if not found.
From the author:
"0.91 is basically a bugfix release. All of IPv6 codes are based upon
 new RIB codes"
Bugfixes and features see ChangeLog file.
2001-03-22 22:31:17 +00:00
Andreas Klemm
973d85ecfa - remove redirection to /dev/null for zebra and routing daemons
you should be able to see error messages if there are any
  Since daemons are started using -d options, you should
  normally see no output...
- bumped PORTREVISION, since its a major win being able
  to see error messages if there are any

Submitted by:	knarf@camelot.de
2001-01-29 22:12:54 +00:00
Andreas Klemm
393d81dcc7 - -d makes possible to start daemons in certain order
- for that purpose you have to remove the '&'
  forgot that in last commit.

Submitted by:	Frank Bartels <knarf@camelot.de>
2001-01-27 08:58:15 +00:00
Andreas Klemm
a9b6a3658e - start zebra processes with -d option to make sure that one process
starts after the other to prevent core dump. This fixes bgp coredump
  for Knarf
- set PORTREVISION

Submitted by:   Frank Bartels <knarf@camelot.de>
2001-01-25 23:15:36 +00:00
Andreas Klemm
d2d2b9d783 unbreak port.
note: I tried to build a portname applying to the porters handbook
conventions. Unfortunately it doesn't have a good example for version
numbers like 0.90a. 0.90-alpha would have to be change to 0.90.a.
So I thought it should be done this way for 0.90.a as well.
But then you have to set DISTFILES and WRKSRC (the latter I forgot in
a last minute change, sorry, which broke the port). And even if you
get the port running again, then portlint tells you pretty things
how to do it better ...
All in all. It would be fine to add an example in porters handbook
for cases like 0.90a, which should *not* be changed to 0.90.a !

Submitted by:	Josef Karthauser <joe@tao.org.uk>
2001-01-23 06:55:47 +00:00
Andreas Klemm
59fe29c8e2 - update to 0.90a
- update md5 checksum
- make PORTVERSION porters handbook compliant,
  had to add DISTFILES so source is still fetchable.
  Maybe I misunderstood the description how to transpose version numbers,
  maybe the description should be changed, that 0.90a should also be
  allowed than to use 0.90.a
- remove PORTREVISION, since PORTVERSION changed
2001-01-22 21:52:50 +00:00
Maxim Sobolev
2b1a883dc4 Massive style enforcement - use ^I instead of spaces for variables identation. 2001-01-16 17:33:20 +00:00
Andreas Klemm
7d1c8282aa - configure: fixed logic in if-clause, so that dialog is only called
if BATCH is not defined.
Portrevision doesn't need to be bumped, since exactly this enables/unbreaks
package building...
2001-01-13 15:03:43 +00:00
Andreas Klemm
5726ba99ab - in usage message mention restart option, which is actually:
zebractl stop
  zebractl start
- new functionality (visible) for people -> PORTREVISION
2001-01-12 18:29:08 +00:00
Andreas Klemm
6e2dbdc869 upgrade to new zebra version 0.90
- removed PORTREVISION (new version)
- new configure script: dialog menue allows you to set different zebra
  compile time options (if ! BATCH), currently supported:
  --with-libpam         = enable PAM authentication for vtysh
  --enable-nssa         = enable OSPF NSSA
  --enable-snmp         = enable SNMP support
- please note: port compiles fine when all options are set, but
  functionality has not been tested by me.
- silence portlint, trim pkg-comment to <=70 columns
- remove unneeded patch patch, 0.90 now contains fix for memory leak
- cosmetic: add patch for Makefile.in (don't link with -g)
- portlint: o.k.

In this BETA --enable-unixdomain and --enable-newrib became default !
To get old implementation back use the following configure options:
--enable-tcp-zebra # TCP/IP socket is used for protocol daemon and zebra.
--enable-oldrib    # Turn on old RIB implementation.
Note: I didn't add these options to configure script, so that people
      don't choose the wrong thing !

Some milestones of this release (see file NEWS for complete list):
- access-lists can have remarks
- memory leak with access-list and prefix-list name fixed
- UNIX domain socket server of zebra protocol is added
- PointoPoint interface network bug fixed
- Metric value is reflected to kernel routing table
- New RIB implementation has been added:
- BGP passive peer support problem is fixed
- Redistributed IGP nexthop is passed to BGP nexthop
- Fix bug of holdtimer is not reset when bgp cleared
- BGP-MIB implementation is finished
- When BGP connection comes from unconfigured IP address, close socket
  immediately.
- BGP flap dampening feature is added
* RIP
- Fix bug of refreshing default route
* OSPF
- Fix bug of Hello packet's option is not properly set when interface comes up
- Reduce unconditional logging
- New command for virtual-link configuration
- Memory leak related classfull network generation is fixed
2001-01-11 21:45:05 +00:00
Andreas Klemm
f404786276 make port compile, patch was missing the subdir "lib" in its header
Submitted by:	Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl>
2000-12-30 17:48:13 +00:00
Andreas Klemm
2b8e0cf85e Fix vty memory leak
Patch in PR contains typo, got clean patch from zebra anon cvs server
Wrote e-mail to security officer and freebsd-audit to ask for
a) review
b) what to do next (FreeBSD Ports Security Advisory?...)
concerning a) the author of zebra already ok'd the patch.
converning b) waiting for SO or fbsd-auditers to respond

PR:		23856
Submitted by:	Vincent Poy <vince@oahu.WURLDLINK.NET>
Reviewed by:	Kunihiro Ishiguro <kunihiro@zebra.org>
Approved by:	Kunihiro Ishiguro <kunihiro@zebra.org>
Obtained from:	PR (partly) + zebra anon cvs server
2000-12-27 14:19:33 +00:00
Andreas Klemm
caad53e726 zebra-0.89 has been replaced by zebra-0.89a.
fix: multiple route entry for same type of route,
     which caused problem for BGP implicit withdraw.
If you are using zebra-0.89 and have a problem with multiple BGP
routes in zebra for one prefix, please update.

Obtained from:	Kunihiro Ishiguro <kunihiro@zebra.org>
2000-10-23 20:41:33 +00:00
Satoshi Asami
593c1068d7 Fix own typo -- forgot a ">".
Submitted by:	bento
2000-10-09 00:26:12 +00:00
Satoshi Asami
13208eb651 Rename PLIST.v6 to pkg-plist.v6. (I can't think of a reason why there
are two commands "cat >" and "cat >>" when they both take one argument
so I combined them together so they can do what the "cat" command's
name came from.)
2000-10-08 04:03:12 +00:00
Andreas Klemm
0c072bcf7b forgotten in previous committ: new md5 checksum 2000-10-03 13:15:12 +00:00
Andreas Klemm
11b250a50b update to newest beta release 0.89
added manpage entries in Makefile

Highlights:
o OSPF neighbor is supported.
o IPv6 inteface's address information propagation bug is fixed.
o BGP's various MED comparison methods are added.
o BGP read lock problem is fixed.

Release / contribution information (I think its maybe of interest
concerning the status of zebra):

From: Kunihiro Ishiguro <kunihiro@zebra.org>
Date: Mon, 02 Oct 2000 19:46:41 -0700

I've not yet merged below contributions as of zebra-0.89:
o OSPF Demand Circuits
  K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
o Kerberos 4, Kerberos 5 auth and DES CFB64 encryption.
  Magnus Ahltorp <ahltorp@nada.kth.se>
These will be merged as soon as possible.
o PIM-SM
  Robert.Olsson@data.slu.se
  Jens.Laas@data.slu.se
Will be added after zebra-1.0 release.
2000-10-03 13:14:28 +00:00
Josef Karthauser
05ba6ae72a Upgrade to zebra-0.88. 2000-08-18 14:33:08 +00:00
Satoshi Asami
8cb2259653 Add three info files.
Found by:	bento
2000-07-05 06:01:30 +00:00
Andreas Klemm
ce940401d9 update to 0.87 2000-06-27 16:29:01 +00:00
Andreas Klemm
a15d266ac4 Update zebra to 0.86
From its developer:

Hi, this is Kunihiro.

I think this version is the most stable OSPF version ever had.  We'll
keep on fixing and adding new feature to ospfd.  And also some BGP's
route selection problems are fixed.  Many patches are included.

* Changes in zebra-0.86

* Changes in lib
** Fix bug of exec-timeout command which may cause crush.
** Multiple same policy for "access-list", "ip prefix-list, "as-path
   access-list", "ip community-list" is not duplicated.
** It used to be "ip prefix-list A.B.C.D/M" match routes which mask >= M.
   Now default behavior is exact match so it only match routes which mask == M.

* Changes in bgpd
** "match ip address prefix-list" is added to route-map.
** A route without local preference is evaluated as 100 local preference.
** Select smaller router-id route when other values are same.
** Compare MED only both routes comes from same neighboring AS.
** "bgp always-compare-med" command is added.
** Now MED value is passed to IBGP peer.
** When neighbor's filter is configured with non-existent access-list,
   as-path access-list, ip prefix-list, route-map.  The behavior is changed
   from all permit to all deny.

* Changes in ospfd
** Fix bug of external route tag byte order.
** OSPF Neighbor deletion bug which cause crush is fixed.
** Some route calculation bug are fixed.
** Add sanity check with router routing table.
** Fix bug of memory leak about linklist.
** Fix bug of 1-WayReceived in NSM.
** Take care of BIGENDIAN architecture.
** Fix bug of NSM state flapping between ExStart and Exchange.
** Fix bug of Network-LSA originated in stub network.
** Fix bug of MS flag unset.
** Add to schedule router_lsa origination when the interface cost changes.
** Increment LS age by configured interface transmit_delay.
** distribute-list is reimplemented.
** Fix bug of refresh never occurs.
** Fix bug of summary-LSAs reorigination.  Correctly copy OSPF_LSA_APPROVED
   flag to new LSA. when summary-LSA is reoriginatd.
** Fix bug of re-origination when a neighbor disappears.
** Fix bug of segmentation fault with DD retransmission.
** Fix network-LSA re-origination problem.
** Fix problem of remaining withdrawn routes on zebra.

* Changes in ripd
** Do not leave from multicast group when interface goes down bug is fixed.

* Changes in zebra
** Remove client structure when client dies.
** Take care static route when interface goes up/down.
2000-05-01 07:02:17 +00:00
Chris Piazza
93a61d6874 Update with the new PORTNAME/PORTVERSION variables 2000-04-09 18:14:07 +00:00
Andreas Klemm
2bf082f797 upgrade to 0.84b
And port changes from sumikawa@ebina.hitachi.co.jp:
- add 'ipv6' on CATEGORIES
- get rid of 'USE_INET6' and use 'OSVERSION' instead of it.
- make PLIST.v6 only difference from PLIST for easily maintanance

Submitted by: sumikawa@ebina.hitachi.co.jp
2000-01-22 22:12:16 +00:00
Andreas Klemm
7b75f67c4f Upgrade to 0.84 2000-01-22 14:15:40 +00:00
Munechika SUMIKAWA
3d5da309b4 Support IPv6. if 'USE_INET6' is defined, ripngd and ospf6d are installed.
Approved by: andreas(maintainer)
2000-01-08 17:49:13 +00:00
Andreas Klemm
fb74ae016f use rc.conf instead rc.conf.local
Submitted by:	Mike Smith <msmith@FreeBSD.org>
1999-12-24 23:40:09 +00:00
Andreas Klemm
dd69a128e7 tell the user to use rc.conf.local, to start zebra ... 1999-12-24 15:57:38 +00:00
Andreas Klemm
803a9168c8 - Upgrade to 0.83a
- remove zebra.sh from ${PREFIX}/etc/rc.d
- start zebra now from /etc/rc.conf.local
- new zebra start script is ${PREFIX}/sbin/zebractl {start|stop|restart}
  Example:
	/etc/rc.conf.local:
	defaultrouter="NO"
	router_enable="YES"
	router="/usr/local/sbin/zebractl"
	router_flags="start"
1999-12-24 15:56:32 +00:00
Josef Karthauser
7b7fb74988 Update to zebra-0.83a. 1999-12-23 14:31:40 +00:00
Andreas Klemm
ea9206f45b Upgrade to 0.81 1999-11-08 21:47:59 +00:00
Andreas Klemm
ba1ebb3ea9 Update zebra to 0.79
This software is still under developement
Please read the README's or subscribe to the zebra mailing list
1999-09-19 12:14:57 +00:00
Michael Haro
65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00
Peter Wemm
a6c3f62331 $Id$ -> $FreeBSD$ 1999-08-30 14:24:37 +00:00
Michael Haro
5281212be3 chmod -> ${CHMOD}
chown -> ${CHOWN}
1999-08-22 19:01:07 +00:00
Andreas Klemm
650f7f76c6 Upgrade to zebra 0.77
From: Kunihiro Ishiguro <kunihiro@zebra.org>
Date: Sun, 15 Aug 1999 23:47:59 +0900

This beta includes brand new ripd.  Almost codes of ripd is rewritten.
ripd's dynamic `network' command configuration is improved.  `timers
basic' command's semantics is changed to conforms to RFC2453.  ripngd
is also updated as same as ripd.  IPv6 kernel route handling bug is
fixed.  SIGUSR1 reopen logging file.  ospfd's bug of originating
network LSA is fixed.  Redistribute routes handling is much improved.
Now `no redistribute' works as expected.  BGP-4+ withdraw bug is
fixed.  IPv6 router advertisement codes are added but not yet usable.

* Changes in zebra-0.77
* Changes in lib
** SIGUSR1 reopen logging file.
** route-map is extended to support multi-protocol routing information.
** When compiling under GNU libc 2.1 environment don't use inet6-apps.

* Changes in zebra
** Basic IPv6 router advertisement codes added.  It is not yet usable.
** Fix IPv6 route addition/deletion bug is fixed.
** `show ip route A.B.C.D' works

* Changes in bgpd
** When invalid unfeasible routes length comes, bgpd send notify then
continue to process the packet.  Now bgpd stop parsing invalid packet
then return to main loop.
** BGP-4+ withdrawn routes parse bug is fixed.
** When BGP-4+ information passed to non shared network's peer, trim
link-local next-hop information.
** `no redistribute ROUTE_TYPE' withdraw installed routes from BGP
routing information.
** `show ipv6 route IPV6ADDR' command added.
** BGP start timer has jitter.
** Holdtimer configuration bug is fixed.  Now configuration does not
show unconfigured hold time value.

* Changes in ripngd
** Now update timer (default 30 seconds) has +/- 50% jitter value.
** Add timers basic command.
** `network' configuration is dynamically reflected.
** `timers basic <update> <timeout> <garbage>' added.

* Changes in ripd
** Reconstruct almost codes.
** `network' configuration is dynamically reflected.
** RIP timers now conforms to RFC2453.  So user can configure update,
timeout, garbage timer.
** `timers basic <update> <timeout> <garbage>' works.

* Changes in ospfd
** Bug of originating network LSA is fixed.
** `no router ospf' core dump bug is fixed.

* Changes in ospf6d
** Redistribute route works.
1999-08-19 00:01:32 +00:00
Andreas Klemm
1b33f07db8 Changes in 0.75, 0.76 is a bugfix release ...
BGP-4+ route handling is much improved.  ripngd perform route
aggregation with aggregate-address command.  When zebra starts up,
delete all installed routes which installed by zebra.  ospfd DR
election problem fixed.  `terminal length 0' bug is fixed.

BGP route-map now properly handles permit/deny and match/no match
mixture.  This fix is done by Rick Payne <rickp@rossfell.co.uk>.
--
Kunihiro Ishiguro

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* Changes in zebra-0.75

* Changes in lib

** `termnal length 0' bug is fixed.

* Changes in zebra

** When zebra starts up, sweep all zebra installed routes.  If -k or
--keep_kernel option is specified to zebra dameon.  This function is
not performed.

* Changes in ripngd

** Aggreagte address command supported.  In router ripngd,
`aggregate-address IPV6PREFIX' works.

* Changes in bgpd

** Input route-map's bug which cause segmentation violation is fixed.

** route-map method improved.

** BGP-4+ nexthop detection improved.

** BGP-4+ route re-selection bug is fixed.

** BGP-4+ iBGP route's nexthop calculation works.

** After connection Established `show ip bgp neighbor' display BGP TCP
connection's source and destination address.

** In case of BGP-4+ `show ip bgp neighbor' display BGP-4+ global and
local nexthop which used for originated route.  This address will be
used when `next-hop-self'.

* Changes in ospfd

** Fix bug of DR election.

** Set IP precedence field with IPTOS_PREC_INTERNET_CONTROL.

** Schedule NeighborChange event if NSM status change.

** Never include a neighbor in Hello packet, when the neighbor goes
down.
1999-08-10 20:42:00 +00:00
Bill Fumerola
6a2612a398 Remove two files that aren't installed anymore.
Noticed By:	bento's logs.
1999-08-07 23:46:29 +00:00
Andreas Klemm
b5350bf6ef Upgrade to 0.74
OSPFd core dump during startup should be fixed.
BTW it's still not a complete OSPF implementation
as the author says on the mailing list:

"This is the first beta relase which includes (partly) workable ospfd.
Now ospfd works as inter area OSPF router.  When it works properly
route goes into the kernel.  Please note it does not support intra
area route, AS external route, multiple area, aging of LSA, etc...
Please use ospfd only in test environment.
BGP serious bug is fixed.  ripngd is almost rewritten to conform to
RFC2080.  ospf6d's LSA data structure is improved.  And also many bugs
are fixed."
1999-07-31 06:19:31 +00:00
Andreas Klemm
fd07efbaee remove typo, seems to be I'm a victim of the heat wave ;-) 1999-07-18 11:52:13 +00:00
Andreas Klemm
aa11dde4cd make zebra startup script executeable in final destination... 1999-07-18 11:46:32 +00:00
Andreas Klemm
d577b530cb - Improve startup script
- OSPF tested, zebra works well as designated (DR)
  and backup designated router (BDR)
- Disable debugging to meet FreeBSD package policy (no debug)
1999-07-18 11:42:26 +00:00
Andreas Klemm
da57b0623d Make zebra port more user friendly be providing a nice start stop script
which is prefix-clean:
- Install a zebra startup script ${PREFIX}/rc.d/zebra.sh
- Can be used as start and stop script (expects "start" or
- "stop" as argument).
- If config file is present in ${PREFIX}/etc/zebra
	- Starts zebra, ripd, ospfd and bgpd
	- Stops (kills)  ripd, ospfd, bgpd and at last zebra
1999-07-18 10:31:43 +00:00
Andreas Klemm
4595bf80df Update zebra to 0.73.
New beta, many bugfixes...
1999-07-17 22:14:37 +00:00
Andreas Klemm
cc2d7ec287 Update zebra port to 0.68
From the announcement on the zebra mailing list:

ospfd is much improved.  DR election bug is fixed.  Database
description can be sent and received.  Now Neighbor State Machine
goes to Full.  We are working on zebra-0.70 can provide real OSPF
routing feature.

bgpd aggregate-address command is added.  At this momemnt summary-only
aggregation is supported.  `ip community-list' command is added.
New route-map command such as `set community' or `match community'
is added.

zebra's IPv6 related bug is fixed.  VTY input buffer overflow bug
is fixed.

DEFUN can eat (a|b|c) statement.  So (deny|permit) is useful for
like this:

bgpd(config)# access-list test ?
  deny              Access list for denies
  permit            Access list for permits

Changes in zebra-0.68
++ Changes in lib
- DEFUN() is extended to support (a|b|c) statement.
- Input buffer overflow bug is fixed.
++ Changes in bgpd
- `ip community-list' is added.
- set community and match community is added to route-map statement.
- aggregate-address A.B.C.D/M partly works.  Now it works only
  summary-only mode.
++ Changes in zebra
- IPv6 network address delete bug is fixed.
++ Changes in ospfd
- DR election bug fixed.
- Now Database Description can be send or received.
- Neighbor State Machine goes to Full state.
++ Changes in ospf6d
- router zebra related bug is fixed.
1999-06-19 10:21:08 +00:00
Jun-ichiro itojun Hagino
aab5d7d841 upgrade to 0.64.1.
(I tested this with KAME-ready kernel so it should work fine)
1999-05-09 18:24:16 +00:00
Michael Haro
5b9355a3b1 WWW: This is definately the daemon's work. In Chuck we trust. 1999-05-03 05:26:53 +00:00
Steve Price
89e6065d22 Update to the 19990420 version, which fixes the problem with the
'ip address' command on FreeBSD.

Submitted by:	Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
Ok'd by:	maintainer
1999-04-20 03:54:47 +00:00
Andreas Klemm
0178ef2b54 marked BROKEN
zebra isn't working
Can't set interface's address.
Can't set interface's address.
Can't set interface's address.
Can't set interface's address.
waiting for a fix from author.
1999-04-18 18:14:58 +00:00