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.
This commit is contained in:
parent
8477566c6a
commit
5cef8e1702
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528817
5 changed files with 25 additions and 25 deletions
|
@ -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>
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
TIMESTAMP = 1556118497
|
||||
SHA256 (Canary-Stability-2013.tar.gz) = a5c91c62cf95fcb868f60eab5c832908f6905221013fea2bce3ff57046d7b6ea
|
||||
SIZE (Canary-Stability-2013.tar.gz) = 4861
|
|
@ -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 compatibility for "schmorp" mo
|
|||
|
||||
=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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
%%SITE_PERL%%/Canary/Stability.pm
|
||||
%%PERL5_MAN3%%/Canary::Stability.3.gz
|
||||
|
|
Loading…
Reference in a new issue