From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 5 18:10:03 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 25F9C425 for ; Mon, 5 Aug 2013 18:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 040982CDB for ; Mon, 5 Aug 2013 18:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r75IA2X2020149 for ; Mon, 5 Aug 2013 18:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r75IA2Cj020148; Mon, 5 Aug 2013 18:10:02 GMT (envelope-from gnats) Resent-Date: Mon, 5 Aug 2013 18:10:02 GMT Resent-Message-Id: <201308051810.r75IA2Cj020148@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7CC2632B for ; Mon, 5 Aug 2013 18:02:17 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from omta01.auone-net.jp (mail-or0-f67.auone-net.jp [106.187.230.67]) by mx1.freebsd.org (Postfix) with ESMTP id 3AF292C6E for ; Mon, 5 Aug 2013 18:02:17 +0000 (UTC) Received: from localhost.localdomain (ZT034070.ppp.dion.ne.jp [59.128.34.70]) by omta01.auone-net.jp (au one net mail) with ESMTP id 7351F98011E for ; Tue, 6 Aug 2013 03:02:12 +0900 (JST) Message-Id: <20130806025458.3e04f350e2bd10adfe80ebf9@yahoo.com> Date: Tue, 6 Aug 2013 02:54:58 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/181061: www/htdump: Update to version 0.9y X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2013 18:10:03 -0000 >Number: 181061 >Category: ports >Synopsis: www/htdump: Update to version 0.9y >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 05 18:10:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 0.9y Remove file: files/patch-aa >How-To-Repeat: >Fix: diff -urN /usr/ports/www/htdump/Makefile www/htdump/Makefile --- /usr/ports/www/htdump/Makefile 2013-06-21 03:46:20.000000000 +0900 +++ www/htdump/Makefile 2013-08-06 00:00:00.000000000 +0900 @@ -1,24 +1,20 @@ -# Ports collection makefile for: htdump -# Date created: Tue Feb 20, 2001 -# Whom: Maxime Henrion (mux@FreeBSD.org) -# +# Created by: Maxime Henrion (mux@FreeBSD.org) # $FreeBSD: head/www/htdump/Makefile 300897 2012-07-14 14:29:18Z beat $ -# PORTNAME= htdump -PORTVERSION= 0.9x -PORTREVISION= 1 +PORTVERSION= 0.9y CATEGORIES= www MASTER_SITES= http://ivo.palli.nl/prog/linux/htdump/bin/ MAINTAINER= ports@FreeBSD.org -COMMENT= A tool to retrieve WWW data +COMMENT= Tool to retrieve WWW data + +LICENSE= AL2 OPTIONS_DEFINE= SSL OPTIONS_DEFAULT=SSL -CFLAGS+= ${CPPFLAGS} -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LFLAGS="-s ${LDFLAGS}" +PLIST_FILES= bin/htdump .include @@ -27,9 +23,16 @@ ALL_TARGET= ssl .endif -PLIST_FILES= bin/htdump +post-patch: + @${REINPLACE_CMD} -e \ + 's|^CFLAGS|#CFLAGS| ; \ + s|^CC|#CC| ; \ + s|$$(LFLAGS)|$$(LDFLAGS)| ; \ + s|-L/usr/local/ssl/lib|| ; \ + s|%.o: %.c|| ; \ + s|-I /usr/local/ssl/include|$$(CPPFLAGS)|' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/htdump ${PREFIX}/bin + (cd ${WRKSRC} && ${INSTALL_PROGRAM} htdump ${PREFIX}/bin) .include diff -urN /usr/ports/www/htdump/distinfo www/htdump/distinfo --- /usr/ports/www/htdump/distinfo 2013-06-21 03:46:20.000000000 +0900 +++ www/htdump/distinfo 2013-08-06 00:00:00.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (htdump-0.9x.tar.gz) = 07a9b7d4f6d451b66662478d3aa0500157006cf1a9566c747d931e2138a2b313 -SIZE (htdump-0.9x.tar.gz) = 215769 +SHA256 (htdump-0.9y.tar.gz) = 8f0a83a4eee5c35f2274914c63cff879df1de9a6f0d2e1295c4cff2a291c6f1b +SIZE (htdump-0.9y.tar.gz) = 218635 diff -urN /usr/ports/www/htdump/files/patch-aa www/htdump/files/patch-aa --- /usr/ports/www/htdump/files/patch-aa 2013-06-21 03:46:20.000000000 +0900 +++ www/htdump/files/patch-aa 1970-01-01 09:00:00.000000000 +0900 @@ -1,21 +0,0 @@ ---- Makefile.orig Wed Dec 20 00:26:47 2000 -+++ Makefile Sun Jul 6 20:19:19 2003 -@@ -26,15 +24,15 @@ - - ssl: $(OBJS) socket-ssl.o - rm -f htdump -- $(CC) $(LFLAGS) -o htdump $(OBJS) socket-ssl.o -lssl -lcrypto -L/usr/local/ssl/lib -+ $(CC) $(LFLAGS) -o htdump $(OBJS) socket-ssl.o -lssl -lcrypto - --$(OBJS): %.o: %.c $(HDRS) -+$(OBJS): $(HDRS) - - socket.o: socket.c $(HDRS) - $(CC) $(CFLAGS) -c socket.c - - socket-ssl.o: socket.c socket-ssl.c $(HDRS) -- $(CC) $(CFLAGS) -c socket-ssl.c -I /usr/local/ssl/include -+ $(CC) $(CFLAGS) -c socket-ssl.c - - install: $(PROGS) - cp htdump /usr/local/bin diff -urN /usr/ports/www/htdump/files/patch-usage.c www/htdump/files/patch-usage.c --- /usr/ports/www/htdump/files/patch-usage.c 2013-06-21 03:46:20.000000000 +0900 +++ www/htdump/files/patch-usage.c 2013-08-06 00:00:00.000000000 +0900 @@ -1,23 +1,29 @@ --- usage.c.orig Wed Dec 20 00:26:47 2000 +++ usage.c Mon Jul 7 04:43:54 2003 -@@ -29,24 +29,24 @@ +@@ -29,31 +29,31 @@ " OPTIONS\n" " ===================================\n" " Main mode of operation:\n" - " -command= Define request command. Default is 'GET'.\n" - " -post=
POST form data. When used, command is\n" -- " overriden to 'POST'\n" + " --command= Define request command. Default is 'GET'.\n" + " --post= POST form data. When used, command is\n" -+ " overriden to 'POST'\n" + " overriden to 'POST'\n" "\n" " Miscellaneous:\n" -- " -debug= Debug mode, specify level\n" -- " -file= Dump data to file. (Auto-resumes)\n" -- " When omitted, output goes to stdout.\n" -+ " --debug= Debug mode, specify level\n" -+ " --file= Dump data to file. (Auto-resumes)\n" -+ " When omitted, output goes to stdout.\n" +- " -debug[=] Debug mode, specify level\n" +- " -file[=] Dump data to file. (default: overwrite)\n" ++ " --debug[=] Debug mode, specify level\n" ++ " --file[=] Dump data to file. (default: overwrite)\n" + " When omitted, output goes to stdout.\n" + " When no filename given, the filename is\n" + " extracted from the URL given.\n" +- " -resume When writing to file, resume instead of\n" ++ " --resume When writing to file, resume instead of\n" + " overwrite.\n" +- " -jar=file Give a cookie jar file and htdump will\n" ++ " --jar=file Give a cookie jar file and htdump will\n" + " manage all cookies on it's own.\n" "\n" " Header adjustment:\n" - " -accept= Add 'Accept:' header\n" @@ -28,6 +34,7 @@ - " -range= Add 'Range:' header (*)\n" - " -agent= Add 'User-Agent:' header\n" - " -version=<0|1|r> Select HTTP version. Default is HTTP/1.1\n" +- " -extra= Add your own custom headers\n" + " --accept= Add 'Accept:' header\n" + " --cookie= Add 'Cookie:' header\n" + " --from= Add 'From:' header\n" @@ -36,10 +43,11 @@ + " --range= Add 'Range:' header (*)\n" + " --agent= Add 'User-Agent:' header\n" + " --version=<0|1|r> Select HTTP version. Default is HTTP/1.1\n" ++ " --extra= Add your own custom headers\n" "\n" " (*) = HTTP/1.1 only\n" - " You need version 1.1 to use password authentication\n" -@@ -56,13 +56,13 @@ + "\n" +@@ -62,15 +62,15 @@ " ===================================\n" " htdump www.netscape.com\n" " htdump https://flemming:secret@www.jamesbond.com/members/secret.html\n" @@ -47,16 +55,20 @@ - " htdump -referer=\"www.fbi.gov\" http://www.arpa.mil/secret.zip\n" - " htdump -version=r -agent=\"Crazy www browser 1.6\" http://bouncy.com/\n" - " htdump -command=\"OPTIONS\" http://arak.cs.hro.nl/ -debug\n" -- " htdump -file=this.zip download.com/this.zip &\n" +- " htdump -file -resume download.com/this.zip &\n" - " htdump http://download.com/big.zip -range=\"644221-\" >> big.zip &\n" - " htdump -post=\"name=Ren&op1=yes\" here.com/cgi-bin/prog\n" +- " htdump -cookie=\"chocolate\" -cookie=\"brownie\" cookies.com\n" +- " htdump -extra=\"ProxyVersion: SeaCreature/5.0\" www.mutated-seabass.com\n" + " htdump --host=\"www.vhost1.com\" http://127.0.0.1/\n" + " htdump --referer=\"www.fbi.gov\" http://www.arpa.mil/secret.zip\n" -+ " htdump --version=r --agent=\"Crazy www browser 1.6\" http://bouncy.com/\n" -+ " htdump --command=\"OPTIONS\" http://arak.cs.hro.nl/ --debug\n" -+ " htdump --file=this.zip download.com/this.zip &\n" ++ " htdump --version=r -agent=\"Crazy www browser 1.6\" http://bouncy.com/\n" ++ " htdump --command=\"OPTIONS\" http://arak.cs.hro.nl/ -debug\n" ++ " htdump --file -resume download.com/this.zip &\n" + " htdump http://download.com/big.zip --range=\"644221-\" >> big.zip &\n" + " htdump --post=\"name=Ren&op1=yes\" here.com/cgi-bin/prog\n" ++ " htdump --cookie=\"chocolate\" -cookie=\"brownie\" cookies.com\n" ++ " htdump --extra=\"ProxyVersion: SeaCreature/5.0\" www.mutated-seabass.com\n" "\n" "\n" " htdump "VERSION"\n" diff -urN /usr/ports/www/htdump/pkg-descr www/htdump/pkg-descr --- /usr/ports/www/htdump/pkg-descr 2013-06-21 03:46:20.000000000 +0900 +++ www/htdump/pkg-descr 2013-08-06 00:00:00.000000000 +0900 @@ -1,7 +1,7 @@ -HTdump is an automation utility to retrieve URLs and write them to a file, or -process them through a pipeline. It is also a very usefull tool for web -developer who work low level, for example with CGI binaries. This makes a -perfect debugging tool, since it allows usual but also rfc-illegal operations. -Packet level debugging is included in this tool. +HTdump is an automation utility to retrieve URLs and write them to a +file, or process them through a pipeline. It is also a very usefull tool +for web developer who work low level, for example with CGI binaries. +This makes a perfect debugging tool, since it allows usual but also +rfc-illegal operations. Packet level debugging is included in this tool. WWW: http://ivo.palli.nl/prog/linux/htdump/overview.html >Release-Note: >Audit-Trail: >Unformatted: