This is a discussion on Re: [courier-users] More on OpenBSD 4.1 within the Courier-Imap forums, part of the Mail Servers and Related category; This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --===============2037965456== Content-Type: multipart/signed; boundary="=_mimegpg-commodore.email-scan.com-16837-1183460843-0001"; micalg=pgp-sha1; protocol="application/pgp-signature" This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --=_mimegpg-commodore.email-scan.com-16837-1183460843-0001 Content-Type: multipart/mixed; boundary="=_commodore.email-scan.com-1183460843-0000" Content-Transfer-Encoding: quoted-printable X-Mime-Autoconverted: from 8bit to quoted-printable by mimegpg This is a MIME-formatted message. If you see this text it means that you= r E-mail software does not support MIME-formatted messages. --=3D_commodore.email-scan.com-1183460843-0000 Content-Type: text/plain; format=3Dflowed; charset=3D"UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit Steve Shockley writes: > When building on OpenBSD 4.1, I get the following: >=20 > gmake[4]: Leaving directory=20 > `/usr/ports/mystuff/mail/courier/w-courier-0.56.0/build-i386/courier/mo= dule.dsn' > > [ =E2=80=A6 ] I'm not sure what's the problem with some of these. It's complaining abou= t=20 perfectly valid code. I'm going to have to guess here. Try applying this patch. --=3D_commodore.email-scan.com-1183460843-0000 Content-Disposition: attachment; FILENAME=3D"courier.patch.txt" Content-Type: text/plain; charset=3D"UTF-8" Content-Transfer-Encoding: 7bit Index: courier/webmlmd.C =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D RCS file: /cvsroot/courier/courier/courier/courier/webmlmd.C,v retrieving revision 1.15 diff -U3 -r1.15 webmlmd.C --- courier/webmlmd.C=0930 Jun 2007 03:49:11 -0000=091.15 +++ courier/webmlmd.C=093 Jul 2007 11:04:34 -0000 @@ -606,7 +606,11 @@ =09cmdset(args_array, false); =20 =09{ -=09=09std::istringstream i(std::string(cgi("optheaderadd")) + "\n"); +=09=09std::string key=3Dcgi("optheaderadd"); + +=09=09key +=3D "\n"; + +=09=09std::istringstream i(key); =20 =09=09std::ofstream ofs(HEADERADD ".new"); =20 @@ -623,7 +627,10 @@ =09} =20 =09{ -=09=09std::istringstream i(std::string(cgi("optheaderdel")) + "\n"); +=09=09std::string key=3Dcgi("optheaderdel"); +=09=09key +=3D "\n"; + +=09=09std::istringstream i(key); =20 =09=09std::ofstream ofs(HEADERDEL ".new"); =20 @@ -953,10 +960,10 @@ =20 =09if (ctlmsg.start(ext, address, "ctlmsg")) =09{ -=09=09FILE *stdin=3Dctlmsg.stdinptr(); +=09=09FILE *stdinptr=3Dctlmsg.stdinptr(); =20 =09=09ctlmsg.mk_received_header(); -=09=09fprintf(stdin, "\nSubscription request received.\n"); +=09=09fprintf(stdinptr, "\nSubscription request received.\n"); =20 =09=09if (ctlmsg.wait()) =09=09{ @@ -1100,10 +1107,10 @@ =09=09=09if (confirm.start(method + "-" + token, "", =09=09=09=09=09 "ctlmsg")) =09=09=09{ -=09=09=09=09FILE *stdin=3Dconfirm.stdinptr(); +=09=09=09=09FILE *stdinptr=3Dconfirm.stdinptr(); =20 =09=09=09=09confirm.mk_received_header(); -=09=09=09=09fprintf(stdin, +=09=09=09=09fprintf(stdinptr, =09=09=09=09=09"Subject: yes -- confirmed by WebMLM\n" =09=09=09=09=09"\n" =09=09=09=09=09"Confirmed\n"); @@ -1117,9 +1124,9 @@ =09=09=09=09char buf[1024]; =09=09=09=09bool isfirst=3Dtrue; =20 -=09=09=09=09FILE *stdout=3Dconfirm.stdoutptr(); +=09=09=09=09FILE *stdoutptr=3Dconfirm.stdoutptr(); =20 -=09=09=09=09while (fgets(buf, sizeof(buf), stdout)) +=09=09=09=09while (fgets(buf, sizeof(buf), stdoutptr)) =09=09=09=09{ =09=09=09=09=09if (isfirst) =09=09=09=09=09{ Index: courier/webmlmdmod.C =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D RCS file: /cvsroot/courier/courier/courier/courier/webmlmdmod.C,v retrieving revision 1.3 diff -U3 -r1.3 webmlmdmod.C --- courier/webmlmdmod.C=0930 Jun 2007 03:49:11 -0000=091.3 +++ courier/webmlmdmod.C=093 Jul 2007 11:04:34 -0000 @@ -286,10 +286,10 @@ =20 =09if (ctlmsg.start("moderate", "", "ctlmsg")) =09{ -=09=09FILE *stdin=3Dctlmsg.stdinptr(); +=09=09FILE *stdinptr=3Dctlmsg.stdinptr(); =20 =09=09ctlmsg.mk_received_header(); -=09=09fprintf(stdin, "Subject: yes\n\n" +=09=09fprintf(stdinptr, "Subject: yes\n\n" =09=09=09"=3D=3DCUT HERE=3D=3D\n\n=3D=3DCUT HERE=3D=3D\n\n" =09=09=09"[%s]\n" =09=09=09"[%s]\n", @@ -329,10 +329,10 @@ =20 =09if (ctlmsg.start("moderate", "", "ctlmsg")) =09{ -=09=09FILE *stdin=3Dctlmsg.stdinptr(); +=09=09FILE *stdinptr=3Dctlmsg.stdinptr(); =20 =09=09ctlmsg.mk_received_header(); -=09=09fprintf(stdin, "Subject: %s\n\n" +=09=09fprintf(stdinptr, "Subject: %s\n\n" =09=09=09"=3D=3DCUT HERE=3D=3D\n\n%s=3D=3DCUT HERE=3D=3D\n\n" =09=09=09"[%s]\n" =09=09=09"[%s]\n", --=3D_commodore.email-scan.com-1183460843-0000-- --=_mimegpg-commodore.email-scan.com-16837-1183460843-0001 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGii3rx9p3GYHlUOIRAqKMAJwPcXmB/XqyhuTzzL+eU51BwWrwBACdHLus Hu0vZpaw0rKtIUIpS+6lAYg= =93k9 -----END PGP SIGNATURE----- --=_mimegpg-commodore.email-scan.com-16837-1183460843-0001-- --===============2037965456== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============2037965456== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users --===============2037965456==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|