Date: 25 Sep 2001 12:11:12 -0000 From: Olafur Osvaldsson <oli@isnic.is> To: FreeBSD-gnats-submit@freebsd.org Cc: nbm@freebsd.org Subject: ports/30814: Added option to specify the mysql server for vpopmail Message-ID: <20010925121112.89539.qmail@isis.isnic.is>
next in thread | raw e-mail | index | archive | help
>Number: 30814 >Category: ports >Synopsis: Added option to specify the mysql server for vpopmail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 25 05:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Olafur Osvaldsson >Release: FreeBSD 4.4-STABLE i386 >Organization: Internet a Islandi hf. >Environment: System: FreeBSD isis.isnic.is 4.4-STABLE FreeBSD 4.4-STABLE #2: Fri Sep 21 01:14:26 GMT 2001 root@isis.isnic.is:/usr/obj/usr/src/sys/VA1220 i386 >Description: I run the mysql server on a seperate machine and my guess is that many other do, so making this an option would be nice. >How-To-Repeat: >Fix: *** Makefile.orig Tue Sep 25 11:38:24 2001 --- Makefile Tue Sep 25 11:31:14 2001 *************** *** 48,53 **** --- 48,54 ---- # WITH_MYSQL_USER - the username for connecting to the MySQL server (root) # WITH_MYSQL_PASSWD - the password for connecting to the MySQL server (gipgap) # WITH_MYSQL_DB - the name of the MySQL database to use (vpopmail) + # WITH_MYSQL_SERVER - the name of the server with the MySQL database (localhost) # VCHKPW_GID - the group ID of the new vchkpw group (89) # VPOPMAIL_UID - the user ID of the new vpopmail user (89) # *************** *** 126,131 **** --- 127,135 ---- .endif .if defined(WITH_MYSQL_DB) ${PERL} -pi -e "s/(#define MYSQL_DATABASE.*)vpopmail(.*)/\$$1${WITH_MYSQL_DB}\$$2/" ${WRKSRC}/vmysql.h + .endif + .if defined(WITH_MYSQL_SERVER) + ${PERL} -pi -e "s/(#define MYSQL_SERVER.*)localhost(.*)/\$$1${WITH_MYSQL_SERVER}\$$2/" ${WRKSRC}/vmysql.h .endif .endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010925121112.89539.qmail>