On Fri, 21 Jun 2013 16:28:43 +0200 (CEST), gilles <[email protected]> said:
> User gilles has just rebuilt a portable snapshot, available from:

>         http://www.OpenSMTPD.org/archives/opensmtpd-201306211627p1.tar.gz

> A summary of the content of this snapshot is available below.

> Please test and let us know if it breaks something!

> If this snapshot doesn't work, please also test with a previous one,
> to help us spot where the issue is comming from. You can access all
> previous snapshots here:

>         http://www.opensmtpd.org/archives/

> The OpenSMTPD team ;-)

Hi,

Few diffs (attached) to fix minor issues, mostly getopt() related, on FreeBSD
9.1-RELEASE.

In addition to this, there's an issue related to including
'postgresql/libpq-fe.h', which is installed on FreeBSD (from
postgresql-client-9.0.13 package) as "${LOCALBASE}/include/libpq-fe.h". I'm
not sure about the right way to include this file.

I'm also planning to publish opensmtpd-devel port[1] based on this snapshot.

References:
[1]  https://redports.org/browser/ashish/mail/opensmtpd-devel

Thanks
-- 
Ashish SHUKLA

“I think, therefore I am… I think.” (Nordom, videogame "Torment", 1999)

Sent from my Emacs
$FreeBSD: ashish/mail/opensmtpd-devel/files/patch-smtpd_backends_table__mysql.c 
13772 2013-06-22 07:19:27Z ashish $

--- smtpd/backends/table_mysql.c.orig
+++ smtpd/backends/table_mysql.c
@@ -22,6 +22,7 @@
 
 #include <ctype.h>
 #include <fcntl.h>
+#include <getopt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
$FreeBSD: 
ashish/mail/opensmtpd-devel/files/patch-smtpd_backends_table__sqlite.c 13772 
2013-06-22 07:19:27Z ashish $

--- smtpd/backends/table_sqlite.c.orig
+++ smtpd/backends/table_sqlite.c
@@ -22,6 +22,7 @@
 
 #include <ctype.h>
 #include <fcntl.h>
+#include <getopt.h>
 #include <sqlite3.h>
 #include <stdio.h>
 #include <stdlib.h>
$FreeBSD: 
ashish/mail/opensmtpd-devel/files/patch-smtpd_backends_table__postgres.c 13772 
2013-06-22 07:19:27Z ashish $

--- smtpd/backends/table_postgres.c.orig
+++ smtpd/backends/table_postgres.c
@@ -22,12 +22,13 @@
 
 #include <ctype.h>
 #include <fcntl.h>
+#include <getopt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
 
-#include <postgresql/libpq-fe.h>
+#include <libpq-fe.h>
 
 #include "smtpd-defines.h"
 #include "smtpd-api.h"

Attachment: signature.asc
Description: PGP signature

Reply via email to