1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Initial import of pathalias version 9.11.

PR:		5202
Submitted by:	Dirk Meyer <dirk.meyer@dinoex.sub.org>
This commit is contained in:
Steve Price 1998-08-09 00:38:46 +00:00
parent a9c880d5f2
commit cae685eaf0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12355
7 changed files with 84 additions and 0 deletions

29
mail/pathalias/Makefile Normal file
View File

@ -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>

1
mail/pathalias/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (pathalias11.tar.Z) = 7f4114d1cee45cac1fc0ece4604cb04d

View File

@ -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;
}

View File

@ -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()

View File

@ -0,0 +1 @@
pathalias - mail routing tools

14
mail/pathalias/pkg-descr Normal file
View File

@ -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

2
mail/pathalias/pkg-plist Normal file
View File

@ -0,0 +1,2 @@
bin/pathalias
man/man8/pathalias.8.gz