Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489680 - mail-filter/opendmarc should not depend on dev-db/opendbx but should depend on dev-perl/DBI
Summary: mail-filter/opendmarc should not depend on dev-db/opendbx but should depend o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 489676
  Show dependency tree
 
Reported: 2013-10-28 20:02 UTC by Jeroen Roovers (RETIRED)
Modified: 2013-10-29 19:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2013-10-28 20:02:38 UTC
~/portage/mail-filter/opendmarc-1.1.3/work/opendmarc-1.1.3 $ grep -ir opendbx .                                         ./README:o OpenDBX (http://www.linuxnetworks.de/doc/index.php/OpenDBX) which
./INSTALL:              is "mysql".  See OpenDBX documentation for the list of
~/portage/mail-filter/opendmarc-1.1.3/work/opendmarc-1.1.3 $ grep -ir dbx .
./README:o OpenDBX (http://www.linuxnetworks.de/doc/index.php/OpenDBX) which
./INSTALL:              is "mysql".  See OpenDBX documentation for the list of

These are the only mentions of OpenDBX in the entire source code, so that suggests INSTALL and README are simply outdated and opendmarc should not have that dependency.

opendmarc compiles and runs fine without dev-db/opendbx installed.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-28 20:05:37 UTC
Several scripts do use dev-perl/DBI for database access, though:

/usr/sbin/opendmarc-reports:use DBI;
/usr/sbin/opendmarc-reports:my $dbi_dsn = "DBI:" . $dbscheme . ":database=" . $dbname .
/usr/sbin/opendmarc-reports:$dbi_h = DBI->connect($dbi_dsn, $dbuser, $dbpasswd, { PrintError => 0 });
/usr/sbin/opendmarc-reports:    print STDERR "$progname: unable to connect to database: $DBI::errstr\n";
/usr/sbin/opendmarc-import:use DBI;
/usr/sbin/opendmarc-import:my $dbi_dsn = "DBI:" . $dbscheme . ":database=" . $dbname .
/usr/sbin/opendmarc-import:$dbi_h = DBI->connect($dbi_dsn, $dbuser, $dbpasswd, { PrintError => 0 });
/usr/sbin/opendmarc-import:     print STDERR "$progname: unable to connect to database: $DBI::errstr\n";
/usr/sbin/opendmarc-params:use DBI;
/usr/sbin/opendmarc-params:my $dbi_dsn = "DBI:" . $dbscheme . ":database=" . $dbname .
/usr/sbin/opendmarc-params:$dbi_h = DBI->connect($dbi_dsn, $dbuser, $dbpasswd, { PrintError => 0 });
/usr/sbin/opendmarc-params:     print STDERR "$progname: unable to connect to database: $DBI::errstr\n";
/usr/sbin/opendmarc-expire:use DBI;
/usr/sbin/opendmarc-expire:my $dbi_dsn = "DBI:" . $dbscheme . ":database=" . $dbname .
/usr/sbin/opendmarc-expire:$dbi_h = DBI->connect($dbi_dsn, $dbuser, $dbpasswd, { PrintError => 0 });
/usr/sbin/opendmarc-expire:     print STDERR "$progname: unable to connect to database: $DBI::errstr\n";
Comment 2 Fabian Groffen gentoo-dev 2013-10-29 19:46:04 UTC
thanks, should be fixed now.