pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/gld Make MESSAGE mysql-specific, since it is.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f3c0955ac1b
branches:  trunk
changeset: 509072:2f3c0955ac1b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 02 20:54:08 2006 +0000

description:
Make MESSAGE mysql-specific, since it is.
Final part of PR 32969 by Greg Oster.

diffstat:

 mail/gld/MESSAGE       |  22 ----------------------
 mail/gld/MESSAGE.mysql |  22 ++++++++++++++++++++++
 mail/gld/options.mk    |   7 ++++---
 3 files changed, 26 insertions(+), 25 deletions(-)

diffs (77 lines):

diff -r ba9a1a5f1c92 -r 2f3c0955ac1b mail/gld/MESSAGE
--- a/mail/gld/MESSAGE  Thu Mar 02 20:49:39 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.5 2006/02/06 15:59:58 sketch Exp $
-
-To configure gld, the following steps should be completed:
-
- $ mysql -e "create database gld"
- $ mysql -e "grant all on gld.* to gld@localhost identified by 'PASSWORD'"
- $ mysql gld < ${PREFIX}/share/gld/tables.mysql
-
-Modify "PASSWORD" with your desired password.
-
-Now edit your postfix's main.cf configuration file, and add the following
-line:
-
-       smtpd_recipient_restrictions = permit_mynetworks,
-               reject_unauth_destination,
-               check_policy_service inet:127.0.0.1:2525
-
-Start gld via ${RCD_SCRIPTS_DIR}/gld start
-
-It should be running fine now; good luck!
-===========================================================================
diff -r ba9a1a5f1c92 -r 2f3c0955ac1b mail/gld/MESSAGE.mysql
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/gld/MESSAGE.mysql    Thu Mar 02 20:54:08 2006 +0000
@@ -0,0 +1,22 @@
+===========================================================================
+$NetBSD: MESSAGE.mysql,v 1.1 2006/03/02 20:54:08 wiz Exp $
+
+To configure gld, the following steps should be completed:
+
+ $ mysql -e "create database gld"
+ $ mysql -e "grant all on gld.* to gld@localhost identified by 'PASSWORD'"
+ $ mysql gld < ${PREFIX}/share/gld/tables.mysql
+
+Modify "PASSWORD" with your desired password.
+
+Now edit your postfix's main.cf configuration file, and add the following
+line:
+
+       smtpd_recipient_restrictions = permit_mynetworks,
+               reject_unauth_destination,
+               check_policy_service inet:127.0.0.1:2525
+
+Start gld via ${RCD_SCRIPTS_DIR}/gld start
+
+It should be running fine now; good luck!
+===========================================================================
diff -r ba9a1a5f1c92 -r 2f3c0955ac1b mail/gld/options.mk
--- a/mail/gld/options.mk       Thu Mar 02 20:49:39 2006 +0000
+++ b/mail/gld/options.mk       Thu Mar 02 20:54:08 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2006/03/02 20:49:39 wiz Exp $
+# $NetBSD: options.mk,v 1.6 2006/03/02 20:54:08 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.gld
 PKG_OPTIONS_REQUIRED_GROUPS=   database
@@ -11,12 +11,13 @@
 .  include "../../mk/mysql.buildlink3.mk"
 CONFIGURE_ARGS+=       --with-mysql=${BUILDLINK_PREFIX.mysql-client}
 LIBS+=                 -L${BUILDLINK_PREFIX.mysql-client}/lib \
-                       -Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib -lmysqlclient
+       ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -lmysqlclient
+MESSAGE_SRC+=          MESSAGE.mysql
 .endif
 
 .if !empty(PKG_OPTIONS:Mpgsql)
 .  include "../../mk/pgsql.buildlink3.mk"
 CONFIGURE_ARGS+=       --with-pgsql=${BUILDLINK_PREFIX.postgresql-libs}
 LIBS+=                 -L${BUILDLINK_PREFIX.mysql-client}/lib \
-                       -Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib -lpq
+       ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -lpq
 .endif



Home | Main Index | Thread Index | Old Index