From owner-freebsd-ports Wed Jan 30 1:50:14 2002 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 3A98C37B417 for ; Wed, 30 Jan 2002 01:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0U9o1c74129; Wed, 30 Jan 2002 01:50:01 -0800 (PST) (envelope-from gnats) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 5F78737B400 for ; Wed, 30 Jan 2002 01:42:34 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id DD00E2B711 for ; Wed, 30 Jan 2002 10:42:28 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id E0640558; Wed, 30 Jan 2002 20:42:23 +1100 (EST) Message-Id: <20020130094223.E0640558@k7.mavetju.org> Date: Wed, 30 Jan 2002 20:42:23 +1100 (EST) From: Edwin Groothuis Reply-To: Edwin Groothuis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/34441: new port: net/ipv6calc Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34441 >Category: ports >Synopsis: new port: net/ipv6calc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 30 01:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.4-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju.org 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Dec 25 02:20:13 EST 2001 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386 >Description: new port: ipv6calc. It can be used to do calculations and conversions of ipv6 addresses. >How-To-Repeat: n/a >Fix: # 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: # # net/ipv6calc # net/ipv6calc/Makefile # net/ipv6calc/distinfo # net/ipv6calc/files # net/ipv6calc/files/patch-Makefile.in # net/ipv6calc/files/patch-ipv6calc.h.in # net/ipv6calc/pkg-comment # net/ipv6calc/pkg-plist # net/ipv6calc/pkg-descr # echo c - net/ipv6calc mkdir -p net/ipv6calc > /dev/null 2>&1 echo x - net/ipv6calc/Makefile sed 's/^X//' >net/ipv6calc/Makefile << 'END-of-net/ipv6calc/Makefile' X# New ports collection makefile for: ipv6calc X# Date created: 30 January 2002 X# Whom: Edwin Groothuis (edwin@mavetju.org) X# X# $FreeBSD$ X# X XPORTNAME= ipv6calc XPORTVERSION= 0.34 XCATEGORIES= net XMASTER_SITES= ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/ X XMAINTAINER= edwin@mavetju.org X XLIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext XLIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_LIBTOOL= yes X Xpost-patch: X # X # clean up your junk before you make a tarball! X # X ${RM} ${WRKSRC}/config.h X ${RM} ${WRKSRC}/config.log X ${RM} ${WRKSRC}/Makefile X ${RM} ${WRKSRC}/config.status X ${RM} ${WRKSRC}/ipv6calc.h X ${RM} ${WRKSRC}/config.cache X ${PERL} -pi -e "s|INSTALL_PROGRAM|${INSTALL_PROGRAM}|" ${WRKSRC}/Makefile.in X ${PERL} -pi -e "s|__PREFIX__|${PREFIX}|" ${WRKSRC}/Makefile.in X X.include END-of-net/ipv6calc/Makefile echo x - net/ipv6calc/distinfo sed 's/^X//' >net/ipv6calc/distinfo << 'END-of-net/ipv6calc/distinfo' XMD5 (ipv6calc-0.34.tar.gz) = 220977ee0bb2ff4202e86b97ac917731 END-of-net/ipv6calc/distinfo echo c - net/ipv6calc/files mkdir -p net/ipv6calc/files > /dev/null 2>&1 echo x - net/ipv6calc/files/patch-Makefile.in sed 's/^X//' >net/ipv6calc/files/patch-Makefile.in << 'END-of-net/ipv6calc/files/patch-Makefile.in' X--- Makefile.in.orig Fri Jan 25 09:01:10 2002 X+++ Makefile.in Wed Jan 30 20:17:01 2002 X@@ -8,7 +8,7 @@ X X # Compiler and Linker Options X #COPTS = -O2 -Wall -g # old one X-COPTS = -O2 -Wall -g -ansi # ANSI compatible X+COPTS = -O2 -Wall -g -ansi -I__PREFIX__/include # ANSI compatible X X CFLAGS = $(COPTS) X X@@ -25,7 +25,7 @@ X $(OBJS): ipv6calc.h libipv6addr.h librfc1884.h X X ipv6calc: $(OBJS) X- $(CC) -o ipv6calc $(OBJS) -lcrypto X+ $(CC) -o ipv6calc $(OBJS) -lcrypto -lgnugetopt -L__PREFIX__/lib X X distclean: X make clean X@@ -42,8 +42,7 @@ X X install: X make test X- mkdir -p $(root)/bin/ X- install -m 755 -o root -g root ipv6calc $(root)/bin/ X+ INSTALL_PROGRAM ipv6calc __PREFIX__/bin X X installonly: X mkdir -p $(root)/bin/ END-of-net/ipv6calc/files/patch-Makefile.in echo x - net/ipv6calc/files/patch-ipv6calc.h.in sed 's/^X//' >net/ipv6calc/files/patch-ipv6calc.h.in << 'END-of-net/ipv6calc/files/patch-ipv6calc.h.in' X--- ipv6calc.h.in.orig Wed Jan 30 19:22:13 2002 X+++ ipv6calc.h.in Wed Jan 30 19:25:11 2002 X@@ -20,6 +20,7 @@ X #define PROGRAM_COPYRIGHT "(P) & (C) 2001-2002 by Peter Bieringer \n published under GNU GPL" X X /* global includes */ X+#include X #include X X /*** global definitions ***/ END-of-net/ipv6calc/files/patch-ipv6calc.h.in echo x - net/ipv6calc/pkg-comment sed 's/^X//' >net/ipv6calc/pkg-comment << 'END-of-net/ipv6calc/pkg-comment' XConvert, change and calculate with IPv6 addresses END-of-net/ipv6calc/pkg-comment echo x - net/ipv6calc/pkg-plist sed 's/^X//' >net/ipv6calc/pkg-plist << 'END-of-net/ipv6calc/pkg-plist' Xbin/ipv6calc END-of-net/ipv6calc/pkg-plist echo x - net/ipv6calc/pkg-descr sed 's/^X//' >net/ipv6calc/pkg-descr << 'END-of-net/ipv6calc/pkg-descr' Xipv6calc will do some format changes and calculations for you X XIntention: X* This utility can be used by the IPv6 enabled initscripts for X better duplicate address detection on setup of IPv6 addresses. X XWWW: http://www.bieringer.de/linux/IPv6/tools/ END-of-net/ipv6calc/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message