summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/python-gammu/ChangeLog8
-rw-r--r--dev-python/python-gammu/Manifest28
-rw-r--r--dev-python/python-gammu/files/digest-python-gammu-0.223
-rw-r--r--dev-python/python-gammu/files/python-gammu-0.22-fixups.patch41
-rw-r--r--dev-python/python-gammu/python-gammu-0.22.ebuild34
5 files changed, 105 insertions, 9 deletions
diff --git a/dev-python/python-gammu/ChangeLog b/dev-python/python-gammu/ChangeLog
index ab779e140e1f..92a865c45668 100644
--- a/dev-python/python-gammu/ChangeLog
+++ b/dev-python/python-gammu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/python-gammu
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gammu/ChangeLog,v 1.31 2007/08/22 07:14:01 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gammu/ChangeLog,v 1.32 2007/09/06 10:14:48 mrness Exp $
+
+*python-gammu-0.22 (06 Sep 2007)
+
+ 06 Sep 2007; Alin Năstac <mrness@gentoo.org>
+ +files/python-gammu-0.22-fixups.patch, +python-gammu-0.22.ebuild:
+ Version bump; fix several buffer overflows (#191303).
22 Aug 2007; Christian Faulhammer <opfer@gentoo.org>
python-gammu-0.21.ebuild:
diff --git a/dev-python/python-gammu/Manifest b/dev-python/python-gammu/Manifest
index f7e2d40493e1..8ab163f7f0c8 100644
--- a/dev-python/python-gammu/Manifest
+++ b/dev-python/python-gammu/Manifest
@@ -1,8 +1,13 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX python-gammu-0.22-fixups.patch 1396 RMD160 97e44e20eeb4666359dbb497cbe0eb48d7a6ab12 SHA1 01d1edfaa1afb22e73c4df3f69473418f89ab5de SHA256 f2a8079b822371a5771add2a4bbd10c5692e2f5d9bf1973d7983db3cf7f8a3fa
+MD5 1a085ff82504eb11ef1cba1c7a1e579e files/python-gammu-0.22-fixups.patch 1396
+RMD160 97e44e20eeb4666359dbb497cbe0eb48d7a6ab12 files/python-gammu-0.22-fixups.patch 1396
+SHA256 f2a8079b822371a5771add2a4bbd10c5692e2f5d9bf1973d7983db3cf7f8a3fa files/python-gammu-0.22-fixups.patch 1396
DIST python-gammu-0.20.tar.bz2 75901 RMD160 2176b2629d4d489337dbeb6b798b1107c17f41e6 SHA1 120a00e3b2adbd7188e2aa91e3da622a2214d757 SHA256 dbe695b806e222a7b6cd9bb98caaff20244215d534676b59174f9904533bc054
DIST python-gammu-0.21.tar.bz2 75504 RMD160 519ed7ba060b9613918b3ce2299ecf69569beb0d SHA1 dc463d6647726075adb0789ec8a0d8087ef744cd SHA256 134a6b7ddde2058f3e7ee25c0bf8722532b12385b72e6042dbb2ab32ab6be5f9
+DIST python-gammu-0.22.tar.bz2 76248 RMD160 1cdc232041dead0ea73dccb43eae0335b5b6694c SHA1 d9ca5f712dafa37d7460c60c6e1de94a3dbc110d SHA256 f06b4f66155b8de727ca598c64cfd0dd42c2e86ae60fa09dbf14d8b4d2dcc3d6
EBUILD python-gammu-0.20.ebuild 729 RMD160 9f75b2a308df524637fd1aa0e92f6f965c05da82 SHA1 2f740c8c0ab67954af873afd86ef2f6f9ddbe46b SHA256 a339001d0bf03b54eebd95d5b88a00f630d5f420da185eb1f411db202bfa9b76
MD5 756a980c99c688152cbeea03a5f25b6e python-gammu-0.20.ebuild 729
RMD160 9f75b2a308df524637fd1aa0e92f6f965c05da82 python-gammu-0.20.ebuild 729
@@ -11,10 +16,14 @@ EBUILD python-gammu-0.21.ebuild 728 RMD160 23363319adb8ada392e7e518ba1205594e10a
MD5 56b7f10c7ad566a812d6f3a4a72fc0ab python-gammu-0.21.ebuild 728
RMD160 23363319adb8ada392e7e518ba1205594e10a0f5 python-gammu-0.21.ebuild 728
SHA256 5b801456568574835c0c3f9e11de8458e9aa7e4790f110f4f91353ea842343fb python-gammu-0.21.ebuild 728
-MISC ChangeLog 4583 RMD160 9ed369359a21cab47651fbbe0903570925a2fd16 SHA1 156a655f147eb23077ba380fc6fbcfff67509c66 SHA256 c9faa8f7852ed7c02699235029ad76801815ee0f3137bb4915b3091dbbd4f79c
-MD5 999289f84512876ee3dd1fb5ed0eb144 ChangeLog 4583
-RMD160 9ed369359a21cab47651fbbe0903570925a2fd16 ChangeLog 4583
-SHA256 c9faa8f7852ed7c02699235029ad76801815ee0f3137bb4915b3091dbbd4f79c ChangeLog 4583
+EBUILD python-gammu-0.22.ebuild 809 RMD160 6085846ed73ffbb88410da4045cca899a63d56af SHA1 bcc9e3e4f7288ac0898ae276ec3501b1182e1f2e SHA256 b5adac0ace9dc4098f13094fb565846850f3bdd99665b8ff6c0085fd72b8a8b2
+MD5 727c5bfc361a1c727ec2a076f920bd0b python-gammu-0.22.ebuild 809
+RMD160 6085846ed73ffbb88410da4045cca899a63d56af python-gammu-0.22.ebuild 809
+SHA256 b5adac0ace9dc4098f13094fb565846850f3bdd99665b8ff6c0085fd72b8a8b2 python-gammu-0.22.ebuild 809
+MISC ChangeLog 4791 RMD160 bc6a46905cadc5b3495e1a66348bc2e6f1eb6c98 SHA1 68cac29140464590676b647e198be49836092bfe SHA256 d549463ccc91b9c26400cfa695df0048a96645e19a64f31d5242a0fa504b2b4c
+MD5 c92c61337c7bd0fb0ab5c3dbb0508b65 ChangeLog 4791
+RMD160 bc6a46905cadc5b3495e1a66348bc2e6f1eb6c98 ChangeLog 4791
+SHA256 d549463ccc91b9c26400cfa695df0048a96645e19a64f31d5242a0fa504b2b4c ChangeLog 4791
MISC metadata.xml 428 RMD160 4d1259a6994a961c9449cf20d73cd6f9d3dd53cf SHA1 eebd13cf4d71645a8eec905ef835afca5e74bd24 SHA256 545d4085e31ad71e4a44ea4aeb31cd07bc342f9417ab398e1ca797e34f84ded8
MD5 75f04bb37618ce7e210781d51af9b582 metadata.xml 428
RMD160 4d1259a6994a961c9449cf20d73cd6f9d3dd53cf metadata.xml 428
@@ -25,10 +34,13 @@ SHA256 d609a0b5ad1d82f68a314c0099b43f7e106e24b460b2488722d3df00a9f1338f files/di
MD5 5ae36f6dfc0ba6d8e2e0b9b0d5287a4b files/digest-python-gammu-0.21 253
RMD160 2883a68d70a552f1246a09f223bd741426312c58 files/digest-python-gammu-0.21 253
SHA256 a3271c1a1b81416f8893345a27b96eb3903b87281914c8905e685d63b3f8ce45 files/digest-python-gammu-0.21 253
+MD5 1c2e4aaaaac4ff1a8fb844985566b2a4 files/digest-python-gammu-0.22 253
+RMD160 980179344c6f6474c195ea64f67315d8f5bfd74c files/digest-python-gammu-0.22 253
+SHA256 765637bba3d5ff7ad71a02b4a5cbf85e6944b2c99d0dd1a1b84d33b62dd42bb0 files/digest-python-gammu-0.22 253
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (GNU/Linux)
+Version: GnuPG v2.0.5 (GNU/Linux)
-iD8DBQFGy+I/NQqtfCuFneMRAqCVAJ4vbKy0h/sEDiDx+RD9FQN+9XEwAgCgga6C
-xv61V+eKmwpZwxMyQbMVe+U=
-=ES7L
+iD8DBQFG39MuVSA5X31g7/gRApJ4AKCn9J/1HG2WP3MVlOVwgT1Is2v+dgCfYxoB
+zfGD29qPEYeAQMZqvc1XDVw=
+=knIo
-----END PGP SIGNATURE-----
diff --git a/dev-python/python-gammu/files/digest-python-gammu-0.22 b/dev-python/python-gammu/files/digest-python-gammu-0.22
new file mode 100644
index 000000000000..fd839a417b61
--- /dev/null
+++ b/dev-python/python-gammu/files/digest-python-gammu-0.22
@@ -0,0 +1,3 @@
+MD5 93e7399c7c0a9e7d1a5d1f3dcd6a8236 python-gammu-0.22.tar.bz2 76248
+RMD160 1cdc232041dead0ea73dccb43eae0335b5b6694c python-gammu-0.22.tar.bz2 76248
+SHA256 f06b4f66155b8de727ca598c64cfd0dd42c2e86ae60fa09dbf14d8b4d2dcc3d6 python-gammu-0.22.tar.bz2 76248
diff --git a/dev-python/python-gammu/files/python-gammu-0.22-fixups.patch b/dev-python/python-gammu/files/python-gammu-0.22-fixups.patch
new file mode 100644
index 000000000000..3e7afd108079
--- /dev/null
+++ b/dev-python/python-gammu/files/python-gammu-0.22-fixups.patch
@@ -0,0 +1,41 @@
+diff -Nru python-gammu-0.22.orig/gammu.c python-gammu-0.22/gammu.c
+--- python-gammu-0.22.orig/gammu.c 2007-08-01 16:06:31.000000000 +0300
++++ python-gammu-0.22/gammu.c 2007-09-06 13:09:52.000000000 +0300
+@@ -819,7 +819,7 @@
+ static PyObject *
+ StateMachine_GetManufacturer(StateMachineObject *self, PyObject *args, PyObject *kwds) {
+ GSM_Error error;
+- char value[100];
++ char value[GSM_MAX_MANUFACTURER_LENGTH];
+
+ if (!PyArg_ParseTuple(args, ""))
+ return NULL;
+@@ -847,7 +847,7 @@
+ static PyObject *
+ StateMachine_GetModel(StateMachineObject *self, PyObject *args, PyObject *kwds) {
+ GSM_Error error;
+- char value[100];
++ char value[GSM_MAX_MODEL_LENGTH];
+
+ if (!PyArg_ParseTuple(args, ""))
+ return NULL;
+@@ -875,8 +875,8 @@
+ static PyObject *
+ StateMachine_GetFirmware(StateMachineObject *self, PyObject *args, PyObject *kwds) {
+ GSM_Error error;
+- char firmware[100];
+- char date[100];
++ char firmware[GSM_MAX_VERSION_LENGTH];
++ char date[GSM_MAX_VERSION_DATE_LENGTH];
+ double ver;
+
+ if (!PyArg_ParseTuple(args, ""))
+@@ -908,7 +908,7 @@
+ static PyObject *
+ StateMachine_GetIMEI(StateMachineObject *self, PyObject *args, PyObject *kwds) {
+ GSM_Error error;
+- char value[100];
++ char value[GSM_MAX_IMEI_LENGTH];
+
+ if (!PyArg_ParseTuple(args, ""))
+ return NULL;
diff --git a/dev-python/python-gammu/python-gammu-0.22.ebuild b/dev-python/python-gammu/python-gammu-0.22.ebuild
new file mode 100644
index 000000000000..bf1975f7a2cd
--- /dev/null
+++ b/dev-python/python-gammu/python-gammu-0.22.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gammu/python-gammu-0.22.ebuild,v 1.1 2007/09/06 10:14:48 mrness Exp $
+
+inherit distutils eutils
+
+DESCRIPTION="Python bindings for Gammu"
+HOMEPAGE="http://www.cihar.com/gammu/python/"
+SRC_URI="ftp://dl.cihar.com/python-gammu/v0/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=app-mobilephone/gammu-1.13.0"
+DEPEND="dev-util/pkgconfig
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}"/${P}-fixups.patch
+}
+
+src_install() {
+ DOCS="AUTHORS NEWS"
+ distutils_src_install
+
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.py
+ insinto /usr/share/doc/${PF}/examples/data
+ doins examples/data/*
+}