ports/59807: [patch] add mysql support to maildrop
Harold Paulson
haroldp at internal.org
Sat Nov 29 23:10:51 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list