diff options
-rw-r--r-- | sys-fs/udftools/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/udftools/Manifest | 7 | ||||
-rw-r--r-- | sys-fs/udftools/files/cdrwtool-linux2.6-fix.patch | 16 | ||||
-rw-r--r-- | sys-fs/udftools/files/digest-udftools-1.0.0b-r3 | 2 | ||||
-rw-r--r-- | sys-fs/udftools/metadata.xml | 5 | ||||
-rw-r--r-- | sys-fs/udftools/udftools-1.0.0b-r3.ebuild | 40 |
6 files changed, 76 insertions, 4 deletions
diff --git a/sys-fs/udftools/ChangeLog b/sys-fs/udftools/ChangeLog index 77bf5d75806e..71e53b62b7d4 100644 --- a/sys-fs/udftools/ChangeLog +++ b/sys-fs/udftools/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-fs/udftools # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udftools/ChangeLog,v 1.4 2004/07/01 21:51:39 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udftools/ChangeLog,v 1.5 2004/11/06 20:17:44 dsd Exp $ + +*udftools-1.0.0b-r3 (06 Nov 2004) + + 06 Nov 2004; <dsd@gentoo.org> metadata.xml, + +files/cdrwtool-linux2.6-fix.patch, +udftools-1.0.0b-r3.ebuild: + New maintainer. Version bump and pktsetup patch thanks to Rafal Dejewski + <r2dtu@wp.pl> and Daniel Webert <rockoo@rockoo.homelinux.org> in bug #49760. + Add a cdrwtool fix for recent 2.6 kernels. 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> udftools-1.0.0b.ebuild: diff --git a/sys-fs/udftools/Manifest b/sys-fs/udftools/Manifest index 0701a7df8a97..efae7a1e092f 100644 --- a/sys-fs/udftools/Manifest +++ b/sys-fs/udftools/Manifest @@ -1,4 +1,7 @@ +MD5 5f33791ebaabe9912c86c1ef6b275a6f ChangeLog 1221 +MD5 43c872252a620e391c449e150e344a3a metadata.xml 224 MD5 c80598ca0877dc6b771065c805a0cbeb udftools-1.0.0b.ebuild 647 -MD5 64ef364087c286106c8569ea2e2174b3 ChangeLog 874 -MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 69ecdebaaa8b034717faab4db63f9237 udftools-1.0.0b-r3.ebuild 841 MD5 18571ea3d9ddefaa4b26a1e871b27585 files/digest-udftools-1.0.0b 68 +MD5 19419eb50f095349495b1ae537185cbf files/cdrwtool-linux2.6-fix.patch 576 +MD5 d52ea5d393bd61a45f983ebc01703d93 files/digest-udftools-1.0.0b-r3 137 diff --git a/sys-fs/udftools/files/cdrwtool-linux2.6-fix.patch b/sys-fs/udftools/files/cdrwtool-linux2.6-fix.patch new file mode 100644 index 000000000000..827904dd36f9 --- /dev/null +++ b/sys-fs/udftools/files/cdrwtool-linux2.6-fix.patch @@ -0,0 +1,16 @@ +Fix CD blanking for kernels 2.6.8 and newer +(write access is required to perform blanking commands) + + - Daniel Drake <dsd@gentoo.org> + +--- udftools-1.0.0b3/cdrwtool/main.c.orig 2004-11-06 16:39:36.651892368 +0000 ++++ udftools-1.0.0b3/cdrwtool/main.c 2004-11-06 16:39:48.184139200 +0000 +@@ -242,7 +242,7 @@ + udf_init_disc(&disc.udf_disc); + strcpy(filename, CDROM_DEVICE); + parse_args(argc, argv, &disc, filename); +- if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) < 0) ++ if ((fd = open(filename, O_RDWR | O_NONBLOCK)) < 0) + { + perror("open cdrom device"); + return fd; diff --git a/sys-fs/udftools/files/digest-udftools-1.0.0b-r3 b/sys-fs/udftools/files/digest-udftools-1.0.0b-r3 new file mode 100644 index 000000000000..55f8b9eb6f1d --- /dev/null +++ b/sys-fs/udftools/files/digest-udftools-1.0.0b-r3 @@ -0,0 +1,2 @@ +MD5 2f491ddd63f31040797236fe18db9e60 udftools-1.0.0b3.tar.gz 293257 +MD5 4fe44166cf7c636ec41758ae763d79be udftools-1.0.0b3.patch.bz2 3372 diff --git a/sys-fs/udftools/metadata.xml b/sys-fs/udftools/metadata.xml index 96a2d586367d..11616e7f96a6 100644 --- a/sys-fs/udftools/metadata.xml +++ b/sys-fs/udftools/metadata.xml @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>base-system</herd> +<maintainer> + <email>dsd@gentoo.org</email> + <name>Daniel Drake</name> +</maintainer> </pkgmetadata> diff --git a/sys-fs/udftools/udftools-1.0.0b-r3.ebuild b/sys-fs/udftools/udftools-1.0.0b-r3.ebuild new file mode 100644 index 000000000000..286ecde9107c --- /dev/null +++ b/sys-fs/udftools/udftools-1.0.0b-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udftools/udftools-1.0.0b-r3.ebuild,v 1.1 2004/11/06 20:17:44 dsd Exp $ + +inherit eutils + +MY_P="${P}${PR/r/}" +S=${WORKDIR}/${MY_P} +DESCRIPTION="Ben Fennema's tools for packet writing and the UDF filesystem" +SRC_URI="mirror://sourceforge/linux-udf/${MY_P}.tar.gz + http://w1.894.telia.com/~u89404340/patches/packet/${MY_P}.patch.bz2" +HOMEPAGE="http://sourceforge.net/projects/linux-udf/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="virtual/libc" + +src_unpack() { + unpack ${A} + cd ${S} + + # For new kernel packet writing driver + epatch ${WORKDIR}/${MY_P}.patch + + # Fix CD blanking for 2.6.8 and newer + epatch ${FILESDIR}/cdrwtool-linux2.6-fix.patch +} + +src_compile() { + econf || die + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + dodoc ChangeLog COPYING +} |