Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91325 - pdns (2.9.17) ebuild has no support for sqlite
Summary: pdns (2.9.17) ebuild has no support for sqlite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-03 09:39 UTC by Maurice Meeden
Modified: 2005-07-16 22:06 UTC (History)
0 users

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 Maurice Meeden 2005-05-03 09:39:08 UTC
pdns supports sqlite with an additional modul, which is build by adding to --with-modules=gsqlite. The ebuild has no support for that module.

Reproducible: Always
Steps to Reproduce:
USE="sqlite" emerge -av pdns
Actual Results:  
net-dns/pdns-2.9.17  -ldap -mysql -postgres -static

Expected Results:  
net-dns/pdns-2.9.17  -ldap -mysql -postgres +sqlite -static

The support can be added with two changes in the ebuild:
-------------
schlepptop pdns # diff -Naur pdns-2.9.17.ebuild pdns-2.9.17-r1.ebuild 
--- pdns-2.9.17.ebuild  2005-02-12 12:35:41.000000000 +0100
+++ pdns-2.9.17-r1.ebuild       2005-05-03 18:29:36.000000000 +0200
@@ -15,6 +15,7 @@
 DEPEND="virtual/libc
        mysql? ( >=dev-db/mysql-3.23.54a )
        postgres? ( >=dev-cpp/libpqpp-4.0-r1 )
+       sqlite? ( =dev-db/sqlite-2.8* )
        ldap? ( >=net-nds/openldap-2.0.27-r4 )"
 
 RDEPEND="${DEPEND}"
@@ -33,6 +34,7 @@
 
        use mysql && modules="gmysql $modules"
        use postgres && modules="gpgsql $modules"
+       use sqlite && modules="gsqlite $modules"
        use ldap && modules="ldap $modules"
 
        econf --with-modules="$modules" \

-------------

pdns is actually not working with sqlite-3.*, therefore the restriction in depend..
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-05 10:59:08 UTC
Jared, please list yourself as the maintainer in the metadata.xml file
Comment 2 Sven Wegener gentoo-dev 2005-07-16 22:06:08 UTC
Thanks, available in the 2.9.18 ebuild.