logo

cve-client

CLI-based client / toolbox for CVE.org
commit: 366be2b0f1d8f9fb3ffd951aae66e4c7b759cb52
parent a33b1568ca84e3ea38e5a6b21b88f11c2143aaa1
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 27 Mar 2023 13:09:28 +0200

Fix metadata

Diffstat:

MMakefile.PL44+++++++++++++++++++++++++++-----------------
MREADME.md2+-
2 files changed, 28 insertions(+), 18 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL @@ -1,28 +1,38 @@ use ExtUtils::MakeMaker; -WriteMakefile( - NAME => 'App::CveClient', - ABSTRACT => 'CLI-based client / toolbox for CVE.org', - AUTHOR => 'Haelwenn (lanodan) Monnier', - LICENSE => 'agpl_3', - EXE_FILES => ['cve-client'], - VERSION_FROM => './cve-client', - PREREQ_PM => { - "Getopt::Std" => 0, - "JSON::MaybeXS" => 0, - "LWP::UserAgent" => 0, - "LWP::UserAgent::https" => 0, - }, -) +my %depend = ( + "Getopt::Std" => 0, + "JSON::MaybeXS" => 0, + "LWP::UserAgent" => 0, + "LWP::Protocol::https" => 0, +); -META_MERGE => { +my %meta_merge = ( 'meta-spec' => { version => 2 }, + release_status => 'stable', + # https://metacpan.org/module/CPAN::Meta::Spec#license resources => { repository => { type => 'git', url => 'https://hacktivis.me/git/cve-client.git', web => 'https://hacktivis.me/git/cve-client', }, - homepage => 'https://hacktivis.me/git/cve-client', + homepage => 'https://hacktivis.me/git/cve-client', + }, + prereqs => { + runtime => { + requires => {%depend}, + }, }, -}, +); + +WriteMakefile( + NAME => 'App::CveClient', + ABSTRACT => 'CLI-based client / toolbox for CVE.org', + AUTHOR => 'Haelwenn (lanodan) Monnier', + LICENSE => 'agpl_3', + EXE_FILES => ['cve-client'], + VERSION_FROM => './cve-client', + PREREQ_PM => \%depend, + META_MERGE => \%meta_merge, +); diff --git a/README.md b/README.md @@ -7,7 +7,7 @@ Because why would you ever rely on someone else's clobbered together JavaScript - Getopt::Std (should be included in your perl) - JSON::MaybeXS (should be included in your perl) - LWP::UserAgent (should be included in your perl) -- LWP::UserAgent::https +- LWP::Protocol::https ## Example ```