From b061c28620dded6904bf7070d4e34ca091b4503b Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 10 Nov 2007 14:02:39 +0000 Subject: Fix access denied for sandbox, bug#198659 Package-Manager: portage-2.1.3.19 --- app-crypt/johntheripper/ChangeLog | 7 +++- app-crypt/johntheripper/Manifest | 38 +++++++++------------- .../johntheripper/files/digest-johntheripper-1.7.2 | 6 ++-- .../files/johntheripper-1.7.2-mkdir-sandbox.patch | 12 +++++++ .../johntheripper/johntheripper-1.7.2-r2.ebuild | 6 ++-- 5 files changed, 40 insertions(+), 29 deletions(-) create mode 100644 app-crypt/johntheripper/files/johntheripper-1.7.2-mkdir-sandbox.patch (limited to 'app-crypt') diff --git a/app-crypt/johntheripper/ChangeLog b/app-crypt/johntheripper/ChangeLog index c3d25950d16a..6f54142f7261 100644 --- a/app-crypt/johntheripper/ChangeLog +++ b/app-crypt/johntheripper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/johntheripper # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/ChangeLog,v 1.63 2007/11/10 13:47:37 cla Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/ChangeLog,v 1.64 2007/11/10 14:02:39 alonbl Exp $ + + 10 Nov 2007; Alon Bar-Lev + +files/johntheripper-1.7.2-mkdir-sandbox.patch, + johntheripper-1.7.2-r2.ebuild: + Fix access denied for sandbox, bug#198659 10 Nov 2007; Dawid Węgliński johntheripper-1.7.2-r2.ebuild: diff --git a/app-crypt/johntheripper/Manifest b/app-crypt/johntheripper/Manifest index 83947e9b4d20..37f9dd94edc4 100644 --- a/app-crypt/johntheripper/Manifest +++ b/app-crypt/johntheripper/Manifest @@ -1,6 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX johntheripper-1.7.2-mkdir-sandbox.patch 554 RMD160 2dfa6d0e912d15ac6205ea89450a0a43c90e563b SHA1 5cd63044c33774f795f32184c486b88df9bb6fc1 SHA256 ced75f4476fc2fe412f630083a5be1102fbbd5ceafc2f34d703cccefdc03e588 +MD5 84017f95425217b404334f45b428d569 files/johntheripper-1.7.2-mkdir-sandbox.patch 554 +RMD160 2dfa6d0e912d15ac6205ea89450a0a43c90e563b files/johntheripper-1.7.2-mkdir-sandbox.patch 554 +SHA256 ced75f4476fc2fe412f630083a5be1102fbbd5ceafc2f34d703cccefdc03e588 files/johntheripper-1.7.2-mkdir-sandbox.patch 554 AUX johntheripper-1.7.2-params.h.patch 526 RMD160 f32582a6bfb5a4a2c8b1813d81dfd065d7f46cbf SHA1 030450dafbbc613aff20fd28e230bd35ecf05cd3 SHA256 fc050acd68ce5f7f79312c0dc54a110c92f074c908ec32394baaf0b172b7d611 MD5 0d840a57854c6993db5deaa1eaec5fa7 files/johntheripper-1.7.2-params.h.patch 526 RMD160 f32582a6bfb5a4a2c8b1813d81dfd065d7f46cbf files/johntheripper-1.7.2-params.h.patch 526 @@ -21,35 +22,28 @@ AUX johntheripper-1.7.2-stripping.patch 840 RMD160 9001329b0fcda4ed244c746cdd6dc MD5 bcd83ae4d1f2990329cc2eaa7de7b78a files/johntheripper-1.7.2-stripping.patch 840 RMD160 9001329b0fcda4ed244c746cdd6dc2d5bde9ae94 files/johntheripper-1.7.2-stripping.patch 840 SHA256 e2b989facd64aa1634de13df5a76c3c5579ad90d75a4af63f68b5ad970eca0b8 files/johntheripper-1.7.2-stripping.patch 840 -DIST john-1.7-all-4.diff.gz 50311 RMD160 eafed1e75d72beef62664b238adf38ec6e6d4c52 SHA1 6050745204b38a7dd9fc41889de2b87866c8b528 SHA256 cb51be6cb03e952a21ea1a85e60253b932c946959b62f8082665ac2c7a792909 +DIST john-1.7-all-4.diff.gz 2550 RMD160 e2a9fbed670efd48dd0ce537b1a5511aaf27ed13 SHA1 0b05f906dc3525ee3e9c7a69a5c9512f4fbb474b SHA256 b21e90a995239089d90307641b45de28f167ed1a8c77bbb0bfe590d10ab8d436 DIST john-1.7.2-all-7.diff.gz 64450 RMD160 c0adeb226ee75bbc9a875b93a622b99927fb825f SHA1 a0b25e3f9606b5839a4f1a59f896727f0195ba9a SHA256 fb2f42d12ec94be02ad398ac9e823190e518cefcb096a4197c6a37d83d29124c DIST john-1.7.2.tar.gz 809308 RMD160 8ab90216401cf5cda7ba50a8bb88f53678e35eac SHA1 c3c4720c2f1446a3349b0307a0522af574d013e4 SHA256 9a94d2417b13d49cb11aeb11186933fe0e0491904987ca47c88bf5710935c3cb -EBUILD johntheripper-1.7.2-r2.ebuild 3334 RMD160 6fa77b15190407d96dac92586c2df3032c606133 SHA1 83764479c4827e47034d05aabeaa2cf43a6e8955 SHA256 6129677f4ad2bc0f923365945e66a876e5b4b45356068e7baf57b93fabeab0da -MD5 994294389175f691719b2145254e4377 johntheripper-1.7.2-r2.ebuild 3334 -RMD160 6fa77b15190407d96dac92586c2df3032c606133 johntheripper-1.7.2-r2.ebuild 3334 -SHA256 6129677f4ad2bc0f923365945e66a876e5b4b45356068e7baf57b93fabeab0da johntheripper-1.7.2-r2.ebuild 3334 +EBUILD johntheripper-1.7.2-r2.ebuild 3350 RMD160 531f86e4310e7361c09bdcc44abaea24acc2f263 SHA1 3d82f53a487adc884b4b0070c0c2b97bc802cc60 SHA256 59fadbf88ecb0de255a067220b8eb4b7ff729add7f45bb2f5c5cbea5647a67d6 +MD5 822ebcbf3cdd7d96e080f807b1b0524f johntheripper-1.7.2-r2.ebuild 3350 +RMD160 531f86e4310e7361c09bdcc44abaea24acc2f263 johntheripper-1.7.2-r2.ebuild 3350 +SHA256 59fadbf88ecb0de255a067220b8eb4b7ff729add7f45bb2f5c5cbea5647a67d6 johntheripper-1.7.2-r2.ebuild 3350 EBUILD johntheripper-1.7.2.ebuild 3450 RMD160 1645e563b9ad2fb6ded7c74be5fe837f93f956be SHA1 fbcb80c962759491b57f8762e4c4a46d6c45c46d SHA256 a2d9fc20407e7e1b40fc904b07b503b05fccfbe7b3fb2e4bf7be124a981f8750 MD5 6fc9ea37ab7434784b13035bf1182356 johntheripper-1.7.2.ebuild 3450 RMD160 1645e563b9ad2fb6ded7c74be5fe837f93f956be johntheripper-1.7.2.ebuild 3450 SHA256 a2d9fc20407e7e1b40fc904b07b503b05fccfbe7b3fb2e4bf7be124a981f8750 johntheripper-1.7.2.ebuild 3450 -MISC ChangeLog 11379 RMD160 15799408386933229c29014c42ca38db20ca16f9 SHA1 2b7164281863748731cf7e1c57a23a0079b56f5c SHA256 0c1074ffc2d702042850e0232703d3ff537ebe7f75b937a5eda257ef3b7d7936 -MD5 1ba140862629e7cc43b99750174a97d7 ChangeLog 11379 -RMD160 15799408386933229c29014c42ca38db20ca16f9 ChangeLog 11379 -SHA256 0c1074ffc2d702042850e0232703d3ff537ebe7f75b937a5eda257ef3b7d7936 ChangeLog 11379 +MISC ChangeLog 11558 RMD160 1ee18cdad5d0fa5a4c48df0a34421edaca0eb650 SHA1 f9ebe627c3b6e72e7b1062e463ad402a920ffedd SHA256 45cdc0f97b67b7ad62eb5a99b905c4bca8646de717901e73e786db9a126a89ae +MD5 fddfb899226b79c8c461d46f0fff54ce ChangeLog 11558 +RMD160 1ee18cdad5d0fa5a4c48df0a34421edaca0eb650 ChangeLog 11558 +SHA256 45cdc0f97b67b7ad62eb5a99b905c4bca8646de717901e73e786db9a126a89ae ChangeLog 11558 MISC metadata.xml 160 RMD160 61ea9f9370afee3db802f40f7c6b2edd2f5347cf SHA1 51cf29a3589cff823294704e225b0de18f65e6dd SHA256 7419f4e73ddd07284403525f1380824fc68280cad69e2dfae0645ad52b33ef10 MD5 1c3665b87d1e39c6799909da58f41b26 metadata.xml 160 RMD160 61ea9f9370afee3db802f40f7c6b2edd2f5347cf metadata.xml 160 SHA256 7419f4e73ddd07284403525f1380824fc68280cad69e2dfae0645ad52b33ef10 metadata.xml 160 -MD5 fa3d5f08df3d277ee771715466395974 files/digest-johntheripper-1.7.2 476 -RMD160 e159515fd92bd054565f086b4749eaacd71b5473 files/digest-johntheripper-1.7.2 476 -SHA256 1f98f59d509b03c8a18445cdf030bb234507f090938041a3e6c7433b8cb80149 files/digest-johntheripper-1.7.2 476 +MD5 3f48187e476894e807b57af0117d5d98 files/digest-johntheripper-1.7.2 473 +RMD160 88096dd31ecd3706a3c0cc263e87709c5c6c0e95 files/digest-johntheripper-1.7.2 473 +SHA256 5a3ee378b5c0c084e34632ea0450bc953b17f20a99b2845a46ca4fdf19f11bdf files/digest-johntheripper-1.7.2 473 MD5 753fa3810f699a8a2221c89aa00af2eb files/digest-johntheripper-1.7.2-r2 482 RMD160 540e941b341418e1a102eb85c53562d26087349c files/digest-johntheripper-1.7.2-r2 482 SHA256 c1673181f0b25641de64a51a599c2a6e766ffd58c05a56173fbe70dcfe8faa70 files/digest-johntheripper-1.7.2-r2 482 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.7 (GNU/Linux) - -iD8DBQFHNbaDUPEOwClectkRAvCqAKCepcvk30MvtVMOLsmzH8fasQS+WACdHnBi -xasiemS1vOJarnLtEABxFcU= -=WgvJ ------END PGP SIGNATURE----- diff --git a/app-crypt/johntheripper/files/digest-johntheripper-1.7.2 b/app-crypt/johntheripper/files/digest-johntheripper-1.7.2 index a90f5138c57f..9816ad33de35 100644 --- a/app-crypt/johntheripper/files/digest-johntheripper-1.7.2 +++ b/app-crypt/johntheripper/files/digest-johntheripper-1.7.2 @@ -1,6 +1,6 @@ -MD5 4429722ba242a5a33ca8ebf45fd42797 john-1.7-all-4.diff.gz 50311 -RMD160 eafed1e75d72beef62664b238adf38ec6e6d4c52 john-1.7-all-4.diff.gz 50311 -SHA256 cb51be6cb03e952a21ea1a85e60253b932c946959b62f8082665ac2c7a792909 john-1.7-all-4.diff.gz 50311 +MD5 1206a4fac6d876307b2c8a4c0db8a450 john-1.7-all-4.diff.gz 2550 +RMD160 e2a9fbed670efd48dd0ce537b1a5511aaf27ed13 john-1.7-all-4.diff.gz 2550 +SHA256 b21e90a995239089d90307641b45de28f167ed1a8c77bbb0bfe590d10ab8d436 john-1.7-all-4.diff.gz 2550 MD5 78a0294fba77ebd63bdb39837df917c8 john-1.7.2.tar.gz 809308 RMD160 8ab90216401cf5cda7ba50a8bb88f53678e35eac john-1.7.2.tar.gz 809308 SHA256 9a94d2417b13d49cb11aeb11186933fe0e0491904987ca47c88bf5710935c3cb john-1.7.2.tar.gz 809308 diff --git a/app-crypt/johntheripper/files/johntheripper-1.7.2-mkdir-sandbox.patch b/app-crypt/johntheripper/files/johntheripper-1.7.2-mkdir-sandbox.patch new file mode 100644 index 000000000000..7a1562413050 --- /dev/null +++ b/app-crypt/johntheripper/files/johntheripper-1.7.2-mkdir-sandbox.patch @@ -0,0 +1,12 @@ +diff -urNp john-1.7.2.org/src/path.c john-1.7.2/src/path.c +--- john-1.7.2.org/src/path.c 2003-10-01 04:26:25.000000000 +0300 ++++ john-1.7.2/src/path.c 2007-11-10 15:53:23.000000000 +0200 +@@ -55,7 +55,7 @@ void path_init(char **argv) + #ifdef JOHN_PRIVATE_HOME + private = path_expand(JOHN_PRIVATE_HOME); + if (mkdir(private, S_IRUSR | S_IWUSR | S_IXUSR)) { +- if (errno != EEXIST) pexit("mkdir: %s", private); ++ if (errno != EEXIST && errno != EACCES) pexit("mkdir: %s", private); + } else + fprintf(stderr, "Created directory: %s\n", private); + #endif diff --git a/app-crypt/johntheripper/johntheripper-1.7.2-r2.ebuild b/app-crypt/johntheripper/johntheripper-1.7.2-r2.ebuild index 0f3a3e03927f..948110b24dfb 100644 --- a/app-crypt/johntheripper/johntheripper-1.7.2-r2.ebuild +++ b/app-crypt/johntheripper/johntheripper-1.7.2-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.2-r2.ebuild,v 1.4 2007/11/10 13:47:37 cla Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.2-r2.ebuild,v 1.5 2007/11/10 14:02:39 alonbl Exp $ inherit eutils flag-o-matic toolchain-funcs pax-utils @@ -17,7 +17,7 @@ SRC_URI="http://www.openwall.com/john/f/${MY_PBASE}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ppc ~ppc64 ~sparc x86" IUSE="mmx altivec sse2" RDEPEND=">=dev-libs/openssl-0.9.7" @@ -27,7 +27,7 @@ src_unpack() { cd "${S}" epatch "${WORKDIR}"/${MY_PNBASE}-1.7.2-all-7.diff - for p in sha1-memset stackdef.S stackdef-2.S; do + for p in sha1-memset stackdef.S stackdef-2.S mkdir-sandbox; do epatch "${FILESDIR}/${P}-${p}.patch" done } -- cgit v1.2.3-65-gdbad