From owner-svn-ports-all@FreeBSD.ORG Fri Nov 1 21:52:17 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 302717CB; Fri, 1 Nov 2013 21:52:17 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 0D5A62ACC; Fri, 1 Nov 2013 21:52:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA1LqGrV068310; Fri, 1 Nov 2013 21:52:16 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA1LqGPC068306; Fri, 1 Nov 2013 21:52:16 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201311012152.rA1LqGPC068306@svn.freebsd.org> From: Pawel Pekala Date: Fri, 1 Nov 2013 21:52:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332413 - in head/www/htdump: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2013 21:52:17 -0000 Author: pawel Date: Fri Nov 1 21:52:15 2013 New Revision: 332413 URL: http://svnweb.freebsd.org/changeset/ports/332413 Log: - Update to version 0.9y - Remove leading article from COMMENT - Add LICENSE - Support staging - Reformat pkg-descr PR: ports/181061 Submitted by: KATO Tsuguru Deleted: head/www/htdump/files/patch-aa Modified: head/www/htdump/Makefile (contents, props changed) head/www/htdump/distinfo (contents, props changed) head/www/htdump/files/patch-usage.c (contents, props changed) head/www/htdump/pkg-descr (contents, props changed) Modified: head/www/htdump/Makefile ============================================================================== --- head/www/htdump/Makefile Fri Nov 1 21:42:34 2013 (r332412) +++ head/www/htdump/Makefile Fri Nov 1 21:52:15 2013 (r332413) @@ -2,21 +2,20 @@ # $FreeBSD$ 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 -NO_STAGE= yes .include .if ${PORT_OPTIONS:MSSL} @@ -24,9 +23,16 @@ USE_OPENSSL= yes 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 ${STAGEDIR}${PREFIX}/bin) .include Modified: head/www/htdump/distinfo ============================================================================== --- head/www/htdump/distinfo Fri Nov 1 21:42:34 2013 (r332412) +++ head/www/htdump/distinfo Fri Nov 1 21:52:15 2013 (r332413) @@ -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 Modified: head/www/htdump/files/patch-usage.c ============================================================================== --- head/www/htdump/files/patch-usage.c Fri Nov 1 21:42:34 2013 (r332412) +++ head/www/htdump/files/patch-usage.c Fri Nov 1 21:52:15 2013 (r332413) @@ -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" Modified: head/www/htdump/pkg-descr ============================================================================== --- head/www/htdump/pkg-descr Fri Nov 1 21:42:34 2013 (r332412) +++ head/www/htdump/pkg-descr Fri Nov 1 21:52:15 2013 (r332413) @@ -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