From 9c25ffe68da04b43c8a7c6d3421eb5807c85d8c3 Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Thu, 15 Mar 2007 16:52:40 +0000 Subject: [PATCH] Revision bump with a patch for executable stacks on x86 lifted from python upstream, closes bug #167254, thanks to David Li for reporting. Package-Manager: portage-2.1.2.2 --- dev-python/ctypes/ChangeLog | 10 ++++- dev-python/ctypes/Manifest | 29 ++++++++++++-- dev-python/ctypes/ctypes-1.0.1-r1.ebuild | 39 +++++++++++++++++++ .../ctypes/files/ctypes-1.0.1-execstack.patch | 12 ++++++ .../ctypes/files/digest-ctypes-1.0.1-r1 | 3 ++ 5 files changed, 88 insertions(+), 5 deletions(-) create mode 100644 dev-python/ctypes/ctypes-1.0.1-r1.ebuild create mode 100644 dev-python/ctypes/files/ctypes-1.0.1-execstack.patch create mode 100644 dev-python/ctypes/files/digest-ctypes-1.0.1-r1 diff --git a/dev-python/ctypes/ChangeLog b/dev-python/ctypes/ChangeLog index 2589a4f1bf8a..afa03d3337bd 100644 --- a/dev-python/ctypes/ChangeLog +++ b/dev-python/ctypes/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-python/ctypes # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ctypes/ChangeLog,v 1.15 2007/02/14 22:30:49 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ctypes/ChangeLog,v 1.16 2007/03/15 16:52:40 marienz Exp $ + +*ctypes-1.0.1-r1 (15 Mar 2007) + + 15 Mar 2007; Marien Zwart + +files/ctypes-1.0.1-execstack.patch, +ctypes-1.0.1-r1.ebuild: + Revision bump with a patch for executable stacks on x86 lifted from python + upstream, closes bug #167254, thanks to David Li for + reporting. *ctypes-1.0.1 (14 Feb 2007) diff --git a/dev-python/ctypes/Manifest b/dev-python/ctypes/Manifest index 6b5c605a582f..aaecd930fcc3 100644 --- a/dev-python/ctypes/Manifest +++ b/dev-python/ctypes/Manifest @@ -1,3 +1,10 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX ctypes-1.0.1-execstack.patch 295 RMD160 e9ac33a4bec3a5569daf85b2dcae72588fe6ce46 SHA1 5c4d827c7a4729c33f14f0e5cda5bdb868bf7644 SHA256 92b9a816715a53a4284b0bc9760256223c932566dbe313f0d92067d7faff02c5 +MD5 66942d1a8ef28bb233affeb55ae627ac files/ctypes-1.0.1-execstack.patch 295 +RMD160 e9ac33a4bec3a5569daf85b2dcae72588fe6ce46 files/ctypes-1.0.1-execstack.patch 295 +SHA256 92b9a816715a53a4284b0bc9760256223c932566dbe313f0d92067d7faff02c5 files/ctypes-1.0.1-execstack.patch 295 AUX ctypes-gcc4 341 RMD160 cc6801b5904b043c9a090eef25c8ace61e9f64d8 SHA1 e517b970ab48ea3370be147bb67972e9c84e4617 SHA256 0a47793b0c907bef765bcdcc9ee2f57f112fd296d6e81927f773e5f62eefdcd1 MD5 197165ec51d19517508ff731d0176faf files/ctypes-gcc4 341 RMD160 cc6801b5904b043c9a090eef25c8ace61e9f64d8 files/ctypes-gcc4 341 @@ -13,14 +20,18 @@ EBUILD ctypes-1.0.0.ebuild 890 RMD160 19e58f4a650ebf5f369bdc554091460eeb4df461 S MD5 ad3c8ad3a9fdba5d103345190b439f08 ctypes-1.0.0.ebuild 890 RMD160 19e58f4a650ebf5f369bdc554091460eeb4df461 ctypes-1.0.0.ebuild 890 SHA256 b1d1714db2cdbcdb2cf9586e3a1f536529b47d12fb43dd749d5e7d2a06217a7e ctypes-1.0.0.ebuild 890 +EBUILD ctypes-1.0.1-r1.ebuild 891 RMD160 cdfa25e7259394af5b58a86fd423d23611745bbf SHA1 19780d52b48969d84d1a394b6b2ed5f5349be5d6 SHA256 24e809d53784aa50e2f71c02a7146fe8925bfbb9bf2605a6b311cd65cd501965 +MD5 315e1ab4f99011e96b3e77c542a5243f ctypes-1.0.1-r1.ebuild 891 +RMD160 cdfa25e7259394af5b58a86fd423d23611745bbf ctypes-1.0.1-r1.ebuild 891 +SHA256 24e809d53784aa50e2f71c02a7146fe8925bfbb9bf2605a6b311cd65cd501965 ctypes-1.0.1-r1.ebuild 891 EBUILD ctypes-1.0.1.ebuild 796 RMD160 1e4af810cab6c3a0ec7e58e17324c886894faebf SHA1 728dc246f4f5f78a8982cdb51dbc012dde64fc05 SHA256 362f47680b032d66a8ab78cf6d66fe0bfdb9c9583463433433e30214dc0b293b MD5 ab259eecb302f820879c3feb6106cfb2 ctypes-1.0.1.ebuild 796 RMD160 1e4af810cab6c3a0ec7e58e17324c886894faebf ctypes-1.0.1.ebuild 796 SHA256 362f47680b032d66a8ab78cf6d66fe0bfdb9c9583463433433e30214dc0b293b ctypes-1.0.1.ebuild 796 -MISC ChangeLog 2201 RMD160 dafb27de6d3890529817548f35781980c1dd2430 SHA1 d46b8533eca8e8003447cd36c836b0ed299d8581 SHA256 d3080093360ba7b0240a59c409323b748370d774afe5f7d6fd37cdaca984c0c1 -MD5 472b152f3ec9780cbf93ccf2d009028f ChangeLog 2201 -RMD160 dafb27de6d3890529817548f35781980c1dd2430 ChangeLog 2201 -SHA256 d3080093360ba7b0240a59c409323b748370d774afe5f7d6fd37cdaca984c0c1 ChangeLog 2201 +MISC ChangeLog 2515 RMD160 584d154761d2e84f32a5a9a34bd9ce5b6557eeb6 SHA1 b23d2be96af22fd8d525df0d011d02799ea17b3b SHA256 9b3e0ca92346c469e957d90bd693868a5360e09bfc0631c26c3c529ca6fc016a +MD5 bce9112aeefb30c7552ace8e96fc624c ChangeLog 2515 +RMD160 584d154761d2e84f32a5a9a34bd9ce5b6557eeb6 ChangeLog 2515 +SHA256 9b3e0ca92346c469e957d90bd693868a5360e09bfc0631c26c3c529ca6fc016a ChangeLog 2515 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 @@ -34,3 +45,13 @@ SHA256 8d85af69e175b2f9098fc7ae82a5e174509bde51381e5d41d5e7a89ed70e5353 files/di MD5 b06b52bfdce0f0d9e92b1a9d0f5bcb9c files/digest-ctypes-1.0.1 238 RMD160 d440da3f62150e01283ceb8e828e48bec7d012f4 files/digest-ctypes-1.0.1 238 SHA256 8e551770b4d2cd2787b63088237b360efbfc02d30a7399ee879f2a6aec4c2508 files/digest-ctypes-1.0.1 238 +MD5 b06b52bfdce0f0d9e92b1a9d0f5bcb9c files/digest-ctypes-1.0.1-r1 238 +RMD160 d440da3f62150e01283ceb8e828e48bec7d012f4 files/digest-ctypes-1.0.1-r1 238 +SHA256 8e551770b4d2cd2787b63088237b360efbfc02d30a7399ee879f2a6aec4c2508 files/digest-ctypes-1.0.1-r1 238 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFF+XoLUElL7eJpfEQRAp+VAJ0aDqhpOnGS97XGH7+CH5ks7JDowwCffw3f +GhYFBQ9lqCHkyzHGYGXchCk= +=etdC +-----END PGP SIGNATURE----- diff --git a/dev-python/ctypes/ctypes-1.0.1-r1.ebuild b/dev-python/ctypes/ctypes-1.0.1-r1.ebuild new file mode 100644 index 000000000000..57446e91375d --- /dev/null +++ b/dev-python/ctypes/ctypes-1.0.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ctypes/ctypes-1.0.1-r1.ebuild,v 1.1 2007/03/15 16:52:40 marienz Exp $ + +NEED_PYTHON=2.3 + +inherit distutils eutils + +DESCRIPTION="Python module allowing to create and manipulate C data types." +HOMEPAGE="http://starship.python.net/crew/theller/ctypes/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-execstack.patch" +} + +src_install() { + DOCS="ACKS ANNOUNCE" + distutils_src_install + + if use doc ; then + insinto /usr/share/doc/${PF}/manual + doins -r docs/manual/* + fi +} + +src_test() { + PYTHONPATH="$(ls -d build/lib.*)" "${python}" setup.py test || die "tests failed" +} diff --git a/dev-python/ctypes/files/ctypes-1.0.1-execstack.patch b/dev-python/ctypes/files/ctypes-1.0.1-execstack.patch new file mode 100644 index 000000000000..97e1dc46615e --- /dev/null +++ b/dev-python/ctypes/files/ctypes-1.0.1-execstack.patch @@ -0,0 +1,12 @@ +=== modified file 'source/libffi/src/x86/sysv.S' +--- source/libffi/src/x86/sysv.S 2007-03-15 16:39:56 +0000 ++++ source/libffi/src/x86/sysv.S 2007-03-15 16:40:23 +0000 +@@ -376,3 +376,7 @@ + #endif + + #endif /* ifndef __x86_64__ */ ++ ++#ifdef __ELF__ ++.section .note.GNU-stack,"",%progbits ++#endif + diff --git a/dev-python/ctypes/files/digest-ctypes-1.0.1-r1 b/dev-python/ctypes/files/digest-ctypes-1.0.1-r1 new file mode 100644 index 000000000000..c86709f7d2a0 --- /dev/null +++ b/dev-python/ctypes/files/digest-ctypes-1.0.1-r1 @@ -0,0 +1,3 @@ +MD5 bdc75102ebc533e1d708296a346cfee4 ctypes-1.0.1.tar.gz 384668 +RMD160 832c8de0c8490d0ead113ea651b3bdc27e494a63 ctypes-1.0.1.tar.gz 384668 +SHA256 ca52bc06634f750e10e989010412af56ce9f18b08a9d6d6ac8d984cddaf0ce90 ctypes-1.0.1.tar.gz 384668 -- 2.26.2