Could anyone commit update for fdm port? I got 'OK' from maintainer (in CC).
-- sergeyb@
diff -uprN -x CVS /usr/ports/mail/fdm/Makefile /usr/ports/mystuff/mail/fdm/Makefile --- /usr/ports/mail/fdm/Makefile Sun Jan 13 14:24:33 2013 +++ /usr/ports/mystuff/mail/fdm/Makefile Wed Mar 6 14:28:21 2013 @@ -2,8 +2,7 @@ COMMENT= fetch, filter and deliver mail -DISTNAME= fdm-1.6 -REVISION= 3 +DISTNAME= fdm-1.7 CATEGORIES= mail HOMEPAGE= http://fdm.sourceforge.net/ @@ -22,6 +21,10 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fdm/} LIB_DEPENDS += databases/tdb>=1.2.7 FAKE_FLAGS= PREFIX=${PREFIX} + +pre-build: + cd ${WRKSRC} && ksh configure + cd ${WRKSRC} && awk -ftools/makemanual.awk < MANUAL.in > MANUAL post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/fdm diff -uprN -x CVS /usr/ports/mail/fdm/distinfo /usr/ports/mystuff/mail/fdm/distinfo --- /usr/ports/mail/fdm/distinfo Sun Jan 13 14:24:33 2013 +++ /usr/ports/mystuff/mail/fdm/distinfo Mon Mar 4 13:10:35 2013 @@ -1,5 +1,2 @@ -MD5 (fdm-1.6.tar.gz) = srm/6VIXspAUK94WIeuaNw== -RMD160 (fdm-1.6.tar.gz) = fiyEa5fc4g4SO4RTcy4Qf4jg3o8= -SHA1 (fdm-1.6.tar.gz) = +4BC8jVQYoSP8ULJYEBptmV+aoI= -SHA256 (fdm-1.6.tar.gz) = cmmkCic3j0nA08yStCKdHgZrukhu+f+FyqLsTLzqNwY= -SIZE (fdm-1.6.tar.gz) = 192159 +SHA256 (fdm-1.7.tar.gz) = SER0CU8STOQ4yJ36sFUZ/ns6qMg0bQD3kKUSq5UM7yo= +SIZE (fdm-1.7.tar.gz) = 199808 diff -uprN -x CVS /usr/ports/mail/fdm/patches/patch-db-tdb_c /usr/ports/mystuff/mail/fdm/patches/patch-db-tdb_c --- /usr/ports/mail/fdm/patches/patch-db-tdb_c Sun Jan 13 14:24:33 2013 +++ /usr/ports/mystuff/mail/fdm/patches/patch-db-tdb_c Thu Jan 1 03:00:00 1970 @@ -1,13 +0,0 @@ -$OpenBSD: patch-db-tdb_c,v 1.3 2011/09/26 09:31:16 sthen Exp $ ---- db-tdb.c.orig Sat Sep 17 10:50:23 2011 -+++ db-tdb.c Sat Sep 17 10:50:50 2011 -@@ -22,6 +22,9 @@ - #include <fcntl.h> - #include <signal.h> - #include <string.h> -+#ifndef _PUBLIC_ -+#define _PUBLIC_ -+#endif - #include <tdb.h> - - #include "fdm.h" diff -uprN -x CVS /usr/ports/mail/fdm/patches/patch-deliver-smtp_c /usr/ports/mystuff/mail/fdm/patches/patch-deliver-smtp_c --- /usr/ports/mail/fdm/patches/patch-deliver-smtp_c Sun Jan 13 14:24:33 2013 +++ /usr/ports/mystuff/mail/fdm/patches/patch-deliver-smtp_c Thu Jan 1 03:00:00 1970 @@ -1,19 +0,0 @@ -$OpenBSD: patch-deliver-smtp_c,v 1.1 2012/03/22 10:47:14 sthen Exp $ - -From r1.58 upstream: properly escape . when delivering to SMTP. - ---- deliver-smtp.c.orig Sun Dec 14 21:34:06 2008 -+++ deliver-smtp.c Wed Mar 21 22:59:50 2012 -@@ -160,8 +160,11 @@ deliver_smtp_deliver(struct deliver_ctx *dctx, struct - goto error; - line_init(m, &ptr, &len); - while (ptr != NULL) { -- if (len > 1) -+ if (len > 1) { -+ if (*ptr == '.') -+ io_write(io, ".", 1); - io_write(io, ptr, len - 1); -+ } - io_writeline(io, NULL); - - /* Update if necessary. */ diff -uprN -x CVS /usr/ports/mail/fdm/patches/patch-fdm_h /usr/ports/mystuff/mail/fdm/patches/patch-fdm_h --- /usr/ports/mail/fdm/patches/patch-fdm_h Sun Jan 13 14:24:33 2013 +++ /usr/ports/mystuff/mail/fdm/patches/patch-fdm_h Thu Jan 1 03:00:00 1970 @@ -1,13 +0,0 @@ -$OpenBSD: patch-fdm_h,v 1.3 2011/09/26 09:31:16 sthen Exp $ ---- fdm.h.orig Sat Sep 17 10:48:21 2011 -+++ fdm.h Sat Sep 17 10:50:00 2011 -@@ -39,6 +39,9 @@ - #include <signal.h> - #include <stdarg.h> - #include <stdint.h> -+#ifndef _PUBLIC_ -+#define _PUBLIC_ -+#endif - #include <tdb.h> - #include <regex.h> - diff -uprN -x CVS /usr/ports/mail/fdm/pkg/PLIST /usr/ports/mystuff/mail/fdm/pkg/PLIST --- /usr/ports/mail/fdm/pkg/PLIST Sun Jan 13 14:24:33 2013 +++ /usr/ports/mystuff/mail/fdm/pkg/PLIST Wed Mar 6 14:34:07 2013 @@ -8,7 +8,6 @@ share/doc/fdm/README share/examples/fdm/ share/examples/fdm/f-terbeck.conf share/examples/fdm/g-lando.conf -share/examples/fdm/n-marriott-old.conf share/examples/fdm/n-marriott.conf share/examples/fdm/t-ulmer.conf share/examples/fdm/w-maier.conf