View | Details | Raw Unified | Return to bug 125552 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-2 / +5 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	k3b
8
PORTNAME=	k3b
9
PORTVERSION=	1.0.4
9
PORTVERSION=	1.0.5
10
PORTREVISION=	3
11
CATEGORIES=	sysutils multimedia kde
10
CATEGORIES=	sysutils multimedia kde
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 56-61 Link Here
56
55
57
.include <bsd.port.pre.mk>
56
.include <bsd.port.pre.mk>
58
57
58
.if ${OSVERSION} > 700000
59
PKGMESSAGE=     ${PKGDIR}/pkg-message-7
60
.endif
61
59
.if defined(WITH_FLAC)
62
.if defined(WITH_FLAC)
60
PLIST_SUB+=	FLAC=""
63
PLIST_SUB+=	FLAC=""
61
LIB_DEPENDS+=	FLAC:${PORTSDIR}/audio/flac
64
LIB_DEPENDS+=	FLAC:${PORTSDIR}/audio/flac
(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (k3b-1.0.4.tar.bz2) = 42538ddae0809707d3bcdbe0a6ed6a43
1
MD5 (k3b-1.0.5.tar.bz2) = e3b37d0d009af3dd149215d6ae0d54f3
2
SHA256 (k3b-1.0.4.tar.bz2) = 2b384127c330bf6c9ef5d08733b0da2d815aec66893a8fc628b746181f06d4bb
2
SHA256 (k3b-1.0.5.tar.bz2) = d4f9799f234ade98b7e417d1493de3bd4a44fd937e813c2beb29eba02cda50df
3
SIZE (k3b-1.0.4.tar.bz2) = 5115790
3
SIZE (k3b-1.0.5.tar.bz2) = 5113060
(-)./pkg-message (-1 / +1 lines)
Lines 1-4 Link Here
1
Notes for FreeBSD 5.x and onwards users:
1
Notes for FreeBSD 5.x and 6.x users:
2
1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
2
1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
3
   drives, use them through the cam system. See Chapter 12.5.9 of the handbook
3
   drives, use them through the cam system. See Chapter 12.5.9 of the handbook
4
   (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM)
4
   (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM)
(-)./pkg-message-7 (+53 lines)
Line 0 Link Here
1
Notes for FreeBSD 7.x and onwards users:
2
1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
3
   drives, use them through the cam system. See Chapter 12.5.9 of the handbook
4
   (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM)
5
2. Your CD and DVD drives must have a mount point in /etc/fstab. They have
6
   to be accessed through their atapicam device if possible. I.e. the drives
7
   have to be adressed by e.g. /dev/cd0 instead of /dev/acd0.
8
3. k3b has to be started from a root console, which is not recommended.
9
   Alternatively do ALL of the following:
10
3a. set the suid flag on cdrecord and cdrdao. The 'Notes' chapter of
11
    'man cdrecord' discusses this.
12
3b. - For every user who should be able to use k3b and for every CD or DVD
13
      device add a directory in the users home directory. These directories
14
      must be owned by the corresponding user. For each such directory add a
15
      line in /etc/fstab (see remark 2), like:
16
        /dev/cd0c  /usr/home/XXX/cdrom  cd9660  ro,noauto,nosuid  0  0
17
      Furthermore allow user mounts as described in topic 9.22 of the FAQ:
18
      http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
19
      Every user must have read and write access to /dev/cdX:
20
        * add to your /etc/devfs.rules under '[system=10]':
21
            add path 'cd*' mode 666
22
          or if you prefer allow access for a group XXX only add instead:
23
            add path 'cd*' mode 660 group XXX
24
        * to enable it, add to your /etc/rc.conf a
25
            devfs_system_ruleset="system"
26
    - or just give mount and umount the suid flag, which is a security leak.
27
3c. Every user who should be able to use k3b must have read and write access
28
    to all pass through devices connected with CD and DVD drives and to the 
29
    /dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek 
30
    string 'passX' at the end of each line). Note, that this is a security 
31
    leak as well but that there is no alternative! 
32
        * add to your /etc/devfs.rules under '[system=10]':
33
            add path 'pass*' mode 666
34
            add path 'xpt0' mode 666
35
          or if you prefer allow access for a group XXX only add instead:
36
            add path 'pass*' mode 660 group XXX
37
            add path 'xpt0' mode 660 group XXX
38
        * to enable it, add to your /etc/rc.conf a
39
            devfs_system_ruleset="system"
40
        * to apply these changes without reboot, run as root:
41
            /etc/rc.d/devfs restart
42
4. Check, that DMA is activated for atapi devices: 'sysctl hw.ata.atapi_dma'
43
   If not, set it to 1 and put a 'hw.ata.atapi_dma=1' into /boot/loader.conf.
44
5. Create a directory on a partition, which has enough disk space to hold a CDs
45
   or DVDs content (usually below /usr). Enter this directory in Settings->
46
   Configure K3b...->Misc.
47
6. If you experience problems while burning CDs, try to set the cdrdao driver 
48
   manually. To do so choose Settings->Configure K3b...->Devices. Below the CD 
49
   recorder click on the string "auto" behind "Cdrdao driver:" For most of the 
50
   recent drives "generic-mmc" or "generic-mmc-raw" should work. 
51
   See http://cdrdao.sourceforge.net/drives.html.
52
53
To read this instructions again, type 'make showinfo' in the k3b port directory
(-)./pkg-plist (+2 lines)
Lines 19-24 Link Here
19
include/k3bbootitem.h
19
include/k3bbootitem.h
20
include/k3bbusywidget.h
20
include/k3bbusywidget.h
21
include/k3bcdcopyjob.h
21
include/k3bcdcopyjob.h
22
include/k3bcddb.h
23
include/k3bcddbresult.h
22
include/k3bcdparanoialib.h
24
include/k3bcdparanoialib.h
23
include/k3bcdrdaowriter.h
25
include/k3bcdrdaowriter.h
24
include/k3bcdrecordwriter.h
26
include/k3bcdrecordwriter.h

Return to bug 125552