add missing files to the tree
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
AUX gsoap-2.7-fedora-openssl.patch 850 RMD160 4a94ab9bddcc051b8d20669f46560c3ac9082100 SHA1 e082c6dc34ec556c204109ffd7db51dac9284cae SHA256 b0f8a68ab5f9121fd1c7a6813ef7d0bfb3b5d57b4b480d8c7c6cef027abed3ac
|
||||
AUX gsoap-2.7-fix-pre-iso-headers.patch 3599 RMD160 156c6dab53794b97df7dbff3994ef1c30e76618f SHA1 682460d8aa20c7f01dc214f8c8a19042aa568822 SHA256 bcf80dcd8746b65fcc5aeef9898cc0e94f2f1796fae782157163861ced2d0581
|
||||
AUX gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch 614 RMD160 012a2f1f66cd201121697aa89918e752d2223268 SHA1 515d53833680a2eed65382574e83c8fd856894ca SHA256 5964ea1b815bc5382cabc6f1235fd0a4c4c313e07d1d4452eecde0a04c9fda40
|
||||
AUX gsoap-2.7.15-use_libtool.patch 4790 RMD160 ca5cdee078b3f326bd69b44a016760cbe35f45d8 SHA1 25fcecd21bdc45f8583d60684fb4512663cb5244 SHA256 e4129e70ec9833720b07efacc35d3834cee125c75f18a548de1aae5e3e9c5bbc
|
||||
DIST gsoap_2.7.17.zip 10224444 RMD160 3f947cbc5e1656dd82b8c6425816cfaf08063c19 SHA1 573a08ab7d8ca2d970158911482c308484fdd5ed SHA256 d3af1ce9464b28cacdf1dfbe09b689f8927cbcf3948479996aef52a39afa2c16
|
||||
DIST gsoap_2.8.0.zip 10776994 RMD160 eb47fbbf8e74ba5b6c97b694730658b27c03ba4f SHA1 e6363871fa0401090f3bd08bcd532c2e39a5d551 SHA256 48dd009fed0ac361c669dab17e543184909d0567175d8be4af5afc7849d314e6
|
||||
DIST gsoap_2.8.1.zip 10954908 RMD160 fad35d36c6fa98c1409bbb01e3bf42cc62eb43a2 SHA1 da9a1cc8128ed56fc290f22c81b978ac830b8445 SHA256 1b80b04712aa5170a9fa5a88cc4debb489c38dcd0225093c45e99d3141666bae
|
||||
DIST gsoap_2.8.2.zip 10697087 RMD160 042fa5fd2e1d7069017a23910cb71d344212fe02 SHA1 199b7d4cf0b6a5bf81a2198e39f03c092ffc05a7 SHA256 0ab988dc5e7c39b1d106d29e782e1eee5f173dca0f93b6c73c9be011c2b315dd
|
||||
DIST gsoap_2.8.3.zip 11363042 RMD160 e23eb6d453e219f441491ecddda57ecf84b315fa SHA1 55677239751253b48f448eb30a7585df97cba486 SHA256 8db87a63ae7eebebe1782a5a2389997a93be9357ca514733c94f25836c6acfc5
|
||||
EBUILD gsoap-2.7.17-r1.ebuild 1729 RMD160 7bde896284431568778c500582fcfddbddc560fe SHA1 86b5af129a243f3d96f7c4080305f3fb1c79fea4 SHA256 46863048061daf49dd86bf0df9828d8f10416d5e89c81260b0d0312072576a2a
|
||||
EBUILD gsoap-2.8.0-r1.ebuild 1756 RMD160 911f34239f5a2199a3dd6c1656f79af54b8868a9 SHA1 44eefc58bad856797bdf18fec4cb9f08aff4a884 SHA256 920bb7445a84007834fe34768905b82057014ac1407e13e9687b67e9ba9ee865
|
||||
EBUILD gsoap-2.8.1-r1.ebuild 1698 RMD160 a2f33900e9c260d37b3879cd8e9fc4910bbef94a SHA1 1828c470343dbab1898aee634f582caa8424260c SHA256 9132a6b33636ad766d21e6f83b04856c3b9342eeb877998404308357d0e8f0e7
|
||||
EBUILD gsoap-2.8.2-r1.ebuild 1698 RMD160 a2f33900e9c260d37b3879cd8e9fc4910bbef94a SHA1 1828c470343dbab1898aee634f582caa8424260c SHA256 9132a6b33636ad766d21e6f83b04856c3b9342eeb877998404308357d0e8f0e7
|
||||
EBUILD gsoap-2.8.3-r1.ebuild 1934 RMD160 b016f9b1b26addb60570e2be20d6f5ca2529c7fa SHA1 b160c625cfb55c90fa426b98c4457167fa246f0a SHA256 a53d234130b2f78a68fcddce07887eaedbab7d15f1a9118f70be4618d2390c94
|
||||
MISC ChangeLog 3318 RMD160 19a4def3d56d9d6e8a9b3e5146f7e6e534643e15 SHA1 8ed29ff8271ae4ef7b849fdb9f8fa4918e3c8108 SHA256 f8cf9ebc77e0cb269f8385ae4e29e9a185216f2ab8bbddabc1be43763ab87dca
|
||||
MISC metadata.xml 532 RMD160 6ef28bd3af65d98c51696bb9c4e3fd2d653f62df SHA1 f655ab4efbf1af4b9acd99a8c3b3767f07b8fa1c SHA256 bc34d15c6890718544dec4bb32057b9706376c02fd8de390d74bb21c4d45ce3d
|
||||
AUX 2.7.9/autotools_update-2.7.9k.patch 2209360 SHA256 a0e66f1fcd901ca83f7142087e1d4ac82a4721e1be16eceebae9a49d63f1c914 SHA512 90d348de28be6b0b7389de019a3b9468c8776dca79751d36e551f74b34a20e422442e116234f58e7850337099933d14e253382c73fd6efbb3ec64ac1c9e3720b WHIRLPOOL ffa9b4e9340c8fd80c921077535fa733646bc6397335f9394fadb96bc26c29aa3fa5685baf28c424d1a1a5aaa2b560da728af38572e67aa89cb8ac91753650fe
|
||||
AUX 2.7.9/gsoap-2.7-fedora-openssl.patch 845 SHA256 afaa696739a70a515badabb3db93aaa90c95b682ac849880b33b16d3d745b829 SHA512 e2b93a3afdf702f3085593ab65fed3db42b82b1f289e3a3081b4e6ac55a882bb9576da38f86812f25e5fc9b4b8f46ae6a9878116208f93a679fdf5f15f0eeb91 WHIRLPOOL 1fb2f3606e36a0300431a8c73871da4a516e53afe836af9764bde6dcb604896dc1e1fd17cd7db38cbdc98c10a161c9aa70350be853d8c5098e3698f14ba8a23f
|
||||
AUX 2.7.9/import_dom_h-2.7.9l.patch 2700 SHA256 c55d2c4b8980f9532fde2a1cdc4ed5e30eb43e2f2a8abef7056ba41e15721c13 SHA512 f0c21b6c85eec87715989aef927f8358587279785c18cad5d14d2583a066d8938aab5549b48c63be84afc00b7d132d8dcb2dea689b090cff37aa03658f2bc3a6 WHIRLPOOL 0d4681aad5adfbf06afa211b9175c4b8fa7c55b1817c1771ffbd6bf90651539c985d140a842e690bdc71bd548d6f7360fb6d4922cc5fca34dde9128f55043bf1
|
||||
AUX 2.7.9/makefile_defines-2.7.9k.patch 819 SHA256 96d9133577c1c4b167245ccf5af3bc5b64e185bd6628399e254f3cccf9a1b337 SHA512 f8ae912985d9e96135faf24262cb77631cfaf921f25720a457f2da677e1cc78beed978be8390f34b496dd28504a64e24329656abc07bacff696da4fe7bea4cc7 WHIRLPOOL 8022d4dcbcd9fa09c2f7b18040b2ab91de2490f3e2dd28caf76d46ccacdce9594860cbf64552a6de1033e7cde8fbda9e5dffa4bb30a563bf80a3e6c3036be5ef
|
||||
AUX gsoap-01-sharedlibs.diff 5638 SHA256 6ce7136559f44d4c51754886b52deafc4c4f891124be84b689332ea6a825fe15 SHA512 c5d411d7be0fd722d75286d8b15d424fba6989115de5bf00cfc5017345668cc5f529b8690728c3e7828ed9af9b2b00c726506175698ee4561bf39d70ad9b5786 WHIRLPOOL a6bd97dc20ea784dadb1f10a7c4f21246d582ed3c7a5d9bc87de3027372484f00288e9693e53910fd4a16a9bee7c0c66694c13fcdeaf6cbfcb5ca3a5f589750c
|
||||
AUX gsoap-02-typepuns.diff 788 SHA256 0272a9a035e5f7db7d3f05b025358717eaa443537f89288b2e60a807afbcdc63 SHA512 1afeb4fe35a949650d6d44eb1900d4c0685ffaa75d8bae6bfed13d091716dc1bbeb5f9aba85c2132d8fd20f59bc0090b5f4458bbd51c7152b4b973838084f3ff WHIRLPOOL e95de7d579d95be948c99957418544607ed09a4b7d6ba18a91550b0eb38a56fde467e605dbdb81318362778f32fe4c537387ae2fb4474265ee5fe30adbb009b2
|
||||
AUX gsoap-03-initext.diff 981 SHA256 e9941f44b2cc8345bbde01acbcef4affdb40d7e6c799430caa2c8b67763bf27c SHA512 a856fe1b735f5ba0af340b48f46f6452fede9225a1e6231a3eacb8741acbd29621a4886d5ea40a462b698e3722694a052add05770b01d84afe2bc216afc7cf71 WHIRLPOOL 3463243e5887b6a795449b63566cb559a47bb8779fb7ed8cadb589ef36af90db7a5804b973de3de74cd9a2f0e1fdf6394eae9753733bf3434bb7aaeecccf1ef0
|
||||
AUX gsoap-04-local.diff 2316 SHA256 bcab0ee66557448f0e935e7da1b59e0d59de91f613bfe8e1e1689c4b3eb8dcc2 SHA512 daf4f8def714631110817737c8c29e1a49caef28748b404a330d8137a1b6abf16fc1f2f5b4f40a2d6c3c9e16e2de24bfeb4ba4252296269d49597ebe487799ed WHIRLPOOL b941d124f8b38da5fff3aa1bba2e31ea791c7291cd3211124ef873b0b8d8dc288243aec1b60c6138c3dcf4ca3ab4335a24c2d642e4eba0076be42586c4893adf
|
||||
AUX gsoap-2.7-fedora-openssl.patch 850 SHA256 b0f8a68ab5f9121fd1c7a6813ef7d0bfb3b5d57b4b480d8c7c6cef027abed3ac SHA512 526161e5354bc9699a54e67505354f2c34ffde44a9b57200aa84e8cc4191ab359a153bc9b355171688466caefeec797d323f0712deebb2bf8b4dcc153522bd4a WHIRLPOOL a860fdcb59198312b88ad4d3b29493aaa6075ac85c5ab66eeb09c9a3677fefdb9058660fa0076bd3c2dcccc3916d635754c35d8fdd4c972b1613e48a7fd3673c
|
||||
AUX gsoap-2.7-fix-pre-iso-headers.patch 3599 SHA256 bcf80dcd8746b65fcc5aeef9898cc0e94f2f1796fae782157163861ced2d0581 SHA512 a3c88971563e6aa1f001a5fc16dc65bec0be861cdb0b28602f62f771c70e340ef4f584cb24ac72f7ee1e949f81d41bcc757174ac7e79f2fa524120a1dfbd3ef1 WHIRLPOOL e1f27a0dce2ab10b4ec2a987829b4de7620784c041e43ead9aedd17a8d037fcd7003b9cda78b0df1c1ca2af5242d6bb42a0eb60429c3b4246d005a44ac0fd8aa
|
||||
AUX gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch 614 SHA256 5964ea1b815bc5382cabc6f1235fd0a4c4c313e07d1d4452eecde0a04c9fda40 SHA512 7a63d83db669ea0eba5dd43fb7a65e8a8b6bf6d397bf3884ab84eb5661f2b4fb0f19a9aead2851772d3d84e6b2ec470b67a2589f82fa28f7a27cb9b59d7890d8 WHIRLPOOL 8ccc13b32b1cd5c37e8863429039a7cf8f60b369469226ceef4a9f0a0d398fee0512d6fc8445f0519c66ca778847e6e96827cd4141aabc29457487388cd7c0f3
|
||||
AUX gsoap-2.7.15-use_libtool.patch 4790 SHA256 e4129e70ec9833720b07efacc35d3834cee125c75f18a548de1aae5e3e9c5bbc SHA512 6ac74544e0566767ab30cc652ce0d7c559db1303a48f373638f97c54f6e9960733ed6e7e3ae4db1ff6ad5e911259bebca521d57f413ce597a69af6423eea4ce7 WHIRLPOOL cb5ee234bdc05b98b1a03d3d4959f3aed2bd1c8ec0fde67cac930d8caf4a6164ba3e352d7be6e1951111f67ff469b9b900974f18bc0cf816867994369534fc7b
|
||||
DIST gsoap_2.7.17.zip 10224444 SHA256 d3af1ce9464b28cacdf1dfbe09b689f8927cbcf3948479996aef52a39afa2c16 SHA512 efb5332e90cbed6013ac2f16b940404cc4de9e84bc85e671cb3588bc6620cd86c8db646a4f3cd77bb3b866dfcc8a793186736ab2241bb8cbaca8d313345d14ac WHIRLPOOL 955e845b5a8b9af1697ca8bcdbb77813f149f7ff162ec51e680c398dab9934c36418572004b7bd24200476b6d45b623f294053b932da2fce94f415becd369af7
|
||||
DIST gsoap_2.7.9l.tar.gz 4787311 SHA256 b866cd1c73212bb82c202e12a2bac4ff6907a22d99d1a5bead7df8e8718b8552 SHA512 8216abd4d7aa216fa25080397a77cb88f2d9507f97f1021627010092b0c5f02513fad08c958ad1cdcc3acf3d783fe441f064778e9e487a11b19f1e4cd6ad3972 WHIRLPOOL faf0f92b5546923cf55a1c3bb40943cf5dc84edcb5924279fe3382440acd68a24dfcda96fb44de9dcab3e5d6ae70058d7a6d84c03bf58edbc0a4750b3b7738fe
|
||||
EBUILD gsoap-2.7.17-r1.ebuild 1729 SHA256 46863048061daf49dd86bf0df9828d8f10416d5e89c81260b0d0312072576a2a SHA512 ac7e7d0ea2cbdf0616537ac48f3e13edc5775bcf6e73ede2f8458bcff6c487cb42abe1ae488d561f46be636ce4f9d502e59dbe34c67bdd019cbee909b53d2088 WHIRLPOOL 873e5637c406bf7264122a421ac7f71807897d7b129dcceb20a6aaf5d226d05fe844eebcd95a515a4cc2fecfe6889622eb2c37514a840ac2438f4c4ad276cda2
|
||||
EBUILD gsoap-2.7.9l-r1.ebuild 1993 SHA256 894e5c73b031aaae91b53abe9681a336464d6ec316ad48fb9c15544f64ece9bb SHA512 838a15c4ba9a5d2fd98d32966b7f3cad8b1cd2a241b3e2f41592dacc6e207bd0e66f57ba8622ca410d10e303b3483c2aec887137bcdd0e9714b7d48d79255e80 WHIRLPOOL b267e243e1b30e4e46cdb7a1135729e47a59059a068589f53dda373a6d7b1f2962992e4055eb988a63d4182e25b8813d0c6700662ec005ad25f4f99625d4c48f
|
||||
MISC ChangeLog 3318 SHA256 f8cf9ebc77e0cb269f8385ae4e29e9a185216f2ab8bbddabc1be43763ab87dca SHA512 613eb830bda75bc25e2470588bea961772f74ef97c92d8ffd2cc37bc5689e171f2e2e3e75df3420b7b466f54d861d31509b56362cf523ff972a534215d400322 WHIRLPOOL d616ba46afeafe825b8c0607672e325950fbb878d115b36075178168cc87f9573b5d314fb1c6e4b7c2e229de16d89768efd79d1d029516b90285c229de3a2b84
|
||||
MISC metadata.xml 532 SHA256 bc34d15c6890718544dec4bb32057b9706376c02fd8de390d74bb21c4d45ce3d SHA512 6519a7a30b60eab97cd508835caf6364b54dc66cd76eac38c6b7c722b3ab5afefcc5c738938f0f9288e972da8bf4ea21bda01302a1cdad53931e11116a8c6250 WHIRLPOOL 762565d7fbeeaaa8a5e67a5bf7b337ba3a5c1ff27f456cf43f2ca393affb39008768d928f8f8051092eb9366174503cb764f63076266a119087e92f2a6ea4317
|
||||
|
||||
64087
net-libs/gsoap/files/2.7.9/autotools_update-2.7.9k.patch
Normal file
64087
net-libs/gsoap/files/2.7.9/autotools_update-2.7.9k.patch
Normal file
File diff suppressed because it is too large
Load Diff
17
net-libs/gsoap/files/2.7.9/gsoap-2.7-fedora-openssl.patch
Normal file
17
net-libs/gsoap/files/2.7.9/gsoap-2.7-fedora-openssl.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
diff -uNr gsoap-2.7.orig//soapcpp2/stdsoap2.cpp gsoap-2.7/soapcpp2/stdsoap2.cpp
|
||||
--- gsoap-2.7.orig//soapcpp2/stdsoap2.cpp 2011-09-03 07:03:34.532000130 +0200
|
||||
+++ gsoap-2.7/soapcpp2/stdsoap2.cpp 2011-09-03 07:11:26.218000131 +0200
|
||||
@@ -4001,7 +4001,12 @@
|
||||
{ X509_EXTENSION *ext = X509_get_ext(peer, i);
|
||||
const char *ext_str = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext)));
|
||||
if (ext_str && !strcmp(ext_str, "subjectAltName"))
|
||||
- { X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext);
|
||||
+ {
|
||||
+#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
||||
+ const X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext);
|
||||
+#else
|
||||
+ X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext);
|
||||
+#endif
|
||||
void *ext_data;
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x0090800fL)
|
||||
const unsigned char *data;
|
||||
63
net-libs/gsoap/files/2.7.9/import_dom_h-2.7.9l.patch
Normal file
63
net-libs/gsoap/files/2.7.9/import_dom_h-2.7.9l.patch
Normal file
@@ -0,0 +1,63 @@
|
||||
--- gsoap-2.7/soapcpp2/import/dom.h 2007-05-02 09:00:15.000000000 -0500
|
||||
+++ gsoap-2.7mf/soapcpp2/import/dom.h 2007-09-30 19:10:22.000000000 -0500
|
||||
@@ -69,32 +69,35 @@ file, import the dom.h file into your he
|
||||
#import "dom.h"
|
||||
@endcode
|
||||
|
||||
-By importing dom.h a special data type @ref xsd__anyType is available that
|
||||
-represents a hierarchical DOM node set. The DOM node set data structure can be
|
||||
-used within structs, classes, STL containers, and as arguments of service
|
||||
-operations. For example:
|
||||
+By importing dom.h two special data types @ref xsd__anyType and @ref
|
||||
+xsd__anyAttribute are available representing a hierarchical DOM node set of
|
||||
+elements and attributes, respectively. The DOM node element and attribute data
|
||||
+structures can be used within structs, classes, STL containers, and as
|
||||
+arguments of service operations. For example:
|
||||
|
||||
@code
|
||||
#import "dom.h"
|
||||
#import "wsu.h"
|
||||
class ns__myProduct
|
||||
{ public:
|
||||
- @char* wsu__Id;
|
||||
- _wsu__Timestamp* wsu__Timestamp;
|
||||
- char* name;
|
||||
- int SKU;
|
||||
- double price;
|
||||
- xsd__anyType* any;
|
||||
- ns__myProduct();
|
||||
- ~ns__myProduct();
|
||||
+ @char* wsu__Id;
|
||||
+ @xsd__anyAttribute atts;
|
||||
+ _wsu__Timestamp* wsu__Timestamp;
|
||||
+ char* name;
|
||||
+ int SKU;
|
||||
+ double price;
|
||||
+ xsd__anyType* elts;
|
||||
+ ns__myProduct();
|
||||
+ ~ns__myProduct();
|
||||
};
|
||||
@endcode
|
||||
|
||||
It is important to declare the @ref xsd__anyType at the end of the struct or
|
||||
-class, since the DOM parser consumes any XML element (the field name, 'any' in
|
||||
+class, since the DOM parser consumes any XML element (the field name, 'elts' in
|
||||
this case, is irrelavant). Thus, the other fields must be defined first to
|
||||
ensure they are populated first before the DOM node set is populated with any
|
||||
-non-previously matched XML element.
|
||||
+non-previously matched XML element. Likewise, the @ref xsd__anyAttribute member
|
||||
+should be placed after the other attributes.
|
||||
|
||||
Note that we also imported wsu.h as an example to show how to add a wsu:Id
|
||||
attribute to a struct or class if we want to digitally sign instances, and how
|
||||
@@ -625,6 +628,9 @@ The @ref soap_dom_attribute constructors
|
||||
|
||||
*/
|
||||
|
||||
-/// @brief The custom serializer for DOM nodes is represented by xsd__anyType.
|
||||
+/// @brief The custom serializer for DOM element nodes is represented by xsd__anyType.
|
||||
extern typedef struct soap_dom_element xsd__anyType;
|
||||
|
||||
+/// @brief The custom serializer for DOM attribute nodes is represented by xsd__anyAttribute.
|
||||
+extern typedef struct soap_dom_attribute xsd__anyAttribute;
|
||||
+
|
||||
19
net-libs/gsoap/files/2.7.9/makefile_defines-2.7.9k.patch
Normal file
19
net-libs/gsoap/files/2.7.9/makefile_defines-2.7.9k.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
--- gsoap-2.7/soapcpp2/samples/Makefile.defines 2007-04-21 20:56:38.000000000 -0500
|
||||
+++ gsoap-2.7mf/soapcpp2/samples/Makefile.defines 2007-09-11 11:46:14.000000000 -0500
|
||||
@@ -14,12 +14,12 @@ SOAP_FLAGS=-I$(top_srcdir)/soapcpp2/impo
|
||||
|
||||
SOAP_C_CLIENT=soapClient.c soapC.c
|
||||
SOAP_C_SERVER=soapServer.c soapC.c
|
||||
-SOAP_C_LIB=$(top_builddir)/soapcpp2/libgsoap.a
|
||||
-SOAP_C_LIB_CK=$(top_builddir)/soapcpp2/libgsoapck.a
|
||||
+SOAP_C_LIB=$(top_builddir)/soapcpp2/libgsoap.la
|
||||
+SOAP_C_LIB_CK=$(top_builddir)/soapcpp2/libgsoapck.la
|
||||
|
||||
SOAP_CPP_CLIENT=soapClient.cpp soapC.cpp
|
||||
SOAP_CPP_SERVER=soapServer.cpp soapC.cpp
|
||||
-SOAP_CPP_LIB=$(top_builddir)/soapcpp2/libgsoap++.a
|
||||
-SOAP_CPP_LIB_CK=$(top_builddir)/soapcpp2/libgsoapck++.a
|
||||
+SOAP_CPP_LIB=$(top_builddir)/soapcpp2/libgsoap++.la
|
||||
+SOAP_CPP_LIB_CK=$(top_builddir)/soapcpp2/libgsoapck++.la
|
||||
|
||||
|
||||
121
net-libs/gsoap/files/gsoap-01-sharedlibs.diff
Normal file
121
net-libs/gsoap/files/gsoap-01-sharedlibs.diff
Normal file
@@ -0,0 +1,121 @@
|
||||
From: Jan Engelhardt <jengelh@medozas.de>
|
||||
Date: 2011-07-01 17:19:00 +0200
|
||||
|
||||
build: always use shared libraries
|
||||
|
||||
---
|
||||
configure.in | 9 ++++-----
|
||||
gsoap/Makefile.am | 32 +++++++++++++++++++-------------
|
||||
gsoap/samples/autotest/Makefile.am | 2 +-
|
||||
gsoap/samples/databinding/Makefile.am | 2 +-
|
||||
4 files changed, 25 insertions(+), 20 deletions(-)
|
||||
|
||||
Index: gsoap-2.8.3/configure.in
|
||||
===================================================================
|
||||
--- gsoap-2.8.3.orig/configure.in
|
||||
+++ gsoap-2.8.3/configure.in
|
||||
@@ -16,8 +16,7 @@ AM_PROG_CC_C_O
|
||||
AM_PROG_LEX
|
||||
AC_PROG_YACC
|
||||
AC_PROG_CPP
|
||||
-AC_PROG_RANLIB
|
||||
-#AC_PROG_LIBTOOL
|
||||
+LT_INIT
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_AWK
|
||||
AC_PROG_INSTALL
|
||||
@@ -222,13 +221,13 @@ if test "x$with_openssl" = "xyes"; then
|
||||
WSDL2H_EXTRA_FLAGS="-DWITH_GNUTLS -DWITH_GZIP"
|
||||
WSDL2H_EXTRA_LIBS="-lgnutls -lgcrypt -lgpg-error -lz"
|
||||
SAMPLE_SSL_LIBS="-lgnutls -lgcrypt -lgpg-error -lz"
|
||||
- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
|
||||
+ WSDL2H_SOAP_CPP_LIB="libgsoapssl++.la"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
WSDL2H_EXTRA_FLAGS="-DWITH_OPENSSL -DWITH_GZIP"
|
||||
WSDL2H_EXTRA_LIBS="-lssl -lcrypto -lz"
|
||||
SAMPLE_SSL_LIBS="-lssl -lcrypto -lz"
|
||||
- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
|
||||
+ WSDL2H_SOAP_CPP_LIB="libgsoapssl++.la"
|
||||
fi
|
||||
if test -n "$OPENSSL"; then
|
||||
WSDL2H_EXTRA_FLAGS="-I${OPENSSL}/include ${WSDL2H_EXTRA_FLAGS}"
|
||||
@@ -240,7 +239,7 @@ else
|
||||
WSDL2H_EXTRA_FLAGS=
|
||||
WSDL2H_EXTRA_LIBS=
|
||||
SAMPLE_SSL_LIBS=
|
||||
- WSDL2H_SOAP_CPP_LIB="libgsoap++.a"
|
||||
+ WSDL2H_SOAP_CPP_LIB="libgsoap++.la"
|
||||
fi
|
||||
AC_SUBST(WSDL2H_EXTRA_FLAGS)
|
||||
AC_SUBST(WSDL2H_EXTRA_LIBS)
|
||||
Index: gsoap-2.8.3/gsoap/Makefile.am
|
||||
===================================================================
|
||||
--- gsoap-2.8.3.orig/gsoap/Makefile.am
|
||||
+++ gsoap-2.8.3/gsoap/Makefile.am
|
||||
@@ -34,20 +34,26 @@ stdsoap2_ssl_cpp.cpp: stdsoap2.cpp
|
||||
dom_cpp.cpp: dom.cpp
|
||||
$(LN_S) -f $(srcdir)/dom.cpp dom_cpp.cpp
|
||||
|
||||
-lib_LIBRARIES = libgsoap.a libgsoap++.a libgsoapck.a libgsoapck++.a libgsoapssl.a libgsoapssl++.a
|
||||
+lib_LTLIBRARIES = libgsoap.la libgsoap++.la libgsoapck.la libgsoapck++.la libgsoapssl.la libgsoapssl++.la
|
||||
|
||||
-libgsoap_a_SOURCES = stdsoap2.c dom.c
|
||||
-libgsoap_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
|
||||
-libgsoap___a_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
|
||||
-libgsoap___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
|
||||
-libgsoapck_a_SOURCES = stdsoap2_ck.c dom.c
|
||||
-libgsoapck_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
|
||||
-libgsoapck___a_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
|
||||
-libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
|
||||
-libgsoapssl_a_SOURCES = stdsoap2_ssl.c dom.c
|
||||
-libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM
|
||||
-libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
|
||||
-libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM
|
||||
+libgsoap_la_SOURCES = stdsoap2.c dom.c
|
||||
+libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
|
||||
+libgsoap_la_LDFLAGS = -release ${PACKAGE_VERSION} -version-info 0:0:0
|
||||
+libgsoap___la_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
|
||||
+libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
|
||||
+libgsoap___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
|
||||
+libgsoapck_la_SOURCES = stdsoap2_ck.c dom.c
|
||||
+libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
|
||||
+libgsoapck_la_LDFLAGS = ${libgsoap_la_LDFLAGS}
|
||||
+libgsoapck___la_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
|
||||
+libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
|
||||
+libgsoapck___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
|
||||
+libgsoapssl_la_SOURCES = stdsoap2_ssl.c dom.c
|
||||
+libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM
|
||||
+libgsoapssl_la_LDFLAGS = ${libgsoap_la_LDFLAGS}
|
||||
+libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
|
||||
+libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM
|
||||
+libgsoapssl___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
|
||||
|
||||
BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp $(lib_LIBRARIES)
|
||||
|
||||
Index: gsoap-2.8.3/gsoap/samples/autotest/Makefile.am
|
||||
===================================================================
|
||||
--- gsoap-2.8.3.orig/gsoap/samples/autotest/Makefile.am
|
||||
+++ gsoap-2.8.3/gsoap/samples/autotest/Makefile.am
|
||||
@@ -14,7 +14,7 @@ SOAP_FLAGS=-SL -T -I$(top_srcdir)/gsoap/
|
||||
WSDLINPUT=$(srcdir)/examples.wsdl
|
||||
SOAPHEADER=$(srcdir)/examples.h
|
||||
SOAP_CPP_SRC=soapC.cpp soapServer.cpp
|
||||
-SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a
|
||||
+SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la
|
||||
|
||||
$(SOAP_CPP_SRC) : $(WSDLINPUT)
|
||||
$(WSDL) $(WSDL_FLAGS) $(WSDLINPUT)
|
||||
Index: gsoap-2.8.3/gsoap/samples/databinding/Makefile.am
|
||||
===================================================================
|
||||
--- gsoap-2.8.3.orig/gsoap/samples/databinding/Makefile.am
|
||||
+++ gsoap-2.8.3/gsoap/samples/databinding/Makefile.am
|
||||
@@ -14,7 +14,7 @@ SOAP_FLAGS=-2 -CS -p address -I$(top_src
|
||||
WSDLINPUT=$(srcdir)/address.xsd
|
||||
SOAPHEADER=$(srcdir)/address.h
|
||||
SOAP_CPP_SRC=addressC.cpp
|
||||
-SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a
|
||||
+SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la
|
||||
|
||||
$(SOAP_CPP_SRC) : $(WSDLINPUT)
|
||||
$(WSDL) $(WSDL_FLAGS) $(WSDLINPUT)
|
||||
31
net-libs/gsoap/files/gsoap-02-typepuns.diff
Normal file
31
net-libs/gsoap/files/gsoap-02-typepuns.diff
Normal file
@@ -0,0 +1,31 @@
|
||||
From: Jan Engelhardt <jengelh@medozas.de>
|
||||
Date: 2011-07-01 17:19:00 +0200
|
||||
|
||||
src: fix invocation of undefined behavior
|
||||
|
||||
The int type may have a stricter alignment than buf, and as such,
|
||||
using *(int *)buf is prone to undefined behavior, usually manifesting
|
||||
themselves in SIGBUS.
|
||||
|
||||
---
|
||||
gsoap/stdsoap2.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: gsoap-2.8.3/gsoap/stdsoap2.c
|
||||
===================================================================
|
||||
--- gsoap-2.8.3.orig/gsoap/stdsoap2.c
|
||||
+++ gsoap-2.8.3/gsoap/stdsoap2.c
|
||||
@@ -2946,10 +2946,12 @@ int
|
||||
SOAP_FMAC2
|
||||
soap_rand()
|
||||
{ unsigned char buf[4];
|
||||
+ int r;
|
||||
if (!soap_ssl_init_done)
|
||||
soap_ssl_init();
|
||||
RAND_pseudo_bytes(buf, 4);
|
||||
- return *(int*)buf;
|
||||
+ memcpy(&r, buf, sizeof(r));
|
||||
+ return r;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
29
net-libs/gsoap/files/gsoap-03-initext.diff
Normal file
29
net-libs/gsoap/files/gsoap-03-initext.diff
Normal file
@@ -0,0 +1,29 @@
|
||||
From: Jan Engelhardt <jengelh@medozas.de>
|
||||
Date: 2011-07-01 17:19:00 +0200
|
||||
|
||||
build: resolve compiler warning
|
||||
|
||||
An extern declaration must not be a definition.
|
||||
|
||||
wsdl2h.cpp:88:7: warning: 'mapfile' initialized and declared 'extern'
|
||||
wsdl2h.cpp:89:7: warning: 'import_path' initialized and declared 'extern'
|
||||
wsdl2h.cpp:90:7: warning: 'cwd_path' initialized and declared 'extern'
|
||||
wsdl2h.cpp:91:7: warning: 'cppnamespace' initialized and declared 'extern'
|
||||
|
||||
---
|
||||
gsoap/wsdl/wsdl2h.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: gsoap-2.8.3/gsoap/wsdl/wsdl2h.cpp
|
||||
===================================================================
|
||||
--- gsoap-2.8.3.orig/gsoap/wsdl/wsdl2h.cpp
|
||||
+++ gsoap-2.8.3/gsoap/wsdl/wsdl2h.cpp
|
||||
@@ -84,7 +84,7 @@ char *infile[MAXINFILES],
|
||||
*proxy_host = NULL,
|
||||
*proxy_userid = NULL,
|
||||
*proxy_passwd = NULL;
|
||||
-extern const char
|
||||
+const char
|
||||
*mapfile = WSDL_TYPEMAP_FILE,
|
||||
*import_path = WSDL2H_IMPORT_PATH,
|
||||
*cwd_path = NULL,
|
||||
48
net-libs/gsoap/files/gsoap-04-local.diff
Normal file
48
net-libs/gsoap/files/gsoap-04-local.diff
Normal file
@@ -0,0 +1,48 @@
|
||||
diff -uNr ./gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp ../gsoap-2.8.3//gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp
|
||||
--- ./gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp 2011-06-24 19:48:46.000000000 -0300
|
||||
+++ ../gsoap-2.8.3//gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp 2011-07-18 12:43:03.961999906 -0300
|
||||
@@ -8261,7 +8261,7 @@
|
||||
soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]);
|
||||
#endif
|
||||
copy->local_namespaces = NULL;
|
||||
- soap_set_namespaces(copy, soap->local_namespaces);
|
||||
+ soap_set_namespaces(copy, soap->namespaces);
|
||||
#ifdef WITH_C_LOCALE
|
||||
copy->c_locale = duplocale(soap->c_locale);
|
||||
#else
|
||||
diff -uNr ./gsoap/stdsoap2.c ../gsoap-2.8.3//gsoap/stdsoap2.c
|
||||
--- ./gsoap/stdsoap2.c 2011-06-24 19:48:46.000000000 -0300
|
||||
+++ ../gsoap-2.8.3//gsoap/stdsoap2.c 2011-07-18 12:43:03.961999906 -0300
|
||||
@@ -8261,7 +8261,7 @@
|
||||
soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]);
|
||||
#endif
|
||||
copy->local_namespaces = NULL;
|
||||
- soap_set_namespaces(copy, soap->local_namespaces);
|
||||
+ soap_set_namespaces(copy, soap->namespaces);
|
||||
#ifdef WITH_C_LOCALE
|
||||
copy->c_locale = duplocale(soap->c_locale);
|
||||
#else
|
||||
diff -uNr ./gsoap/stdsoap2.cpp ../gsoap-2.8.3//gsoap/stdsoap2.cpp
|
||||
--- ./gsoap/stdsoap2.cpp 2011-06-24 19:48:46.000000000 -0300
|
||||
+++ ../gsoap-2.8.3//gsoap/stdsoap2.cpp 2011-07-18 12:43:03.961999906 -0300
|
||||
@@ -8261,7 +8261,7 @@
|
||||
soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]);
|
||||
#endif
|
||||
copy->local_namespaces = NULL;
|
||||
- soap_set_namespaces(copy, soap->local_namespaces);
|
||||
+ soap_set_namespaces(copy, soap->namespaces);
|
||||
#ifdef WITH_C_LOCALE
|
||||
copy->c_locale = duplocale(soap->c_locale);
|
||||
#else
|
||||
diff -uNr ./gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp ../gsoap-2.8.3//gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp
|
||||
--- ./gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp 2011-06-24 19:48:46.000000000 -0300
|
||||
+++ ../gsoap-2.8.3//gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp 2011-07-18 12:43:03.961999906 -0300
|
||||
@@ -8261,7 +8261,7 @@
|
||||
soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]);
|
||||
#endif
|
||||
copy->local_namespaces = NULL;
|
||||
- soap_set_namespaces(copy, soap->local_namespaces);
|
||||
+ soap_set_namespaces(copy, soap->namespaces);
|
||||
#ifdef WITH_C_LOCALE
|
||||
copy->c_locale = duplocale(soap->c_locale);
|
||||
#else
|
||||
@@ -6,19 +6,18 @@ EAPI=2
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P="${PN}-2.8"
|
||||
MY_P="${PN}-2.7"
|
||||
|
||||
DESCRIPTION="A cross-platform open source C and C++ SDK to ease the development of SOAP/XML Web services"
|
||||
HOMEPAGE="http://gsoap2.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip"
|
||||
SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 gSOAP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc debug examples +ssl static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
sys-devel/flex
|
||||
DEPEND="sys-devel/flex
|
||||
sys-devel/bison
|
||||
sys-libs/zlib
|
||||
ssl? ( dev-libs/openssl )"
|
||||
@@ -27,16 +26,21 @@ RDEPEND=""
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
|
||||
|
||||
# Fix Pre-ISO headers
|
||||
epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
|
||||
#epatch "${FILESDIR}/gsoap-2.7-fix-pre-iso-headers.patch"
|
||||
|
||||
# causes compilation of app-emulation/virtualbox-ose[vboxwebsrv] to
|
||||
# break (bug #320901):
|
||||
#epatch "${FILESDIR}/${PN}-2.7.15-use_libtool.patch"
|
||||
epatch "${FILESDIR}/gsoap-01-sharedlibs.diff"
|
||||
epatch "${FILESDIR}/gsoap-02-typepuns.diff"
|
||||
epatch "${FILESDIR}/gsoap-03-initext.diff"
|
||||
epatch "${FILESDIR}/gsoap-04-local.diff"
|
||||
epatch "${FILESDIR}/2.7.9/autotools_update-2.7.9k.patch"
|
||||
epatch "${FILESDIR}/2.7.9/import_dom_h-2.7.9l.patch"
|
||||
epatch "${FILESDIR}/2.7.9/makefile_defines-2.7.9k.patch"
|
||||
epatch "${FILESDIR}/2.7.9/gsoap-2.7-fedora-openssl.patch"
|
||||
|
||||
rm soapcpp2/stdsoap2_cpp.cpp
|
||||
|
||||
|
||||
eautoreconf
|
||||
@@ -78,5 +82,5 @@ src_install() {
|
||||
# Install the core files for some packages that are using these files.
|
||||
# this is to work around provided gsoap in many packages (ifolder3, ...)
|
||||
insinto /usr/include/gsoap
|
||||
doins gsoap/*.c*
|
||||
doins soapcpp2/*.c*
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P="${PN}-2.8"
|
||||
|
||||
DESCRIPTION="A cross-platform open source C and C++ SDK to ease the development of SOAP/XML Web services"
|
||||
HOMEPAGE="http://gsoap2.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2 gSOAP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc debug examples +ssl"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
sys-libs/zlib
|
||||
ssl? ( dev-libs/openssl )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix Pre-ISO headers
|
||||
epatch "${FILESDIR}/${PN}-2.7-fix-pre-iso-headers.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
|
||||
|
||||
# causes compilation of app-emulation/virtualbox-ose[vboxwebsrv] to
|
||||
# break (bug #320901):
|
||||
#epatch "${FILESDIR}/${PN}-2.7.15-use_libtool.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable ssl openssl) \
|
||||
$(use_enable examples samples) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Install failed"
|
||||
|
||||
# yes, we also install the license-file since
|
||||
# it contains info about how to apply the licenses
|
||||
dodoc *.txt
|
||||
|
||||
dohtml changelog.html
|
||||
|
||||
rm -rf "${D}"/usr/lib*/*.la
|
||||
|
||||
if use examples; then
|
||||
rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r gsoap/samples/*
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r gsoap/doc/*
|
||||
fi
|
||||
|
||||
# Install the core files for some packages that are using these files.
|
||||
# this is to work around provided gsoap in many packages (ifolder3, ...)
|
||||
insinto /usr/include/gsoap
|
||||
doins gsoap/*.c*
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P="${PN}-2.8"
|
||||
|
||||
DESCRIPTION="A cross-platform open source C and C++ SDK to ease the development of SOAP/XML Web services"
|
||||
HOMEPAGE="http://gsoap2.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2 gSOAP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc debug examples +ssl"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
sys-libs/zlib
|
||||
ssl? ( dev-libs/openssl )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix Pre-ISO headers
|
||||
epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
|
||||
|
||||
# causes compilation of app-emulation/virtualbox-ose[vboxwebsrv] to
|
||||
# break (bug #320901):
|
||||
#epatch "${FILESDIR}/${PN}-2.7.15-use_libtool.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable ssl openssl) \
|
||||
$(use_enable examples samples) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Install failed"
|
||||
|
||||
# yes, we also install the license-file since
|
||||
# it contains info about how to apply the licenses
|
||||
dodoc *.txt
|
||||
|
||||
dohtml changelog.html
|
||||
|
||||
rm -rf "${D}"/usr/lib*/*.la
|
||||
|
||||
if use examples; then
|
||||
rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r gsoap/samples/*
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r gsoap/doc/*
|
||||
fi
|
||||
|
||||
# Install the core files for some packages that are using these files.
|
||||
# this is to work around provided gsoap in many packages (ifolder3, ...)
|
||||
insinto /usr/include/gsoap
|
||||
doins gsoap/*.c*
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P="${PN}-2.8"
|
||||
|
||||
DESCRIPTION="A cross-platform open source C and C++ SDK to ease the development of SOAP/XML Web services"
|
||||
HOMEPAGE="http://gsoap2.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2 gSOAP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc debug examples +ssl"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
sys-libs/zlib
|
||||
ssl? ( dev-libs/openssl )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix Pre-ISO headers
|
||||
epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
|
||||
|
||||
# causes compilation of app-emulation/virtualbox-ose[vboxwebsrv] to
|
||||
# break (bug #320901):
|
||||
#epatch "${FILESDIR}/${PN}-2.7.15-use_libtool.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable ssl openssl) \
|
||||
$(use_enable examples samples) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Install failed"
|
||||
|
||||
# yes, we also install the license-file since
|
||||
# it contains info about how to apply the licenses
|
||||
dodoc *.txt
|
||||
|
||||
dohtml changelog.html
|
||||
|
||||
rm -rf "${D}"/usr/lib*/*.la
|
||||
|
||||
if use examples; then
|
||||
rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r gsoap/samples/*
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r gsoap/doc/*
|
||||
fi
|
||||
|
||||
# Install the core files for some packages that are using these files.
|
||||
# this is to work around provided gsoap in many packages (ifolder3, ...)
|
||||
insinto /usr/include/gsoap
|
||||
doins gsoap/*.c*
|
||||
}
|
||||
Reference in New Issue
Block a user