HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-84-generic #84-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 5 22:36:38 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //usr/share/doc/libdbi-perl/README.Debian
Dependencies for DBD drivers
============================

This information is only relevant for maintainers of Debian packages providing
DBD drivers.

Packages using the binary DBD<>DBI interface need to depend on the
perl-dbdabi-* virtual package provided by libdbi-perl.  To generate this
dependency please do one of the following:

debhelper using dh:

Use the "perl_dbi" addon and ensure ${perl:Depends} is used in debian/control.
This requires a build-dependency on libdbi-perl (>= 1.612).

The debian/rules file might look as follows:

  #!/usr/bin/make -f
  %:
          dh $@ --with perl_dbi

Alternatively, since libdbi-perl/1.642-1 you can just build depend on
dh-sequence-perl-dbi and omit the "--with perl_dbi" part.

old-style debhelper:

Run dh_perl_dbi after dh_perl and ensure ${perl:Depends} is used in
debian/control.  This requires a build dependency on libdbi-perl (>= 1.612).

packages not using debhelper:

Include /usr/share/libdbi-perl/perl-dbdabi.make in debian rules and use
PERL_DBDABI_DEPENDS.  This requires a build-dependency on
libdbi-perl (>= 1.610.90+is+1.609).

See http://bugs.debian.org/577209 for a discussion why this dependency is
required.