Date: Sat, 21 Mar 2020 00:44:25 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r528817 - in head/devel/p5-Canary-Stability: . files Message-ID: <202003210044.02L0iPYF077873@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Sat Mar 21 00:44:25 2020 New Revision: 528817 URL: https://svnweb.freebsd.org/changeset/ports/528817 Log: p5-Canary::Stability: Provide only the FreeBSD stub Canary::Stability continues to provide the same harmful instructions that it has since 2013, including instructing users to uninstall Perl and install one from 2015 (it also advises users to switch to an unmaintained fork provided by the author). Previously, there was an OPTION to install the actual module. There is no scenario under which that should ever happen, so I'm removing that entirely. This port now only provides a no-op stub. Deleted: head/devel/p5-Canary-Stability/distinfo Modified: head/devel/p5-Canary-Stability/Makefile head/devel/p5-Canary-Stability/files/Stability.pm head/devel/p5-Canary-Stability/pkg-descr head/devel/p5-Canary-Stability/pkg-plist Modified: head/devel/p5-Canary-Stability/Makefile ============================================================================== --- head/devel/p5-Canary-Stability/Makefile Sat Mar 21 00:21:27 2020 (r528816) +++ head/devel/p5-Canary-Stability/Makefile Sat Mar 21 00:44:25 2020 (r528817) @@ -2,27 +2,26 @@ PORTNAME= Canary-Stability PORTVERSION= 2013 +PORTREVISION= 1 CATEGORIES= devel perl5 -MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= CPAN:MLEHMANN +MASTER_SITES= # none PKGNAMEPREFIX= p5- +DISTFILES= # none MAINTAINER= perl@FreeBSD.org -COMMENT= Checks what version of perl you're running and then complains about it #' +COMMENT= Stub for ancient system-checking module LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 -USE_PERL5= configure NO_ARCH= yes +NO_BUILD= yes -OPTIONS_DEFINE= ACTIVATE -ACTIVATE_DESC= Enable Canary::Stability functionality - -# Install an empty stub -post-patch-ACTIVATE-off: - @${CP} ${FILESDIR}/Stability.pm ${WRKSRC} +# Install empty stub +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Canary + ${INSTALL_DATA} ${FILESDIR}/Stability.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Canary .include <bsd.port.mk> Modified: head/devel/p5-Canary-Stability/files/Stability.pm ============================================================================== --- head/devel/p5-Canary-Stability/files/Stability.pm Sat Mar 21 00:21:27 2020 (r528816) +++ head/devel/p5-Canary-Stability/files/Stability.pm Sat Mar 21 00:44:25 2020 (r528817) @@ -1,6 +1,6 @@ =head1 NAME -Canary::Stability - Stub to prevent checking perl compatibility for "schmorp" modules +Canary::Stability - Stub to avoid harmful instructions =head1 SYNOPSIS @@ -8,9 +8,14 @@ Canary::Stability - Stub to prevent checking perl comp =head1 PURPOSE -This is a stub module that neutralizes the original Canary::Stability -module. That module is a relic of a strange notion that "schmorp" should -prevent people from using any Perl released after 2015. +The original Canary::Stability is a bizarre set of system checks +that provide dangerous instructions. Among those instructions is +never to use any Perl released after 2015, and to use a fork of +Perl from a person who calls himself "schmorp." + +This stub exists only to satisfy modules (all of which are released +by "schmorp") that list it as a dependency. It does nothing, which +is considered far more useful than the original. =cut Modified: head/devel/p5-Canary-Stability/pkg-descr ============================================================================== --- head/devel/p5-Canary-Stability/pkg-descr Sat Mar 21 00:21:27 2020 (r528816) +++ head/devel/p5-Canary-Stability/pkg-descr Sat Mar 21 00:44:25 2020 (r528817) @@ -1,8 +1,8 @@ -This module is used by a guy who calls himself "schmorp" to produce -warnings if you're using any supported version of Perl. +Canary::Stability is a forced dependency of a number of important +perl modules. It exists only to provide dangerous advice (such as +instructing users to uninstall their version of Perl and install +one from 2015), absolutely none of which should ever be followed. -This port is designed to prevent these warnings, but you can set -the "ACTIVATE" option to turn them back on. All of the instructions -in the warnings are considered harmful and should not be followed. - -WWW: https://metacpan.org/release/Canary-Stability +This port installs an empty stub. If you obtain Canary::Stability +directly from CPAN, please do not follow any instructions it gives +you. Modified: head/devel/p5-Canary-Stability/pkg-plist ============================================================================== --- head/devel/p5-Canary-Stability/pkg-plist Sat Mar 21 00:21:27 2020 (r528816) +++ head/devel/p5-Canary-Stability/pkg-plist Sat Mar 21 00:44:25 2020 (r528817) @@ -1,2 +1 @@ %%SITE_PERL%%/Canary/Stability.pm -%%PERL5_MAN3%%/Canary::Stability.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003210044.02L0iPYF077873>