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"
Workin' on it.
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!