Index: head/devel/p5-Canary-Stability/distinfo =================================================================== --- head/devel/p5-Canary-Stability/distinfo (revision 528816) +++ head/devel/p5-Canary-Stability/distinfo (nonexistent) @@ -1,3 +0,0 @@ -TIMESTAMP = 1556118497 -SHA256 (Canary-Stability-2013.tar.gz) = a5c91c62cf95fcb868f60eab5c832908f6905221013fea2bce3ff57046d7b6ea -SIZE (Canary-Stability-2013.tar.gz) = 4861 Property changes on: head/devel/p5-Canary-Stability/distinfo ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/p5-Canary-Stability/Makefile =================================================================== --- head/devel/p5-Canary-Stability/Makefile (revision 528816) +++ head/devel/p5-Canary-Stability/Makefile (revision 528817) @@ -1,28 +1,27 @@ # $FreeBSD$ 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 Index: head/devel/p5-Canary-Stability/files/Stability.pm =================================================================== --- head/devel/p5-Canary-Stability/files/Stability.pm (revision 528816) +++ head/devel/p5-Canary-Stability/files/Stability.pm (revision 528817) @@ -1,19 +1,24 @@ =head1 NAME -Canary::Stability - Stub to prevent checking perl compatibility for "schmorp" modules +Canary::Stability - Stub to avoid harmful instructions =head1 SYNOPSIS use Canary::Stability; =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 package Canary::Stability; 1; Index: head/devel/p5-Canary-Stability/pkg-descr =================================================================== --- head/devel/p5-Canary-Stability/pkg-descr (revision 528816) +++ head/devel/p5-Canary-Stability/pkg-descr (revision 528817) @@ -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. Index: head/devel/p5-Canary-Stability/pkg-plist =================================================================== --- head/devel/p5-Canary-Stability/pkg-plist (revision 528816) +++ head/devel/p5-Canary-Stability/pkg-plist (revision 528817) @@ -1,2 +1 @@ %%SITE_PERL%%/Canary/Stability.pm -%%PERL5_MAN3%%/Canary::Stability.3.gz