Fix pkg-message

PR:		ports/190109
Submitted by:	loic.blot@unix-experience.fr (based on)
This commit is contained in:
Chris Rees 2014-06-08 17:42:39 +00:00
parent cfcc81132c
commit 2a1424adb8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357064
2 changed files with 10 additions and 3 deletions

View file

@ -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

View file

@ -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