public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-04-13  8:30 Alexis Ballier
  0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2016-04-13  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     1728bab63df2886b6f71cbebd97976a314666c82
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 08:06:31 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 08:30:13 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1728bab6

www-servers/ocsigenserver: bump to 2.7

Package-Manager: portage-2.2.28

 www-servers/ocsigenserver/Manifest                 |  1 +
 www-servers/ocsigenserver/ocsigenserver-2.7.ebuild | 85 ++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/www-servers/ocsigenserver/Manifest b/www-servers/ocsigenserver/Manifest
index b387c9c..7a6b192 100644
--- a/www-servers/ocsigenserver/Manifest
+++ b/www-servers/ocsigenserver/Manifest
@@ -1,2 +1,3 @@
 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/ocsigenserver-2.7.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
new file mode 100644
index 0000000..b5ef6ae
--- /dev/null
+++ b/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
@@ -0,0 +1,85 @@
+# 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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-06-21 14:21 Alexis Ballier
  0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2016-06-21 14:21 UTC (permalink / raw
  To: gentoo-commits

commit:     36387406c41f31715a8cb096eb1edaad39825ab6
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 12:11:28 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 14:21:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36387406

www-servers/ocsigenserver: depend on tyxml[camlp4(+)]

Package-Manager: portage-2.3.0_rc1

 www-servers/ocsigenserver/ocsigenserver-2.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
index b5ef6ae..0c79158 100644
--- a/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -23,7 +23,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
 		dev-ml/cryptokit:=
 		>=dev-ml/ocamlnet-3.6:=[pcre]
 		>=dev-ml/pcre-ocaml-6.2.5:=
-		>=dev-ml/tyxml-3.3:=
+		>=dev-ml/tyxml-3.3:=[camlp4(+)]
 		>=dev-lang/ocaml-3.12:=[ocamlopt?]
 		dev-ml/ocaml-ipaddr:=
 		dbm? ( || ( dev-ml/camldbm:= >=dev-lang/ocaml-3.12[gdbm] ) )


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-06-21 19:26 Michał Górny
  0 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2016-06-21 19:26 UTC (permalink / raw
  To: gentoo-commits

commit:     a6bb3f132de1185fb2798692666e368415fe839e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 19:26:12 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 19:26:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6bb3f13

www-servers/ocsigenserver: Remove := inside ||, #586328

 www-servers/ocsigenserver/ocsigenserver-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
index e9144bb..1a5a3cb 100644
--- a/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
@@ -26,7 +26,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
 		>=dev-ml/tyxml-3.3:=[camlp4(+)]
 		>=dev-lang/ocaml-3.12:=[ocamlopt?]
 		dev-ml/ocaml-ipaddr:=
-		dbm? ( || ( dev-ml/camldbm:= >=dev-lang/ocaml-3.12[gdbm] ) )
+		dbm? ( || ( dev-ml/camldbm >=dev-lang/ocaml-3.12[gdbm] ) )
 		sqlite? ( dev-ml/ocaml-sqlite3:= )"
 RDEPEND="${DEPEND}"
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-06-23 11:26 Alexis Ballier
  0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2016-06-23 11:26 UTC (permalink / raw
  To: gentoo-commits

commit:     7756f9b4c515c47a0c60e26d2ad502f69bf66a6f
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 11:26:18 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 11:26:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7756f9b4

www-servers/ocsigenserver: depend on camldbm only since ocsigen is ~arch only and camldbm is unmasked on relevant arches.

Package-Manager: portage-2.3.0_rc1

 .../{ocsigenserver-2.7.ebuild => ocsigenserver-2.7-r1.ebuild}           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.7-r1.ebuild
similarity index 97%
rename from www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
rename to www-servers/ocsigenserver/ocsigenserver-2.7-r1.ebuild
index 1a5a3cb..311e804 100644
--- a/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-2.7-r1.ebuild
@@ -26,7 +26,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
 		>=dev-ml/tyxml-3.3:=[camlp4(+)]
 		>=dev-lang/ocaml-3.12:=[ocamlopt?]
 		dev-ml/ocaml-ipaddr:=
-		dbm? ( || ( dev-ml/camldbm >=dev-lang/ocaml-3.12[gdbm] ) )
+		dbm? ( dev-ml/camldbm:= )
 		sqlite? ( dev-ml/ocaml-sqlite3:= )"
 RDEPEND="${DEPEND}"
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-09-06 14:17 Alexis Ballier
  0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2016-09-06 14:17 UTC (permalink / raw
  To: gentoo-commits

commit:     8ce2e2988f22f232fa82f827add52c9b60253c1f
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  6 14:13:00 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 14:17:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ce2e298

www-servers/ocsigenserver: remove keywords from live ebuild

Package-Manager: portage-2.3.0

 www-servers/ocsigenserver/ocsigenserver-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
index 881c45a..1d0abdc 100644
--- a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
@@ -21,7 +21,6 @@ HOMEPAGE="http://www.ocsigen.org"
 
 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"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-09-06 14:17 Alexis Ballier
  0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2016-09-06 14:17 UTC (permalink / raw
  To: gentoo-commits

commit:     13885eeb7c9f2a9a89fbc5f08ac94740be1aef24
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  6 14:12:03 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 14:17:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13885eeb

www-servers/ocsigenserver: add live ebuild

Package-Manager: portage-2.3.0

 .../ocsigenserver/ocsigenserver-9999.ebuild        | 94 ++++++++++++++++++++++
 1 file changed, 94 insertions(+)

diff --git a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
new file mode 100644
index 00000000..881c45a
--- /dev/null
+++ b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+	KEYWORDS=""
+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}"
+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-4:=[camlp4(+)]
+		>=dev-lang/ocaml-3.12:=[ocamlopt?]
+		dev-ml/ocaml-ipaddr:=
+		dbm? ( dev-ml/camldbm:= )
+		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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-11-28 13:28 Alexis Ballier
  0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2016-11-28 13:28 UTC (permalink / raw
  To: gentoo-commits

commit:     13c834a6dd443e49ea6eb87cc8a6f8dbc104ac03
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 28 11:17:01 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Nov 28 13:28:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13c834a6

www-servers/ocsigenserver: bump to 2.8

Package-Manager: portage-2.3.2

 www-servers/ocsigenserver/Manifest                 |  1 +
 www-servers/ocsigenserver/ocsigenserver-2.8.ebuild | 93 ++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/www-servers/ocsigenserver/Manifest b/www-servers/ocsigenserver/Manifest
index 3508f47..029b681 100644
--- a/www-servers/ocsigenserver/Manifest
+++ b/www-servers/ocsigenserver/Manifest
@@ -1 +1,2 @@
 DIST ocsigenserver-2.7.tar.gz 1262049 SHA256 01a477b180588fe0ac553177e84832448e02405bc73e432024e7a7ae21b3693f SHA512 e31fa428e1d86232e4066a93fc948b592e80bb3e8374efee4f40d02c53e8a713ade8aa9904623c1129c892557ac4a451928278b808abe190bb254e6e43aab256 WHIRLPOOL 1b55034d364da40b4bb0931b15da1a1c4c47f9133f1fd6099bfad57e6a43e5ce990a1a08295c740883b82f951cf3db9ad34ea1f70a818bd8296a678dc6b9b097
+DIST ocsigenserver-2.8.tar.gz 1265240 SHA256 5e9766089c23397a9af60642d80f6d9a2be722fe9f426f230ef1b41ec5c684ec SHA512 80d5125a93239c73756b03a0f50d83e691810f93a15525daef2f7ccd69279e348f03486c26319a9511c1a746f375317082a89ba37ce0ba22872d6db7d3fddf1b WHIRLPOOL d56d62e7effc94e5e5477e7b2d8de0733a74348a10f14473e47314d4fdcdce0f4ff47458e4a817e43de4269b72a6bd1171a4eb1570d7ef4c7e86a8c02e7afe1d

diff --git a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
new file mode 100644
index 00000000..1d0abdc
--- /dev/null
+++ b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+	KEYWORDS=""
+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"
+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-4:=[camlp4(+)]
+		>=dev-lang/ocaml-3.12:=[ocamlopt?]
+		dev-ml/ocaml-ipaddr:=
+		dbm? ( dev-ml/camldbm:= )
+		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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-11-28 20:33 Alexis Ballier
  0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2016-11-28 20:33 UTC (permalink / raw
  To: gentoo-commits

commit:     ba73d28f815715f5da6bdcd86ccb5c4b52a7926e
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 28 20:33:46 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Nov 28 20:33:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba73d28f

www-servers/ocsigenserver: add postgres useflag, bug #601100

Package-Manager: portage-2.3.2

 www-servers/ocsigenserver/ocsigenserver-2.8.ebuild  | 6 ++++--
 www-servers/ocsigenserver/ocsigenserver-9999.ebuild | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
index 1d0abdc..dc1f837 100644
--- a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
@@ -21,8 +21,8 @@ HOMEPAGE="http://www.ocsigen.org"
 
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
-IUSE="debug doc dbm +ocamlopt +sqlite zlib"
-REQUIRED_USE="|| ( sqlite dbm )"
+IUSE="debug doc dbm +ocamlopt +sqlite zlib postgres"
+REQUIRED_USE="|| ( sqlite dbm postgres )"
 RESTRICT="strip installsources"
 
 DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
@@ -34,6 +34,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
 		>=dev-ml/tyxml-4:=[camlp4(+)]
 		>=dev-lang/ocaml-3.12:=[ocamlopt?]
 		dev-ml/ocaml-ipaddr:=
+		postgres? ( dev-ml/pgocaml:= )
 		dbm? ( dev-ml/camldbm:= )
 		sqlite? ( dev-ml/ocaml-sqlite3:= )"
 RDEPEND="${DEPEND}"
@@ -55,6 +56,7 @@ src_configure() {
 		$(use_with zlib camlzip) \
 		$(use_with sqlite) \
 		$(use_with dbm) \
+		$(use_with postgres pgsql) \
 		--with-preempt \
 		--ocsigen-group ocsigenserver \
 		--ocsigen-user ocsigenserver  \

diff --git a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
index 1d0abdc..dc1f837 100644
--- a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
@@ -21,8 +21,8 @@ HOMEPAGE="http://www.ocsigen.org"
 
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
-IUSE="debug doc dbm +ocamlopt +sqlite zlib"
-REQUIRED_USE="|| ( sqlite dbm )"
+IUSE="debug doc dbm +ocamlopt +sqlite zlib postgres"
+REQUIRED_USE="|| ( sqlite dbm postgres )"
 RESTRICT="strip installsources"
 
 DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
@@ -34,6 +34,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
 		>=dev-ml/tyxml-4:=[camlp4(+)]
 		>=dev-lang/ocaml-3.12:=[ocamlopt?]
 		dev-ml/ocaml-ipaddr:=
+		postgres? ( dev-ml/pgocaml:= )
 		dbm? ( dev-ml/camldbm:= )
 		sqlite? ( dev-ml/ocaml-sqlite3:= )"
 RDEPEND="${DEPEND}"
@@ -55,6 +56,7 @@ src_configure() {
 		$(use_with zlib camlzip) \
 		$(use_with sqlite) \
 		$(use_with dbm) \
+		$(use_with postgres pgsql) \
 		--with-preempt \
 		--ocsigen-group ocsigenserver \
 		--ocsigen-user ocsigenserver  \


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-12-07 19:33 Alexis Ballier
  0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2016-12-07 19:33 UTC (permalink / raw
  To: gentoo-commits

commit:     cbe4147fc6174b7b2fd86c874d882e59d638cabd
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  7 17:23:23 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Dec  7 19:31:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe4147f

www-servers/ocsigenserver: require camlp4 on lwt.

Package-Manager: portage-2.3.3

 www-servers/ocsigenserver/ocsigenserver-2.8.ebuild  | 2 +-
 www-servers/ocsigenserver/ocsigenserver-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
index dc1f837..672cacf 100644
--- a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
@@ -25,7 +25,7 @@ IUSE="debug doc dbm +ocamlopt +sqlite zlib postgres"
 REQUIRED_USE="|| ( sqlite dbm postgres )"
 RESTRICT="strip installsources"
 
-DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
+DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl,camlp4(+)]
 		>=dev-ml/react-0.9.3:=
 		zlib? ( >=dev-ml/camlzip-1.03-r1:= )
 		dev-ml/cryptokit:=

diff --git a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
index dc1f837..672cacf 100644
--- a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
@@ -25,7 +25,7 @@ IUSE="debug doc dbm +ocamlopt +sqlite zlib postgres"
 REQUIRED_USE="|| ( sqlite dbm postgres )"
 RESTRICT="strip installsources"
 
-DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
+DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl,camlp4(+)]
 		>=dev-ml/react-0.9.3:=
 		zlib? ( >=dev-ml/camlzip-1.03-r1:= )
 		dev-ml/cryptokit:=


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2016-12-07 19:33 Alexis Ballier
  0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2016-12-07 19:33 UTC (permalink / raw
  To: gentoo-commits

commit:     14d36b22fa9b60c243523caa816a780f0f442710
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  7 19:12:32 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Dec  7 19:31:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d36b22

www-servers/ocsigenserver: add missing camlp4 usedep on pgocaml

Package-Manager: portage-2.3.3

 www-servers/ocsigenserver/ocsigenserver-2.8.ebuild  | 2 +-
 www-servers/ocsigenserver/ocsigenserver-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
index 672cacf..6b31fca 100644
--- a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
@@ -34,7 +34,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl,camlp4(+)]
 		>=dev-ml/tyxml-4:=[camlp4(+)]
 		>=dev-lang/ocaml-3.12:=[ocamlopt?]
 		dev-ml/ocaml-ipaddr:=
-		postgres? ( dev-ml/pgocaml:= )
+		postgres? ( dev-ml/pgocaml:=[camlp4(+)] )
 		dbm? ( dev-ml/camldbm:= )
 		sqlite? ( dev-ml/ocaml-sqlite3:= )"
 RDEPEND="${DEPEND}"

diff --git a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
index 672cacf..6b31fca 100644
--- a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
@@ -34,7 +34,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl,camlp4(+)]
 		>=dev-ml/tyxml-4:=[camlp4(+)]
 		>=dev-lang/ocaml-3.12:=[ocamlopt?]
 		dev-ml/ocaml-ipaddr:=
-		postgres? ( dev-ml/pgocaml:= )
+		postgres? ( dev-ml/pgocaml:=[camlp4(+)] )
 		dbm? ( dev-ml/camldbm:= )
 		sqlite? ( dev-ml/ocaml-sqlite3:= )"
 RDEPEND="${DEPEND}"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/
@ 2021-02-15  0:32 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2021-02-15  0:32 UTC (permalink / raw
  To: gentoo-commits

commit:     f5c4064916e5319f04eb3c10f7a9a5ae10264f43
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 23:30:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 00:32:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c40649

www-servers/ocsigenserver: fix double KEYWORDS

Double KEYWORDS lines break tools like ekeyword and Nattka.
As per PMS, blank/empty KEYWORDS is implied by not defining
the variable.

See: https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0105
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-servers/ocsigenserver/ocsigenserver-2.8.ebuild  | 3 +--
 www-servers/ocsigenserver/ocsigenserver-9999.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
index 19602549a24..7a0c0069f54 100644
--- a/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -9,7 +9,6 @@ if [ "${PV#9999}" != "${PV}" ] ; then
 	inherit git-r3
 	SRC_URI=""
 	EGIT_REPO_URI="https://github.com/ocsigen/ocsigenserver"
-	KEYWORDS=""
 else
 	SRC_URI="https://github.com/ocsigen/ocsigenserver/archive/${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64"

diff --git a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
index 19602549a24..7a0c0069f54 100644
--- a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -9,7 +9,6 @@ if [ "${PV#9999}" != "${PV}" ] ; then
 	inherit git-r3
 	SRC_URI=""
 	EGIT_REPO_URI="https://github.com/ocsigen/ocsigenserver"
-	KEYWORDS=""
 else
 	SRC_URI="https://github.com/ocsigen/ocsigenserver/archive/${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-02-15  0:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-07 19:33 [gentoo-commits] repo/gentoo:master commit in: www-servers/ocsigenserver/ Alexis Ballier
  -- strict thread matches above, loose matches on Subject: below --
2021-02-15  0:32 Sam James
2016-12-07 19:33 Alexis Ballier
2016-11-28 20:33 Alexis Ballier
2016-11-28 13:28 Alexis Ballier
2016-09-06 14:17 Alexis Ballier
2016-09-06 14:17 Alexis Ballier
2016-06-23 11:26 Alexis Ballier
2016-06-21 19:26 Michał Górny
2016-06-21 14:21 Alexis Ballier
2016-04-13  8:30 Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox