diff options
Diffstat (limited to 'net/erlang-xmlrpc')
-rw-r--r-- | net/erlang-xmlrpc/Makefile | 39 | ||||
-rw-r--r-- | net/erlang-xmlrpc/distinfo | 2 | ||||
-rw-r--r-- | net/erlang-xmlrpc/files/patch-src_xmlrpc.erl | 18 | ||||
-rw-r--r-- | net/erlang-xmlrpc/files/patch-src_xmlrpc__decode.erl | 11 | ||||
-rw-r--r-- | net/erlang-xmlrpc/files/patch-src_xmlrpc__http.erl | 26 | ||||
-rw-r--r-- | net/erlang-xmlrpc/pkg-descr | 6 | ||||
-rw-r--r-- | net/erlang-xmlrpc/pkg-plist | 33 |
7 files changed, 0 insertions, 135 deletions
diff --git a/net/erlang-xmlrpc/Makefile b/net/erlang-xmlrpc/Makefile deleted file mode 100644 index 4877486b8d30..000000000000 --- a/net/erlang-xmlrpc/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# $FreeBSD$ - -PORTNAME= xmlrpc -PORTVERSION= 1.13 -PORTREVISION= 13 -CATEGORIES= net -MASTER_SITES= http://www.erlang.org/contrib/ -PKGNAMEPREFIX= erlang- -DIST_SUBDIR= erlang - -MAINTAINER= erlang@FreeBSD.org -COMMENT= Library for XMLRPC support in Erlang - -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2020-05-05 - -USES= gmake erlang tar:tgz -WRKSRC= ${WRKDIR}/xmlrpc-${PORTVERSION} - -ERL_DOCS= doc/xmlrpc.pdf doc/xmlrpc.ps doc/xmlrpc.txt - -OPTIONS_DEFINE= DOCS EXAMPLES - -do-build: - cd ${WRKSRC}/src && ${GMAKE} - -post-patch: - @${REINPLACE_CMD} -i '' -e 's|XMERL_PATH=.*|XMERL_PATH=${LOCALBASE}/lib/erlang/lib/xmerl|g' ${WRKSRC}/src/Makefile - @${RM} ${WRKSRC}/src/*.orig - -post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${STAGEDIR}${MANPREFIX}/man/man3/erlang_xmlrpc.3 - -post-install-EXAMPLES-on: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} - -.include <bsd.port.mk> diff --git a/net/erlang-xmlrpc/distinfo b/net/erlang-xmlrpc/distinfo deleted file mode 100644 index 932a4af4f551..000000000000 --- a/net/erlang-xmlrpc/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (erlang/xmlrpc-1.13.tgz) = 7b129f17c277e17a2e44a1344bbc5c238ef2f5154c012c48a8b32ab061badb9a -SIZE (erlang/xmlrpc-1.13.tgz) = 38169 diff --git a/net/erlang-xmlrpc/files/patch-src_xmlrpc.erl b/net/erlang-xmlrpc/files/patch-src_xmlrpc.erl deleted file mode 100644 index 6e2ee005302e..000000000000 --- a/net/erlang-xmlrpc/files/patch-src_xmlrpc.erl +++ /dev/null @@ -1,18 +0,0 @@ ---- src/xmlrpc.erl.orig 2003-04-23 19:06:45 UTC -+++ src/xmlrpc.erl -@@ -164,7 +164,14 @@ handle_payload(Socket, KeepAlive, Timeou - - get_payload(Socket, Timeout, ContentLength) -> - inet:setopts(Socket, [{packet, raw}]), -- gen_tcp:recv(Socket, ContentLength, Timeout). -+ get_payload(Socket, Timeout, ContentLength, []). -+ -+get_payload(Socket, Timeout, 0, Payload) -> -+ {ok, lists:concat(lists:reverse(Payload))}; -+ -+get_payload(Socket, Timeout, ContentLength, Payload) -> -+ {ok, Bin} = gen_tcp:recv(Socket, 0, Timeout), -+ get_payload(Socket, Timeout, ContentLength - length(Bin), [Bin|Payload]). - - %% Exported: start_link/{1,5,6} - diff --git a/net/erlang-xmlrpc/files/patch-src_xmlrpc__decode.erl b/net/erlang-xmlrpc/files/patch-src_xmlrpc__decode.erl deleted file mode 100644 index 6186d57c8f27..000000000000 --- a/net/erlang-xmlrpc/files/patch-src_xmlrpc__decode.erl +++ /dev/null @@ -1,11 +0,0 @@ ---- src/xmlrpc_decode.erl.orig 2003-04-23 19:06:45 UTC -+++ src/xmlrpc_decode.erl -@@ -28,7 +28,7 @@ - -author('jocke@gleipnir.com'). - -export([payload/1]). - ---include("xmerl.hrl"). -+-include_lib("xmerl/include/xmerl.hrl"). - - payload(Payload) -> - case xmerl_scan:string(Payload) of diff --git a/net/erlang-xmlrpc/files/patch-src_xmlrpc__http.erl b/net/erlang-xmlrpc/files/patch-src_xmlrpc__http.erl deleted file mode 100644 index 417a03305e61..000000000000 --- a/net/erlang-xmlrpc/files/patch-src_xmlrpc__http.erl +++ /dev/null @@ -1,26 +0,0 @@ ---- src/xmlrpc_http.erl.orig 2003-04-23 19:06:45 UTC -+++ src/xmlrpc_http.erl -@@ -142,7 +142,14 @@ handle_payload(Socket, Timeout, Handler, - - get_payload(Socket, Timeout, ContentLength) -> - inet:setopts(Socket, [{packet, raw}]), -- gen_tcp:recv(Socket, ContentLength, Timeout). -+ get_payload(Socket, Timeout, ContentLength, []). -+ -+get_payload(Socket, Timeout, 0, Payload) -> -+ {ok, lists:concat(lists:reverse(Payload))}; -+ -+get_payload(Socket, Timeout, ContentLength, Payload) -> -+ {ok, Bin} = gen_tcp:recv(Socket, 0, Timeout), -+ get_payload(Socket, Timeout, ContentLength - length(Bin), [Bin|Payload]). - - eval_payload(Socket, Timeout, {M, F} = Handler, State, Connection, Payload) -> - case catch M:F(State, Payload) of -@@ -190,6 +197,7 @@ send(Socket, StatusCode, ExtraHeader, Pa - Response = - ["HTTP/1.1 ", integer_to_list(StatusCode), " ", - reason_phrase(StatusCode), "\r\n", -+ "Content-Type: text/xml\r\n", - "Content-Length: ", integer_to_list(lists:flatlength(Payload)), - "\r\n", - "Server: Erlang/1.13\r\n", diff --git a/net/erlang-xmlrpc/pkg-descr b/net/erlang-xmlrpc/pkg-descr deleted file mode 100644 index 1bf83ba0a663..000000000000 --- a/net/erlang-xmlrpc/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -This is an HTTP 1.1 compliant XML-RPC library for Erlang. It is -designed to make it easy to write XML-RPC Erlang clients and/or -servers. - -WWW: http://www.xmlrpc.com/ -WWW: http://www.erlang.org/ diff --git a/net/erlang-xmlrpc/pkg-plist b/net/erlang-xmlrpc/pkg-plist deleted file mode 100644 index 43304d5d80a8..000000000000 --- a/net/erlang-xmlrpc/pkg-plist +++ /dev/null @@ -1,33 +0,0 @@ -lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/tcp_serv.beam -lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc.beam -lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_decode.beam -lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_encode.beam -lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_http.beam -lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_util.beam -lib/erlang/lib/xmlrpc-%%VERSION%%/src/Makefile -lib/erlang/lib/xmlrpc-%%VERSION%%/src/example_serv.erl -lib/erlang/lib/xmlrpc-%%VERSION%%/src/log.hrl -lib/erlang/lib/xmlrpc-%%VERSION%%/src/tcp_serv.erl -lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc.erl -lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc.hrl -lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_decode.erl -lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_encode.erl -lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_http.erl -lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_util.erl -man/man3/erlang_xmlrpc.3.gz -%%PORTDOCS%%%%DOCSDIR%%/xmlrpc.pdf -%%PORTDOCS%%%%DOCSDIR%%/xmlrpc.ps -%%PORTDOCS%%%%DOCSDIR%%/xmlrpc.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BankClient.java -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/DateClient.java -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/EchoClient.java -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/FibClient.java -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/date_server.erl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_server.erl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fib_server.erl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/robust_bank_client.erl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/robust_bank_server.erl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/robust_banking.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/validator.erl |