From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id ACF071F9F4 for ; Sun, 3 Oct 2021 07:41:24 +0000 (UTC) From: Eric Wong To: mwrap-perl@80x24.org Subject: [PATCH 3/4] treewide: require Perl 5.12, doc+copyright updates Date: Sun, 3 Oct 2021 07:41:23 +0000 Message-Id: <20211003074124.12921-4-e@80x24.org> In-Reply-To: <20211003074124.12921-1-e@80x24.org> References: <20211003074124.12921-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: We shouldn't need to worry about copyright years and such since there's git history. --- .gitignore | 1 + Makefile.PL | 15 +++++++++++---- Mwrap.xs | 2 +- README | 22 +++++++++++++--------- lib/Devel/Mwrap.pm | 4 ++-- script/mwrap-perl | 4 ++-- t/mwrap.t | 6 +++--- 7 files changed, 33 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 81948b8..10623de 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /Mwrap.c /blib /pm_to_blib +/config.mak diff --git a/Makefile.PL b/Makefile.PL index 274cf60..1666f09 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,6 @@ -use strict; +# Copyright (C) all contributors +# License: GPL-2.0+ +use v5.12; use ExtUtils::MakeMaker; use Config; my $pkg_config = $ENV{PKG_CONFIG} // 'pkg-config'; @@ -21,7 +23,7 @@ END if ($Config{usemymalloc} eq 'y') { print STDERR < 'mwrap hackers ', LIBS => $LIBS, # e.g. -lurcu-cds LICENSE => 'gpl_2', # GPL-2.0+, CPAN::Meta::Spec limitation - MIN_PERL_VERSION => '5.8.0', + MIN_PERL_VERSION => '5.12.0', BUILD_REQUIRES => {}, INC => $INC, depend => { Makefile => 'lib/Devel/Mwrap.pm', - } + }, + resources => { + repository => 'https://80x24.org/mwrap-perl.git', + homepage => 'https://80x24.org/mwrap-perl.git/about', + bugtracker => 'https://80x24.org/mwrap-public/', + }, ); WriteMakefile(@writemakefile_args); diff --git a/Mwrap.xs b/Mwrap.xs index 54daf45..4d3e8af 100644 --- a/Mwrap.xs +++ b/Mwrap.xs @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018-2019 mwrap hackers + * Copyright (C) mwrap hackers * License: GPL-2.0+ * Disclaimer: I don't really know my way around XS or Perl internals well */ diff --git a/README b/README index 97ff4ea..e7375b0 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Devel::Mwrap - LD_PRELOAD malloc wrapper + line stats for Perl +Devel::Mwrap - LD_PRELOAD malloc wrapper + malloc line stats for Perl Devel::Mwrap is designed to answer the question: @@ -17,9 +17,9 @@ It relies on dynamic linking to a malloc(3) implementation. If you got Perl from your OS distribution, this typically does not require rebuilding Perl. -Tested on the perl package distributed with: +Tested on the `perl' package distributed with: -* Debian GNU/Linux 9, 10 +* Debian GNU/Linux 10 It may work on FreeBSD, NetBSD, OpenBSD and DragonFly BSD. @@ -61,13 +61,16 @@ malloc locations. * 32-bit machines are prone to overflow (WONTFIX) -== Mail archives and newsgroup: +== Public mail archives (HTTP, Atom feeds, IMAP mailbox, NNTP group): https://80x24.org/mwrap-perl/ - nntp://80x24.org/inbox.comp.lang.perl.mwrap + imaps://80x24.org/inbox.comp.lang.perl.mwrap.0 + nntps://80x24.org/inbox.comp.lang.perl.mwrap -No subscription will ever be required to post, but HTML mail -will be rejected: +No subscription nor real identities will ever be required to +obtain support. Memory usage reductions start with you; only send +plain-text mail to us and do not top-post. HTML mail and top-posting +costs everybody memory and bandwidth. mwrap-perl@80x24.org @@ -75,8 +78,9 @@ will be rejected: git clone https://80x24.org/mwrap-perl.git -Send all patches and pull requests (use "git request-pull" to format) -via email to mwrap-perl@80x24.org. We do not and will not use +Send all patches ("git format-patch" + "git send-email") and +pull requests (use "git request-pull" to format) via email +to mwrap-perl@80x24.org. We do not and will not use proprietary messaging systems. == License diff --git a/lib/Devel/Mwrap.pm b/lib/Devel/Mwrap.pm index d8dee58..43543d0 100644 --- a/lib/Devel/Mwrap.pm +++ b/lib/Devel/Mwrap.pm @@ -1,7 +1,7 @@ -# Copyright (C) 2019 all contributors +# Copyright (C) all contributors # License: GPL-2.0+ package Devel::Mwrap; -use strict; +use v5.12; our $VERSION = '0.0.0'; use XSLoader; XSLoader::load(__PACKAGE__, $VERSION); diff --git a/script/mwrap-perl b/script/mwrap-perl index 8d372eb..4350fcc 100644 --- a/script/mwrap-perl +++ b/script/mwrap-perl @@ -1,7 +1,7 @@ #!/usr/bin/perl -w -# Copyright (C) 2019 mwrap hackers +# Copyright (C) mwrap hackers # License: GPL-2.0+ -use strict; +use v5.12; use Devel::Mwrap; my ($so) = grep(m!/Mwrap\.so\z!, @DynaLoader::dl_shared_objects); defined($so) or die 'Mwrap.so not loaded'; diff --git a/t/mwrap.t b/t/mwrap.t index 91bae8a..c6e589c 100644 --- a/t/mwrap.t +++ b/t/mwrap.t @@ -1,12 +1,12 @@ #!perl -w -# Copyright (C) 2019 mwrap hackers +# Copyright (C) mwrap hackers # License: GPL-2.0+ -use strict; +use v5.12; use Test::More; use File::Temp qw(tempdir); use_ok 'Devel::Mwrap'; -my $tmpdir = tempdir('mwrap-perl-XXXXXX', TMPDIR => 1, CLEANUP => 1); +my $tmpdir = tempdir('mwrap-perl-XXXX', TMPDIR => 1, CLEANUP => 1); my $dump = "$tmpdir/dump"; my $out = "$tmpdir/out"; my $err = "$tmpdir/err";