diff options
-rw-r--r-- | mail/sympa/Makefile | 4 | ||||
-rw-r--r-- | mail/sympa/files/pkg-message.in | 9 |
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 |