From owner-svn-ports-head@freebsd.org Sun Mar 13 06:27:14 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7708AACD41F; Sun, 13 Mar 2016 06:27:14 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 34E3BB8C; Sun, 13 Mar 2016 06:27:14 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2D6RDtd083495; Sun, 13 Mar 2016 06:27:13 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2D6RDL9083493; Sun, 13 Mar 2016 06:27:13 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201603130627.u2D6RDL9083493@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Sun, 13 Mar 2016 06:27:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410943 - head/devel/p5-Canary-Stability X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2016 06:27:14 -0000 Author: adamw Date: Sun Mar 13 06:27:12 2016 New Revision: 410943 URL: https://svnweb.freebsd.org/changeset/ports/410943 Log: Update to 2011. COMMENT didn't start with a capital, so reword it. Introduce an OPTION to decide whether to make the module active. Disable it by default. This module is a 207-line script that checks what version of perl you're using, and then makes some bird-themed comments about it. If you're running the current stable version of perl, it tells you that you should downgrade to an old version, or use a personal fork from "schmorp". FreeBSD does not support that fork. Other features of this module include requiring keyboard input. Previous versions featured dropping build output in favour of colour sequences. The module provides no other feature than those listed above. At best, the comments are inaccurate for FreeBSD. At worst, they can block input or cause end-users to install personal forks that we do not support. FreeBSD ports does a much more comprehensive job of checking perl versions already. If this module is updated to perform some sort of functionality in the future, the ACTIVATE option can be easily enabled or removed. Changes: https://metacpan.org/changes/distribution/Canary-Stability Modified: head/devel/p5-Canary-Stability/Makefile head/devel/p5-Canary-Stability/distinfo Modified: head/devel/p5-Canary-Stability/Makefile ============================================================================== --- head/devel/p5-Canary-Stability/Makefile Sun Mar 13 04:15:57 2016 (r410942) +++ head/devel/p5-Canary-Stability/Makefile Sun Mar 13 06:27:12 2016 (r410943) @@ -1,14 +1,14 @@ # $FreeBSD$ PORTNAME= Canary-Stability -PORTVERSION= 2006 +PORTVERSION= 2011 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MLEHMANN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org -COMMENT= canary to check perl compatibility for schmorp's modules +COMMENT= Checks what version of perl you're running LICENSE= ART10 GPLv1 LICENSE_COMB= dual @@ -16,4 +16,12 @@ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure +OPTIONS_DEFINE= ACTIVATE +ACTIVATE_DESC= Enable Canary::Stability functionality + +# Just skip everything in this module unless activated +post-patch-ACTIVATE-off: + @${REINPLACE_CMD} -e '/^sub import {/s/$$/ return 1; /' \ + ${WRKSRC}/Stability.pm + .include Modified: head/devel/p5-Canary-Stability/distinfo ============================================================================== --- head/devel/p5-Canary-Stability/distinfo Sun Mar 13 04:15:57 2016 (r410942) +++ head/devel/p5-Canary-Stability/distinfo Sun Mar 13 06:27:12 2016 (r410943) @@ -1,2 +1,2 @@ -SHA256 (Canary-Stability-2006.tar.gz) = 47afc038ece0b77e212afc05656791345ac08826f6102181a429dd231720d62e -SIZE (Canary-Stability-2006.tar.gz) = 3621 +SHA256 (Canary-Stability-2011.tar.gz) = 63f852d196b4e32ac28998ea7987bd5960b919110ed441512c6191bcc352c1fc +SIZE (Canary-Stability-2011.tar.gz) = 4265