summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <smithdanea@gmail.com>2011-01-19 09:08:24 -0500
committerDane Smith <smithdanea@gmail.com>2011-01-19 09:08:24 -0500
commit2bbd8c6db094f1a50d1ce85a87f76142e12d779b (patch)
treea84017a6c78a71501b395740bac20551f26c90c6
parentTake 4 (diff)
downloadc1pher-2bbd8c6db094f1a50d1ce85a87f76142e12d779b.tar.gz
c1pher-2bbd8c6db094f1a50d1ce85a87f76142e12d779b.tar.bz2
c1pher-2bbd8c6db094f1a50d1ce85a87f76142e12d779b.zip
Take 5. Yay python.
-rw-r--r--dev-libs/cryptlib/Manifest2
-rw-r--r--dev-libs/cryptlib/files/cryptlib-3.4.0-python.patch39
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-libs/cryptlib/Manifest b/dev-libs/cryptlib/Manifest
index cd979f4..dea800d 100644
--- a/dev-libs/cryptlib/Manifest
+++ b/dev-libs/cryptlib/Manifest
@@ -1,7 +1,7 @@
AUX cryptlib-3.3.2-external-zlib.patch 1086 RMD160 9f9da93a99945d66302d3bb458029d815bcbf61c SHA1 c37209b57b2f8fdc32c5bff2be14116c373a91ae SHA256 ca7bf1670b83380e26a51f4dceb0684c2d0694338c509cc36bbb2bb6deb31f8c
AUX cryptlib-3.3.2-ld.patch 821 RMD160 391e5a689f906a858c20be3721ccc3c3c81faa15 SHA1 2fe7573d1cd3f9f2f7d6ec18568420ac01d288a7 SHA256 0e813cd10d11f0dcfb8420d5e8690bf682faeb50e83c221a7e5bd35d44eaab4f
AUX cryptlib-3.4.0-external-zlib.patch 1194 RMD160 e67b232ae57c43dde00dc79b48a78e52ed234798 SHA1 a69863fb2c290526360bd54405e94fc7efc158d8 SHA256 18cc9f193de28e7cfbf322d0ee47587fe334b2751bb397851b2b09b76f3c0c85
-AUX cryptlib-3.4.0-python.patch 435 RMD160 69a608afe061ce3577645b228119d25864fec162 SHA1 2f44acaa9d3f26561dcdd9ae30009369ed6bfa19 SHA256 2b21a7eb679e55ecb93d0e19ae31fd4b1d9ad9df301a51d88c0313f88d8b87a4
+AUX cryptlib-3.4.0-python.patch 1888 RMD160 9aa675d1a3fbb0a6aa2e9c5103ece9892454f611 SHA1 49379a91e29591106fd0723d4dba6dc34c3cc5f8 SHA256 1a857ff90e833e5f32a927f6568d63d616f82e3339691041562d89ea6692370f
DIST cl333.zip 4530664 RMD160 4c84557c088b114cdc81e36ed3cc29960b822698 SHA1 128d24c98f1406cb4ba547617a73ec1e254caf33 SHA256 93e790963a93dd97843bce73908768bcf391103ebf4d71c893d4d35a220d327e
DIST cl340.zip 5514751 RMD160 d38cf69841942670f84e4c2d64a708f5cb3d4299 SHA1 78f7599971c889a55346ddf858e3ef147a5270f0 SHA256 fff4cca9e70e579763882cd58bc8a5b36c52c20a7ace6c8b21c5e4e9e05fd9d5
DIST cryptlib-3.3.3-manual.pdf.bz2 1066618 RMD160 27f18912b4f0194b76ca3a9a53839ec028c2473b SHA1 a87611f8aa69117b9bc511bb6c865ab8d723a94b SHA256 a52b0a7ef4c7288442f3189e1050492fa9c6c5048a09ce5f161a2a402dd068da
diff --git a/dev-libs/cryptlib/files/cryptlib-3.4.0-python.patch b/dev-libs/cryptlib/files/cryptlib-3.4.0-python.patch
index afcbbed..e7aa413 100644
--- a/dev-libs/cryptlib/files/cryptlib-3.4.0-python.patch
+++ b/dev-libs/cryptlib/files/cryptlib-3.4.0-python.patch
@@ -9,3 +9,42 @@
+ libraries=['cl','resolv'])
setup(name="cryptlib_py", ext_modules=[ext])
+
+--- bindings/python.c 2010-11-30 18:35:52.000000000 -0500
++++ python.c.new 2011-01-19 09:05:43.000000000 -0500
+@@ -358,6 +358,7 @@
+ return(processStatus(status));
+ }
+
++/*
+ static PyObject* python_cryptGenerateKeyAsync(PyObject* self, PyObject* args)
+ {
+ int status = 0;
+@@ -396,6 +397,7 @@
+
+ return(processStatus(status));
+ }
++*/
+
+ static PyObject* python_cryptEncrypt(PyObject* self, PyObject* args)
+ {
+@@ -1429,9 +1431,9 @@
+ { "cryptDestroyContext", python_cryptDestroyContext, METH_VARARGS },
+ { "cryptDestroyObject", python_cryptDestroyObject, METH_VARARGS },
+ { "cryptGenerateKey", python_cryptGenerateKey, METH_VARARGS },
+- { "cryptGenerateKeyAsync", python_cryptGenerateKeyAsync, METH_VARARGS },
+- { "cryptAsyncQuery", python_cryptAsyncQuery, METH_VARARGS },
+- { "cryptAsyncCancel", python_cryptAsyncCancel, METH_VARARGS },
++// { "cryptGenerateKeyAsync", python_cryptGenerateKeyAsync, METH_VARARGS },
++// { "cryptAsyncQuery", python_cryptAsyncQuery, METH_VARARGS },
++// { "cryptAsyncCancel", python_cryptAsyncCancel, METH_VARARGS },
+ { "cryptEncrypt", python_cryptEncrypt, METH_VARARGS },
+ { "cryptDecrypt", python_cryptDecrypt, METH_VARARGS },
+ { "cryptSetAttribute", python_cryptSetAttribute, METH_VARARGS },
+@@ -4892,4 +4894,4 @@
+ v = Py_BuildValue("i", -50);
+ PyDict_SetItemString(moduleDict, "CRYPT_ENVELOPE_RESOURCE", v);
+ Py_DECREF(v); /* Need resource to proceed */
+-}
+\ No newline at end of file
++}