On Wed, Apr 14, 2004, OpenPKG Project Robot wrote:

> The following OpenPKG Contribution Area operation occurred.
> uploaded DIFF file "imapd.spec.diff" accepted -- moved to contrib area.
> No action is required on your part.

| This incorporates the well known DRAC patch into cyrus imapd
| as an option.
|
| DRAC is a rpc service which implements POP before SMTP
| for email relay authentication. It consists of a server part
| (look for DRACD server) and a client part normally patched
| into well known pop and imap servers.
|
| The patch is part of the contrib area of cyrus imapd.
|
| Birger Kraegelin, Fraunhofer NOC
| [EMAIL PROTECTED]
| ################################################################
| --- imapd.spec.orig   Wed Feb 18 15:37:22 2004
| +++ imapd.spec        Wed Apr 14 10:45:11 2004
| @@ -34,11 +34,12 @@
|  Group:        Mail
|  License:      BSD
|  Version:      2.2.3
| -Release:      2.0.0
| +Release:      2.0.0noc
|
|  #   package options
|  %option       with_fsl    yes
|  %option       with_group  no
| +%option       with_drac   no
|
|  #   list of sources
|  Source0:      ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-%{version}.tar.gz
| @@ -87,6 +88,9 @@
|          -e 's;/etc/imapd\.group;%{l_prefix}/etc/imapd/imapd.group;' \
|          lib/auth_unix.c
|  %endif
| +%if "%{with_drac}" == "yes"
| +    %{l_patch} -p0 -i contrib/drac_auth.patch
| +%endif
|      %{l_shtool} subst \
|          -e 's;-L/usr/local/lib;;g' \
|          -e 's;-I/usr/local/include;;g' \

I don't think this is enough. For me it complains loudly about
@DRACLIBS@ not set and especially the define DRAC_AUTH is not
set at all, so the DRAC support is patched in but not activated.
I've comitted a slightly different change to "imapd" (see
http://cvs.openpkg.org/chngview?cn=15890 for details) of OpenPKG-CURRENT
which should do the trick.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to