From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 22 14:20:04 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A815A8E for ; Thu, 22 May 2014 14:20:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C091F26A3 for ; Thu, 22 May 2014 14:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4MEK37i011428 for ; Thu, 22 May 2014 14:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4MEK3P3011427; Thu, 22 May 2014 14:20:03 GMT (envelope-from gnats) Resent-Date: Thu, 22 May 2014 14:20:03 GMT Resent-Message-Id: <201405221420.s4MEK3P3011427@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Loic Blot Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D24A267 for ; Thu, 22 May 2014 14:10:07 +0000 (UTC) Received: from smtp.institutoptique.fr (smtp.institutoptique.fr [IPv6:2001:660:302d:4001:0:7:1445:afd9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E775E259E for ; Thu, 22 May 2014 14:10:06 +0000 (UTC) Received: from sympa.institutoptique.fr (unknown [10.117.100.91]) by smtp.institutoptique.fr (Postfix) with ESMTP id C24922614E; Thu, 22 May 2014 16:10:04 +0200 (CEST) Received: by sympa.institutoptique.fr (Postfix, from userid 0) id 9739C62194; Thu, 22 May 2014 16:10:04 +0200 (CEST) Message-Id: <20140522141004.9739C62194@sympa.institutoptique.fr> Date: Thu, 22 May 2014 16:10:04 +0200 (CEST) From: Loic Blot Reply-To: Loic Blot To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/190110: sympa post-install instructions are wrong Cc: DSI IOGS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 14:20:04 -0000 >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 - + + Allow from all + + Allow from all - 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: