diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-06-21 14:10:47 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-06-21 16:21:30 +0200 |
commit | 54aa8ce1a5e3f5116186dcb254ee2003c52ab920 (patch) | |
tree | 17a57e4bfee0e3502acecdb832950caad633033a /www-servers/ocsigenserver | |
parent | dev-ml/tyxml: enable camlp4 by default; still needed by ocsigenserver (diff) | |
download | gentoo-54aa8ce1a5e3f5116186dcb254ee2003c52ab920.tar.gz gentoo-54aa8ce1a5e3f5116186dcb254ee2003c52ab920.tar.bz2 gentoo-54aa8ce1a5e3f5116186dcb254ee2003c52ab920.zip |
www-servers/ocsigenserver: remove old
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'www-servers/ocsigenserver')
-rw-r--r-- | www-servers/ocsigenserver/Manifest | 2 | ||||
-rw-r--r-- | www-servers/ocsigenserver/files/lwt.patch | 19 | ||||
-rw-r--r-- | www-servers/ocsigenserver/files/lwt2.patch | 19 | ||||
-rw-r--r-- | www-servers/ocsigenserver/files/lwt3.patch | 86 | ||||
-rw-r--r-- | www-servers/ocsigenserver/ocsigenserver-2.5-r2.ebuild | 91 | ||||
-rw-r--r-- | www-servers/ocsigenserver/ocsigenserver-2.6.ebuild | 85 |
6 files changed, 0 insertions, 302 deletions
diff --git a/www-servers/ocsigenserver/Manifest b/www-servers/ocsigenserver/Manifest index 7a6b1922b2f2..3508f4707ed3 100644 --- a/www-servers/ocsigenserver/Manifest +++ b/www-servers/ocsigenserver/Manifest @@ -1,3 +1 @@ -DIST ocsigenserver-2.5.tar.gz 1259472 SHA256 d9107e0543a286b2264b0f4255886cdc3670196d5453a689da2985c7e5a7df2b SHA512 8d90ce99bdda2fefdc0d22497badfa885ff310801c6cc205e0360e823964b4b01a1fecef8549121647abfd113bfe45a0b6cb306a326b26657bd95fbafaa59e72 WHIRLPOOL 9feac8009a83520d3f82c3e4162d72cdff7e54b5077af63e1b04d63da0364035480de5a30f04f23c6124e0d4dd4c6c885687d2a24e00b1432b23d572bf90f13e -DIST ocsigenserver-2.6.tar.gz 1261542 SHA256 f70751f1a1dcc9b9021f0773e92347bdbdb50f7c90b79a95dc5a6b90e9ee6818 SHA512 56805378d375de7e7653f74b3681fe21c798df2c50ee6889bd238df8f64aa053dfdbd1df2b6396b2f8c9ed8547b8176ef9498ccbf19df4bf111469353a6d9434 WHIRLPOOL 5128a3a429db49a5f8161cf008c91020c0e40e5bd58716adeee5580222bae0393dfdd73ffa01f167626f46e699ffff3e76b1aa0fb8c91d53889dc6e15cbe1ea9 DIST ocsigenserver-2.7.tar.gz 1262049 SHA256 01a477b180588fe0ac553177e84832448e02405bc73e432024e7a7ae21b3693f SHA512 e31fa428e1d86232e4066a93fc948b592e80bb3e8374efee4f40d02c53e8a713ade8aa9904623c1129c892557ac4a451928278b808abe190bb254e6e43aab256 WHIRLPOOL 1b55034d364da40b4bb0931b15da1a1c4c47f9133f1fd6099bfad57e6a43e5ce990a1a08295c740883b82f951cf3db9ad34ea1f70a818bd8296a678dc6b9b097 diff --git a/www-servers/ocsigenserver/files/lwt.patch b/www-servers/ocsigenserver/files/lwt.patch deleted file mode 100644 index 360b2b06e913..000000000000 --- a/www-servers/ocsigenserver/files/lwt.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 156f8deaae2a50d8b9614b99488f34b284382eaa -Author: Drup <drupyog@zoho.com> -Date: Thu Dec 11 16:52:33 2014 +0100 - - Remove dependency to Lwt_util. - -diff --git a/src/server/ocsigen_server.ml b/src/server/ocsigen_server.ml -index c5563a6..e548f5e 100644 ---- a/src/server/ocsigen_server.ml -+++ b/src/server/ocsigen_server.ml -@@ -1040,7 +1040,7 @@ let rec wait_connection use_ssl port socket = - >>= decr_connected - in - -- Lwt_util.iter handle_one l >>= fun () -> -+ Lwt_list.iter_p handle_one l >>= fun () -> - match e with - | Some e -> handle_exn e - | None -> Lwt.return ()) diff --git a/www-servers/ocsigenserver/files/lwt2.patch b/www-servers/ocsigenserver/files/lwt2.patch deleted file mode 100644 index 9b9e1b808853..000000000000 --- a/www-servers/ocsigenserver/files/lwt2.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit faaa943aacaeaee27e5a309bb54bd539ec1a58a2 -Author: Drup <drupyog@zoho.com> -Date: Sat Dec 6 05:08:13 2014 +0100 - - Replace use of the deprecated `Lwt_event` by `Lwt_react.E`. - -diff --git a/src/extensions/ocsigen_comet.ml b/src/extensions/ocsigen_comet.ml -index ad7d9dd..ccc0719 100644 ---- a/src/extensions/ocsigen_comet.ml -+++ b/src/extensions/ocsigen_comet.ml -@@ -468,7 +468,7 @@ end = struct - Lwt.choose - [ (choosed >|= fun x -> Some x); - (Lwt_unix.sleep (get_timeout ()) >|= fun () -> None); -- (Lwt_event.next Security.kill >>= fun () -> Lwt.fail Kill); -+ (Lwt_react.E.next Security.kill >>= fun () -> Lwt.fail Kill); - ] >|= fun x -> - List.iter (fun c -> Channels.send_listeners c (-1)) active ; - let s = Messages.encode_downgoing ended x in diff --git a/www-servers/ocsigenserver/files/lwt3.patch b/www-servers/ocsigenserver/files/lwt3.patch deleted file mode 100644 index d2a9ca578fe2..000000000000 --- a/www-servers/ocsigenserver/files/lwt3.patch +++ /dev/null @@ -1,86 +0,0 @@ -commit 5b60babe229189c2be999e138c500527334c3415 -Author: pveber <philippe.veber@gmail.com> -Date: Fri Feb 27 09:24:50 2015 +0100 - - fix configure and Makefiles following lwt.extra deprecation - - Now that lwt.extra has been deprecated [0], the configure and Makefile - scripts should refer directly to lwt.preemptive. - - [0] https://github.com/ocsigen/lwt/commit/91d549b54397a33ed80de962771d07180c4b8d4e - -Index: ocsigenserver-2.5/Makefile.options -=================================================================== ---- ocsigenserver-2.5.orig/Makefile.options -+++ ocsigenserver-2.5/Makefile.options -@@ -26,14 +26,14 @@ endif - ## but also to generate src/baselib/ocsigen_config.ml and src/files/META - - ifeq "$(PREEMPTIVE)" "YES" --LWT_EXTRA_PACKAGE:=lwt.extra -+LWT_PREEMPTIVE_PACKAGE:=lwt.preemptive - endif - - BASE_PACKAGE := lwt ipaddr - - SERVER_PACKAGE := lwt.ssl \ -- ${LWT_EXTRA_PACKAGE} \ -- ipaddr \ -+ ${LWT_PREEMPTIVE_PACKAGE} \ -+ ipaddr \ - netstring \ - netstring-pcre \ - findlib \ -Index: ocsigenserver-2.5/configure -=================================================================== ---- ocsigenserver-2.5.orig/configure -+++ ocsigenserver-2.5/configure -@@ -410,7 +410,7 @@ check_library lwt "See: http://ocsigen.o - check_library lwt.unix "Missing support for 'unix' in lwt." - check_library lwt.react "Missing support for 'react' in lwt." - check_library lwt.ssl "Missing support for 'ssl' in lwt." --#check_library lwt.extra "Missing support for 'extra' in lwt." -+check_library lwt.preemptive "Missing support for 'preemptive' in lwt." - - check_library netstring \ - "See ocamlnet: http://projects.camlcity.org/projects/ocamlnet.html" -@@ -454,12 +454,12 @@ if [ "$with_camlzip" -gt 0 ]; then - fi - fi - --# Check Lwt.extra -+# Check Lwt.preemptive - if [ "$with_preempt" -gt 0 ]; then -- if test_library lwt.extra; then -+ if test_library lwt.preemptive; then - echo -n - elif [ "$with_preempt" -gt 1 ]; then -- fail_library lwt.extra "Missing support for 'extra' in lwt." -+ fail_library lwt.preemptive "Missing support for 'preemptive' in lwt." - else - with_preempt=0 - fi -Index: ocsigenserver-2.5/src/baselib/Makefile -=================================================================== ---- ocsigenserver-2.5.orig/src/baselib/Makefile -+++ ocsigenserver-2.5/src/baselib/Makefile -@@ -1,6 +1,6 @@ - include ../../Makefile.config - --LIBS := -package lwt.unix,netstring,netstring-pcre,cryptokit,findlib,tyxml,lwt.syntax,${LWT_EXTRA_PACKAGE},ipaddr -+LIBS := -package lwt.unix,netstring,netstring-pcre,cryptokit,findlib,tyxml,lwt.syntax,${LWT_PREEMPTIVE_PACKAGE},ipaddr - OCAMLC := $(OCAMLFIND) ocamlc${BYTEDBG} ${THREAD} - OCAMLOPT := $(OCAMLFIND) ocamlopt ${OPTDBG} ${THREAD} - OCAMLDOC := $(OCAMLFIND) ocamldoc -Index: ocsigenserver-2.5/src/extensions/ocsipersist-dbm/Makefile -=================================================================== ---- ocsigenserver-2.5.orig/src/extensions/ocsipersist-dbm/Makefile -+++ ocsigenserver-2.5/src/extensions/ocsipersist-dbm/Makefile -@@ -1,6 +1,6 @@ - include ../../../Makefile.config - --PACKAGE := ${LWT_EXTRA_PACKAGE} \ -+PACKAGE := ${LWT_PREEMPTIVE_PACKAGE} \ - lwt.unix \ - tyxml.parser \ - dbm \ diff --git a/www-servers/ocsigenserver/ocsigenserver-2.5-r2.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.5-r2.ebuild deleted file mode 100644 index b2a3ba40ad40..000000000000 --- a/www-servers/ocsigenserver/ocsigenserver-2.5-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils multilib findlib user - -DESCRIPTION="Ocaml-powered webserver and framework for dynamic web programming" -HOMEPAGE="http://www.ocsigen.org" -SRC_URI="https://github.com/ocsigen/ocsigenserver/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="debug doc dbm +ocamlopt +sqlite zlib" -REQUIRED_USE="|| ( sqlite dbm )" -RESTRICT="strip installsources" - -DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl] - >=dev-ml/react-0.9.3:= - zlib? ( >=dev-ml/camlzip-1.03-r1:= ) - dev-ml/cryptokit:= - >=dev-ml/ocamlnet-3.6:=[pcre] - >=dev-ml/pcre-ocaml-6.2.5:= - >=dev-ml/tyxml-3.3:= - >=dev-lang/ocaml-3.12:=[ocamlopt?] - dev-ml/ocaml-ipaddr:= - dbm? ( || ( dev-ml/camldbm:= >=dev-lang/ocaml-3.12[gdbm] ) ) - sqlite? ( dev-ml/ocaml-sqlite3:= )" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup ocsigenserver - enewuser ocsigenserver -1 -1 /var/www ocsigenserver -} - -src_prepare() { - epatch "${FILESDIR}/lwt.patch" - epatch "${FILESDIR}/lwt2.patch" - epatch "${FILESDIR}/lwt3.patch" -} - -src_configure() { - sh configure \ - --prefix /usr \ - --temproot "${ED}" \ - --bindir /usr/bin \ - --docdir /usr/share/doc/${PF} \ - --mandir /usr/share/man/man1 \ - --libdir /usr/$(get_libdir)/ocaml \ - $(use_enable debug) \ - $(use_with zlib camlzip) \ - $(use_with sqlite) \ - $(use_with dbm) \ - --with-preempt \ - --ocsigen-group ocsigenserver \ - --ocsigen-user ocsigenserver \ - --name ocsigenserver \ - || die "Error : configure failed!" -} - -src_compile() { - if use ocamlopt; then - emake - else - emake byte - fi - use doc && emake doc -} - -src_install() { - findlib_src_preinst - if use ocamlopt; then - emake install - else - emake install.byte - fi - if use doc ; then - emake install.doc - fi - emake logrotate - - newinitd "${FILESDIR}"/ocsigenserver.initd ocsigenserver || die - newconfd "${FILESDIR}"/ocsigenserver.confd ocsigenserver || die - - dodoc README - - # We create it at runtime - rm -f "${ED}/var/run/ocsigenserver_command" || die -} diff --git a/www-servers/ocsigenserver/ocsigenserver-2.6.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.6.ebuild deleted file mode 100644 index b5ef6ae2f66c..000000000000 --- a/www-servers/ocsigenserver/ocsigenserver-2.6.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils multilib findlib user - -DESCRIPTION="Ocaml-powered webserver and framework for dynamic web programming" -HOMEPAGE="http://www.ocsigen.org" -SRC_URI="https://github.com/ocsigen/ocsigenserver/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="debug doc dbm +ocamlopt +sqlite zlib" -REQUIRED_USE="|| ( sqlite dbm )" -RESTRICT="strip installsources" - -DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl] - >=dev-ml/react-0.9.3:= - zlib? ( >=dev-ml/camlzip-1.03-r1:= ) - dev-ml/cryptokit:= - >=dev-ml/ocamlnet-3.6:=[pcre] - >=dev-ml/pcre-ocaml-6.2.5:= - >=dev-ml/tyxml-3.3:= - >=dev-lang/ocaml-3.12:=[ocamlopt?] - dev-ml/ocaml-ipaddr:= - dbm? ( || ( dev-ml/camldbm:= >=dev-lang/ocaml-3.12[gdbm] ) ) - sqlite? ( dev-ml/ocaml-sqlite3:= )" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup ocsigenserver - enewuser ocsigenserver -1 -1 /var/www ocsigenserver -} - -src_configure() { - sh configure \ - --prefix /usr \ - --temproot "${ED}" \ - --bindir /usr/bin \ - --docdir /usr/share/doc/${PF} \ - --mandir /usr/share/man/man1 \ - --libdir /usr/$(get_libdir)/ocaml \ - $(use_enable debug) \ - $(use_with zlib camlzip) \ - $(use_with sqlite) \ - $(use_with dbm) \ - --with-preempt \ - --ocsigen-group ocsigenserver \ - --ocsigen-user ocsigenserver \ - --name ocsigenserver \ - || die "Error : configure failed!" -} - -src_compile() { - if use ocamlopt; then - emake - else - emake byte - fi - use doc && emake doc -} - -src_install() { - findlib_src_preinst - if use ocamlopt; then - emake install - else - emake install.byte - fi - if use doc ; then - emake install.doc - fi - emake logrotate - - newinitd "${FILESDIR}"/ocsigenserver.initd ocsigenserver || die - newconfd "${FILESDIR}"/ocsigenserver.confd ocsigenserver || die - - dodoc README.md - - # We create it at runtime - rm -f "${ED}/var/run/ocsigenserver_command" || die -} |