summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2007-05-28 19:04:57 +0000
committerMarien Zwart <marienz@gentoo.org>2007-05-28 19:04:57 +0000
commite76e8060ff28acda2682890c43e8c6987cf44149 (patch)
tree431afba6357cbf4a04ea683d49e6737f9d1091c6 /dev-python/pypam/files
parentfixed mirror:// in SRC_URI (diff)
downloadgentoo-2-e76e8060ff28acda2682890c43e8c6987cf44149.tar.gz
gentoo-2-e76e8060ff28acda2682890c43e8c6987cf44149.tar.bz2
gentoo-2-e76e8060ff28acda2682890c43e8c6987cf44149.zip
New ebuild, thanks to gentoofan23 on freenode for testing.
(Portage version: 2.1.2.8)
Diffstat (limited to 'dev-python/pypam/files')
-rw-r--r--dev-python/pypam/files/digest-pypam-0.5.03
-rw-r--r--dev-python/pypam/files/pypam-0.5.0-python-2.5.patch13
-rw-r--r--dev-python/pypam/files/pypam-0.5.0-stricter.patch17
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pypam/files/digest-pypam-0.5.0 b/dev-python/pypam/files/digest-pypam-0.5.0
new file mode 100644
index 000000000000..8600b6e9f187
--- /dev/null
+++ b/dev-python/pypam/files/digest-pypam-0.5.0
@@ -0,0 +1,3 @@
+MD5 f1e7c2c56421dda28a75ace59a3c8871 PyPAM-0.5.0.tar.gz 105206
+RMD160 e54388742bd5cdbf8fc663980f4cfbdc516b5845 PyPAM-0.5.0.tar.gz 105206
+SHA256 796ac019b9ee805696d0d277d8fb912fa2391b6ac070dc6f9f1a9a0fadbc3a5a PyPAM-0.5.0.tar.gz 105206
diff --git a/dev-python/pypam/files/pypam-0.5.0-python-2.5.patch b/dev-python/pypam/files/pypam-0.5.0-python-2.5.patch
new file mode 100644
index 000000000000..687e2f200426
--- /dev/null
+++ b/dev-python/pypam/files/pypam-0.5.0-python-2.5.patch
@@ -0,0 +1,13 @@
+=== modified file 'PAMmodule.c'
+--- PAMmodule.c 2007-05-28 17:50:59 +0000
++++ PAMmodule.c 2007-05-28 17:56:02 +0000
+@@ -541,7 +541,7 @@
+ pam_end(self->pamh, PAM_SUCCESS);
+ dlclose(self->dlh2);
+ dlclose(self->dlh1);
+- PyMem_DEL(self);
++ PyObject_FREE(self);
+ }
+
+ static PyObject * PyPAM_getattr(PyPAMObject *self, char *name)
+
diff --git a/dev-python/pypam/files/pypam-0.5.0-stricter.patch b/dev-python/pypam/files/pypam-0.5.0-stricter.patch
new file mode 100644
index 000000000000..9984cf8d99ee
--- /dev/null
+++ b/dev-python/pypam/files/pypam-0.5.0-stricter.patch
@@ -0,0 +1,17 @@
+=== modified file 'PAMmodule.c'
+--- PAMmodule.c 2007-05-28 17:50:59 +0000
++++ PAMmodule.c 2007-05-28 18:13:33 +0000
+@@ -9,10 +9,11 @@
+
+ static char revision[] = "$Id: pypam-0.5.0-stricter.patch,v 1.1 2007/05/28 19:04:57 marienz Exp $";
+
++#include <Python.h>
+ #include <security/pam_appl.h>
+ #include <security/pam_misc.h>
+-#include <Python.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <dlfcn.h>
+
+ static PyObject *PyPAM_Error;
+