summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-03-07 09:28:17 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-03-07 09:28:17 +0000
commitba054163349c7851736e97c4d2a787df2839ab55 (patch)
tree520f0bb6c419e8701f41e625b24e171a0983b88d /dev-ml
parentremove old (diff)
downloadhistorical-ba054163349c7851736e97c4d2a787df2839ab55.tar.gz
historical-ba054163349c7851736e97c4d2a787df2839ab55.tar.bz2
historical-ba054163349c7851736e97c4d2a787df2839ab55.zip
version bump
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocamlnet/ChangeLog7
-rw-r--r--dev-ml/ocamlnet/Manifest18
-rw-r--r--dev-ml/ocamlnet/ocamlnet-3.5.1.ebuild75
3 files changed, 89 insertions, 11 deletions
diff --git a/dev-ml/ocamlnet/ChangeLog b/dev-ml/ocamlnet/ChangeLog
index eb55de627269..9a3012458f07 100644
--- a/dev-ml/ocamlnet/ChangeLog
+++ b/dev-ml/ocamlnet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/ocamlnet
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.57 2012/03/02 15:02:44 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.58 2012/03/07 09:28:17 aballier Exp $
+
+*ocamlnet-3.5.1 (07 Mar 2012)
+
+ 07 Mar 2012; Alexis Ballier <aballier@gentoo.org> +ocamlnet-3.5.1.ebuild:
+ version bump
02 Mar 2012; Agostino Sarubbo <ago@gentoo.org> ocamlnet-3.5.ebuild:
Stable for amd64, wrt bug #405959
diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest
index 9ef07ef476e0..3f1c6fef1d2c 100644
--- a/dev-ml/ocamlnet/Manifest
+++ b/dev-ml/ocamlnet/Manifest
@@ -1,26 +1,24 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+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.2.1.tar.gz 2732852 RMD160 dba1ac7005a6d0ae03a4dacf37f13eee55f3cfce SHA1 69bb8228ea5f8f7f258991b04196a555afe12e88 SHA256 3d68a178c172e2e68fbe0527b4224a07f5f61722515c7cecb1d77b1a96436ef0
DIST ocamlnet-3.4.1.tar.gz 3195528 RMD160 d55d84834549c9a0b32d9e5609cdf5df44e57ef1 SHA1 1359380351c2049325d4629fc837d543477bc28e SHA256 c8e802fc1ffdb4f1e9a74dfa274b2baf0e909ef3038384add7e3c573616a19a8
+DIST ocamlnet-3.5.1.tar.gz 3290994 RMD160 133a2572e9ef8a5bf62880a2a6696391d0938a08 SHA1 7e1c2ab3ada6735139b47eb852495cd609ebfd6e SHA256 1304eea88aacbc08864e7ff8fce58fab495f41c99b6379784121fc9e92ca8426
DIST ocamlnet-3.5.tar.gz 3290489 RMD160 150b8aa3557b2fe96842273cd99e4eb7211f8e6a SHA1 c984c62861a7f3ba2dcef7fa3a29c7fa3cf36828 SHA256 bf509cdbfefa7cead1676131c41f22ea0aa516b8ade57a7d961cde9a1cb623f1
EBUILD ocamlnet-2.2.9-r1.ebuild 1633 RMD160 3f5062d71a785117681a9ba5766bea0db0095a17 SHA1 ee0ab29b9e61abd35ddcf455a3b0de84992a491b SHA256 3278ac58abcf655aa9ab3ff4c2c8c1aeff58be82867db51af6290bb3a48221e6
EBUILD ocamlnet-3.2.1.ebuild 1631 RMD160 79fe7505c4aec0602cd462ca48d8b00d404446ee SHA1 bbab147e4920c7b2a41976f6b198ca18141abf33 SHA256 b6a1564f0f8d83cc6346b6070e0bd3f88d4163684793a3e81b685ae7f03525ac
EBUILD ocamlnet-3.4.1.ebuild 1767 RMD160 258f128ee2aa58734f6683753e1855bad5ff9f8f SHA1 7658b0f83425453a6f217ce0dc112c9cbd39ca72 SHA256 ac0e603be26314aa1db7ba3f68e6715208faa937937bce0a1d48c6a08629e401
+EBUILD ocamlnet-3.5.1.ebuild 1767 RMD160 22270e36204d12b4996fac8d9966ca82752f7fe5 SHA1 ea7902b8795d1a940a43425f2078f7016c037eab SHA256 30d9da1f3d45e8d291f77c368c35e2b1b9a48e72770cd7b3bab1c8f31a7ac736
EBUILD ocamlnet-3.5.ebuild 1759 RMD160 560a3f944b36531ecfc02be3b9214d06ddf43a9b SHA1 1d30fce1e7c87529889e8ca12f67d2b036255081 SHA256 4764f1bc1e38ef54b01fbfc4ee3e2e8c75ef48800ff2b30c5bb61538fad8026c
-MISC ChangeLog 7361 RMD160 bb63e8d19d65fee219a4370b401fc0e0abb18e36 SHA1 d49d962e2f16aff2e55c91d47dce616ff1aef225 SHA256 c4eba7244ee8795c87ad04d1707a864b04b1f0069dc29ba286a612f6d1360168
+MISC ChangeLog 7489 RMD160 918e37992b77f40107dc9f946bdc373467a83984 SHA1 fc8c4cb06a9ec8da88bedd2b0235d78e9f2b3a23 SHA256 6e0c8eda54596b4431c5d69c0fac7cf74724207cafb9da84b9afe612166e816f
MISC metadata.xml 419 RMD160 1ccd28e42a80f3946a2b7d36fa5bfe0eb411520c SHA1 58a3938bf84b282b5d6ffccb9c1ee8964d05aed6 SHA256 b8b5005c86a12de781987f6a36917a635b46469a5ef497d6fec80e3d8737e7fb
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBCgAGBQJPUOEaAAoJEOTDgjZ80txd3cgIAJWzQVewFMk46BRnuJSnIzBX
-dihtamEAoPUWfCVu8ayoXNvmcVMXs3tQBJFjkT1X+jhLMxSAPxanK3JYo9+q6shz
-y8i9wdLHr6yw87Jy3KeArY8EjVhyi3rmXxDrROjDVBsuK6u8cPeTGu9ILMHacPva
-PB2WzxxB5B78uJwBdgG5yzyEHPYqnMf1qKFM9xYNQvnR7muhNQbEdb+tYwScErTA
-47tTcBVX+Z9Mbw955BVmOaQOOUO+L6xKWwyx1+iPkpg3YOYSlf2LOcu68ufD/91v
-O6jKCMfP6Ib1hoItYv/AWvetHgz6xI9l7xXnn04iwrXt1AzOBFYIGWUD352+VrI=
-=tLMq
+iEYEARECAAYFAk9XKjYACgkQvFcC4BYPU0qnrwCfVZPUschxj0taTAjp0adt9aFh
+AK0AoLvdiDo1gi1TBPzYmdHUcizFt/Ru
+=9U4b
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlnet/ocamlnet-3.5.1.ebuild b/dev-ml/ocamlnet/ocamlnet-3.5.1.ebuild
new file mode 100644
index 000000000000..534d0ffcc0b9
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-3.5.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.5.1.ebuild,v 1.1 2012/03/07 09:28:17 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 ~x86 ~x86-fbsd"
+IUSE="cryptokit gtk ssl tk httpd +ocamlopt +pcre 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
+ pcre? ( >=dev-ml/pcre-ocaml-5 )
+ >=dev-lang/ocaml-3.10.2[tk?,ocamlopt?]
+ cryptokit? ( dev-ml/cryptokit )
+ 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 cryptokit crypto) \
+ $(ocamlnet_use_enable gtk gtk2) \
+ $(ocamlnet_use_enable pcre pcre) \
+ $(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
+}