From 2a1424adb86c44e63ac69384f573c69ed42b0ceb Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Sun, 8 Jun 2014 17:42:39 +0000 Subject: Fix pkg-message PR: ports/190109 Submitted by: loic.blot@unix-experience.fr (based on) --- mail/sympa/Makefile | 4 ++-- mail/sympa/files/pkg-message.in | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'mail/sympa') diff --git a/mail/sympa/Makefile b/mail/sympa/Makefile index 2c32e7a8fdd9..4b6c86a1a993 100644 --- a/mail/sympa/Makefile +++ b/mail/sympa/Makefile @@ -63,7 +63,7 @@ CONFIGURE_ARGS+=--bindir=${PREFIX}/libexec/${PORTNAME} \ CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} MAKE_ENV?= PERL_EXTUTILS_AUTOINSTALL=--skip SUB_FILES= pkg-install pkg-message -SUB_LIST= DB_TYPE=${DB_TYPE:tl} +SUB_LIST= DB_TYPE=${DB_TYPE} PORTEXAMPLES= * USE_RC_SUBR= sympa @@ -114,7 +114,7 @@ DB_TYPE= oracle .elif ${PORT_OPTIONS:MPGSQL} SUB_LIST+= REQ_MYSQL="" REQ_PGSQL=postgresql RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg -DB_TYPE= pg +DB_TYPE= Pg .elif ${PORT_OPTIONS:MSYBASE} RUN_DEPENDS+= p5-DBD-Sybase>=0:${PORTSDIR}/databases/p5-DBD-Sybase DB_TYPE= sybase diff --git a/mail/sympa/files/pkg-message.in b/mail/sympa/files/pkg-message.in index 1c7506a2f790..e26337baa62a 100644 --- a/mail/sympa/files/pkg-message.in +++ b/mail/sympa/files/pkg-message.in @@ -2,6 +2,10 @@ If this is your first installation of sympa, please load this file with your %%DB_TYPE%% database client: %%PREFIX%%/libexec/sympa/create_db.%%DB_TYPE%% +Before configuring sympa, you need to copy the samples: + cp /usr/local/etc/sympa.conf.sample /usr/local/etc/sympa.conf + cp /usr/local/etc/wwsympa.conf.sample /usr/local/etc/wwsympa.conf + To configure sympa interactively, please run: perl %%PREFIX%%/libexec/sympa/sympa_wizard.pl @@ -20,7 +24,10 @@ your Apache configuration file: %%FCGI%% %%FCGI%% SetHandler fastcgi-script %%FCGI%% - + + Allow from all + + Allow from all ScriptAlias /wws %%PREFIX%%/libexec/sympa/wwsympa-wrapper -- cgit v1.2.3