Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17684 - Vpopmail does not compile with --enable-ip-alias-domains
Summary: Vpopmail does not compile with --enable-ip-alias-domains
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-17 08:22 UTC by Bjorn
Modified: 2003-05-22 18:57 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 Bjorn 2003-03-17 08:22:36 UTC
For users who want to use vpopmail in a virtual domain setting, the current 
vpopmail ebuild will not work because it is missing the feature that makes 
virtual domains simple,

--enable-ip-alias-domains

since this might not be a feature required for those who are not using virtual 
domains, this can be enabled/disabled by a vpopmail specific USE flag (i have 
named the USE flag in my modified ebuild ipalias)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bjorn 2003-03-17 08:27:06 UTC
Here is a simple patch to fix the minor bug,

--- vpopmail-5.2.1-r4.ebuild    2003-02-13 09:21:58.000000000 -0600
+++ /usr/local/portage/net-mail/vpopmail/vpopmail-5.2.1-r4.ebuild       2003-03-17 07:23:14.000000000 -0600
@@ -12,7 +12,7 @@
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="x86 sparc"
-IUSE="mysql"
+IUSE="mysql ipalias"
 DEPEND="sys-apps/sed
        sys-apps/ucspi-tcp
        mysql? ( =dev-db/mysql-3.23* )"
@@ -71,6 +71,9 @@
 src_compile() {
        vpopmail_set_homedir

+       use ipalias && myopts="${myopts} --enable-ip-alias-domains=y" \
+               || myopts="${myopts} --enable-ip-alias-domains=n"
+
        use mysql && myopts="${myopts} --enable-mysql=y \
                        --enable-libs=/usr/include/mysql \
                        --enable-sqllibdir=/usr/lib/mysql \
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-03-17 13:22:26 UTC
this uses a new use-flag 
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-05-22 18:57:14 UTC
local use flag

fixed in cvs