From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 1 11:20:29 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78E9416A4D2 for ; Sat, 1 Jan 2005 11:20:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A721943D2D for ; Sat, 1 Jan 2005 11:20:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j01BKO20044913 for ; Sat, 1 Jan 2005 11:20:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j01BKOo2044912; Sat, 1 Jan 2005 11:20:24 GMT (envelope-from gnats) Date: Sat, 1 Jan 2005 11:20:24 GMT Message-Id: <200501011120.j01BKOo2044912@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Heiner Subject: Re: ports/75614: Port upgrade: sysutils/k3b to 0.11.8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Heiner List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 11:20:29 -0000 The following reply was made to PR ports/75614; it has been noted by GNATS. From: Heiner 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 +.include + +.if ${OSVERSION} > 500000 +PKGMESSAGE= ${PKGDIR}/pkg-message5 +.endif + +.include 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--