aggregate - optimise a list of route prefixes; submitted by <jabley@automagic.org>

This commit is contained in:
jakob 2001-02-17 11:56:00 +00:00
parent 97552c9110
commit f7b4c8cc9d
6 changed files with 52 additions and 0 deletions

16
net/aggregate/Makefile Normal file
View File

@ -0,0 +1,16 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/02/17 11:56:00 jakob Exp $
DISTNAME= aggregate-1.1
CATEGORIES= net
NEED_VERSION= 1.352
MASTER_SITES= http://www.mfnx.net/public/
MAINTAINER= Joe Abley <jabley@automagic.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.include <bsd.port.mk>

3
net/aggregate/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (aggregate-1.1.tar.gz) = 6371136a8bef3f56da08c2a58c35f5ce
RMD160 (aggregate-1.1.tar.gz) = 284ec07e665f68f490240956c71d01153e3a43df
SHA1 (aggregate-1.1.tar.gz) = c98115508ecea6fa48d3d4e0c17961e1ad1a33e7

View File

@ -0,0 +1,16 @@
--- aggregate-1.1/Makefile Fri Feb 16 11:31:55 2001
+++ Makefile Fri Feb 16 13:27:38 2001
@@ -27,9 +27,9 @@
rm aggregate
install: aggregate aggregate.1
- install -c -g wheel -m 0755 -o root aggregate /usr/local/bin/
- install -c -g wheel -m 0644 -o root aggregate.1 /usr/local/man/man1/
- install -c -g wheel -m 0755 -o root aggregate-ios /usr/local/bin/
- install -c -g wheel -m 0644 -o root aggregate-ios.1 /usr/local/man/man1/
+ install -c -g wheel -m 0755 -o root aggregate ${PREFIX}/bin/
+ install -c -g wheel -m 0644 -o root aggregate.1 ${PREFIX}/man/man1/
+ install -c -g wheel -m 0755 -o root aggregate-ios ${PREFIX}/bin/
+ install -c -g wheel -m 0644 -o root aggregate-ios.1 ${PREFIX}/man/man1/
aggregate: aggregate.c

View File

@ -0,0 +1 @@
optimise a list of route prefixes

11
net/aggregate/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
Takes a list of prefixes in conventional format on stdin, and performs two
optimisations to attempt to reduce the length of the prefix list.
The first optimisation is to remove any supplied prefixes which are
supurfluous because they are already included in another supplied prefix.
For example, 203.97.2.0/24 would be removed if 203.97.0.0/17 was also
supplied.
The second optimisation identifies adjacent prefixes that can be combined
under a single, shorter-length prefix. For example, 203.97.2.0/24 and
203.97.3.0/24 can be combined into the single prefix 203.97.2.0/23.

5
net/aggregate/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/17 11:56:01 jakob Exp $
bin/aggregate
bin/aggregate-ios
man/man1/aggregate.1
man/man1/aggregate-ios.1