svn commit: r357064 - in head/mail/sympa: . files

Chris Rees crees at FreeBSD.org
Sun Jun 8 17:42:40 UTC 2014


Author: crees
Date: Sun Jun  8 17:42:39 2014
New Revision: 357064
URL: http://svnweb.freebsd.org/changeset/ports/357064
QAT: https://qat.redports.org/buildarchive/r357064/

Log:
  Fix pkg-message
  
  PR:		ports/190109
  Submitted by:	loic.blot at unix-experience.fr (based on)

Modified:
  head/mail/sympa/Makefile
  head/mail/sympa/files/pkg-message.in

Modified: head/mail/sympa/Makefile
==============================================================================
--- head/mail/sympa/Makefile	Sun Jun  8 17:16:28 2014	(r357063)
+++ head/mail/sympa/Makefile	Sun Jun  8 17:42:39 2014	(r357064)
@@ -63,7 +63,7 @@ CONFIGURE_ARGS+=--bindir=${PREFIX}/libex
 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

Modified: head/mail/sympa/files/pkg-message.in
==============================================================================
--- head/mail/sympa/files/pkg-message.in	Sun Jun  8 17:16:28 2014	(r357063)
+++ head/mail/sympa/files/pkg-message.in	Sun Jun  8 17:42:39 2014	(r357064)
@@ -2,6 +2,10 @@ If this is your first installation of sy
 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


More information about the svn-ports-head mailing list