aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-01 11:43:04 +0800
committersteve <steve@FreeBSD.org>1999-11-01 11:43:04 +0800
commit6e46380c832882c1268213ad52ee240d0724aca9 (patch)
tree9ccd774f418b932d348a612aab4fed0c61c8a089 /misc
parent8d23aacc4aa1bdec05ee62b16f9a5381a2bd3552 (diff)
downloadfreebsd-ports-gnome-6e46380c832882c1268213ad52ee240d0724aca9.tar.gz
freebsd-ports-gnome-6e46380c832882c1268213ad52ee240d0724aca9.tar.zst
freebsd-ports-gnome-6e46380c832882c1268213ad52ee240d0724aca9.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>
Diffstat (limited to 'misc')
-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