diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-06-23 08:24:20 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-06-23 08:24:20 +0000 |
commit | 20a7f0bc193f68d704f51736922cbe1bf5b9f422 (patch) | |
tree | 3d7f4472be342957494e6aa5ad01b52a8edca858 /app-text | |
parent | version bump (diff) | |
download | gentoo-2-20a7f0bc193f68d704f51736922cbe1bf5b9f422.tar.gz gentoo-2-20a7f0bc193f68d704f51736922cbe1bf5b9f422.tar.bz2 gentoo-2-20a7f0bc193f68d704f51736922cbe1bf5b9f422.zip |
Bring back nodrm USE flag, bug #296455
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/pdftk/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/pdftk/metadata.xml | 4 | ||||
-rw-r--r-- | app-text/pdftk/pdftk-1.41-r1.ebuild | 10 |
3 files changed, 17 insertions, 5 deletions
diff --git a/app-text/pdftk/ChangeLog b/app-text/pdftk/ChangeLog index 0a1e43daa8da..57bc443e7586 100644 --- a/app-text/pdftk/ChangeLog +++ b/app-text/pdftk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/pdftk -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.31 2009/11/14 16:30:01 maekke Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.32 2010/06/23 08:24:20 chithanh Exp $ + + 23 Jun 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + pdftk-1.41-r1.ebuild, metadata.xml: + Bring back nodrm USE flag, bug #296455 14 Nov 2009; Markus Meier <maekke@gentoo.org> pdftk-1.41-r1.ebuild: amd64/x86 stable, bug #275620 diff --git a/app-text/pdftk/metadata.xml b/app-text/pdftk/metadata.xml index a8a5788d684c..8b44ae4e6d20 100644 --- a/app-text/pdftk/metadata.xml +++ b/app-text/pdftk/metadata.xml @@ -3,4 +3,8 @@ <pkgmetadata> <herd>printing</herd> <herd>java</herd> +<use> + <flag name='nodrm'>Decrypt a document with the user_pw even if it has an + owner_pw set</flag> +</use> </pkgmetadata> diff --git a/app-text/pdftk/pdftk-1.41-r1.ebuild b/app-text/pdftk/pdftk-1.41-r1.ebuild index fce3ea6aa4e8..4c2c444a2f00 100644 --- a/app-text/pdftk/pdftk-1.41-r1.ebuild +++ b/app-text/pdftk/pdftk-1.41-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.41-r1.ebuild,v 1.5 2009/11/14 16:30:01 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.41-r1.ebuild,v 1.6 2010/06/23 08:24:20 chithanh Exp $ EAPI="2" @@ -12,7 +12,7 @@ SRC_URI="http://www.pdfhacks.com/pdftk/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ~ppc64 x86" -IUSE="" +IUSE="nodrm" DEPEND=">=sys-devel/gcc-4.3.1[gcj]" S="${WORKDIR}/${P}/${PN}" @@ -28,6 +28,10 @@ src_unpack() { epatch "${FILESDIR}/${P}-honor-ldflags.patch" # force usage of custom CFLAGS. sed -iorig 's:-O2:\$(CFLAGS):g' "${S}"/Makefile.Generic + # nodrm patch, bug 296455 + if use nodrm; then + sed -i 's:passwordIsOwner= false:passwordIsOwner= true:' "${WORKDIR}/${P}"/java_libs/com/lowagie/text/pdf/PdfReader.java || die + fi } src_compile() { |