summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-22 04:13:43 +0000
committerSam James <sam@gentoo.org>2021-04-04 06:09:10 +0000
commit7c65bcfed02e99c6edc722b5329b7982fe9f40f8 (patch)
treeeab422447687618df641f28649559d9e65560208 /www-servers/ocsigenserver
parentdev-ml/ounit: treeclean (diff)
downloadgentoo-7c65bcfed02e99c6edc722b5329b7982fe9f40f8.tar.gz
gentoo-7c65bcfed02e99c6edc722b5329b7982fe9f40f8.tar.bz2
gentoo-7c65bcfed02e99c6edc722b5329b7982fe9f40f8.zip
www-servers/ocsigenserver: treeclean
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-servers/ocsigenserver')
-rw-r--r--www-servers/ocsigenserver/Manifest1
-rw-r--r--www-servers/ocsigenserver/files/lwt3.patch78
-rw-r--r--www-servers/ocsigenserver/files/ocsigenserver.confd25
-rw-r--r--www-servers/ocsigenserver/files/ocsigenserver.initd59
-rw-r--r--www-servers/ocsigenserver/metadata.xml8
-rw-r--r--www-servers/ocsigenserver/ocsigenserver-2.8.ebuild99
-rw-r--r--www-servers/ocsigenserver/ocsigenserver-9999.ebuild99
7 files changed, 0 insertions, 369 deletions
diff --git a/www-servers/ocsigenserver/Manifest b/www-servers/ocsigenserver/Manifest
deleted file mode 100644
index 93629062b1bc..000000000000
--- a/www-servers/ocsigenserver/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ocsigenserver-2.8.tar.gz 1265240 BLAKE2B bc1b7da3579d8853f4c259a8a4d4924e08c5552a68a5b40ce00400147efade8c91d01083f117fe0a78cfb8eb44ce3b9e98b34ee2390bd4171d6606b62999ec29 SHA512 80d5125a93239c73756b03a0f50d83e691810f93a15525daef2f7ccd69279e348f03486c26319a9511c1a746f375317082a89ba37ce0ba22872d6db7d3fddf1b
diff --git a/www-servers/ocsigenserver/files/lwt3.patch b/www-servers/ocsigenserver/files/lwt3.patch
deleted file mode 100644
index 3fb6b9d8e7a6..000000000000
--- a/www-servers/ocsigenserver/files/lwt3.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-Index: ocsigenserver-2.8/Makefile.options
-===================================================================
---- ocsigenserver-2.8.orig/Makefile.options
-+++ ocsigenserver-2.8/Makefile.options
-@@ -30,7 +30,7 @@ endif
-
- BASE_PACKAGE := lwt ipaddr bytes
-
--SERVER_PACKAGE := lwt.ssl \
-+SERVER_PACKAGE := lwt_ssl \
- bytes \
- ${LWT_PREEMPTIVE_PACKAGE} \
- ipaddr \
-Index: ocsigenserver-2.8/configure
-===================================================================
---- ocsigenserver-2.8.orig/configure
-+++ ocsigenserver-2.8/configure
-@@ -410,8 +410,8 @@ check_library ssl "See: http://sourcefor
-
- check_library lwt "See: http://ocsigen.org/lwt"
- 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_react "Missing support for 'react' in lwt."
-+check_library lwt_ssl "Missing support for 'ssl' in lwt."
- check_library lwt.preemptive "Missing support for 'preemptive' in lwt."
-
- check_library netstring \
-Index: ocsigenserver-2.8/src/extensions/Makefile
-===================================================================
---- ocsigenserver-2.8.orig/src/extensions/Makefile
-+++ ocsigenserver-2.8/src/extensions/Makefile
-@@ -4,8 +4,8 @@ PACKAGE := \
- bytes \
- lwt.unix \
- ipaddr \
-- lwt.ssl \
-- lwt.react \
-+ lwt_ssl \
-+ lwt_react \
- netstring \
- netstring-pcre \
- tyxml.parser
-Index: ocsigenserver-2.8/src/files/META.in
-===================================================================
---- ocsigenserver-2.8.orig/src/files/META.in
-+++ ocsigenserver-2.8/src/files/META.in
-@@ -37,7 +37,7 @@ package "baselib" (
- )
-
- package "http" (
-- requires = "%%NAME%%.baselib,lwt.ssl,tyxml"
-+ requires = "%%NAME%%.baselib,lwt_ssl,tyxml"
- version = "[distributed with Ocsigen server]"
- description = "HTTP library for Ocsigen server"
- archive(byte) = "http.cma"
-@@ -188,7 +188,7 @@ package "ext" (
-
- package "comet" (
- exists_if = "ocsigen_comet.cmo,ocsigen_comet.cmx"
-- requires = "ocsigenserver,lwt.react"
-+ requires = "ocsigenserver,lwt_react"
- version = "[distributed with Ocsigen server]"
- description = "Comet server-to-client communication"
- archive(byte) = "ocsigen_comet.cmo"
-Index: ocsigenserver-2.8/src/http/Makefile
-===================================================================
---- ocsigenserver-2.8.orig/src/http/Makefile
-+++ ocsigenserver-2.8/src/http/Makefile
-@@ -3,7 +3,7 @@ PACKAGE := \
- bytes \
- netstring \
- netstring-pcre \
-- lwt.ssl \
-+ lwt_ssl \
- tyxml
-
- LIBS := -I ../baselib ${addprefix -package ,${PACKAGE}}
diff --git a/www-servers/ocsigenserver/files/ocsigenserver.confd b/www-servers/ocsigenserver/files/ocsigenserver.confd
deleted file mode 100644
index 70638b7c8709..000000000000
--- a/www-servers/ocsigenserver/files/ocsigenserver.confd
+++ /dev/null
@@ -1,25 +0,0 @@
-# /etc/conf.d/ocsigenserver : config file for /etc/init.d/ocsigenserver
-
-# Path for the ocsigen binary (add opt for native executable)
-
-#DAEMON=/usr/bin/ocsigenserver.opt
-DAEMON=/usr/bin/ocsigenserver
-
-# Name for ocsigen daemon
-
-NAME=ocsigenserver
-
-# Locstion of Ocsigen config file
-
-CONF=/etc/$NAME/ocsigenserver.conf
-
-# PID file location
-
-PIDFILE=/var/run/$NAME.pid
-
-# Add here any additional aptions for ocsigen
-
-OCSIGEN_OPTS=""
-
-# Command pipe
-COMMANDPIPE=/var/run/ocsigenserver_command
diff --git a/www-servers/ocsigenserver/files/ocsigenserver.initd b/www-servers/ocsigenserver/files/ocsigenserver.initd
deleted file mode 100644
index 57d3343159f5..000000000000
--- a/www-servers/ocsigenserver/files/ocsigenserver.initd
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_commands="depend checkconfig reload"
-
-depend() {
- need net
- use logger
- after bootmist
-}
-
-
-checkconfig() {
- if [ ! -f "$DAEMON" ] ; then
- ewarn "Unable to find $DAEMON"
- return 1
- fi
- if [ ! -f "$CONF" ] ; then
- ewarn $CONF " does not exist."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Creating command pipe (${COMMANDPIPE})"
- mkfifo -m 660 "${COMMANDPIPE}"
- chown ocsigenserver:ocsigenserver "${COMMANDPIPE}"
- eend $?
-
- ebegin "Starting ocsigen"
- start-stop-daemon --start --exec $DAEMON -- \
- --pidfile $PIDFILE \
- --daemon \
- $OCSIGEN_OPTS
- eend $?
-}
-
-stop() {
- ebegin "Stopping ocsigen"
- start-stop-daemon --stop --pidfile $PIDFILE
- eend $?
- ebegin "Removing command pipe (${COMMANDPIPE})"
- rm -f "${COMMANDPIPE}"
- eend $?
-}
-
-reload() {
- if [ ! -f "$PIDFILE" ] ; then
- ewarn "$PIDFILE not found!!"
- ewarn "Ocsigen is not running. Not reloading."
- return 1
- fi
- ebegin "Reloading ocsigen"
- echo reload > /var/run/ocsigen_command
- eend $?
-}
diff --git a/www-servers/ocsigenserver/metadata.xml b/www-servers/ocsigenserver/metadata.xml
deleted file mode 100644
index 42c018ed1037..000000000000
--- a/www-servers/ocsigenserver/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">ocsigen/ocsigenserver</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
deleted file mode 100644
index 7a0c0069f540..000000000000
--- a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib findlib user
-
-if [ "${PV#9999}" != "${PV}" ] ; then
- inherit git-r3
- SRC_URI=""
- EGIT_REPO_URI="https://github.com/ocsigen/ocsigenserver"
-else
- SRC_URI="https://github.com/ocsigen/ocsigenserver/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Ocaml-powered webserver and framework for dynamic web programming"
-HOMEPAGE="http://www.ocsigen.org"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-IUSE="debug doc dbm +ocamlopt +sqlite zlib postgres"
-REQUIRED_USE="|| ( sqlite dbm postgres )"
-RESTRICT="strip installsources"
-
-DEPEND=">=dev-ml/lwt-2.5.0:=[camlp4(+)]
- dev-ml/lwt_react:=
- dev-ml/lwt_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-4:=[camlp4(+)]
- >=dev-lang/ocaml-3.12:=[ocamlopt?]
- dev-ml/ocaml-ipaddr:=
- postgres? ( dev-ml/pgocaml:=[camlp4(+)] )
- dbm? ( dev-ml/camldbm:= )
- sqlite? ( dev-ml/ocaml-sqlite3:= )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- enewgroup ocsigenserver
- enewuser ocsigenserver -1 -1 /var/www ocsigenserver
-}
-
-src_prepare() {
- 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) \
- $(use_with postgres pgsql) \
- --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
- newconfd "${FILESDIR}"/ocsigenserver.confd ocsigenserver
-
- dodoc README.md
-
- # We create it at runtime
- rm -f "${ED}/var/run/ocsigenserver_command" || die
-}
diff --git a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
deleted file mode 100644
index 7a0c0069f540..000000000000
--- a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib findlib user
-
-if [ "${PV#9999}" != "${PV}" ] ; then
- inherit git-r3
- SRC_URI=""
- EGIT_REPO_URI="https://github.com/ocsigen/ocsigenserver"
-else
- SRC_URI="https://github.com/ocsigen/ocsigenserver/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Ocaml-powered webserver and framework for dynamic web programming"
-HOMEPAGE="http://www.ocsigen.org"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-IUSE="debug doc dbm +ocamlopt +sqlite zlib postgres"
-REQUIRED_USE="|| ( sqlite dbm postgres )"
-RESTRICT="strip installsources"
-
-DEPEND=">=dev-ml/lwt-2.5.0:=[camlp4(+)]
- dev-ml/lwt_react:=
- dev-ml/lwt_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-4:=[camlp4(+)]
- >=dev-lang/ocaml-3.12:=[ocamlopt?]
- dev-ml/ocaml-ipaddr:=
- postgres? ( dev-ml/pgocaml:=[camlp4(+)] )
- dbm? ( dev-ml/camldbm:= )
- sqlite? ( dev-ml/ocaml-sqlite3:= )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- enewgroup ocsigenserver
- enewuser ocsigenserver -1 -1 /var/www ocsigenserver
-}
-
-src_prepare() {
- 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) \
- $(use_with postgres pgsql) \
- --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
- newconfd "${FILESDIR}"/ocsigenserver.confd ocsigenserver
-
- dodoc README.md
-
- # We create it at runtime
- rm -f "${ED}/var/run/ocsigenserver_command" || die
-}