From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 17 18:10:00 2014 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 ESMTPS id 9DD1BF0A for ; Sat, 17 May 2014 18:10:00 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7717D2A19 for ; Sat, 17 May 2014 18:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4HIA03a073910 for ; Sat, 17 May 2014 18:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4HIA0cR073909; Sat, 17 May 2014 18:10:00 GMT (envelope-from gnats) Resent-Date: Sat, 17 May 2014 18:10:00 GMT Resent-Message-Id: <201405171810.s4HIA0cR073909@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, Corey Halpin 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 ESMTPS id C412ACE8 for ; Sat, 17 May 2014 18:05:57 +0000 (UTC) Received: from sabe.cs.wisc.edu (sabe.cs.wisc.edu [128.105.6.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sabe.cs.wisc.edu", Issuer "InCommon Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84BCE29DA for ; Sat, 17 May 2014 18:05:56 +0000 (UTC) Received: from spiff.home.crhalpin.org (108-249-32-238.lightspeed.mdsnwi.sbcglobal.net [108.249.32.238]) (authenticated bits=0) by sabe.cs.wisc.edu (8.14.1/8.14.1) with ESMTP id s4HI5r6v028665 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 17 May 2014 13:05:55 -0500 Received: from localhost (1001@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id 515e7fde; for ; Sat, 17 May 2014 13:05:48 -0500 (CDT) Message-Id: <17349474655723664852.enqueue@spiff.home.crhalpin.org> Date: Sat, 17 May 2014 13:05:48 -0500 (CDT) From: Corey Halpin Reply-To: Corey Halpin To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/189891: mail/hashcash: Stage support [PATCH] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2014 18:10:00 -0000 >Number: 189891 >Category: ports >Synopsis: mail/hashcash: Stage support [PATCH] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat May 17 18:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Corey Halpin >Release: FreeBSD 9.2-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD spiff.home.crhalpin.org 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0: Tue Apr 8 18:05:06 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Update hashcash with stage support and better portlint complance. >How-To-Repeat: NA >Fix: --- hashcash_stage.patch begins here --- diff -ruN hashcash.orig/Makefile hashcash/Makefile --- hashcash.orig/Makefile 2014-05-16 18:45:01.998014505 -0500 +++ hashcash/Makefile 2014-05-17 10:24:39.542904431 -0500 @@ -10,16 +10,29 @@ MAINTAINER= chalpin@cs.wisc.edu COMMENT= Anti-spam / denial of service counter-measure tool +LICENSE=BSD LGPL21 GPLv2 +LICENSE_COMB=dual + +# Also CPL: https://en.wikipedia.org/wiki/Common_Public_License +# and Public Domain + MAN1= hashcash.1 sha1-hashcash.1 PLIST_FILES= bin/hashcash bin/sha1 +PLIST_FILES+= man/man1/hashcash.1.gz +PLIST_FILES+= man/man1/sha1-hashcash.1.gz + PORTDOCS= CHANGELOG LICENSE README ALL_TARGET= generic -NO_STAGE= yes -.if defined(NOPORTDOCS) +MAKE_ENV+= STAGEDIR=${STAGEDIR} + +.include + +.if !${PORT_OPTIONS:MDOCS} post-patch: ${REINPLACE_CMD} -e '/DOC_INSTALL_PATH/d' ${WRKSRC}/Makefile + .endif .include diff -ruN hashcash.orig/files/patch-Makefile hashcash/files/patch-Makefile --- hashcash.orig/files/patch-Makefile 2014-05-16 18:45:01.973068608 -0500 +++ hashcash/files/patch-Makefile 2014-05-16 19:42:02.459594945 -0500 @@ -7,9 +7,9 @@ -INSTALL_PATH = /usr/bin -MAN_INSTALL_PATH = /usr/share/man/man1 -DOC_INSTALL_PATH = /usr/share/doc/hashcash-$(HC_VERS) -+INSTALL_PATH = ${PREFIX}/bin -+MAN_INSTALL_PATH = ${PREFIX}/man/man1 -+DOC_INSTALL_PATH = ${PREFIX}/share/doc/hashcash ++INSTALL_PATH = ${STAGEDIR}${PREFIX}/bin ++MAN_INSTALL_PATH = ${STAGEDIR}${PREFIX}/man/man1 ++DOC_INSTALL_PATH = ${STAGEDIR}${PREFIX}/share/doc/hashcash MAKEDEPEND = makedepend MSLIB = mslib # here you can choose the regexp style your system has diff -ruN hashcash.orig/pkg-descr hashcash/pkg-descr --- hashcash.orig/pkg-descr 2014-05-16 18:45:01.986831734 -0500 +++ hashcash/pkg-descr 2014-05-17 10:25:02.555897525 -0500 @@ -4,4 +4,4 @@ parameterizable amount of work to compute for the sender. Author: Adam Back -WWW: http://www.hashcash.org/ +WWW: http://www.hashcash.org/ --- hashcash_stage.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: