← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 2046181] [NEW] [MIR] libparams-validate-perl (as libgetopt-long-descriptive-perl, libmail-dkim-perl dependency)

 

Public bug reported:

[MIR] libparams-validate-perl (as libgetopt-long-descriptive-perl,
libmail-dkim-perl dependency)

Package: libparams-validate-perl

[Availability]
The package libparams-validate-perl is already in Ubuntu universe.
The package libparams-validate-perl build for the architectures it is designed to work on.
It currently builds and works for architectures:  amd64 (all)
Link to package https://launchpad.net/ubuntu/+source/libparams-validate-perl

[Rationale]
The package libparams-validate-perl  is required in Ubuntu main for libgetopt-long-descriptive-perl, as libmail-dkim-perl dependency.
The package libparams-validate-perl  will not generally be useful for a large part of
our user base, but is important/helpful still because is required as runtime dependency by libgetopt-long-descriptive-perl (https://bugs.launchpad.net/ubuntu/+source/libgetopt-long-descriptive-perl/+bug/1492055), and this, in turn, is required as runtime dependency by libmail-dkim-perl that is already in main.

libmail-dkim-perl it's a perl module to cryptographically identify the sender of email (implementing the new Domain Keys Identified Mail (DKIM)), used by spamassassin
and amavisd-new. The following change added to libmail-dkim-perl makes it necessary to use libparams-validate-perl:

1.20220520 2022-05-20 UTC
  + Change default algorithm in dkimsign.pl to sha-256
  + Use Getopt::Long::Descriptive in scripts for better command help

That change have been there since Lunar, apparently.

The package libparams-validate-perl is required in Ubuntu main main no
later than through the same scheduled requested for the libgetopt-long-
descriptive-perl promotion, since libgetopt-long-descriptive-perl
depends on it.

[Security]
No CVEs/security issues in this software in the past:
  - (0) https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=libparams-validate-perl
  - (0) https://ubuntu.com/security/cves?q=&package=libparams-validate-perl
  - (0) https://security-tracker.debian.org/tracker/source-package/libparams-validate-perl
No `suid` or `sgid` binaries.
No executables in `/sbin` and `/usr/sbin`.
Package does not install services, timers or recurring jobs.
Package does not open privileged ports (ports < 1024).
Package does not expose any external endpoints.
Package does not contain extensions to security-sensitive software (filters, scanners, plugins, UI skins, ...);
It's a Perl module to validate parameters to Perl method/function calls.
Params::Validate is a Perl module providing a flexible way to validate method
and function call parameters. The validation can be as simple as checking for
the presence of required parameters, or more complex, like validating object
classes (via isa) or capabilities (via can) and checking parameter types. It
also provides extensibility through customized validation callbacks.
The module has been designed to work equally well with positional or named
parameters (via a hash or hash reference) and includes experimental support
for attributes (see Attribute::Params::Validate for details).


[Quality assurance - function/usage]
The package works well right after install

[Quality assurance - maintenance]
The package is maintained well in Debian/Ubuntu and does
not have too many, long-term & critical, open bugs:
   - Ubuntu (1) https://bugs.launchpad.net/ubuntu/+source/libparams-validate-perl/+bug
   - Debian (1) https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=libparams-validate-perl
   - Upstream's bug tracker (7) https://github.com/houseabsolute/Params-Validate/issues
     + Upstream's repo last activity: https://github.com/houseabsolute/Params-Validate
       - last commit: in master, Oct 22, 2022
       - Issues without answer: 0
       - Updated issue/PR: Aug 15, 2022
       - last fixed/closed/merged issue: Aug 17, 2023
       - last merged PR: Oct 22, 2022
The package hasn't important/old open bugs on upstream.

The package does not deal with exotic hardware we cannot support.

[Quality assurance - testing]
The package runs a test suite on build time, if it fails
it makes the build fail: https://launchpad.net/ubuntu/+source/libparams-validate-perl/1.31-2/+build/27049552/+files/buildlog_ubuntu-noble-amd64.libparams-validate-perl_1.31-2_BUILDING.txt.gz

 dh_auto_test
	/usr/bin/perl Build test --verbose 1

The package runs an autopkgtest (via autodep8 using 'Testsuite: autopkgtest-pkg-perl' in d/control file - https://git.launchpad.net/ubuntu/+source/libparams-validate-perl/tree/debian/control#n7 -),
that runs essentialy the above build-time test suite. It is currently passing on
this list of architectures (amd64, arm64, armhf, ppc64el, s390x) except i386: https://autopkgtest.ubuntu.com/packages/l/libparams-validate-perl

The package does have failing autopkgtests tests right now, but since
they always failed they are handled as "ignored failure", this is
because the test depends on pkg-perl-autopkgtest package that is not
build for i386 since focal.

[Quality assurance - packaging]
debian/watch is present and works.

debian/control defines a correct Maintainer field : Debian Perl Group
<pkg-perl-maintainers@xxxxxxxxxxxxxxxxxxxxxxx> (
https://git.launchpad.net/ubuntu/+source/libparams-validate-
perl/tree/debian/control#n2)

This package does not yield massive lintian Warnings, Errors
  - recent build log of the package https://launchpad.net/ubuntu/+source/libparams-validate-perl/1.31-2/+build/27049552/+files/buildlog_ubuntu-noble-amd64.libparams-validate-perl_1.31-2_BUILDING.txt.gz
  - full output from `lintian --pedantic` :
    #source
    ❯ lintian -EvIL +pedantic --show-overrides
      W: libparams-validate-perl: changelog-distribution-does-not-match-changes-file unstable != noble [usr/share/doc/libparams-validate-perl/changelog.Debian.gz:1]
      W: libparams-validate-perl changes: distribution-and-changes-mismatch noble unstable
    #binary
    ❯ lintian -EvIL +pedantic --show-overrides ../libgetopt-long-descriptive-perl_0.111-1.dsc
      X: libparams-validate-perl source: debian-watch-does-not-check-openpgp-signature [debian/watch]

This package does not rely on obsolete or about to be demoted packages.
This package has no python2 or GTK2 dependencies.

The package will not be installed by default.

Packaging and build is easy, link to debian/rules:
https://git.launchpad.net/ubuntu/+source/libparams-validate-
perl/tree/debian/rules

[UI standards]
Application is not end-user facing (does not need translation).

[Dependencies]
There are further dependencies not yet in main. Listing then:

libparams-validate-perl depends on:
  - libscalar-list-utils-perl  (depends, universe)

However, the modules provided by libscalar-list-utils-perl are provided by the libperl5.36 package too,
although there is no Break/Replace/Provides in the d/control of perl about this.


[Standards compliance]
This package correctly follows FHS and Debian Policy (4.6.2)

[Maintenance/Owner]
Owning Team will be Ubuntu Server Team.
Team is not yet, but will subscribe to the package before promotion.
This does not use static builds.
This use vendored code:
 -c/ppport.h : from https://metacpan.org/pod/Devel::PPPort
This package is not rust based.

A previous version of the package was successfully built during the most
recent test rebuild : https://launchpad.net/ubuntu/+archive/test-
rebuild-20230830-mantic/+build/26602467/+files/buildlog_ubuntu-mantic-
amd64.libparams-validate-perl_1.31-1_BUILDING.txt.gz

[Background information]
The Package description explains the package well.
Upstream Name is Params-Validate .
Link to upstream project https://metacpan.org/dist/Params-Validate


This has been in the archive since at least 2014 (Utopic,1.09-1).
It was on main before (https://bugs.launchpad.net/ubuntu/+source/libparams-validate-perl/+bug/878004), but was demoted to universe in Jammy.

** Affects: libparams-validate-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libparams-validate-perl in Ubuntu.
https://bugs.launchpad.net/bugs/2046181

Title:
  [MIR] libparams-validate-perl (as libgetopt-long-descriptive-perl,
  libmail-dkim-perl dependency)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libparams-validate-perl/+bug/2046181/+subscriptions



Follow ups