Date: Thu, 22 May 2014 16:10:04 +0200 (CEST) From: Loic Blot <loic.blot@unix-experience.fr> To: FreeBSD-gnats-submit@freebsd.org Cc: DSI IOGS <service.info@institutoptique.fr> Subject: ports/190110: sympa post-install instructions are wrong Message-ID: <20140522141004.9739C62194@sympa.institutoptique.fr> Resent-Message-ID: <201405221420.s4MEK3P3011427@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190110 >Category: ports >Synopsis: sympa post-install instructions are wrong >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu May 22 14:20:03 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Loic Blot >Release: FreeBSD 9.2-RELEASE amd64 >Organization: Institut Optique Graduate School >Environment: System: FreeBSD hidden.fr 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: We are migrating our old sympa server to FreeBSD. After installing it we tried to follow the post-install instructions but they are wrong There is a typo on the PostgreSQL filename, and samples must be copied before use the interactive shell, else this doesn't work. Also, /usr/local/share/sympa/css directory has wrong permissions, sympa user must be set on this directory else sympa send a mail when it starts with the following content: Could not create directory /usr/local/share/sympa/css: Permission denied >How-To-Repeat: Install SYMPA 6.1.20 with Apache, FCGID and PostgreSQL backend >Fix: You'll find post installation corrections below: --- sympa-post-install.diff begins here --- --- /tmp/sympa-post-install.orig 2014-05-22 15:55:59.000000000 +0200 +++ /tmp/sympa-post-install.modified 2014-05-22 16:02:47.000000000 +0200 @@ -1,6 +1,10 @@ If this is your first installation of sympa, please load this file with your pg database client: - /usr/local/libexec/sympa/create_db.pg + /usr/local/libexec/sympa/create_db.Pg + +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 /usr/local/libexec/sympa/sympa_wizard.pl @@ -16,7 +20,10 @@ AddDefaultCharset UTF-8 DirectoryIndex wws Options +Indexes - <Directory \"/usr/local/share/sympa\"> + <Directory /usr/local/share/sympa> + Allow from all + </Directory> + <Directory /usr/local/libexec/sympa> Allow from all </Directory> - ScriptAlias /wws /usr/local/libexec/sympa/wwsympa-wrapper + ScriptAlias /wws /usr/local/libexec/sympa/wwsympa-wrapper.fcgi --- sympa-post-install.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140522141004.9739C62194>