diff options
author | steve <steve@FreeBSD.org> | 1998-08-09 08:38:46 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-08-09 08:38:46 +0800 |
commit | 0cbd02ba48b0b6b814f225ae0e0a270cd83bb189 (patch) | |
tree | b484810896c06a000f7b14a297b5d60bb20fcf42 | |
parent | 356efbad7e741afe1ce0ef9b8ae3af2c8150fc43 (diff) | |
download | freebsd-ports-gnome-0cbd02ba48b0b6b814f225ae0e0a270cd83bb189.tar.gz freebsd-ports-gnome-0cbd02ba48b0b6b814f225ae0e0a270cd83bb189.tar.zst freebsd-ports-gnome-0cbd02ba48b0b6b814f225ae0e0a270cd83bb189.zip |
Initial import of pathalias version 9.11.
PR: 5202
Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
-rw-r--r-- | mail/pathalias/Makefile | 29 | ||||
-rw-r--r-- | mail/pathalias/distinfo | 1 | ||||
-rw-r--r-- | mail/pathalias/files/patch-aa | 14 | ||||
-rw-r--r-- | mail/pathalias/files/patch-ab | 23 | ||||
-rw-r--r-- | mail/pathalias/pkg-comment | 1 | ||||
-rw-r--r-- | mail/pathalias/pkg-descr | 14 | ||||
-rw-r--r-- | mail/pathalias/pkg-plist | 2 |
7 files changed, 84 insertions, 0 deletions
diff --git a/mail/pathalias/Makefile b/mail/pathalias/Makefile new file mode 100644 index 000000000000..312d19a3b189 --- /dev/null +++ b/mail/pathalias/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: pathalias +# Version required: 9.11 +# Date created: 03 Dec 1997 +# Whom: dirk.meyer@dinoex.sub.org +# +# $Id$ + +DISTNAME= pathalias11 +PKGNAME= pathalias-9.11 +CATEGORIES= mail +MASTER_SITES= ftp://ftp.dinoex.sub.de/pub/approved/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= dirk.meyer@dinoex.sub.org + +ALL_TARGET= pathalias + +MAN8= pathalias.8 +BIN8= pathalias + +do-install: +.for i in ${BIN8} + @${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin +.endfor +.for i in ${MAN8} + ${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/man/man8 +.endfor + +.include <bsd.port.mk> diff --git a/mail/pathalias/distinfo b/mail/pathalias/distinfo new file mode 100644 index 000000000000..30d5c8000df2 --- /dev/null +++ b/mail/pathalias/distinfo @@ -0,0 +1 @@ +MD5 (pathalias11.tar.Z) = 7f4114d1cee45cac1fc0ece4604cb04d diff --git a/mail/pathalias/files/patch-aa b/mail/pathalias/files/patch-aa new file mode 100644 index 000000000000..f5273eb04826 --- /dev/null +++ b/mail/pathalias/files/patch-aa @@ -0,0 +1,14 @@ +*** ./mapit.c Sat Jun 9 12:32:18 1990 +--- ../../m/mapit.c Thu Feb 10 07:00:02 1994 +*************** +*** 298,303 **** +--- 298,306 ---- + || (NETDIR(l) == LRIGHT && (prev->n_flag & HASLEFT))) + cost += INF; /* mixed syntax */ + } ++ /* Dirk meyer 10.02.94 */ ++ if ( cost < 0 ) /* Overflow, more than 31 bit */ ++ cost = INF; /* Limit, to avoid recursive paths */ + + return cost; + } diff --git a/mail/pathalias/files/patch-ab b/mail/pathalias/files/patch-ab new file mode 100644 index 000000000000..a531d8e4c164 --- /dev/null +++ b/mail/pathalias/files/patch-ab @@ -0,0 +1,23 @@ +diff -c ./printit.c ../../m/printit.c +*** ./printit.c Sat Jun 9 12:32:26 1990 +--- ../../m/printit.c Thu Feb 10 07:08:42 1994 +*************** +*** 27,33 **** + STATIC int printable(); + + /* in practice, even the longest paths are < 100 bytes */ +! #define PATHSIZE 512 + + void + printit() +--- 27,36 ---- + STATIC int printable(); + + /* in practice, even the longest paths are < 100 bytes */ +! /* Dirk meyer 10.02.94 */ +! /* in reality we have reached paths up to 200 bytes */ +! /* the path must fit two times in the buffer */ +! #define PATHSIZE 4096 + + void + printit() diff --git a/mail/pathalias/pkg-comment b/mail/pathalias/pkg-comment new file mode 100644 index 000000000000..c4356c3698b5 --- /dev/null +++ b/mail/pathalias/pkg-comment @@ -0,0 +1 @@ +pathalias - mail routing tools diff --git a/mail/pathalias/pkg-descr b/mail/pathalias/pkg-descr new file mode 100644 index 000000000000..d1369c47727e --- /dev/null +++ b/mail/pathalias/pkg-descr @@ -0,0 +1,14 @@ + +Pathalias computes the shortest paths and corresponding +routes from one host (computer system) to all other known, +reachable hosts. Pathalias reads host-to-host connectiv- +ity information on standard input or in the named files, +and writes a list of host-route pairs on the standard out- +put. + +pathalias, written by steve bellovin and peter honeyman, is in the +public domain, and may be used by any person or organization, in +any way and for any purpose. + +- ported and bugfixed +dirk,meyer@dinoex.sub.org diff --git a/mail/pathalias/pkg-plist b/mail/pathalias/pkg-plist new file mode 100644 index 000000000000..4fc0bfac5711 --- /dev/null +++ b/mail/pathalias/pkg-plist @@ -0,0 +1,2 @@ +bin/pathalias +man/man8/pathalias.8.gz |