From obrien@freebsd.AMD.com  Fri Apr 11 12:34:48 2003
Return-Path: <obrien@freebsd.AMD.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A365C37B404
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Apr 2003 12:34:48 -0700 (PDT)
Received: from amdext.amd.com (amdext.amd.com [139.95.251.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0215B43F75
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Apr 2003 12:34:48 -0700 (PDT)
	(envelope-from obrien@freebsd.AMD.com)
Received: from ssvlgw01.amd.com (ssvlgw01.amd.com [139.95.250.169])
	by amdext.amd.com (8.12.8/8.12.8/AMD) with ESMTP id h3BJYlUk029633
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Apr 2003 12:34:47 -0700 (PDT)
Received: from 139.95.250.1ssvlgw01.amd.com with ESMTP (AMD SMTP Relay (
 MMS v5.0)); Fri, 11 Apr 2003 12:34:45 -0700
Received: from freebsd.AMD.com (freebsd.amd.com [139.95.37.8]) by
 amdint.amd.com (8.12.8/8.12.8/AMD) with ESMTP id h3BJYdJJ014323 for
 <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Apr 2003 12:34:39 -0700 (
 PDT)
Received: from freebsd.AMD.com (localhost [127.0.0.1]) by
 freebsd.AMD.com (8.12.7/8.12.6) with ESMTP id h3BJYdDH032530 for
 <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Apr 2003 12:34:39 -0700 (
 PDT) (envelope-from obrien@freebsd.AMD.com)
Received: (from obrien@localhost) by freebsd.AMD.com (
 8.12.8/8.12.6/Submit) id h3BJYcRO032529; Fri, 11 Apr 2003 12:34:38
 -0700 (PDT)
Message-Id: <200304111934.h3BJYcRO032529@freebsd.AMD.com>
Date: Fri, 11 Apr 2003 12:34:38 -0700 (PDT)
From: "David O'Brien" <obrien@freebsd.org>
Reply-To: "David O'Brien" <obrien@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: cdrtools port uses the config path "/etc/default/cdrecord"
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50835
>Category:       ports
>Synopsis:       cdrtools port uses the config path "/etc/default/cdrecord"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    marius
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 11 12:40:04 PDT 2003
>Closed-Date:    Sat Apr 24 06:02:44 PDT 2004
>Last-Modified:  Sat Apr 24 06:02:44 PDT 2004
>Originator:     David O'Brien
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD freebsd.AMD.com 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Thu Mar 20 13:25:42 PST 2003 rootk@freebsd.AMD.com:/usr/src/sys/i386/compile/DEO i386

	cdrtools-2.0_0
	
>Description:
	
	cdrecord shouldn't be looking to "/etc/default/cdrecord" for its
	config file.  it should be somewhere under {PREFIX} or /etc/defaults
	
>How-To-Repeat:
	
	strings /usr/local/bin/cdrecord |grep etc
	man cdrecord
>Fix:

	



>Release-Note:
>Audit-Trail:

From: "Derek Young" <DerekYoung@easy.com>
To: freebsd-gnats-submit@freebsd.org, obrien@freebsd.org
Cc: dirk@freebsd.org
Subject: Re: ports/50835: cdrtools port uses the config path "/etc/default/cdrecord"
Date: Fri, 11 Apr 2003 18:20:47 -0600

 Cdrecord wasn't the only utility in there that had that 
 problem.  
  
 Anyway, here are some patches you can use if you want, 
 just copy them into  
 your files directory and you will be good to go. Even the 
 man pages are  
 updated. I moved it all to /usr/local/etc. If you do not like 
 that, change  
 the patches ;) 
  
 Derek Young 
  
 -------------------------------START patch-da 
 *** cdrecord/cdrecord.1.orig    Tue Dec 24 09:28:40 2002 
 --- cdrecord/cdrecord.1 Fri Apr 11 17:04:40 2003 
 *************** 
 *** 146,152 **** 
   described below. 
  
   .PP 
 ! If a file /etc/default/cdrecord exists, the parameter to the 
   .B dev= 
   option may also be a drive name label in said file (see 
 FILES section). 
  
 --- 146,152 ---- 
   described below. 
  
   .PP 
 ! If a file /usr/local/etc/cdrecord exists, the parameter to 
 the 
   .B dev= 
   option may also be a drive name label in said file (see 
 FILES section). 
  
 *************** 
 *** 621,627 **** 
   .B dev= 
   option does not contain the characters ',', '/', '@' or ':', 
   it is interpreted as an label name that may be found in 
 the file 
 ! /etc/default/cdrecord (see FILES section). 
   .TP 
   .BI gracetime= # 
   Set the grace time before starting to write to 
 --- 621,627 ---- 
   .B dev= 
   option does not contain the characters ',', '/', '@' or ':', 
   it is interpreted as an label name that may be found in 
 the file 
 ! /usr/local/etc/cdrecord (see FILES section). 
   .TP 
   .BI gracetime= # 
   Set the grace time before starting to write to 
 *************** 
 *** 1361,1367 **** 
   .TP 
   .B CDR_DEVICE 
   This may either hold a device identifier that is suitable to 
 the open 
 ! call of the SCSI transport library or a label in the file  
 /etc/default/cdrecord. 
   .TP 
   .B CDR_SPEED 
   Sets the default speed value for writing (see also 
 --- 1361,1367 ---- 
   .TP 
   .B CDR_DEVICE 
   This may either hold a device identifier that is suitable to 
 the open 
 ! call of the SCSI transport library or a label in the file  
 /usr/local/etc/cdrecord. 
   .TP 
   .B CDR_SPEED 
   Sets the default speed value for writing (see also 
 *************** 
 *** 1417,1424 **** 
  
   .SH FILES 
   .TP 
 ! /etc/default/cdrecord 
 ! Default values can be set for the following options in  
 /etc/default/cdrecord. 
   For example: 
   .SM CDR_FIFOSIZE=8m 
   or 
 --- 1417,1424 ---- 
  
   .SH FILES 
   .TP 
 ! /usr/local/etc/cdrecord 
 ! Default values can be set for the following options in  
 /usr/local/etc/cdrecord. 
   For example: 
   .SM CDR_FIFOSIZE=8m 
   or 
 *************** 
 *** 1427,1433 **** 
   .TP 
   CDR_DEVICE 
   This may either hold a device identifier that is suitable to 
 the open 
 ! call of the SCSI transport library or a label in the file  
 /etc/default/cdrecord 
   that allows to identify a specific drive on the system. 
   .TP 
   CDR_SPEED 
 --- 1427,1433 ---- 
   .TP 
   CDR_DEVICE 
   This may either hold a device identifier that is suitable to 
 the open 
 ! call of the SCSI transport library or a label in the file  
 /usr/local/etc/cdrecord 
   that allows to identify a specific drive on the system. 
   .TP 
   CDR_SPEED 
  
  
 -------------------------------START patch-db 
 *** cdrecord/defaults.c.orig    Wed Aug 14 12:52:00 2002 
 --- cdrecord/defaults.c Fri Apr 11 17:11:51 2003 
 *************** 
 *** 53,59 **** 
          * don't contribute work and don't give support, they 
 are causing extra 
          * work for me and this way slow down the cdrecord 
 development. 
          */ 
 !       return (defltopen("/etc/default/cdrecord")); 
   } 
  
   EXPORT void 
 --- 53,59 ---- 
          * don't contribute work and don't give support, they 
 are causing extra 
          * work for me and this way slow down the cdrecord 
 development. 
          */ 
 !       return (defltopen("/usr/local/etc/cdrecord")); 
   } 
  
   EXPORT void 
  
  
 -------------------------------START patch-dc 
 *** cdrecord/cdrecord.dfl.orig  Sun Jul  7 16:56:21 2002 
 --- cdrecord/cdrecord.dfl       Fri Apr 11 17:13:58 2003 
 *************** 
 *** 1,6 **** 
   #ident @(#)cdrecord.dfl       1.4 02/07/07 Copyr 1998 J. 
 Schilling 
   # 
 ! # This file is /etc/default/cdrecord 
   # It contains defaults that are used if no command line 
 option 
   # or environment is present. 
   # 
 --- 1,6 ---- 
   #ident @(#)cdrecord.dfl       1.4 02/07/07 Copyr 1998 J. 
 Schilling 
   # 
 ! # This file is /usr/local/etc/cdrecord 
   # It contains defaults that are used if no command line 
 option 
   # or environment is present. 
   # 
 *************** 
 *** 14,20 **** 
   # Note that newer cdrecord versions do not default 
   # to speed=1. For MMC compliant drives, the default 
   # is to write at maximum speed, so it in general does 
 ! # not make sense to set up a default speed in 
 /etc/default/cdrecord 
   # 
   #CDR_SPEED=40 
  
 --- 14,20 ---- 
   # Note that newer cdrecord versions do not default 
   # to speed=1. For MMC compliant drives, the default 
   # is to write at maximum speed, so it in general does 
 ! # not make sense to set up a default speed in 
 /usr/local/etc/cdrecord 
   # 
   #CDR_SPEED=40 
  
  
 -------------------------------START patch-dd 
 *** readcd/readcd.1.orig        Tue Dec 24 09:28:41 2002 
 --- readcd/readcd.1     Fri Apr 11 17:21:57 2003 
 *************** 
 *** 186,192 **** 
   .B dev= 
   option does not contain the characters ',', '/', '@' or ':', 
   it is interpreted as an label name that may be found in 
 the file 
 ! /etc/default/cdrecord (see FILES section). 
   .TP 
   .BI timeout= # 
   Set the default SCSI command timeout value to 
 --- 186,192 ---- 
   .B dev= 
   option does not contain the characters ',', '/', '@' or ':', 
   it is interpreted as an label name that may be found in 
 the file 
 ! /usr/local/etc/cdrecord (see FILES section). 
   .TP 
   .BI timeout= # 
   Set the default SCSI command timeout value to 
  
  
 -------------------------------START patch-de 
 *** scgcheck/scgcheck.1.orig    Tue Dec 24 09:32:01 2002 
 --- scgcheck/scgcheck.1 Fri Apr 11 17:25:25 2003 
 *************** 
 *** 170,176 **** 
   .B dev= 
   option does not contain the characters ',', '/', '@' or ':', 
   it is interpreted as an label name that may be found in 
 the file 
 ! /etc/default/cdrecord (see FILES section). 
   .TP 
   .BI timeout= # 
   Set the default SCSI command timeout value to 
 --- 170,176 ---- 
   .B dev= 
   option does not contain the characters ',', '/', '@' or ':', 
   it is interpreted as an label name that may be found in 
 the file 
 ! /usr/local/etc/cdrecord (see FILES section). 
   .TP 
   .BI timeout= # 
   Set the default SCSI command timeout value to 
  
 -------------------------------START patch-df 
 *** cdda2wav/cdda2ogg.orig      Tue Apr  9 06:18:15 2002 
 --- cdda2wav/cdda2ogg   Fri Apr 11 17:31:24 2003 
 *************** 
 *** 33,39 **** 
  
   FILEPREFIX=${1:-audiotrack} 
  
 ! . /etc/default/cdda2ogg 2>/dev/null || true 
  
   TRACK=1 
   while : 
 --- 33,39 ---- 
  
   FILEPREFIX=${1:-audiotrack} 
  
 ! . /usr/local/etc/cdda2ogg 2>/dev/null || true 
  
   TRACK=1 
   while : 
  
  
 -------------------------------START patch-dg 
 *** include/deflts.h.orig       Mon Aug 26 06:00:36 2002 
 --- include/deflts.h    Fri Apr 11 17:33:00 2003 
 *************** 
 *** 34,40 **** 
   extern "C" { 
   #endif 
  
 ! #define       DEFLT   "/etc/default" 
    
   /* 
    * cmd's to defltcntl() 
 --- 34,40 ---- 
   extern "C" { 
   #endif 
  
 ! #define       DEFLT   "/usr/local/etc" 
    
   /* 
    * cmd's to defltcntl() 
  
 -------------------------------START patch-dh 
 *** rscsi/rscsi.c.orig  Sat Nov 30 05:48:40 2002 
 --- rscsi/rscsi.c       Fri Apr 11 17:34:19 2003 
 *************** 
 *** 132,140 **** 
          * don't contribute work and don't give support, they 
 are causing extra 
          * work for me and this way slow down the 
 development. 
          */ 
 !       if (defltopen("/etc/default/rscsi") < 0) { 
                 rscsierror(geterrno(), errmsgstr(geterrno()), 
 !                       "Remote configuration error: Cannot open 
 /etc/default/rscsi"); 
   /*            rscsirespond(-1, geterrno());*/ 
                 exit(EX_BAD); 
         } 
 --- 132,140 ---- 
          * don't contribute work and don't give support, they 
 are causing extra 
          * work for me and this way slow down the 
 development. 
          */ 
 !       if (defltopen("/usr/local/etc/rscsi") < 0) { 
                 rscsierror(geterrno(), errmsgstr(geterrno()), 
 !                       "Remote configuration error: Cannot open 
 /usr/local/etc/rscsi"); 
   /*            rscsirespond(-1, geterrno());*/ 
                 exit(EX_BAD); 
         } 
  
  
 -------------------------------START patch-di 
 *** rscsi/rscsi.dfl.orig        Mon Nov 13 19:24:03 2000 
 --- rscsi/rscsi.dfl     Fri Apr 11 17:35:22 2003 
 *************** 
 *** 1,6 **** 
   #ident %Z%%M% %I% %E% Copyr 2000 J. Schilling 
   # 
 ! # This file is /etc/default/rscsi 
   # 
   # NOTE: If this file is not present, rscsi will reject to 
 work. 
   # 
 --- 1,6 ---- 
   #ident %Z%%M% %I% %E% Copyr 2000 J. Schilling 
   # 
 ! # This file is /usr/local/etc/rscsi 
   # 
   # NOTE: If this file is not present, rscsi will reject to 
 work. 
   # 
 
 This message was sent from the free private e-mail service by easy.com, the portal site owned by Stelios and the easyGroup. This email service is available to all members of the public to use for personal reasons only.  Not all subscribers to this e-mail service are representatives of an easyGroup company.

From: "Derek Young" <DerekYoung@easy.com>
To: freebsd-gnats-submit@freebsd.org, obrien@freebsd.org
Cc: dirk@freebsd.org
Subject: Re: ports/50835: cdrtools port uses the config path "/etc/default/cdrecord"
Date: Fri, 11 Apr 2003 18:59:15 -0600

 Ok.. remind me not to cut and paste a patch into an email 
 when I am on vacation.. i went ahead and uploded a tar of 
 them. rofl. 
  
 http://www.orcacom.net/~bleach/cdrtools.tar 
  
 Sorry. 
  
 Derek Young 
 bleach@orcacom.net 
 
 This message was sent from the free private e-mail service by easy.com, the portal site owned by Stelios and the easyGroup. This email service is available to all members of the public to use for personal reasons only.  Not all subscribers to this e-mail service are representatives of an easyGroup company.
Responsible-Changed-From-To: freebsd-ports-bugs->dirk 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Sat Apr 12 09:59:35 PDT 2003 
Responsible-Changed-Why:  
Dirk is the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50835 

From: Marius Strobl <marius@alchemy.franken.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/50835: cdrtools port uses the config path "/etc/default/cdrecord"
Date: Tue, 6 Jan 2004 14:26:39 +0100

 For the record, this is properly dealt with in sysutils/cdrtools-devel in
 a way that obeys the license in cdrecord/defaults.c an can be merged into
 sysutils/cdrtools.
 
Responsible-Changed-From-To: dirk->freebsd-ports-bugs 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Feb 21 18:01:50 PST 2004 
Responsible-Changed-Why:  
dirk no longer maintains this port 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50835 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sat Mar 13 16:36:01 PST 2004 
State-Changed-Why:  
Has this problem been taken care of now that the maintainership 
of this port has been reset? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50835 
Responsible-Changed-From-To: freebsd-ports-bugs->marius@alchemy.franken.de 
Responsible-Changed-By: netchild 
Responsible-Changed-When: Wed Mar 17 06:35:27 PST 2004 
Responsible-Changed-Why:  
Marius is now the new maintainer of the port. Hand over the PR 
too. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50835 
Responsible-Changed-From-To: marius@alchemy.franken.de->freebsd-ports-bugs 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sat Apr 10 08:48:37 PDT 2004 
Responsible-Changed-Why:  
You can't assign a non-FreeBSD.org address as a Responsible: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50835 
Responsible-Changed-From-To: freebsd-ports-bugs->marius 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Apr 20 12:36:54 PDT 2004 
Responsible-Changed-Why:  
Note that Marius and Marius are the same person. 

Marius, you might want to change your email address as maintainer 
to be your @FreeBSD.org address, to make it easier to understand 
how to assign PRs for this port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50835 
State-Changed-From-To: feedback->closed 
State-Changed-By: marius 
State-Changed-When: Sat Apr 24 05:57:40 PDT 2004 
State-Changed-Why:  

Local changes of sysutils/cdrtools-devel were merged into sysutils/cdrtools. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50835 
>Unformatted:
