From 6353dd6b858ac4dbbeff66c21ffaf40b132c4a23 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 6 Nov 2023 07:57:38 +0000 Subject: [PATCH] update to Term::Cap 1.18, so that we can patch it further as discussed with afresh1@ --- gnu/usr.bin/perl/cpan/Term-Cap/Changes | 83 ++++++++++++++++++++ gnu/usr.bin/perl/cpan/Term-Cap/LICENSE | 44 +++++++++++ gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST | 10 +++ gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST.SKIP | 3 + gnu/usr.bin/perl/cpan/Term-Cap/META.json | 49 ++++++++++++ gnu/usr.bin/perl/cpan/Term-Cap/META.yml | 25 ++++++ gnu/usr.bin/perl/cpan/Term-Cap/Makefile.PL | 22 ++++++ gnu/usr.bin/perl/cpan/Term-Cap/README | 44 +++++++++++ gnu/usr.bin/perl/cpan/Term-Cap/test.pl | 2 +- 9 files changed, 281 insertions(+), 1 deletion(-) create mode 100644 gnu/usr.bin/perl/cpan/Term-Cap/Changes create mode 100644 gnu/usr.bin/perl/cpan/Term-Cap/LICENSE create mode 100644 gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST create mode 100644 gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST.SKIP create mode 100644 gnu/usr.bin/perl/cpan/Term-Cap/META.json create mode 100644 gnu/usr.bin/perl/cpan/Term-Cap/META.yml create mode 100644 gnu/usr.bin/perl/cpan/Term-Cap/Makefile.PL create mode 100644 gnu/usr.bin/perl/cpan/Term-Cap/README diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/Changes b/gnu/usr.bin/perl/cpan/Term-Cap/Changes new file mode 100644 index 00000000000..57c32a48139 --- /dev/null +++ b/gnu/usr.bin/perl/cpan/Term-Cap/Changes @@ -0,0 +1,83 @@ +Revision history for Perl extension Term::Cap. + +undef: Thu Dec 14 20:02:42 CST 1995 by sanders@bsdi.com + +1.00: Thu Nov 30 23:34:29 EST 2000 by schwern@pobox.com + - [PATCH] $VERSION crusade, strict, tests, etc... all over lib/ + +1.01: Sun Oct 28 13:07:36 2001 + - Avoid warnings in Tgetent and Tputs + - Version retrieved from the Perl 5.7.2 distribution + +1.02: Sat Nov 17 13:50:39 2001 + - Altered layout of the POD + - Added Test::More to PREREQ_PM in Makefile.PL + - Fixed no argument Tgetent() + +1.03: Wed Nov 28 10:09:38 GMT 2001 + - VMS Support from Charles Lane + +1.04: Thu Nov 29 16:31:53 GMT 2001 + - Fixed warnings in the test. + +1.05: Mon Dec 3 15:37:43 GMT 2001 + - Don't attempt to run infocmp if it's not there - from chromatic + + +1.06: Thu Dec 6 19:10:15 GMT 2001 + - More VMS fixes from Charles Lane + - Don't carp about setting OSPEED unless warnings are on + +1.07: + - Fixed Makefile.PL with INSTALLDIRS - from Michael Schwern + - Sanity check on infocmp output - from Norton Allen + + +1.08: Sat Sep 28 11:33:15 BST 2002 + - Late loading of 'Carp' as per Michael Schwern + +1.09: Tue Apr 20 12:06:51 BST 2004 + - Merged in changes from and to Core + - Core (Fri Aug 30 14:15:55 CEST 2002): + Cope with comments lines from 'infocmp' from Brendan O'Dea + - Allow for EBCDIC in Tgoto magic test. + +1.10: Thu Oct 18 16:52:20 BST 2007 + - Don't use try to use $ENV{HOME} if it doesn't exist + - Give Win32 'dumb' if TERM isn't set + - Provide fallback 'dumb' termcap entry as last resort + +1.11: Thu Oct 25 09:33:07 BST 2007 + - EBDIC fixes from Chun Bing Ge + +1.12: Sat Dec 8 00:08:40 GMT 2007 + - Pending fix for tests on QNX (Matt Kraai ) + +1.13: Sat Oct 26 19:08:27 BST 2013 + - Bring everything up to date with all patches from RT + - Sync version with core + +1.14: Sat Oct 26 19:20:03 BST 2013 + - Update versions everywhere + - Change email address and add the github location + +1.15: Sat Oct 26 21:28:29 BST 2013 + - meta data patch from David Steinbrunner + - Change email in metadata + +1.16: Sat 5 Apr 10:19:35 BST 2014 + - Make last resort actually work from drm00 + - Removed change log from Cap.pm + +1.17-RC1: Wed 1 Jul 10:30:15 BST 2015 + - Fix regression caused by last resort change + - Add support for capabilities of more than 2 characters + +1.17: Mon 17 Aug 08:30:54 BST 2015 + - No changes version bounce + +1.18: Fri 10 Feb 12:43:07 GMT 2023 + - use isnt rather than isn't (Nicolas Mendoza ) + - Prevent unintended parse of ':' in TERMPATH (David Farrell ) + - Various code cleanups (Arkadiy Voronov ) + - Remove indirect method calls from documentation (Dan Book ) diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/LICENSE b/gnu/usr.bin/perl/cpan/Term-Cap/LICENSE new file mode 100644 index 00000000000..0c95c5451ae --- /dev/null +++ b/gnu/usr.bin/perl/cpan/Term-Cap/LICENSE @@ -0,0 +1,44 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of either: + + a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or + + b) the "Artistic License" which comes with this Kit. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either +the GNU General Public License or the Artistic License for more details. + +You should have received a copy of the Artistic License with this +Kit, in the file named "Artistic". If not, I'll be glad to provide one. + +You should also have received a copy of the GNU General Public License +along with this program in the file named "Copying". If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA or visit their web page on the internet at +http://www.gnu.org/copyleft/gpl.html. + +For those of you that choose to use the GNU General Public License, +my interpretation of the GNU General Public License is that no Perl +script falls under the terms of the GPL unless you explicitly put +said script under the terms of the GPL yourself. Furthermore, any +object code linked with perl does not automatically fall under the +terms of the GPL, provided such object code only adds definitions +of subroutines and variables, and does not otherwise impair the +resulting interpreter from executing any standard Perl script. I +consider linking in C subroutines in this manner to be the moral +equivalent of defining subroutines in the Perl language itself. You +may sell such an object file as proprietary provided that you provide +or offer to provide the Perl source, as specified by the GNU General +Public License. (This is merely an alternate way of specifying input +to the program.) You may also sell a binary produced by the dumping of +a running Perl script that belongs to you, provided that you provide or +offer to provide the Perl source as specified by the GPL. (The +fact that a Perl interpreter and your code are in the same binary file +is, in this case, a form of mere aggregation.) This is my interpretation +of the GPL. If you still have concerns or difficulties understanding +my intent, feel free to contact me. Of course, the Artistic License +spells all this out for your protection, so you may prefer to use that. diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST b/gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST new file mode 100644 index 00000000000..d1fa605a20f --- /dev/null +++ b/gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST @@ -0,0 +1,10 @@ +Cap.pm +Changes +LICENSE +MANIFEST +MANIFEST.SKIP +Makefile.PL +README +test.pl +META.yml Module YAML meta-data (added by MakeMaker) +META.json Module JSON meta-data (added by MakeMaker) diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST.SKIP b/gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST.SKIP new file mode 100644 index 00000000000..e8fbd12570c --- /dev/null +++ b/gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST.SKIP @@ -0,0 +1,3 @@ +.git +.gitignore +.travis.yml diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/META.json b/gnu/usr.bin/perl/cpan/Term-Cap/META.json new file mode 100644 index 00000000000..e3e158a6883 --- /dev/null +++ b/gnu/usr.bin/perl/cpan/Term-Cap/META.json @@ -0,0 +1,49 @@ +{ + "abstract" : "Perl termcap interface", + "author" : [ + "Jonathan Stowe " + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 7.66, CPAN::Meta::Converter version 2.150010", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : 2 + }, + "name" : "Term-Cap", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "ExtUtils::MakeMaker" : "0" + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : "0" + } + }, + "runtime" : { + "requires" : { + "Test::More" : "0.33" + } + } + }, + "release_status" : "stable", + "resources" : { + "repository" : { + "type" : "git", + "url" : "https://github.com/jonathanstowe/Term-Cap.git", + "web" : "https://github.com/jonathanstowe/Term-Cap" + } + }, + "version" : "1.18", + "x_serialization_backend" : "JSON::PP version 4.11" +} diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/META.yml b/gnu/usr.bin/perl/cpan/Term-Cap/META.yml new file mode 100644 index 00000000000..a76337fa7e0 --- /dev/null +++ b/gnu/usr.bin/perl/cpan/Term-Cap/META.yml @@ -0,0 +1,25 @@ +--- +abstract: 'Perl termcap interface' +author: + - 'Jonathan Stowe ' +build_requires: + ExtUtils::MakeMaker: '0' +configure_requires: + ExtUtils::MakeMaker: '0' +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 7.66, CPAN::Meta::Converter version 2.150010' +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: Term-Cap +no_index: + directory: + - t + - inc +requires: + Test::More: '0.33' +resources: + repository: https://github.com/jonathanstowe/Term-Cap.git +version: '1.18' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/Makefile.PL b/gnu/usr.bin/perl/cpan/Term-Cap/Makefile.PL new file mode 100644 index 00000000000..7ce216068be --- /dev/null +++ b/gnu/usr.bin/perl/cpan/Term-Cap/Makefile.PL @@ -0,0 +1,22 @@ +use ExtUtils::MakeMaker; + +WriteMakefile( + 'NAME' => 'Term::Cap', + 'VERSION_FROM' => 'Cap.pm', + 'INSTALLDIRS' => 'perl', + 'PREREQ_PM' => {Test::More => 0.33 }, + 'LICENSE' => 'perl', + META_MERGE => { + 'meta-spec' => { version => 2 }, + resources => { + repository => { + type => 'git', + url => 'https://github.com/jonathanstowe/Term-Cap.git', + web => 'https://github.com/jonathanstowe/Term-Cap', + }, + }, + }, + ($] >= 5.005 ? + (ABSTRACT_FROM => 'Cap.pm', + AUTHOR => 'Jonathan Stowe ') : ()), +); diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/README b/gnu/usr.bin/perl/cpan/Term-Cap/README new file mode 100644 index 00000000000..4727a0713f8 --- /dev/null +++ b/gnu/usr.bin/perl/cpan/Term-Cap/README @@ -0,0 +1,44 @@ +Term::Cap +========= + +Interface to the terminal capability database. + +INSTALLATION + +To install this module type the following: + + perl Makefile.PL + make + make test + make install + +DEPENDENCIES + +This module requires an OS that supplies +a termcap like terminal capability description file. + +As of 1.02 there is also a dependency on Test::More to perform the test suite. +This module will come as standard with 5.8.0 onward. + +REPORTING BUGS AND PROBLEMS + +Suspected bugs in this module should be reported both to the maintainer +(Jonathan Stowe ) and to the perl5-porters +(perl5-porters@perl.org). + +The source code for the CPAN release is hosted at + + https://github.com/jonathanstowe/Term-Cap + +Please feel free to fork it and submit pull requests. + +COPYRIGHT AND LICENCE + +Copyright 1995-2015 (c) perl5 porters. + +This software is free software and can be modified and distributed under +the same terms as Perl itself. + +Please see the file README in the Perl source distribution for details of +the Perl license. + diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/test.pl b/gnu/usr.bin/perl/cpan/Term-Cap/test.pl index c30cc769d09..60059abd575 100755 --- a/gnu/usr.bin/perl/cpan/Term-Cap/test.pl +++ b/gnu/usr.bin/perl/cpan/Term-Cap/test.pl @@ -121,7 +121,7 @@ SKIP: { $ENV{TERMPATH} = '!'; $ENV{TERMCAP} = ''; eval { $t = Term::Cap->Tgetent($vals) }; - isn't( $@, '', 'Tgetent() should catch bad termcap file' ); + isnt( $@, '', 'Tgetent() should catch bad termcap file' ); } SKIP: { -- 2.20.1