Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2004 21:51:21 +0100
From:      Ceri Davies <ceri@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67099: sysutils/bacula: correct PostgreSQL support
Message-ID:  <E1BRzwH-000OkO-F1@shrike.submonkey.net>
Resent-Message-ID: <200405232100.i4NL0Ub0037469@freefall.freebsd.org>

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

>Number:         67099
>Category:       ports
>Synopsis:       sysutils/bacula: correct PostgreSQL support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 23 14:00:29 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ceri Davies
>Release:        FreeBSD 4.10-PRERELEASE i386
>Organization:
Submonkey
>Environment:
System: FreeBSD shrike.private.submonkey.net 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #34: Thu May 13 14:54:11 BST 2004 setantae@shrike.private.submonkey.net:/usr/obj/usr/src/sys/SHRIKE i386


	
>Description:

There is a slight typo in the postgresql options which cause them to be
ignored (or at least, to mislead users as to what they need to do to get
it).

The attached patch corrects that, and also fixes some other typos.
>How-To-Repeat:
	cd /usr/ports/sysutils/bacula
	make WITH_POSTGRESQL=yes configure

	Watch as you get ignored.
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/bacula/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile	16 May 2004 13:12:56 -0000	1.21
+++ Makefile	23 May 2004 20:50:19 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	bacula
 PORTVERSION=	1.34.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	bacula
@@ -105,10 +105,10 @@
 	@${ECHO_MSG} "===> Please read the file"
 	@${ECHO_MSG} "===>     ${DOCSDIR}/ReleaseNotes"
 	@${ECHO_MSG} "===> for the upgrade procedure!"
-	@${ECHO_MSG} "===> IF YOU IGNORE, it is possible to !! LOOSE DATA !!"
+	@${ECHO_MSG} "===> IF YOU IGNORE THIS you may !! LOSE DATA !!"
 	@${ECHO_MSG} "######################################################"
 	@${ECHO_MSG} "===> Note that there is a pthreads problem, which leads to the loss of 500kB"
-	@${ECHO_MSG} "===> of data at the end of an tape. This is corrected in newer versinon of FreeBSD"
+	@${ECHO_MSG} "===> of data at the end of an tape. This is corrected in newer versions of FreeBSD"
 	@${ECHO_MSG} "===> READ ${WRKSRC}/platforms/freebsd/pthreads-fix.txt"
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "You may use the following build options (or make config):"
@@ -118,7 +118,7 @@
 	@${ECHO_MSG} "  WITH_GNOMECONSOLE=yes		if you only want a GNOME based GUI console."
 .if !defined(WITH_MYSQL) && !defined(WITH_POSTGRESQL7)
 	@${ECHO_MSG} "  WITH_MYSQL=yes		if you want MySQL instead of SqLite as the database."
-	@${ECHO_MSG} "  WITH_POSTGRESQL=yes	if you want PostgeSQL 7.X instead of SqLite as the database."
+	@${ECHO_MSG} "  WITH_POSTGRESQL7=yes	if you want PostgreSQL 7.X instead of SqLite as the database."
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "The default DB is SQLite!"
 .endif
@@ -215,10 +215,10 @@
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "Take care of correct permissions for changer and"
 	@${ECHO_MSG} "tape device (e.g. /dev/ch0 and /dev/n[r]sa0) i.e."
-	@${ECHO_MSG} "they must be accesable by user bacula."
+	@${ECHO_MSG} "they must be accessible by user bacula."
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "Due to lack of some features in the FreeBSD tape driver"
-	@${ECHO_MSG} "implemtation you MUST add some OS dependent options to"
+	@${ECHO_MSG} "implementation you MUST add some OS dependent options to"
 	@${ECHO_MSG} "the bacula-sd.conf file:"
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "  Backward Space Record = no;"
@@ -228,8 +228,8 @@
 	@${ECHO_MSG} "  TWOEOF = yes;"
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "It is also important that all the scripts accessed"
-	@${ECHO_MSG} "by RunBeforeJob and RunAfterJob could be executed by"
-	@${ECHO_MSG} "the user bacula, too."
+	@${ECHO_MSG} "by RunBeforeJob and RunAfterJob can be executed by"
+	@${ECHO_MSG} "the user bacula."
 .endif
 	@${ECHO_MSG} "*********************************************************************"
 

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BRzwH-000OkO-F1>