Date: Sat, 29 Nov 2003 14:54:04 -0800 (PST) From: Harold Paulson <haroldp@internal.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/59807: [patch] add mysql support to maildrop Message-ID: <200311292254.hATMs4c2034452@lisa.sierraweb.com> Resent-Message-ID: <200311292310.hATNAPIo043429@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 59807 >Category: ports >Synopsis: [patch] add mysql support to maildrop >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Nov 29 15:10:24 PST 2003 >Closed-Date: >Last-Modified: >Originator: Harold Paulson >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD lisa.sierraweb.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Wed Aug 27 21:46:51 PDT 2003 haroldp@lisa.sierraweb.com:/usr/obj/usr/src/sys/LISA i386 >Description: Patch attached to add MySQL support to Maildrop port. It is marked as "experimental" but I have been using on several busy production machines for some time without any problems. Builds for me on 4.9 and 5.1. >How-To-Repeat: >Fix: --- maildrop_mysql.patch begins here --- --- Makefile.orig Thu Nov 27 21:25:33 2003 +++ Makefile Sat Nov 29 00:26:16 2003 @@ -18,6 +18,7 @@ # systems. # NO_MAILWRAPPER If defined, let configure guess which sendmail binary # to use +# WITH_MYSQL Add experimental MySQL support PORTNAME= maildrop PORTVERSION= 1.5.2 @@ -58,6 +59,14 @@ .else PLIST_SUB+= MAILDIRQUOTA="@comment " .endif + +.if defined(WITH_MYSQL) +USE_MYSQL= yes +CONFIGURE_ARGS+= --enable-maildropmysql \ + --with-mysqlconfig=/usr/local/etc/maildropmysql.cnf +CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib/mysql" +.endif + MAILDROP_SUID?= root MAILDROP_SGID?= mail --- maildrop_mysql.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311292254.hATMs4c2034452>