Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68024 - tpop3d postgresql support unavailable
Summary: tpop3d postgresql support unavailable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Maurice van der Pot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 08:36 UTC by Lionel Bouton
Modified: 2007-09-22 23:23 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 Lionel Bouton 2004-10-18 08:36:39 UTC
tpop3d 1.5.3 supports postgresql database for authentification. Even if "postgres" is declared in $USE, tpop3d-1.5.3.ebuild ignores it.

The following works for me (but bear in mind I'm a Gentoo newbie) :

--- /usr/portage/net-mail/tpop3d/tpop3d-1.5.3.ebuild    2004-08-26 16:06:17.000000000 +0200
+++ /usr/local/portage/net-mail/tpop3d/tpop3d-1.5.3-r1.ebuild   2004-10-18 13:12:05.000150658 +0200
@@ -11,7 +11,7 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="x86"
-IUSE="ssl ldap mysql perl pam tcpd maildir debug"
+IUSE="ssl ldap mysql perl pam tcpd maildir debug postgres"
 
 DEPEND="virtual/libc
        ssl?    ( >=dev-libs/openssl-0.9.6 )
@@ -19,7 +19,8 @@
        mysql?  ( >=dev-db/mysql-3.23.28 )
        perl?   ( >=dev-lang/perl-5.6.1 )
        pam?    ( >=sys-libs/pam-0.75 )
-       tcpd?   ( >=sys-apps/tcp-wrappers-7.6 )"
+       tcpd?   ( >=sys-apps/tcp-wrappers-7.6 )
+       postgres? ( >=dev-db/postgresql-7.0 )"
 
 src_unpack() {
        unpack ${P}.tar.gz
@@ -30,6 +31,7 @@
 src_compile() {
        local myconf
        use mysql               && myconf="--enable-auth-mysql"
+       use postgres    && myconf="--enable-auth-pgsql"
        use ldap                && myconf="${myconf} --enable-auth-ldap"
        use perl                && myconf="${myconf} --enable-auth-perl"
        use tcpd                && myconf="${myconf} --enable-tcp-wrappers"
Comment 1 Maurice van der Pot (RETIRED) gentoo-dev 2004-10-20 14:20:25 UTC
Workin' on it.
Comment 2 Maurice van der Pot (RETIRED) gentoo-dev 2004-10-21 12:12:00 UTC
I modified the tpop3d-1.5.3 ebuild to include your changes.
It's available the next time you emerge sync, thanks for the tip!