Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28203 - qmail-ldap + ezmlm
Summary: qmail-ldap + ezmlm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 33140 36828
  Show dependency tree
 
Reported: 2003-09-08 12:27 UTC by Aiko Barz
Modified: 2004-01-10 20:08 UTC (History)
0 users

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


Attachments
/usr/portage/net-mail/qmail-ldap/files/DASH_EXT.diff (DASH_EXT.diff,331 bytes, text/plain)
2003-12-28 18:05 UTC, Aiko Barz
Details
/usr/portage/net-mail/qmail-ldap/qmail-ldap-1.03-r2.ebuild (qmail-ldap-1.03-r2.ebuild,11.54 KB, text/plain)
2003-12-28 18:06 UTC, Aiko Barz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aiko Barz 2003-09-08 12:27:33 UTC
ezmlm needs qmail, but portage cannot install qmail, because qmail-ldap is
already installed. (RDEPEND="net-mail/qmail")
Changing the variable RDEPEND="net-mail/qmail-ldap" is the quick fix for me.
Comment 1 Aiko Barz 2003-09-09 03:58:53 UTC
ezmlm doesn't work. So i wrote a patch, which has been added to "qmail-ldap-1.03-r1.ebuild":
# DASH_EXT Support for ezmlm
epatch ${FILESDIR}/DASH_EXT.diff || die "No ezmlm support"

${FILESDIR}/DASH_EXT.diff lools like this:
============================================
--- Makefile.orig       2003-09-08 23:19:15.000000000 +0200
+++ Makefile    2003-09-08 23:22:54.000000000 +0200
@@ -12,6 +12,7 @@
 # avoids the silly qmail syndrome with high injection rates)
 #LDAPFLAGS=-DQLDAP_CLUSTER -DEXTERNAL_TODO
 #LDAPFLAGS=-DQLDAP_CLUSTER -DEXTERNAL_TODO -DDASH_EXT
+LDAPFLAGS=-DDASH_EXT


 # SMTP Authentication
============================================
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-30 03:08:31 UTC
i've fixed  the rdepend stuff as of ezmlm-0.53-r1 please include your patch to fix qmail-ldap.
Comment 3 Aiko Barz 2003-12-28 17:37:10 UTC
Add this:
---------------------------------------------------------------------------
akira qmail-ldap # cat /usr/portage/net-mail/qmail-ldap/files/DASH_EXT.diff 
--- Makefile.orig       2003-09-08 23:19:15.000000000 +0200
+++ Makefile    2003-09-08 23:22:54.000000000 +0200
@@ -12,6 +12,7 @@
 # avoids the silly qmail syndrome with high injection rates)
 #LDAPFLAGS=-DQLDAP_CLUSTER -DEXTERNAL_TODO
 #LDAPFLAGS=-DQLDAP_CLUSTER -DEXTERNAL_TODO -DDASH_EXT
+LDAPFLAGS=-DDASH_EXT
 
 
 # SMTP Authentication
---------------------------------------------------------------------------



This will fix ezmlm-support AND it will fix #33140 (Copy qmail.schema to /etc/openldap/schema/)!
---------------------------------------------------------------------------
akira qmail-ldap # diff -u qmail-ldap-1.03-r1.ebuild qmail-ldap-1.03-r2.ebuild 
--- qmail-ldap-1.03-r1.ebuild   2003-12-26 02:53:42.000000000 +0100
+++ qmail-ldap-1.03-r2.ebuild   2003-12-29 01:58:13.000000000 +0100
@@ -81,6 +81,9 @@
                use ssl && { epatch ${FILESDIR}/tls.patch.bz2 || die "tls+auth patch failed"; }
        fi
 
+       # DASH_EXT Support for ezmlm
+       epatch ${FILESDIR}/DASH_EXT.diff || die "ezmlm patch did not apply"
+
        echo "gcc ${CFLAGS}" > conf-cc
        echo "gcc" > conf-ld
        echo "500" > conf-spawn
@@ -241,6 +244,10 @@
        insopts -o qmaild -g root -m 600
        insinto /var/qmail/control
        doins ${FILESDIR}/control/ldappassword
+
+       einfo "Installing the qmail.schema ..."
+       insinto /etc/openldap/schema
+       doins qmail.schema
 }
 
 pkg_postinst() {
---------------------------------------------------------------------------

My Mailserver is stable for month. Please add qmail-ldap to the stable-tree!
Comment 4 Aiko Barz 2003-12-28 18:05:41 UTC
Created attachment 22779 [details]
/usr/portage/net-mail/qmail-ldap/files/DASH_EXT.diff
Comment 5 Aiko Barz 2003-12-28 18:06:37 UTC
Created attachment 22780 [details]
/usr/portage/net-mail/qmail-ldap/qmail-ldap-1.03-r2.ebuild
Comment 6 Benjamin Coles 2004-01-10 20:08:37 UTC
All notes in here fixed with latest ebuild please check bug #36828