aboutsummaryrefslogtreecommitdiff
path: root/misc/aclgen
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-01 03:43:04 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-01 03:43:04 +0000
commit76cfcc40dd3a49ee73430891a056573077a3e9e1 (patch)
treef4df4ca2590c7d3cd5c6ab11f0ed64f1d9ff98d9 /misc/aclgen
parent2deffa2644e32a7cea8a366e6e8d6247c4dfb173 (diff)
downloadports-76cfcc40dd3a49ee73430891a056573077a3e9e1.tar.gz
ports-76cfcc40dd3a49ee73430891a056573077a3e9e1.zip
Initial import of aclgen version 2.02.
A program for optimizing Cisco router's IP access lists. PR: 13788 Submitted by: Igor Vinokurov <igor@zynaps.ru>
Notes
Notes: svn path=/head/; revision=22814
Diffstat (limited to 'misc/aclgen')
-rw-r--r--misc/aclgen/Makefile27
-rw-r--r--misc/aclgen/distinfo1
-rw-r--r--misc/aclgen/files/Makefile3
-rw-r--r--misc/aclgen/files/patch-aa10
-rw-r--r--misc/aclgen/pkg-comment1
-rw-r--r--misc/aclgen/pkg-descr18
-rw-r--r--misc/aclgen/pkg-plist1
7 files changed, 61 insertions, 0 deletions
diff --git a/misc/aclgen/Makefile b/misc/aclgen/Makefile
new file mode 100644
index 000000000000..68bad4c6a75b
--- /dev/null
+++ b/misc/aclgen/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: aclgen
+# Version required: 2.02
+# Date created: 17 September 1999
+# Whom: igor@zynaps.ru
+#
+# $FreeBSD$
+#
+
+DISTNAME= aclgen-202
+PKGNAME= aclgen-2.02
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.sztaki.hu/pub/private/kissg/aclgen/
+
+MAINTAINER= ports@FreeBSD.org
+
+NO_WRKSUBDIR= YES
+
+MAN1= aclgen.1
+
+post-extract:
+ @${CP} ${FILESDIR}/Makefile ${WRKSRC}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/aclgen ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/aclgen.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/misc/aclgen/distinfo b/misc/aclgen/distinfo
new file mode 100644
index 000000000000..b606fcf8f239
--- /dev/null
+++ b/misc/aclgen/distinfo
@@ -0,0 +1 @@
+MD5 (aclgen-202.tar.gz) = 34c05ac0ab825e72faa86914b9c36971
diff --git a/misc/aclgen/files/Makefile b/misc/aclgen/files/Makefile
new file mode 100644
index 000000000000..ad895c63e5bb
--- /dev/null
+++ b/misc/aclgen/files/Makefile
@@ -0,0 +1,3 @@
+PROG= aclgen
+
+.include <bsd.prog.mk>
diff --git a/misc/aclgen/files/patch-aa b/misc/aclgen/files/patch-aa
new file mode 100644
index 000000000000..f35c352144a0
--- /dev/null
+++ b/misc/aclgen/files/patch-aa
@@ -0,0 +1,10 @@
+--- aclgen.c.orig Thu Jul 3 11:35:57 1997
++++ aclgen.c Fri Sep 17 18:08:28 1999
+@@ -15,7 +15,6 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <ctype.h>
+-#include <malloc.h>
+ #include <stdlib.h>
+
+ /*#define P(x) ()*/
diff --git a/misc/aclgen/pkg-comment b/misc/aclgen/pkg-comment
new file mode 100644
index 000000000000..feb39d1ea7f6
--- /dev/null
+++ b/misc/aclgen/pkg-comment
@@ -0,0 +1 @@
+Optimize Cisco routers ip access lists
diff --git a/misc/aclgen/pkg-descr b/misc/aclgen/pkg-descr
new file mode 100644
index 000000000000..49a4443e2e4c
--- /dev/null
+++ b/misc/aclgen/pkg-descr
@@ -0,0 +1,18 @@
+From README:
+
+Aclgen is a tool to create minimal length ip access lists
+and aggregated routing tables primarily for Cisco routers.
+
+Aclgen is fast. It takes only 15 seconds to create a 17000 line
+long access list for some 44000 entries of my routing table.
+
+Aclgen is flexible. It accepts various input formats and
+you can specify any output format by a printf like format-string.
+
+Aclgen is intended to use in large scripts creating router
+configuration from different databases.
+
+Any contribution is welcome. Send me your script using aclgen.
+I'll bundle it with the program.
+
+Gabor Kiss <kissg@sztaki.hu>
diff --git a/misc/aclgen/pkg-plist b/misc/aclgen/pkg-plist
new file mode 100644
index 000000000000..1173b45d33ad
--- /dev/null
+++ b/misc/aclgen/pkg-plist
@@ -0,0 +1 @@
+bin/aclgen