diff options
author | Lars Weiler <pylon@gentoo.org> | 2005-01-08 13:51:38 +0000 |
---|---|---|
committer | Lars Weiler <pylon@gentoo.org> | 2005-01-08 13:51:38 +0000 |
commit | 8a0477a8374f1328915d6fbf3e00c47f5c356541 (patch) | |
tree | 452aae05a5b4752ec7b4c9e7cb851c0eecbcc0ed /app-cdr/cdrtools | |
parent | Stable on amd64, resolves #77102 (diff) | |
download | historical-8a0477a8374f1328915d6fbf3e00c47f5c356541.tar.gz historical-8a0477a8374f1328915d6fbf3e00c47f5c356541.tar.bz2 historical-8a0477a8374f1328915d6fbf3e00c47f5c356541.zip |
Added support for on-the-fly encryption for cdrecord. See bug #71245.
Diffstat (limited to 'app-cdr/cdrtools')
-rw-r--r-- | app-cdr/cdrtools/ChangeLog | 7 | ||||
-rw-r--r-- | app-cdr/cdrtools/Manifest | 6 | ||||
-rw-r--r-- | app-cdr/cdrtools/cdrtools-2.01-r1.ebuild | 111 | ||||
-rw-r--r-- | app-cdr/cdrtools/files/digest-cdrtools-2.01-r1 | 2 |
4 files changed, 123 insertions, 3 deletions
diff --git a/app-cdr/cdrtools/ChangeLog b/app-cdr/cdrtools/ChangeLog index 99ad744d3e67..c857268908f4 100644 --- a/app-cdr/cdrtools/ChangeLog +++ b/app-cdr/cdrtools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-cdr/cdrtools # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.107 2005/01/02 19:15:39 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.108 2005/01/08 13:51:38 pylon Exp $ + +*cdrtools-2.01-r1 (08 Jan 2005) + + 08 Jan 2005; Lars Weiler <pylon@gentoo.org> +cdrtools-2.01-r1.ebuild: + Added support for on-the-fly encryption for cdrecord. See bug #71245. 02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> : Change encoding to UTF-8 for GLEP 31 compliance diff --git a/app-cdr/cdrtools/Manifest b/app-cdr/cdrtools/Manifest index aa10000c1679..f8a653ef2d37 100644 --- a/app-cdr/cdrtools/Manifest +++ b/app-cdr/cdrtools/Manifest @@ -1,7 +1,9 @@ -MD5 e7589dd5019b03b312d33f1657c72d86 ChangeLog 15479 MD5 26c673d1c0824a9d9639d68f36c833c2 cdrtools-2.01.ebuild 2871 -MD5 d3194c7cfbf52d2723c69f7743f8bc09 cdrtools-2.01.01_alpha01.ebuild 2910 +MD5 dcb4fbc061561cf169c585f4fb1c209b ChangeLog 15656 MD5 fb7c98c4ada508b4870303b6cf6f327c metadata.xml 450 +MD5 d3194c7cfbf52d2723c69f7743f8bc09 cdrtools-2.01.01_alpha01.ebuild 2910 +MD5 e684c372033d139d5f4b5cb688713950 cdrtools-2.01-r1.ebuild 3286 MD5 245b4ec3f9e91750df712bee416f6481 files/cdrtools-2.01-scsi-remote.patch 540 MD5 c848b3b9b6921469483a22caa0fd40c3 files/digest-cdrtools-2.01 67 MD5 2624cead41468ccd3ab01c9415a21ac1 files/digest-cdrtools-2.01.01_alpha01 73 +MD5 3b31fe104ebc10687b9ff17cc3ea7a45 files/digest-cdrtools-2.01-r1 146 diff --git a/app-cdr/cdrtools/cdrtools-2.01-r1.ebuild b/app-cdr/cdrtools/cdrtools-2.01-r1.ebuild new file mode 100644 index 000000000000..175d78a16823 --- /dev/null +++ b/app-cdr/cdrtools/cdrtools-2.01-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01-r1.ebuild,v 1.1 2005/01/08 13:51:38 pylon Exp $ + +inherit eutils gcc gnuconfig versionator + +MY_CRYPT_VERS="$(get_version_component_range 1-2 )-encrypt-beta3" + +DESCRIPTION="A set of tools for CD recording, including cdrecord" +HOMEPAGE="http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html" +SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/${P}.tar.bz2 + crypt? ( http://burbon04.gmxhome.de/linux/files/${PN}-${MY_CRYPT_VERS}.diff.gz )" + +LICENSE="GPL-2 freedist" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos" +IUSE="crypt" + +DEPEND="virtual/libc + !app-cdr/dvdrtools" +PROVIDE="virtual/cdrtools" + +S=${WORKDIR}/${PN}-2.01 + +src_unpack() { + unpack ${A} + cd ${S} + + # CAN-2004-0806 - Bug 63187 + epatch ${FILESDIR}/${PN}-2.01-scsi-remote.patch || die "Can't apply SCSI-remote patch" + + # Add support for On-The-Fly AES encryption + # http://burbon04.gmxhome.de/linux/CDREncryption.html + use crypt && epatch ${DISTDIR}/${PN}-${MY_CRYPT_VERS}.diff.gz || die "Can't apply encryption patch" + + cd ${S}/DEFAULTS + use ppc-macos && MYARCH="mac-os10" || MYARCH="linux" + sed -i "s:/opt/schily:/usr:g" Defaults.${MYARCH} + sed -i "s:/usr/src/linux/include::g" Defaults.${MYARCH} + + cd ${S}/librscg + sed -i "s:/opt/schily:/usr:g" scsi-remote.c + + cd ${S}/RULES + ln -sf i386-linux-cc.rul x86_64-linux-cc.rul + ln -sf i386-linux-gcc.rul x86_64-linux-gcc.rul + ln -sf ppc-linux-cc.rul ppc64-linux-cc.rul + ln -sf mips-linux-cc.rul mips64-linux-cc.rul +} + +src_compile() { + gnuconfig_update + + emake CC="$(gcc-getCC) -D__attribute_const__=const" COPTX="${CFLAGS}" CPPOPTX="${CPPFLAGS}" LDOPTX="${LDFLAGS}" || die +} + +src_install() { + cd ${S} + + dobin cdda2wav/OBJ/*-*-cc/cdda2wav || die "cdda2wav" + dobin cdrecord/OBJ/*-*-cc/cdrecord || die "cdrecord" + dobin mkisofs/OBJ/*-*-cc/mkisofs || die "mkisofs" + dobin readcd/OBJ/*-*-cc/readcd || die "readcd" + dosbin rscsi/OBJ/*-*-cc/rscsi || die "rscsi" + + insinto /usr/include + doins incs/*-*-cc/align.h incs/*-*-cc/avoffset.h incs/*-*-cc/xconfig.h || die "include" + + cd mkisofs/diag/OBJ/*-*-cc + dobin devdump isodump isoinfo isovfy || die "dobin" + + cd ${S} + insinto /etc/default + doins rscsi/rscsi.dfl + doins cdrecord/cdrecord.dfl + + cd ${S}/libs/*-*-cc + dolib.a *.a || die "dolib failed" + + cd ${S} + insinto /usr/include/scsilib + doins include/*.h + insinto /usr/include/scsilib/scg + doins include/scg/*.h + + cd ${S} + dodoc ABOUT Changelog README README.{ATAPI,audio,cdplus,cdrw,cdtext,cdclone,copy,DiskT@2,linux,linux-shm,multi,parallel,raw,rscsi,sony,verify} START + doman */*.1 + doman */*.8 + + cd ${S}/doc + dodoc cdrecord-1.8.1_de-doc_0.1.tar + docinto print + dodoc *.ps +} + +pkg_postinst() { + einfo "Note the special license on cdrecord/cdrecord.c starting from line 4648." + if use ppc-macos ; then + einfo "" + einfo "Darwin/OS X use the following device names: " + einfo "" + einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices " + einfo "" + einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices " + einfo "" + else + echo + einfo "The command line option 'dev=ATAPI:' should be used for IDE CD writers." + fi +} diff --git a/app-cdr/cdrtools/files/digest-cdrtools-2.01-r1 b/app-cdr/cdrtools/files/digest-cdrtools-2.01-r1 new file mode 100644 index 000000000000..33972849270f --- /dev/null +++ b/app-cdr/cdrtools/files/digest-cdrtools-2.01-r1 @@ -0,0 +1,2 @@ +MD5 d44a81460e97ae02931c31188fe8d3fd cdrtools-2.01.tar.bz2 1400389 +MD5 b1153555aaab9aef7526497d55a6df45 cdrtools-2.01-encrypt-beta3.diff.gz 25050 |