From: Eric Wong <e@80x24.org>
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 [thread overview]
Message-ID: <20211003074124.12921-4-e@80x24.org> (raw)
In-Reply-To: <20211003074124.12921-1-e@80x24.org>
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 <mwrap-perl@80x24.org>
+# License: GPL-2.0+ <https://www.gnu.org/licenses/gpl-2.0.txt>
+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 <<END;
Devel::Mwrap requires `usemymalloc=n'. malloc and related functions
-must be dynamically-linked.
+must be dynamically-linked for Devel::Mwrap to work.
END
exit 0;
}
@@ -41,12 +43,17 @@ push @writemakefile_args, (
AUTHOR => 'mwrap hackers <mwrap-perl@80x24.org>',
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 <mwrap-perl@80x24.org>
+ * Copyright (C) mwrap hackers <mwrap-perl@80x24.org>
* License: GPL-2.0+ <https://www.gnu.org/licenses/gpl-2.0.txt>
* 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 <mwrap-perl@80x24.org>
+# Copyright (C) all contributors <mwrap-perl@80x24.org>
# License: GPL-2.0+ <https://www.gnu.org/licenses/gpl-2.0.txt>
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 <mwrap-perl@80x24.org>
+# Copyright (C) mwrap hackers <mwrap-perl@80x24.org>
# License: GPL-2.0+ <https://www.gnu.org/licenses/gpl-2.0.txt>
-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 <mwrap-perl@80x24.org>
+# Copyright (C) mwrap hackers <mwrap-perl@80x24.org>
# License: GPL-2.0+ <https://www.gnu.org/licenses/gpl-2.0.txt>
-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";
next prev parent reply other threads:[~2021-10-03 7:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-03 7:41 [PATCH 0/4] PSGI support Eric Wong
2021-10-03 7:41 ` [PATCH 1/4] support quiet accessor Eric Wong
2021-10-03 7:41 ` [PATCH 2/4] each: support passing user args to callback Eric Wong
2021-10-03 7:41 ` Eric Wong [this message]
2021-10-03 7:41 ` [PATCH 4/4] add PSGI front-end Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211003074124.12921-4-e@80x24.org \
--to=e@80x24.org \
--cc=mwrap-perl@80x24.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mwrap-perl.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).