aboutsummaryrefslogtreecommitdiff
path: root/mail/sympa
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2014-06-08 17:42:39 +0000
committerChris Rees <crees@FreeBSD.org>2014-06-08 17:42:39 +0000
commit2a1424adb86c44e63ac69384f573c69ed42b0ceb (patch)
tree07b5fedb0e0bfa79eab709b3dc582c5654bbd7c4 /mail/sympa
parentcfcc81132c94e60261b6de4ab1b4ffe563fcd1ef (diff)
downloadports-2a1424adb86c44e63ac69384f573c69ed42b0ceb.tar.gz
ports-2a1424adb86c44e63ac69384f573c69ed42b0ceb.zip
Fix pkg-message
PR: ports/190109 Submitted by: loic.blot@unix-experience.fr (based on)
Notes
Notes: svn path=/head/; revision=357064
Diffstat (limited to 'mail/sympa')
-rw-r--r--mail/sympa/Makefile4
-rw-r--r--mail/sympa/files/pkg-message.in9
2 files changed, 10 insertions, 3 deletions
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%% <Location /wws>
%%FCGI%% SetHandler fastcgi-script
%%FCGI%% </Location>
- <Directory \"%%DATADIR%%\">
+ <Directory %%DATADIR%%>
+ Allow from all
+ </Directory>
+ <Directory %%PREFIX%%/libexec/sympa>
Allow from all
</Directory>
ScriptAlias /wws %%PREFIX%%/libexec/sympa/wwsympa-wrapper