From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 1 12:00:02 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 ESMTPS id 3FA625B7 for ; Thu, 1 May 2014 12:00:02 +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 1BA1D11F3 for ; Thu, 1 May 2014 12:00:02 +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 s41C01Am015175 for ; Thu, 1 May 2014 12:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s41C0106015174; Thu, 1 May 2014 12:00:01 GMT (envelope-from gnats) Resent-Date: Thu, 1 May 2014 12:00:01 GMT Resent-Message-Id: <201405011200.s41C0106015174@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, Muhammad Moinur Rahman <5u623l20@gmail.com> 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 6B0334D1 for ; Thu, 1 May 2014 11:57:24 +0000 (UTC) Received: from bofh.1asiacom.net (bofh.1asiacom.net [103.4.110.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bofh.1asiacom.net", Issuer "bofh.1asiacom.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AA14411CB for ; Thu, 1 May 2014 11:57:23 +0000 (UTC) Received: from bofh.1asiacom.net (localhost [127.0.0.1]) by bofh.1asiacom.net (8.14.8/8.14.8) with ESMTP id s41BvJqw014337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 1 May 2014 17:57:19 +0600 (BDT) (envelope-from root@bofh.1asiacom.net) Received: (from root@localhost) by bofh.1asiacom.net (8.14.8/8.14.8/Submit) id s41BvICU014336; Thu, 1 May 2014 17:57:18 +0600 (BDT) (envelope-from root) Message-Id: <201405011157.s41BvICU014336@bofh.1asiacom.net> Date: Thu, 1 May 2014 17:57:18 +0600 (BDT) From: Muhammad Moinur Rahman <5u623l20@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/189191: [PATCH] security/p5-PGP-Sign: OPTIONSNG, LICENSE, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2014 12:00:02 -0000 >Number: 189191 >Category: ports >Synopsis: [PATCH] security/p5-PGP-Sign: OPTIONSNG, LICENSE, take maintainership >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: Thu May 01 12:00:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Muhammad Moinur Rahman >Release: FreeBSD 11.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD bofh.1asiacom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r263870: Fri Mar 28 16:37:49 BDT >Description: - Converted to OPTIONSNG support - Removed obsolete dependency - Added LICENSE - Take maintainership Generated with FreeBSD Port Tools 1.02 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- p5-PGP-Sign-0.20.patch begins here --- diff -ruN /usr/ports//security/p5-PGP-Sign/Makefile ./Makefile --- /usr/ports//security/p5-PGP-Sign/Makefile 2013-11-06 13:39:31.000000000 +0600 +++ ./Makefile 2014-05-01 17:56:44.781550678 +0600 @@ -3,65 +3,44 @@ PORTNAME= PGP-Sign PORTVERSION= 0.20 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= 5u623l20@gmail.com COMMENT= Create detached PGP signatures for data +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + USES= perl5 USE_PERL5= configure -CONFIGURE_ARGS= PGPS=${PGPS} PGPV=${PGPV} PGPSTYLE=${PGPSTYLE} +CONFIGURE_ARGS= PGP=${PGP} PGPSTYLE=${PGPSTYLE} -# If DEFAULTPGP isn't defined, it gets set to PGP2. If you don't like -# the values that this process assigns to PGP (or PGPV and PGPS) and -# PGPSTYLE, they can be predefined. -# # Currently useful values for DEFAULTPGP are: # PGP2 - PGP 2.6.* or a reasonable facsimile thereof -# PGP5 - PGP 5 or a work-alike # GPG - Gnu Privacy Guard -.ifndef DEFAULTPGP -DEFAULTPGP= GPG -.endif +OPTIONS_DEFINE= +OPTIONS_SINGLE= DEFAULTPGP +OPTIONS_SINGLE_DEFAULTPGP= GNUPG PGP2 +OPTIONS_DEFAULT= GNUPG +PGP_DESC= PGP2 support +GNUPG_BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg +GNUPG_RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg +PGP_BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp +PGP_RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp -.if (${DEFAULTPGP} == PGP2 ) -BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp -RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp -PGPSTYLE?= PGP2 -.ifndef PGP -PGP!= which pgp || ${ECHO} ${PREFIX}/bin/pgp -.endif -.elif (${DEFAULTPGP} == PGP5 ) -BUILD_DEPENDS= pgps:${PORTSDIR}/security/pgp5 -RUN_DEPENDS= pgps:${PORTSDIR}/security/pgp5 -PGPSTYLE?= PGP5 -.ifndef PGPS -PGPS!= which pgps || ${ECHO} ${PREFIX}/bin/pgps -.endif -.ifndef PGPV -PGPV!= which pgpv || ${ECHO} ${PREFIX}/bin/pgpv -.endif -.ifndef PGP -PGP!= which pgp || ${ECHO} ${PREFIX}/bin/pgp -.endif -.elif (${DEFAULTPGP} == GPG) -BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg -RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg +.include + +.if ${PORT_OPTIONS:MGNUPG} PGPSTYLE?= GPG -.ifndef PGP -PGP!= which gpg || ${ECHO} ${PREFIX}/bin/gpg -.endif -.else -.error Unsupported DEFAULTPGP value. See the Makefile for a list of acceptable values. +PGP= ${PREFIX}/bin/gpg .endif - -.ifdef PGP -PGPS?= ${PGP} -PGPV?= ${PGP} +.if ${PORT_OPTIONS:MPGP2} +PGPSTYLE?= PGP2 +PGP= ${PREFIX}/bin/pgp .endif .include --- p5-PGP-Sign-0.20.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: