ports/54671: audio/abcde-2.1.4 system config file path fix

Bjoern A. Zeeb bzeeb+freebsdports at zabbadoz.net
Sun Jul 20 19:00:33 UTC 2003


>Number:         54671
>Category:       ports
>Synopsis:       audio/abcde-2.1.4 system config file path fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 20 12:00:31 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern A. Zeeb
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Zabbadoz.NeT
>Environment:
System: 	mine

>Description:

	abcde 2.1.4 port has wrong builtin defaults to system config file

>How-To-Repeat:
>Fix:
	attached patch-ab fixes this, please add

	o 1 new file: files/patch-ab

--- patch-ab ---
--- abcde.1.orig	Sun Jul 20 18:37:47 2003
+++ abcde.1	Sun Jul 20 18:38:31 2003
@@ -46,7 +46,7 @@
 .TP
 .B \-c [filename]
 Specifies an additional configuration file to parse. Configuration options
-in this file override those in /etc/abcde.conf or $HOME/.abcde.conf.
+in this file override those in /usr/local/etc/abcde.conf or $HOME/.abcde.conf.
 .TP
 .B \-C [discid]
 Allows you to resume a session for
@@ -109,7 +109,7 @@
 This can be modified using the OUTPUTFORMAT and VAOUTPUTFORMAT
 variables in your abcde.conf.
 .SH CONFIGURATION
-abcde sources two configuration files on startup - /etc/abcde.conf and
+abcde sources two configuration files on startup - /usr/local/etc/abcde.conf and
 $HOME/.abcde.conf, in that order. 
 .TP
 The configuration variables have to be set as follows:
--- abcde.orig	Sun Jul 20 18:37:21 2003
+++ abcde	Sun Jul 20 18:38:14 2003
@@ -1239,8 +1239,8 @@
 fi
 
 # Load system defaults
-if [ -r /etc/abcde.conf ]; then
-	. /etc/abcde.conf
+if [ -r /usr/local/etc/abcde.conf ]; then
+	. /usr/local/etc/abcde.conf
 fi
 # Load user preference defaults
 if [ -r $HOME/.abcde.conf ]; then
--- /patch-ab ---

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



More information about the freebsd-ports-bugs mailing list