summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-11-14 11:08:00 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-11-14 11:08:00 +0000
commitb31c9df008c3df47a800796f6dfdb60990ddf0e9 (patch)
treeef84eadcc313313debb1970555bdc6ba6d0b2d7c /dev-ml/ocamlnet
parentVersion bump via perl-bump experimental tool. (diff)
downloadhistorical-b31c9df008c3df47a800796f6dfdb60990ddf0e9.tar.gz
historical-b31c9df008c3df47a800796f6dfdb60990ddf0e9.tar.bz2
historical-b31c9df008c3df47a800796f6dfdb60990ddf0e9.zip
version bump
Package-Manager: portage-2.2_rc49/cvs/Linux x86_64
Diffstat (limited to 'dev-ml/ocamlnet')
-rw-r--r--dev-ml/ocamlnet/ChangeLog8
-rw-r--r--dev-ml/ocamlnet/Manifest14
-rw-r--r--dev-ml/ocamlnet/metadata.xml1
-rw-r--r--dev-ml/ocamlnet/ocamlnet-3.0_beta1.ebuild72
4 files changed, 88 insertions, 7 deletions
diff --git a/dev-ml/ocamlnet/ChangeLog b/dev-ml/ocamlnet/ChangeLog
index 52911f2405a5..3d9ab0b1bb28 100644
--- a/dev-ml/ocamlnet/ChangeLog
+++ b/dev-ml/ocamlnet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ml/ocamlnet
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.38 2009/09/28 16:43:22 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.39 2009/11/14 11:08:00 aballier Exp $
+
+*ocamlnet-3.0_beta1 (14 Nov 2009)
+
+ 14 Nov 2009; Alexis Ballier <aballier@gentoo.org>
+ +ocamlnet-3.0_beta1.ebuild:
+ version bump
28 Sep 2009; Petteri Räty <betelgeuse@gentoo.org>
ocamlnet-2.2.9-r1.ebuild:
diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest
index 5b6db18eaf12..dd4ab81cb43a 100644
--- a/dev-ml/ocamlnet/Manifest
+++ b/dev-ml/ocamlnet/Manifest
@@ -4,13 +4,15 @@ Hash: SHA1
AUX build_w_camlp5.dpatch 7584 RMD160 53e5def4617442a232ef146884c25c35067c9ef8 SHA1 b9f65b5f6ee45dc4144960e6729e4a29c0d94ff2 SHA256 146865f95679b484b69336facb710e2c3e8960606598a20e6af04d416159f958
AUX ocamlnet-2.2.9-glibc28.patch 367 RMD160 99d07978b0dddd5f4a7f36d88caf8a0a6364aca2 SHA1 c811c63f9f10126bff21f20ccc4476b43f001e61 SHA256 e266efc15186d88542fbdfe1ddc6500b9bd07c707c3b0b78911e1142d7828762
DIST ocamlnet-2.2.9.tar.gz 1877257 RMD160 1299e1316e0547171089b0caaa9deb13c4c67c31 SHA1 ca073c60f86fede60d4c479e5589127010482804 SHA256 134530a4357879e095bdbbb5f21f78634a16ef4d787eb151676b7fee7e4c0dc9
+DIST ocamlnet-3.0test1.tar.gz 2283705 RMD160 82457504159e72a994f92b0aa9356ee0a6ea40bb SHA1 d2d2005d4231e625793253b06e38fde2a287f940 SHA256 1cde0715563b056501f65d1226c9fdbdf4260cd42681d915ccf5de59f378d299
EBUILD ocamlnet-2.2.9-r1.ebuild 1633 RMD160 3f5062d71a785117681a9ba5766bea0db0095a17 SHA1 ee0ab29b9e61abd35ddcf455a3b0de84992a491b SHA256 3278ac58abcf655aa9ab3ff4c2c8c1aeff58be82867db51af6290bb3a48221e6
-MISC ChangeLog 5039 RMD160 a9843748c88addd66c07c17d8fadae5b6033bd14 SHA1 3ddd3740abd646268bec6a3a09ee7875778ec16e SHA256 931f86743d7a0b4f0e0a489f0ec16b2b667e79c5fd8392b76938a442fcf850ab
-MISC metadata.xml 235 RMD160 2582e8544c409477a32f54704b490de2bb205ed3 SHA1 1816ee49f99d9e1d6ae18f979336ebc5b8d47b72 SHA256 372a9697869c50821c0144ed80155c9f0739b9ad15c703bea7d8804c2cf38cba
+EBUILD ocamlnet-3.0_beta1.ebuild 1635 RMD160 f07351eea59ba87d3ae0b3fe7e54c5d7772d5079 SHA1 99b04b4bd5083f25d21540a3978bb8999e214338 SHA256 802386b6fb63bcb301885db44a2b3e67ebaff7aacafe8380d26e4b921414d2a0
+MISC ChangeLog 5170 RMD160 a9ddeae7f68c0419f363712845eaf12da0744070 SHA1 d19d08369ba7b33d283e5d1a3c321af1d372e80b SHA256 43f64b3915100703ee717753e939970f2a96c031e2fc8f1a632b29461fed573c
+MISC metadata.xml 329 RMD160 671595a76989198aaab2de2fefffc3129649c7b2 SHA1 0b57c22cf6c33808b79d6b7d5b1456b8218d9f9c SHA256 299c9229ef86f9e948f0126eb542a18d5ffa76d9876fada7e093257d4f417bdb
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkrA57MACgkQcxLzpIGCsLQtkgCfdxQ/xIRO3qcKpg7dWbWELiOm
-qCUAn2OlJjrevtbPepxRVN8/4HmIEpCK
-=lAZD
+iEYEARECAAYFAkr+j54ACgkQvFcC4BYPU0rL3ACgoFz/EpdlKrz0VrLsq0gp/oxV
+Dc4An3U0sEUaDUy64EaYUFf+PPDKWsn0
+=tWcC
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlnet/metadata.xml b/dev-ml/ocamlnet/metadata.xml
index f018ef26db1f..a9af6c577fdf 100644
--- a/dev-ml/ocamlnet/metadata.xml
+++ b/dev-ml/ocamlnet/metadata.xml
@@ -4,5 +4,6 @@
<herd>ml</herd>
<use>
<flag name='httpd'>Enables net-httpd web server component</flag>
+ <flag name='zip'>Enables netzip support to read/write gzip data using object channels</flag>
</use>
</pkgmetadata>
diff --git a/dev-ml/ocamlnet/ocamlnet-3.0_beta1.ebuild b/dev-ml/ocamlnet/ocamlnet-3.0_beta1.ebuild
new file mode 100644
index 000000000000..13a2c83611d1
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-3.0_beta1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.0_beta1.ebuild,v 1.1 2009/11/14 11:08:00 aballier Exp $
+
+EAPI="2"
+
+inherit eutils findlib
+
+MY_P=${P/_beta/test}
+DESCRIPTION="Modules for OCaml application-level Internet protocols"
+HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="as-is GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="gtk ssl tk httpd +ocamlopt zip"
+RESTRICT="installsources"
+
+# the auth-dh compile flag has been disabled as well, since it depends on
+# ocaml-cryptgps, which is not available.
+
+DEPEND=">=dev-ml/findlib-1.0
+ >=dev-ml/pcre-ocaml-5
+ >=dev-lang/ocaml-3.10.2[tk?,ocamlopt?]
+ gtk? ( >=dev-ml/lablgtk-2 )
+ ssl? ( >=dev-ml/ocaml-ssl-0.4 )
+ zip? ( dev-ml/camlzip )
+ "
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+ocamlnet_use_with() {
+ if use $1; then
+ echo "-with-$2"
+ else
+ echo "-without-$2"
+ fi
+}
+
+ocamlnet_use_enable() {
+ if use $1; then
+ echo "-enable-$2"
+ else
+ echo "-disable-$2"
+ fi
+}
+
+src_configure() {
+ ./configure \
+ -bindir /usr/bin \
+ -datadir /usr/share/${PN} \
+ $(ocamlnet_use_enable gtk gtk2) \
+ $(ocamlnet_use_enable ssl ssl) \
+ $(ocamlnet_use_enable tk tcl) \
+ $(ocamlnet_use_enable zip zip) \
+ $(ocamlnet_use_with httpd nethttpd) \
+ || die "Error : econf failed!"
+}
+
+src_compile() {
+ emake -j1 all || die "make failed"
+ if use ocamlopt; then
+ emake -j1 opt || die "make failed"
+ fi
+}
+
+src_install() {
+ export STRIP_MASK="*/bin/*"
+ findlib_src_install
+}