Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36828 - New qmail-ldap ebuild. qmail-ldap is now openldap-2.1.XX ready
Summary: New qmail-ldap ebuild. qmail-ldap is now openldap-2.1.XX ready
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on: 28203
Blocks: 33140
  Show dependency tree
 
Reported: 2003-12-30 10:13 UTC by Aiko Barz
Modified: 2004-01-10 20:09 UTC (History)
2 users (show)

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


Attachments
/usr/portage/net-mail/qmail-ldap/qmail-ldap-1.03-r3.ebuild (qmail-ldap-1.03-r3.ebuild,10.62 KB, text/plain)
2003-12-30 10:18 UTC, Aiko Barz
Details
/usr/portage/net-mail/qmail-ldap/files/features.diff (features.diff,2.08 KB, text/plain)
2003-12-30 10:20 UTC, Aiko Barz
Details
/usr/portage/net-mail/qmail-ldap/files/cleanup.diff (cleanup.diff,13.66 KB, text/plain)
2003-12-30 10:21 UTC, Aiko Barz
Details
/usr/portage/net-mail/qmail-ldap/files/features.diff (features.diff,1.44 KB, text/plain)
2004-01-03 18:58 UTC, Aiko Barz
Details
/usr/portage/net-mail/qmail-ldap/files/tls.diff (tls.diff,752 bytes, text/plain)
2004-01-03 19:00 UTC, Aiko Barz
Details
/usr/portage/net-mail/qmail-ldap/qmail-ldap-1.03-r3.ebuild (qmail-ldap-1.03-r3.ebuild,10.70 KB, text/plain)
2004-01-03 19:01 UTC, Aiko Barz
Details
qmail-ldap-r2 final (qmail-ldap-r2.tbz2,5.63 KB, application/octet-stream)
2004-01-10 20:07 UTC, Benjamin Coles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aiko Barz 2003-12-30 10:13:45 UTC
The schemas of openldap-2.1.XX changed. I downloaded the lastest ldap-patches to get native support. The patch provided by Andr
Comment 1 Aiko Barz 2003-12-30 10:13:45 UTC
The schemas of openldap-2.1.XX changed. I downloaded the lastest ldap-patches to get native support. The patch provided by André Oppermann changed a lot!
It contains most of important patches. It also contains:
 1. TLS!
 2. smtp_auth!
I wrote 2 patches by my own:
 1. The first one activates several features like ezmlm-Support, data-compression, TLS an so on in the Makefile.
 2. The second fixes some misbehavior of "head -1" and "tail -1" in the Makefile.

The qmail.schema gets copied by default and you are only allowed to relay by sending over localhost or using smtp-auth. smtp-auth is only allowed after "start_tls" for security-reasons.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 2 Aiko Barz 2003-12-30 10:18:44 UTC
Created attachment 22858 [details]
/usr/portage/net-mail/qmail-ldap/qmail-ldap-1.03-r3.ebuild

Based on #28203
Comment 3 Aiko Barz 2003-12-30 10:20:14 UTC
Created attachment 22859 [details]
/usr/portage/net-mail/qmail-ldap/files/features.diff

Modifies the Makefile and activates several features.
Comment 4 Aiko Barz 2003-12-30 10:21:16 UTC
Created attachment 22860 [details]
/usr/portage/net-mail/qmail-ldap/files/cleanup.diff

My system does not like "head -1" and "tail -1" anymore...
Comment 5 Aiko Barz 2003-12-30 10:25:08 UTC
This ebuild is based on #28203
Comment 6 Aiko Barz 2004-01-03 18:58:31 UTC
Created attachment 23121 [details]
/usr/portage/net-mail/qmail-ldap/files/features.diff

TLS is a seperate feature now
Comment 7 Aiko Barz 2004-01-03 19:00:12 UTC
Created attachment 23122 [details]
/usr/portage/net-mail/qmail-ldap/files/tls.diff

Activates TLS
Comment 8 Aiko Barz 2004-01-03 19:01:35 UTC
Created attachment 23123 [details]
/usr/portage/net-mail/qmail-ldap/qmail-ldap-1.03-r3.ebuild

if [ `use ssl` ]; then
     epatch ${FILESDIR}/tls.diff || die "TLS patch failed"
fi
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-03 20:10:49 UTC
sorry, i'm not accepting this at this time. I'm busy redoing all of the qmail stuff to go from as close a single set of code as possible.

tls and smtp_auth (after STARTTLS) are already in the mainstream qmail ebuild and the qmail-mysql ebuild. take your patches here and start with the latest qmail ebuild (r13 or r14) instead. the ldap patches should apply with only a little bit of massaging. be sure to test ALL of the features to make sure none of them are broken.
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-04 17:08:00 UTC
benjamin: you aren't the only one...
Comment 11 Benjamin Coles 2004-01-10 20:07:00 UTC
Created attachment 23587 [details]
qmail-ldap-r2 final

This bug is to be marked closed upon the completion of the latest patchset that
works for both openldap 2.0 and 2.1. I will be maintaining this as close as I
can to the latest. Just a note for those that are using this ebuild for both
virtual users AND local users: You may NOT have MailMessageStore AND
HomeDirectory in the  ldap user ldif or else it crashes with cannot create
Maildir.
Comment 12 Benjamin Coles 2004-01-10 20:07:45 UTC
closing: wala