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. Fix: the following archive create a directory pathalias-9.7 this can be installed in the directory "/usr/ports/mail". ftp://ftp.dinoex.sub.de/pub/appoved/ports-pathalias-9.7.tar.gz How-To-Repeat: if pathalias calculate routing links, an overflow can occur
Update the port to pathaliass 9.11 encode the port in this shar archive. -- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany -- Tel. +49-5606-6512 # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pathalias-9.11/pkg/COMMENT # pathalias-9.11/pkg/DESCR # pathalias-9.11/pkg/PLIST # pathalias-9.11/files/md5 # pathalias-9.11/Makefile # pathalias-9.11/patches/patch-mapit.c # pathalias-9.11/patches/patch-printit.c # echo x - pathalias-9.11/pkg/COMMENT sed 's/^X//' >pathalias-9.11/pkg/COMMENT << 'END-of-pathalias-9.11/pkg/COMMENT' Xpathalias - mail routing tools END-of-pathalias-9.11/pkg/COMMENT echo x - pathalias-9.11/pkg/DESCR sed 's/^X//' >pathalias-9.11/pkg/DESCR << 'END-of-pathalias-9.11/pkg/DESCR' X XPathalias computes the shortest paths and corresponding Xroutes from one host (computer system) to all other known, Xreachable hosts. Pathalias reads host-to-host connectiv- Xity information on standard input or in the named files, Xand writes a list of host-route pairs on the standard out- Xput. X Xpathalias, written by steve bellovin and peter honeyman, is in the Xpublic domain, and may be used by any person or organization, in Xany way and for any purpose. X X- ported and bugfixed Xdirk,meyer@dinoex.sub.org END-of-pathalias-9.11/pkg/DESCR echo x - pathalias-9.11/pkg/PLIST sed 's/^X//' >pathalias-9.11/pkg/PLIST << 'END-of-pathalias-9.11/pkg/PLIST' Xbin/pathalias Xman/man8/pathalias.8.gz END-of-pathalias-9.11/pkg/PLIST echo x - pathalias-9.11/files/md5 sed 's/^X//' >pathalias-9.11/files/md5 << 'END-of-pathalias-9.11/files/md5' XMD5 (pathalias11.tar.Z) = 7f4114d1cee45cac1fc0ece4604cb04d END-of-pathalias-9.11/files/md5 echo x - pathalias-9.11/Makefile sed 's/^X//' >pathalias-9.11/Makefile << 'END-of-pathalias-9.11/Makefile' X# New ports collection makefile for: pathalias X# Version required: 9.11 X# Date created: 03 Dec 1997 X# Whom: dirk.meyer@dinoex.sub.org X# X# $Id$ X XDISTNAME= pathalias11 XPGKNAME= pathalias-9.11 XCATEGORIES= mail XMASTER_SITES= ftp://ftp.u-strasbg.fr/pub/network/mail/admin/ \ X ftp://ftp.dinoex.sub.de/pub/approved/ XEXTRACT_SUFX= .tar.Z X XMAINTAINER= dirk.meyer@dinoex.sub.org X XALL_TARGET= pathalias X XMAN8= pathalias.8 XBIN8= pathalias X Xdo-install: X.for i in ${BIN8} X @${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin X.endfor X.for i in ${MAN8} X ${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/man/man8 X.endfor X X.include <bsd.port.mk> END-of-pathalias-9.11/Makefile echo x - pathalias-9.11/patches/patch-mapit.c sed 's/^X//' >pathalias-9.11/patches/patch-mapit.c << 'END-of-pathalias-9.11/patches/patch-mapit.c' X*** ./mapit.c Sat Jun 9 12:32:18 1990 X--- ../../m/mapit.c Thu Feb 10 07:00:02 1994 X*************** X*** 298,303 **** X--- 298,306 ---- X || (NETDIR(l) == LRIGHT && (prev->n_flag & HASLEFT))) X cost += INF; /* mixed syntax */ X } X+ /* Dirk meyer 10.02.94 */ X+ if ( cost < 0 ) /* Overflow, more than 31 bit */ X+ cost = INF; /* Limit, to avoid recursive paths */ X X return cost; X } END-of-pathalias-9.11/patches/patch-mapit.c echo x - pathalias-9.11/patches/patch-printit.c sed 's/^X//' >pathalias-9.11/patches/patch-printit.c << 'END-of-pathalias-9.11/patches/patch-printit.c' Xdiff -c ./printit.c ../../m/printit.c X*** ./printit.c Sat Jun 9 12:32:26 1990 X--- ../../m/printit.c Thu Feb 10 07:08:42 1994 X*************** X*** 27,33 **** X STATIC int printable(); X X /* in practice, even the longest paths are < 100 bytes */ X! #define PATHSIZE 512 X X void X printit() X--- 27,36 ---- X STATIC int printable(); X X /* in practice, even the longest paths are < 100 bytes */ X! /* Dirk meyer 10.02.94 */ X! /* in reality we have reached paths up to 200 bytes */ X! /* the path must fit two times in the buffer */ X! #define PATHSIZE 4096 X X void X printit() END-of-pathalias-9.11/patches/patch-printit.c exit
State Changed From-To: open->closed New port committed, thanks!