From owner-freebsd-ports Fri Feb 16 10:40: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7CBB137B401 for ; Fri, 16 Feb 2001 10:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1GIe2C46003; Fri, 16 Feb 2001 10:40:02 -0800 (PST) (envelope-from gnats) Date: Fri, 16 Feb 2001 10:40:02 -0800 (PST) Message-Id: <200102161840.f1GIe2C46003@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Joe Abley Subject: ports/25143 Reply-To: Joe Abley Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/25143; it has been noted by GNATS. From: Joe Abley To: freebsd-gnats-submit@freebsd.org Cc: Subject: ports/25143 Date: Fri, 16 Feb 2001 13:37:57 -0500 The previous port for aggregate-1.1 contained assumed things about $PREFIX in the Makefile. I have added a small patch to fix this. Complete revised port follows. # 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: # # aggregate # aggregate/Makefile # aggregate/pkg-comment # aggregate/pkg-descr # aggregate/pkg-plist # aggregate/distinfo # aggregate/files # aggregate/files/patch-aa # echo c - aggregate mkdir -p aggregate > /dev/null 2>&1 echo x - aggregate/Makefile sed 's/^X//' >aggregate/Makefile << 'END-of-aggregate/Makefile' X# New ports collection makefile for: aggregate X# Date created: 16 Feb 2001 X# Whom: jabley X# X# $FreeBSD$ X# X XPORTNAME= aggregate XPORTVERSION= 1.1 XCATEGORIES= net XMASTER_SITES= http://www.mfnx.net/public/ X XMAINTAINER= jabley@automagic.org X XMAN1= aggregate.1 aggregate-ios.1 X X.include END-of-aggregate/Makefile echo x - aggregate/pkg-comment sed 's/^X//' >aggregate/pkg-comment << 'END-of-aggregate/pkg-comment' XOptimise a list of route prefixes to help make nice short filters END-of-aggregate/pkg-comment echo x - aggregate/pkg-descr sed 's/^X//' >aggregate/pkg-descr << 'END-of-aggregate/pkg-descr' Xakes a list of prefixes in conventional format on stdin, Xand performs two optimisations to attempt to reduce the Xlength of the prefix list. X XThe first optimisation is to remove any supplied prefixes Xwhich are supurfluous because they are already included in Xanother supplied prefix. For example, 203.97.2.0/24 would Xbe removed if 203.97.0.0/17 was also supplied. X XThe second optimisation identifies adjacent prefixes that Xcan be combined under a single, shorter-length prefix. For Xexample, 203.97.2.0/24 and 203.97.3.0/24 can be combined Xinto the single prefix 203.97.2.0/23. X X Xjabley@automagic.org END-of-aggregate/pkg-descr echo x - aggregate/pkg-plist sed 's/^X//' >aggregate/pkg-plist << 'END-of-aggregate/pkg-plist' Xbin/aggregate Xbin/aggregate-ios END-of-aggregate/pkg-plist echo x - aggregate/distinfo sed 's/^X//' >aggregate/distinfo << 'END-of-aggregate/distinfo' XMD5 (aggregate-1.1.tar.gz) = 6371136a8bef3f56da08c2a58c35f5ce END-of-aggregate/distinfo echo c - aggregate/files mkdir -p aggregate/files > /dev/null 2>&1 echo x - aggregate/files/patch-aa sed 's/^X//' >aggregate/files/patch-aa << 'END-of-aggregate/files/patch-aa' X--- aggregate-1.1/Makefile Fri Feb 16 11:31:55 2001 X+++ Makefile Fri Feb 16 13:27:38 2001 X@@ -27,9 +27,9 @@ X rm aggregate X X install: aggregate aggregate.1 X- install -c -g wheel -m 0755 -o root aggregate /usr/local/bin/ X- install -c -g wheel -m 0644 -o root aggregate.1 /usr/local/man/man1/ X- install -c -g wheel -m 0755 -o root aggregate-ios /usr/local/bin/ X- install -c -g wheel -m 0644 -o root aggregate-ios.1 /usr/local/man/man1/ X+ install -c -g wheel -m 0755 -o root aggregate ${PREFIX}/bin/ X+ install -c -g wheel -m 0644 -o root aggregate.1 ${PREFIX}/man/man1/ X+ install -c -g wheel -m 0755 -o root aggregate-ios ${PREFIX}/bin/ X+ install -c -g wheel -m 0644 -o root aggregate-ios.1 ${PREFIX}/man/man1/ X X aggregate: aggregate.c END-of-aggregate/files/patch-aa exit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message