Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2007 11:56:53 +0100 (CET)
From:      Martin Matuska <martin@matuska.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109225: [MAINTAINER] www/openacs 
Message-ID:  <20070216105653.A621D3F443@mail.vx.sk>
Resent-Message-ID: <200702161100.l1GB0EdO018850@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109225
>Category:       ports
>Synopsis:       [MAINTAINER] www/openacs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 16 11:00:13 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 6.2-RELEASE
>Organization:
>Environment:
FreeBSD 6.2-RELEASE i386 amd64
>Description:
Changed files:
files/create_sampledb.sh.in: fixed typo and added more information
files/pkg-message.in: fixed xowiki URL
>How-To-Repeat:
>Fix:
--- www/openacs/Makefile.orig	Fri Feb 16 10:23:21 2007
+++ www/openacs/Makefile	Fri Feb 16 10:23:28 2007
@@ -7,6 +7,7 @@
 
 PORTNAME?=	openacs
 PORTVERSION?=	5.3.0
+PORTREVISION?=	1
 CATEGORIES=	www
 MASTER_SITES?=	http://openacs.org/projects/openacs/download/download/
 EXTRACT_SUFX?=	.tgz?revision_id=583060
--- www/openacs/files/create_sampledb.sh.in.orig	Thu Feb 15 22:26:26 2007
+++ www/openacs/files/create_sampledb.sh.in	Fri Feb 16 10:20:57 2007
@@ -16,7 +16,7 @@
 CREATEUSERFLAGS="-A -d"
 
 # Check if PostgreSQL version is >= 8.1.0
-${LOCALBASE}/bin/postmaster -V | ${AWK} -F '[ .]' '{if ($3=8 && $4>=1) {exit 0} else {exit 1}}' && {
+${LOCALBASE}/bin/postmaster -V | ${AWK} -F '[ .]' '{if ($3==8 && $4>=1) {exit 0} else {exit 1}}' && {
 POSTGRESQL81=YES
 CREATEUSERFLAGS="-S -R -d"
 }
@@ -40,6 +40,6 @@
 echo "You have PostgreSQL 8.1 or greater installed."
 echo "Your may need to alter your PostgreSQL configuration."
 echo "Please read the instructions under the following URL:"
-echo "http://openacs.org/xowiki/en/How_to_install_in_Postgres_8.1.x"
+echo "http://openacs.org/xowiki/How_to_install_in_Postgres_8.x"
 echo "****************************************************************"
 }
--- www/openacs/files/pkg-message.in.orig	Fri Feb 16 10:11:36 2007
+++ www/openacs/files/pkg-message.in	Fri Feb 16 10:22:45 2007
@@ -1,7 +1,18 @@
 Congratulations! You have just installed %%OPENACSNAME%%
 
-To create a sample default database run the script:
+To create a sample default database, you first need a PostgreSQL server
+installed and configured on your system. If the PostgreSQL server is started 
+and running, you can run the script:
 %%EXAMPLESDIR%%/create_sampledb.sh
+
+The create_sampledb.sh script works with the following servers with their
+default configurations:
+databases/postgresql74-server (7.4.x)
+databases/postgresql80-server (8.0.x)
+
+For PostgreSQL 8.1.x and 8.2.x, the database server configuration
+needs to be adjusted. Please visit the following webpage for more information:
+http://openacs.org/xowiki/How_to_install_in_Postgres_8.x
 
 You can start %%OPENACSNAME%% with the startup script:
 %%LOCALBASE%%/etc/rc.d/%%PORTNAME%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070216105653.A621D3F443>