diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-18 01:49:40 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-18 01:49:40 +0000 |
commit | ff4f9cfb453c6f77d5753f2ebdca80c9829d74ec (patch) | |
tree | 0e1d5a45e43065c71c439f0fca02094ca7d7b831 /media-video | |
parent | Sync with overlay. (diff) | |
download | gentoo-2-ff4f9cfb453c6f77d5753f2ebdca80c9829d74ec.tar.gz gentoo-2-ff4f9cfb453c6f77d5753f2ebdca80c9829d74ec.tar.bz2 gentoo-2-ff4f9cfb453c6f77d5753f2ebdca80c9829d74ec.zip |
Added patch to respect user umask setting, from David Brown in bug #97577.
(Portage version: 2.1_pre1)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/dvdbackup/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/dvdbackup/Manifest | 5 | ||||
-rw-r--r-- | media-video/dvdbackup/dvdbackup-0.1.1-r2.ebuild | 36 | ||||
-rw-r--r-- | media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r2 | 1 | ||||
-rw-r--r-- | media-video/dvdbackup/files/dvdbackup-0.1.1-mkdir.patch | 29 |
5 files changed, 77 insertions, 2 deletions
diff --git a/media-video/dvdbackup/ChangeLog b/media-video/dvdbackup/ChangeLog index 5ba887a4631a..8d4b473b95a4 100644 --- a/media-video/dvdbackup/ChangeLog +++ b/media-video/dvdbackup/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/dvdbackup # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/ChangeLog,v 1.10 2005/10/03 19:46:32 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/ChangeLog,v 1.11 2005/12/18 01:49:40 flameeyes Exp $ + +*dvdbackup-0.1.1-r2 (18 Dec 2005) + + 18 Dec 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/dvdbackup-0.1.1-mkdir.patch, +dvdbackup-0.1.1-r2.ebuild: + Added patch to respect user umask setting, from David Brown in bug #97577. 03 Oct 2005; Markus Rothe <corsair@gentoo.org> dvdbackup-0.1.1-r1.ebuild: Stable on ppc64 diff --git a/media-video/dvdbackup/Manifest b/media-video/dvdbackup/Manifest index 7d7a4be4bed9..f4f1ca66f030 100644 --- a/media-video/dvdbackup/Manifest +++ b/media-video/dvdbackup/Manifest @@ -1,5 +1,8 @@ MD5 e63f31c42cec248678bfdd2ef65d4408 ChangeLog 1168 MD5 4fe2696804b58b12ca5d0f1b03f3ac77 dvdbackup-0.1.1-r1.ebuild 826 -MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158 +MD5 51cfb2aa42b8d676e5e115a9d9d2f556 dvdbackup-0.1.1-r2.ebuild 873 MD5 ed788d5aef0628a2098684adad1ec7b8 files/0.1.1-debian-FPE.patch 546 MD5 a407bd72496e53b75fed9eb61a40e6d1 files/digest-dvdbackup-0.1.1-r1 66 +MD5 a407bd72496e53b75fed9eb61a40e6d1 files/digest-dvdbackup-0.1.1-r2 66 +MD5 08e9748850b72774320826551b73194e files/dvdbackup-0.1.1-mkdir.patch 1065 +MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158 diff --git a/media-video/dvdbackup/dvdbackup-0.1.1-r2.ebuild b/media-video/dvdbackup/dvdbackup-0.1.1-r2.ebuild new file mode 100644 index 000000000000..5df43277d123 --- /dev/null +++ b/media-video/dvdbackup/dvdbackup-0.1.1-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/dvdbackup-0.1.1-r2.ebuild,v 1.1 2005/12/18 01:49:40 flameeyes Exp $ + +inherit toolchain-funcs eutils + +DESCRIPTION="Backup content from DVD to hard disk" +HOMEPAGE="http://dvd-create.sourceforge.net/" +SRC_URI="http://dvd-create.sourceforge.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="media-libs/libdvdread" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/${PV}-debian-FPE.patch" + epatch "${FILESDIR}/${P}-mkdir.patch" +} + +src_compile() { + $(tc-getCC) ${CFLAGS} -I/usr/include/dvdread \ + -ldvdread -o dvdbackup src/dvdbackup.c \ + || die "compile failed" +} + +src_install() { + dobin dvdbackup || die + dodoc README +} diff --git a/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r2 b/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r2 new file mode 100644 index 000000000000..caea4610d6a4 --- /dev/null +++ b/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r2 @@ -0,0 +1 @@ +MD5 53a071d1def5ee49d702a4dd080d25ac dvdbackup-0.1.1.tar.gz 24806 diff --git a/media-video/dvdbackup/files/dvdbackup-0.1.1-mkdir.patch b/media-video/dvdbackup/files/dvdbackup-0.1.1-mkdir.patch new file mode 100644 index 000000000000..0b16285a37c1 --- /dev/null +++ b/media-video/dvdbackup/files/dvdbackup-0.1.1-mkdir.patch @@ -0,0 +1,29 @@ +--- src/dvdbackup.c.orig 2005-07-01 00:12:36.000000000 -0700 ++++ src/dvdbackup.c 2005-07-01 00:12:52.000000000 -0700 +@@ -2506,7 +2506,7 @@ + fprintf(stderr,"The target directory is not valid, it may be a ordinary file\n"); + } + } else { +- if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) { ++ if (mkdir(targetname, 0777) != 0) { + fprintf(stderr,"Faild creating target directory\n"); + perror(""); + DVDClose(_dvd); +@@ -2522,7 +2522,7 @@ + fprintf(stderr,"The title directory is not valid, it may be a ordinary file\n"); + } + } else { +- if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) { ++ if (mkdir(targetname, 0777) != 0) { + fprintf(stderr,"Faild creating title directory\n"); + perror(""); + DVDClose(_dvd); +@@ -2537,7 +2537,7 @@ + fprintf(stderr,"The VIDEO_TS directory is not valid, it may be a ordinary file\n"); + } + } else { +- if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) { ++ if (mkdir(targetname, 0777) != 0) { + fprintf(stderr,"Faild creating VIDEO_TS directory\n"); + perror(""); + DVDClose(_dvd); |