From h.eichmann@gmx.de  Wed Dec 29 15:58:05 2004
Return-Path: <h.eichmann@gmx.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BB90E16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Dec 2004 15:58:05 +0000 (GMT)
Received: from mail.gmx.net (imap.gmx.net [213.165.64.20])
	by mx1.FreeBSD.org (Postfix) with SMTP id 70A5E43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Dec 2004 15:58:04 +0000 (GMT)
	(envelope-from h.eichmann@gmx.de)
Received: (qmail invoked by alias); 29 Dec 2004 15:58:02 -0000
Received: from pD95EDAF9.dip.t-dialin.net (EHLO [192.168.254.42]) (217.94.218.249)
  by mail.gmx.net (mp022) with SMTP; 29 Dec 2004 16:58:02 +0100
Message-Id: <200412291658.38931.h.eichmann@gmx.de>
Date: Wed, 29 Dec 2004 16:58:38 +0100
From: Heiner <h.eichmann@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Port upgrade: sysutils/k3b to 0.11.8

>Number:         75614
>Category:       ports
>Synopsis:       Port upgrade: sysutils/k3b to 0.11.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 29 16:00:48 GMT 2004
>Closed-Date:    Mon Jan 03 21:50:59 GMT 2005
>Last-Modified:  Mon Jan 03 21:50:59 GMT 2005
>Originator:     Heiner Eichmann <h.eichmann@gmx.de>
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Sirius Cybernetics Corp.
>Environment:
=46reeBSD 7of9.unimatrix-zero.borg 4.10-STABLE FreeBSD 4.10-STABLE #1: Sun =
Jun=20
2014:49:25 CEST 2004 =A0 =A0=20
root@7of9.unimatrix-zero.borg:/usr/obj/usr/src/sys/MYKERNEL =A0i386

>Description:
Upgrade to 0.11.8

>How-To-Repeat:
>Fix:
See attached diff







--Boundary-00=_uQt0BE3Z2ptShUp
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="diff"

diff -urN ../../sysutils/k3b/Makefile ./Makefile
--- ../../sysutils/k3b/Makefile	Mon Nov 15 20:10:59 2004
+++ ./Makefile	Thu Dec 16 19:37:46 2004
@@ -6,16 +6,13 @@
 #
 
 PORTNAME=	k3b
-PORTVERSION=	0.11.17
-PORTREVISION=	1
+PORTVERSION=	0.11.18
 CATEGORIES=	sysutils multimedia kde
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	h.eichmann@gmx.de
 COMMENT=	A CD/DVD recording GUI for KDE
-
-EXTRA_PATCHES=	${.CURDIR}/../../x11/kde3/files/extrapatch-configure
 
 RUN_DEPENDS=	cdrecord:${PORTSDIR}/sysutils/cdrtools \
 		cdrdao:${PORTSDIR}/sysutils/cdrdao
diff -urN ../../sysutils/k3b/distinfo ./distinfo
--- ../../sysutils/k3b/distinfo	Mon Nov 15 20:10:59 2004
+++ ./distinfo	Sun Dec 12 18:52:12 2004
@@ -1,2 +1,2 @@
-MD5 (k3b-0.11.17.tar.bz2) = 5c07b7ffc2f931d84b18e9fe7aa2b41c
-SIZE (k3b-0.11.17.tar.bz2) = 3187604
+MD5 (k3b-0.11.18.tar.bz2) = f5060c384c6830b51bad0451ec265326
+SIZE (k3b-0.11.18.tar.bz2) = 3189252
diff -urN ../../sysutils/k3b/files/patch-src-Makefile.in ./files/patch-src-Makefile.in
--- ../../sysutils/k3b/files/patch-src-Makefile.in	Fri Sep 17 11:30:55 2004
+++ ./files/patch-src-Makefile.in	Fri Dec 24 13:32:00 2004
@@ -1,6 +1,6 @@
---- src/Makefile.in.orig	Tue Aug 10 12:56:08 2004
-+++ src/Makefile.in	Sun Aug 22 15:28:36 2004
-@@ -287,7 +287,7 @@
+--- src/Makefile.in.orig	Sat Dec 11 17:46:26 2004
++++ src/Makefile.in	Thu Dec 16 20:14:57 2004
+@@ -297,7 +297,7 @@
  #>+ 1
  k3b_SOURCES=k3bwelcomewidget.cpp k3bapplication.cpp k3bdiroperator.cpp kdndfileview.cpp k3bfiletreeview.cpp k3bcddbmultientriesdialog.cpp k3baudioplayer.cpp k3bprojecttabbar.cpp k3bprojecttabwidget.cpp k3bsplash.cpp k3bblankingdialog.cpp k3bfileview.cpp k3bdirview.cpp k3btoolbox.cpp k3b.cpp main.cpp k3bstatusbarmanager.cpp k3bfiletreecombobox.cpp k3breadcdreader.cpp k3binterface.cpp  k3bprojectinterface.cpp  k3bsystemproblemdialog.cpp k3bcdcontentsview.cpp k3bwriterspeedverificationdialog.cpp k3bdatatrackreader.cpp k3binterface_skel.cpp k3bprojectinterface_skel.cpp
  
diff -urN ../../sysutils/k3b/files/patch-src-device-k3bdevice.cpp ./files/patch-src-device-k3bdevice.cpp
--- ../../sysutils/k3b/files/patch-src-device-k3bdevice.cpp	Thu Sep  2 17:26:02 2004
+++ ./files/patch-src-device-k3bdevice.cpp	Fri Dec 24 13:32:00 2004
@@ -1,5 +1,5 @@
---- src/device/k3bdevice.cpp.orig	Tue Aug 10 09:45:21 2004
-+++ src/device/k3bdevice.cpp	Sun Aug 29 10:41:17 2004
+--- src/device/k3bdevice.cpp.orig	Sun Nov 28 01:22:29 2004
++++ src/device/k3bdevice.cpp	Fri Dec 24 13:31:15 2004
 @@ -57,6 +57,13 @@
  
  #endif // Q_OS_LINUX
@@ -14,7 +14,7 @@
  
  #ifdef HAVE_RESMGR
  extern "C" {
-@@ -154,8 +161,10 @@
+@@ -188,8 +195,10 @@
  
    d->supportedProfiles = 0;
  
@@ -25,7 +25,7 @@
  
  
    //
-@@ -194,6 +203,7 @@
+@@ -228,6 +237,7 @@
    unsigned char header[2048];
    ::memset( header, 0, 2048 );
  
@@ -33,22 +33,32 @@
    cmd[0] = MMC::GET_CONFIGURATION;
    cmd[8] = 8;
    if( cmd.transport( TR_DIR_READ, header, 8 ) ) {
-@@ -754,6 +764,14 @@
+@@ -820,6 +830,24 @@
      m_bufferSize = 1024;
      d->burnfree = false;
    }
-+  else if( vendor().startsWith("TEAC") && description().startsWith("CD-R56S") ) {
-+    m_writeModes |= TAO;
-+    d->deviceType |= CDROM|CDR;
-+    m_maxWriteSpeed = 6;
-+    m_maxReadSpeed = 24;
-+    m_bufferSize = 1302;
-+    d->burnfree = false;
++  else if( vendor().startsWith("TEAC") ) { 
++    if( description().startsWith("CD-R56S") ) {
++      m_writeModes |= TAO;
++      d->deviceType |= CDROM|CDR;
++      m_maxWriteSpeed = 6;
++      m_maxReadSpeed = 24;
++      m_bufferSize = 1302;
++      d->burnfree = false;
++    }
++    if( description().startsWith("CD-R58S") ) {
++      m_writeModes |= TAO;
++      d->deviceType |= CDROM|CDR;
++      m_maxWriteSpeed = 8;
++      m_maxReadSpeed = 24;
++      m_bufferSize = 4096;
++      d->burnfree = false;
++    }
 +  }
    else if( vendor().startsWith("MATSHITA") ) {
      if( description().startsWith("CD-R   CW-7501") ) {
        m_writeModes = TAO|SAO;
-@@ -2597,10 +2615,12 @@
+@@ -2663,10 +2691,12 @@
  {
    // if the device is already opened we do not close it
    // to allow fast multible method calls in a row
@@ -61,7 +71,7 @@
  
    // header size is 8
    unsigned char* buffer = 0;
-@@ -2686,13 +2706,16 @@
+@@ -2752,13 +2782,16 @@
      delete [] buffer;
    }
      
diff -urN ../../sysutils/k3b/files/patch-src-device-k3bdevice.h ./files/patch-src-device-k3bdevice.h
--- ../../sysutils/k3b/files/patch-src-device-k3bdevice.h	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bdevice.h	Fri Dec 24 13:32:00 2004
@@ -1,6 +1,6 @@
---- src/device/k3bdevice.h.orig	Thu Jul 29 12:07:16 2004
-+++ src/device/k3bdevice.h	Sun Aug 22 15:28:36 2004
-@@ -677,6 +677,10 @@
+--- src/device/k3bdevice.h.orig	Sun Nov 28 13:27:24 2004
++++ src/device/k3bdevice.h	Thu Dec 16 20:14:57 2004
+@@ -690,6 +690,10 @@
  
      class Private;
      Private* d;
diff -urN ../../sysutils/k3b/files/patch-src-device-k3bdevicemanager.cpp ./files/patch-src-device-k3bdevicemanager.cpp
--- ../../sysutils/k3b/files/patch-src-device-k3bdevicemanager.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bdevicemanager.cpp	Fri Dec 24 13:32:00 2004
@@ -1,5 +1,5 @@
---- src/device/k3bdevicemanager.cpp.orig	Sat Jul 17 11:50:08 2004
-+++ src/device/k3bdevicemanager.cpp	Sun Aug 22 15:28:36 2004
+--- src/device/k3bdevicemanager.cpp.orig	Sun Nov 28 13:27:24 2004
++++ src/device/k3bdevicemanager.cpp	Thu Dec 16 20:14:57 2004
 @@ -49,6 +49,12 @@
  #include <sys/stat.h>
  #include <sys/ioctl.h>
@@ -27,15 +27,15 @@
    QFile info("/proc/sys/dev/cdrom/info");
    QString line,devstring;
    info.open(IO_ReadOnly);
-@@ -286,6 +299,7 @@
- //       m_foundDevices++;
- //   }
+@@ -269,6 +282,7 @@
+   // FIXME: also scan /dev/scsi/hostX.... for devfs without symlinks
+ #endif
  
 +#endif
    scanFstab();
  
    return m_foundDevices;
-@@ -423,6 +437,7 @@
+@@ -412,6 +426,7 @@
  bool K3bCdDevice::DeviceManager::testForCdrom(const QString& devicename)
  {
    bool ret = false;
@@ -43,7 +43,7 @@
    int cdromfd = K3bCdDevice::openDevice( devicename.ascii() );
    if (cdromfd < 0) {
      kdDebug() << "could not open device " << devicename << " (" << strerror(errno) << ")" << endl;
-@@ -463,11 +478,36 @@
+@@ -452,11 +467,36 @@
    }
  
    ::close( cdromfd );
@@ -80,7 +80,7 @@
    K3bDevice* device = 0;
  
    // resolve all symlinks
-@@ -499,6 +539,7 @@
+@@ -488,6 +528,7 @@
      device->m_target = target;
      device->m_lun = lun;
    }
@@ -88,7 +88,7 @@
  
    if( !device->init() ) {
      kdDebug() << "Could not initialize device " << devicename << endl;
-@@ -574,9 +615,20 @@
+@@ -563,9 +604,20 @@
  
      if( K3bDevice* dev = findDevice( resolveSymLink(md) ) )
      {
@@ -109,7 +109,7 @@
          dev->setMountDevice( md );
  	dev->m_supermount = supermount;
        }
-@@ -585,6 +637,8 @@
+@@ -574,6 +626,8 @@
      {
        // compare bus, id, lun since the same device can for example be
        // determined as /dev/srX or /dev/scdX
@@ -118,7 +118,7 @@
        int bus = -1, id = -1, lun = -1;
        if( determineBusIdLun( mountInfo->fs_spec, bus, id, lun ) ) {
          if( K3bDevice* dev = findDevice( bus, id, lun ) ) {
-@@ -595,6 +649,17 @@
+@@ -584,6 +638,17 @@
            }
          }
        }
@@ -136,7 +136,7 @@
  
  
      }
-@@ -670,5 +735,131 @@
+@@ -659,5 +724,131 @@
    return QString::fromLatin1( resolved );
  }
  
diff -urN ../../sysutils/k3b/files/patch-src-device-k3bdevicemanager.h ./files/patch-src-device-k3bdevicemanager.h
--- ../../sysutils/k3b/files/patch-src-device-k3bdevicemanager.h	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bdevicemanager.h	Fri Dec 24 13:32:00 2004
@@ -1,5 +1,5 @@
 --- src/device/k3bdevicemanager.h.orig	Wed Jan 21 11:20:11 2004
-+++ src/device/k3bdevicemanager.h	Sun Aug 22 15:28:36 2004
++++ src/device/k3bdevicemanager.h	Thu Dec 16 20:14:57 2004
 @@ -112,6 +112,10 @@
  
        class Private;
diff -urN ../../sysutils/k3b/files/patch-src-device-k3bscsicommand.cpp ./files/patch-src-device-k3bscsicommand.cpp
--- ../../sysutils/k3b/files/patch-src-device-k3bscsicommand.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bscsicommand.cpp	Fri Dec 24 13:32:00 2004
@@ -1,5 +1,5 @@
---- src/device/k3bscsicommand.cpp.orig	Wed Jan 21 11:20:11 2004
-+++ src/device/k3bscsicommand.cpp	Sun Aug 22 15:28:36 2004
+--- src/device/k3bscsicommand.cpp.orig	Sun Aug 15 11:58:23 2004
++++ src/device/k3bscsicommand.cpp	Thu Dec 16 20:14:57 2004
 @@ -58,13 +58,14 @@
  
  
@@ -21,7 +21,7 @@
  
  K3bCdDevice::ScsiCommand::ScsiCommand( const K3bCdDevice::CdDevice* dev )
    : m_device(dev)
-@@ -135,6 +136,155 @@
+@@ -141,6 +142,155 @@
      return 0;
  }
  
diff -urN ../../sysutils/k3b/files/patch-src-device-k3bscsicommand.h ./files/patch-src-device-k3bscsicommand.h
--- ../../sysutils/k3b/files/patch-src-device-k3bscsicommand.h	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bscsicommand.h	Fri Dec 24 13:32:00 2004
@@ -1,5 +1,5 @@
 --- src/device/k3bscsicommand.h.orig	Wed Jan 21 11:20:11 2004
-+++ src/device/k3bscsicommand.h	Sun Aug 22 15:28:36 2004
++++ src/device/k3bscsicommand.h	Thu Dec 16 20:14:57 2004
 @@ -17,9 +17,27 @@
  #define _K3B_SCSI_COMMAND_H_
  
diff -urN ../../sysutils/k3b/files/patch-src-rip-k3bdvdrippingprocess.cpp ./files/patch-src-rip-k3bdvdrippingprocess.cpp
--- ../../sysutils/k3b/files/patch-src-rip-k3bdvdrippingprocess.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-rip-k3bdvdrippingprocess.cpp	Fri Dec 24 13:32:00 2004
@@ -1,5 +1,5 @@
 --- src/rip/k3bdvdrippingprocess.cpp.orig	Wed Jun  2 11:31:41 2004
-+++ src/rip/k3bdvdrippingprocess.cpp	Sun Aug 22 15:28:36 2004
++++ src/rip/k3bdvdrippingprocess.cpp	Thu Dec 16 20:14:57 2004
 @@ -285,10 +285,13 @@
  void K3bDvdRippingProcess::slotPreProcessingDvd() {
      QString video;
diff -urN ../../sysutils/k3b/files/patch-src-rip-k3bmovieview.cpp ./files/patch-src-rip-k3bmovieview.cpp
--- ../../sysutils/k3b/files/patch-src-rip-k3bmovieview.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-rip-k3bmovieview.cpp	Fri Dec 24 13:32:00 2004
@@ -1,5 +1,5 @@
 --- src/rip/k3bmovieview.cpp.orig	Fri Feb  6 12:08:51 2004
-+++ src/rip/k3bmovieview.cpp	Sun Aug 22 15:28:36 2004
++++ src/rip/k3bmovieview.cpp	Thu Dec 16 20:14:57 2004
 @@ -223,8 +223,11 @@
      }
  
diff -urN ../../sysutils/k3b/files/patch-src-rip-k3btcwrapper.cpp ./files/patch-src-rip-k3btcwrapper.cpp
--- ../../sysutils/k3b/files/patch-src-rip-k3btcwrapper.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-rip-k3btcwrapper.cpp	Fri Dec 24 13:32:00 2004
@@ -1,5 +1,5 @@
 --- src/rip/k3btcwrapper.cpp.orig	Wed Jan 21 11:20:20 2004
-+++ src/rip/k3btcwrapper.cpp	Sun Aug 22 15:28:36 2004
++++ src/rip/k3btcwrapper.cpp	Thu Dec 16 20:14:57 2004
 @@ -65,7 +65,12 @@
    //K3bProcess *p = new K3bProcess();
    emit tcprobeTitleParsed( m_currentTitle );
diff -urN ../../sysutils/k3b/files/patch-src-rip-k3bvideocdrip.cpp ./files/patch-src-rip-k3bvideocdrip.cpp
--- ../../sysutils/k3b/files/patch-src-rip-k3bvideocdrip.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-rip-k3bvideocdrip.cpp	Fri Dec 24 13:32:00 2004
@@ -1,5 +1,5 @@
 --- src/rip/k3bvideocdrip.cpp.orig	Wed Jan 21 11:20:20 2004
-+++ src/rip/k3bvideocdrip.cpp	Sun Aug 22 15:28:36 2004
++++ src/rip/k3bvideocdrip.cpp	Thu Dec 16 20:14:57 2004
 @@ -41,7 +41,8 @@
          m_ripsourceType( 0 ),
          m_videooptions( options ),

--Boundary-00=_uQt0BE3Z2ptShUp--
>Release-Note:
>Audit-Trail:

From: Heiner <h.eichmann@gmx.de>
To: freebsd-gnats-submit@freebsd.org, h.eichmann@gmx.de
Cc:  
Subject: Re: ports/75614: Port upgrade: sysutils/k3b to 0.11.8
Date: Sat, 1 Jan 2005 12:18:46 +0100

 --Boundary-00=_Wco1BOnfgUvDFyY
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 The pkg-message was quite outdated. Please apply the following patch AFTER the 
 patch above. It adds a new file (pkg-message5).
 
 
 Happy new year 
 
 Heiner
 
 
 --Boundary-00=_Wco1BOnfgUvDFyY
 Content-Type: text/x-diff;
   charset="us-ascii";
   name="diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="diff"
 
 diff -urN ../k3b.submitted/Makefile ./Makefile
 --- ../k3b.submitted/Makefile	Thu Dec 16 19:37:46 2004
 +++ ./Makefile	Sat Jan  1 12:14:37 2005
 @@ -44,4 +44,10 @@
  showinfo:
  	more ${PKGMESSAGE}
  
 -.include <bsd.port.mk>
 +.include <bsd.port.pre.mk>
 +
 +.if ${OSVERSION} > 500000
 +PKGMESSAGE=	${PKGDIR}/pkg-message5
 +.endif
 +
 +.include <bsd.port.post.mk>
 diff -urN ../k3b.submitted/pkg-message ./pkg-message
 --- ../k3b.submitted/pkg-message	Tue Jul 20 03:19:57 2004
 +++ ./pkg-message	Sat Jan  1 11:58:33 2005
 @@ -1,10 +1,10 @@
 -Notes:
 +Notes for FreeBSD 4.x users:
  1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
     drives, use them through the cam system. See Chapter 12.5.9 of the handbook
     (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM)
  2. Your CD and DVD drives must have a mount point in /etc/fstab. They have
     to be accessed through their atapicam device if possible. I.e. the drives
 -   have to be adressed by e.g. /dev/cd0c instead of /dev/acd0c (/dev/cd0 on FreeBSD 5.x).
 +   have to be adressed by e.g. /dev/cd0c instead of /dev/acd0c.
  3. k3b has to be started from a root console, which is not recommended.
     Alternatively do ALL of the following:
  3a. set the suid flag on cdrecord and cdrdao. The 'Notes' the chapter of
 @@ -16,31 +16,32 @@
          /dev/cd0c  /usr/home/XXX/cdrom  cd9660  ro,noauto,nodev,nosuid  0  0
        Furthermore allow user mounts as described in topic 9.22 of the FAQ:
        http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
 -      Note: If you are using FreeBSD 5.x you might want to edit your /etc/devfs.conf.
 -      See http://sig9.com/archive/articles/HOWTO-mount-fs.html for details.
      - or just give mount and umount the suid flag, which is a security leak.
 -3c. - Every user who should be able to use k3b must have read and write access
 -      to all pass through devices connected with CD and DVD drives and to the /dev/xpt0 
 -      device. Run 'camcontrol devlist' to identify those devices (seek string 'passX'
 -      at the end of each line and modify the rights of /dev/passX). Note, that
 -      this is a security leak as well but that there is no alternative!
 -4. Create a directory on a partition, which has enough disk space to hold a CDs
 +3c. Every user who should be able to use k3b must have read and write access
 +    to all pass through devices connected with CD and DVD drives and to the 
 +    /dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek 
 +    string 'passX' at the end of each line and modify the rights of /dev/passX). 
 +    Note, that this is a security leak as well but that there is no alternative!
 +4. Check, that dma is activated for atapi devices: 'sysctl hw.ata.atapi_dma'
 +   If not, set it to 1 and put a 'hw.ata.atapi_dma=1' into /boot/loader.conf   
 +5. Create a directory on a partition, which has enough disk space to hold a CDs
     or DVDs content (usually below /usr). Enter this directory in Settings->
     Configure K3b...->Misc.
 -5. You should set the cdrdao driver manually. Otherwise the disk info might
 -   fail or lock a while. To do so choose Settings->Configure K3b...->Devices. 
 -   Below the CD recorder click on the string "auto" behind "Cdrdao driver:" 
 -   For most of the recent drives "generic-mmc" or "generic-mmc-raw" should 
 -   work. See http://cdrdao.sourceforge.net/drives.html.
 -6. To burn video CDs install the port multimedia/vcdimager.
 -7. To rip DVDs additionally install the ports multimedia/transcode,
 +6. If you experience problems while burning CDs, try to set the cdrdao driver 
 +   manually. To do so choose Settings->Configure K3b...->Devices. Below the CD 
 +   recorder click on the string "auto" behind "Cdrdao driver:" For most of the 
 +   recent drives "generic-mmc" or "generic-mmc-raw" should work. 
 +   See http://cdrdao.sourceforge.net/drives.html.
 +7. To burn video CDs install the port multimedia/vcdimager.
 +8. To rip DVDs additionally install the ports multimedia/transcode,
     multimedia/libdvdread and multimedia/xvid. Note that k3b does NOT work with
 -   transcode 0.6.12. 0.6.10 is the last known working version. The ripping process
 -   itself is described in http://k3b.sourceforge.net/cgi-bin/index.pl/videoencoding.
 -8. To burn bootable video CDs, install the port multimedia/emovix.
 -9. To burn DVDs, install the port sysutils/dvd+rw-tools.
 -10. To normalize the volumes of audio cds, install the port audio/normalize.
 -11. To rip into more audio formats, install the port audio/sox.
 +   transcode 0.6.12. 0.6.10 is the last known working version. The ripping 
 +   process itself is described in 
 +   http://k3b.plainblack.com/index.pl/videoencoding.
 +9. To burn bootable video CDs, install the port multimedia/emovix.
 +10. To burn DVDs, install the port sysutils/dvd+rw-tools.
 +11. To normalize the volumes of audio cds, install the port audio/normalize.
 +12. To rip into more audio formats, install the port audio/sox.
  
  UPGRADERS FROM 0.11.6 OR BELOW SHOULD NOTE THE CHANGED TOPIC 3C!!!
  
 diff -urN ../k3b.submitted/pkg-message5 ./pkg-message5
 --- ../k3b.submitted/pkg-message5	Thu Jan  1 01:00:00 1970
 +++ ./pkg-message5	Sat Jan  1 12:02:30 2005
 @@ -0,0 +1,56 @@
 +Notes for FreeBSD 5.x users:
 +1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
 +   drives, use them through the cam system. See Chapter 12.5.9 of the handbook
 +   (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM)
 +2. Your CD and DVD drives must have a mount point in /etc/fstab. They have
 +   to be accessed through their atapicam device if possible. I.e. the drives
 +   have to be adressed by e.g. /dev/cd0 instead of /dev/acd0.
 +3. k3b has to be started from a root console, which is not recommended.
 +   Alternatively do ALL of the following:
 +3a. set the suid flag on cdrecord and cdrdao. The 'Notes' the chapter of
 +    'man cdrecord' discusses this.
 +3b. - For every user who should be able to use k3b and for every CD or DVD
 +      device add a directory in the users home directory. These directories
 +      must be owned by the corresponding user. For each such directory add a
 +      line in /ect/fstab (see remark 2), like:
 +        /dev/cd0c  /usr/home/XXX/cdrom  cd9660  ro,noauto,nodev,nosuid  0  0
 +      Furthermore allow user mounts as described in topic 9.22 of the FAQ:
 +      http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
 +      To make the chmod's to /dev/cdX permanent, do the following:
 +        * add 'devd_enable="YES"' to /etc/rc.conf
 +        * add a 'perm cdX 666' to /etc/devfs.conf for each cd/dvd device. X 
 +          is the device number. If you prefer allow access for a group only, 
 +          add a 'perm cdX 660' instead, followed by a own 'cdX root:XXX' 
 +          where XXX is the group name.          
 +    - or just give mount and umount the suid flag, which is a security leak.
 +3c. Every user who should be able to use k3b must have read and write access
 +    to all pass through devices connected with CD and DVD drives and to the 
 +    /dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek 
 +    string 'passX' at the end of each line and modify the rights of 
 +    /dev/passX). Note, that this is a security leak as well but that there is 
 +    no alternative! To make this changes permanent, add 'devd_enable="YES"' 
 +    to /etc/rc.conf as described above. Furthermore add a 'perm passX 666' 
 +    for each pass device and a 'perm xpt0 666'. If you prefer to bind the 
 +    access rights to a group, use the own command as described above.
 +4. Check, that dma is activated for atapi devices: 'sysctl hw.ata.atapi_dma'
 +   If not, set it to 1 and put a 'hw.ata.atapi_dma=1' into /boot/loader.conf   
 +5. Create a directory on a partition, which has enough disk space to hold a CDs
 +   or DVDs content (usually below /usr). Enter this directory in Settings->
 +   Configure K3b...->Misc.
 +6. If you experience problems while burning CDs, try to set the cdrdao driver 
 +   manually. To do so choose Settings->Configure K3b...->Devices. Below the CD 
 +   recorder click on the string "auto" behind "Cdrdao driver:" For most of the 
 +   recent drives "generic-mmc" or "generic-mmc-raw" should work. 
 +   See http://cdrdao.sourceforge.net/drives.html.
 +7. To burn video CDs install the port multimedia/vcdimager.
 +8. To rip DVDs additionally install the ports multimedia/transcode,
 +   multimedia/libdvdread and multimedia/xvid. Note that k3b does NOT work with
 +   transcode 0.6.12. 0.6.10 is the last known working version. The ripping 
 +   process itself is described in 
 +   http://k3b.plainblack.com/index.pl/videoencoding.
 +9. To burn bootable video CDs, install the port multimedia/emovix.
 +10. To burn DVDs, install the port sysutils/dvd+rw-tools.
 +11. To normalize the volumes of audio cds, install the port audio/normalize.
 +12. To rip into more audio formats, install the port audio/sox.
 +
 +To read this instructions again, type 'make showinfo' in the k3b port directory
 
 --Boundary-00=_Wco1BOnfgUvDFyY--

From: Heiner <h.eichmann@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/75614: Port upgrade: sysutils/k3b to 0.11.8
Date: Mon, 3 Jan 2005 20:23:39 +0100

 There is an additional bug if non-disk scsi devices are attached. I will 
 create a new PR with all the patches in one, if it is fixed. Please close 
 this PR!
 
 
 Heiner
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Jan 3 21:50:39 GMT 2005 
State-Changed-Why:  
Closed at submitter's request (will be updated soon). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75614 
>Unformatted:
 --Boundary-00=_uQt0BE3Z2ptShUp
 Content-Type: text/plain;
   charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 X-send-pr-version: send-pr 3.113
 X-GNATS-Notify:
 
 
