diff options
author | roam <roam@FreeBSD.org> | 2001-03-04 15:48:52 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2001-03-04 15:48:52 +0000 |
commit | 29e411519b56641141df23b26a072df5db2aaf8a (patch) | |
tree | 3e69b95079afa253b919c91b281f1b40e6bf0ab6 /net-mgmt | |
parent | e4738c13dd250a41cc59e8285b205bee82542a5f (diff) | |
download | FreeBSD-ports-29e411519b56641141df23b26a072df5db2aaf8a.zip FreeBSD-ports-29e411519b56641141df23b26a072df5db2aaf8a.tar.gz |
Add aggregate, a utility for optimizing a list of network prefixes.
PR: 25143
Submitted by: Joe Abley <jabley@automagic.org>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/aggregate/Makefile | 17 | ||||
-rw-r--r-- | net-mgmt/aggregate/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/aggregate/files/patch-aa | 16 | ||||
-rw-r--r-- | net-mgmt/aggregate/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/aggregate/pkg-descr | 16 | ||||
-rw-r--r-- | net-mgmt/aggregate/pkg-plist | 2 |
6 files changed, 53 insertions, 0 deletions
diff --git a/net-mgmt/aggregate/Makefile b/net-mgmt/aggregate/Makefile new file mode 100644 index 0000000..1722af3 --- /dev/null +++ b/net-mgmt/aggregate/Makefile @@ -0,0 +1,17 @@ +# New ports collection makefile for: aggregate +# Date created: 16 Feb 2001 +# Whom: jabley +# +# $FreeBSD$ +# + +PORTNAME= aggregate +PORTVERSION= 1.1 +CATEGORIES= net +MASTER_SITES= http://www.mfnx.net/public/ + +MAINTAINER= jabley@automagic.org + +MAN1= aggregate.1 aggregate-ios.1 + +.include <bsd.port.mk> diff --git a/net-mgmt/aggregate/distinfo b/net-mgmt/aggregate/distinfo new file mode 100644 index 0000000..7c39533 --- /dev/null +++ b/net-mgmt/aggregate/distinfo @@ -0,0 +1 @@ +MD5 (aggregate-1.1.tar.gz) = 6371136a8bef3f56da08c2a58c35f5ce diff --git a/net-mgmt/aggregate/files/patch-aa b/net-mgmt/aggregate/files/patch-aa new file mode 100644 index 0000000..b90dbc3 --- /dev/null +++ b/net-mgmt/aggregate/files/patch-aa @@ -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 diff --git a/net-mgmt/aggregate/pkg-comment b/net-mgmt/aggregate/pkg-comment new file mode 100644 index 0000000..de03ea1 --- /dev/null +++ b/net-mgmt/aggregate/pkg-comment @@ -0,0 +1 @@ +Optimise a list of route prefixes to help make nice short filters diff --git a/net-mgmt/aggregate/pkg-descr b/net-mgmt/aggregate/pkg-descr new file mode 100644 index 0000000..cb78b82 --- /dev/null +++ b/net-mgmt/aggregate/pkg-descr @@ -0,0 +1,16 @@ +akes 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. + + +jabley@automagic.org diff --git a/net-mgmt/aggregate/pkg-plist b/net-mgmt/aggregate/pkg-plist new file mode 100644 index 0000000..c64c92d --- /dev/null +++ b/net-mgmt/aggregate/pkg-plist @@ -0,0 +1,2 @@ +bin/aggregate +bin/aggregate-ios |