From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F05F4138359 for ; Sat, 17 Oct 2020 21:32:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23BEAE0958; Sat, 17 Oct 2020 21:32:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D66FE0958 for ; Sat, 17 Oct 2020 21:32:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B693E340F74 for ; Sat, 17 Oct 2020 21:32:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28A603A6 for ; Sat, 17 Oct 2020 21:32:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1602970343.549bdb0262958a7cc8dbffbe8560728260b599d0.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlnet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ocamlnet/Manifest dev-ml/ocamlnet/ocamlnet-4.1.8.ebuild X-VCS-Directories: dev-ml/ocamlnet/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 549bdb0262958a7cc8dbffbe8560728260b599d0 X-VCS-Branch: master Date: Sat, 17 Oct 2020 21:32:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 70bff935-4f34-4c53-9482-89120a785a46 X-Archives-Hash: 2027d2e5cb301ff17df012aeec84bf50 commit: 549bdb0262958a7cc8dbffbe8560728260b599d0 Author: Sam James gentoo org> AuthorDate: Sat Oct 17 21:32:17 2020 +0000 Commit: Sam James gentoo org> CommitDate: Sat Oct 17 21:32:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549bdb02 dev-ml/ocamlnet: bump to 4.1.4 Closes: https://bugs.gentoo.org/715188 Closes: https://bugs.gentoo.org/641858 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> dev-ml/ocamlnet/Manifest | 1 + dev-ml/ocamlnet/ocamlnet-4.1.8.ebuild | 78 +++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest index 59ad2196586..fc9215dd9dc 100644 --- a/dev-ml/ocamlnet/Manifest +++ b/dev-ml/ocamlnet/Manifest @@ -1,2 +1,3 @@ DIST ocamlnet-4.1.2.tar.gz 4623183 BLAKE2B 7e8d5cdc823b9e924258f75f00957ba185d49555377ba2a2d960c47e2ea958059e1ab62e27be63770bb4f547e1fa0cb788a54c3e698180b2b15f0097fe84455a SHA512 69f42042a54efd662db2217224da53513fc7e72c7b2313d4a4a1128f1b4624f4f6298434f5b19f354b832119ff151abc81e85eb0108d6eb24f30f82d176e0b4d DIST ocamlnet-4.1.4.tar.gz 4552969 BLAKE2B 3dfedcd09eb91d1ca8e13b7a87dfe70cfb88d57d0b4fa970fe6179affa05ba3fdeaad0dfbb6ac267e7a6530c289408b1a8ad66a805226245f80fe66770addad5 SHA512 ca502444f81898ccda27d61760a357aad59624cf3c4c025d49dd1c2e7bc3ef497c199634247ba7731e016c234e5cd92d2599d1ef9ecd55c3b6e7a64fc4773ee0 +DIST ocamlnet-4.1.8.tar.gz 4620065 BLAKE2B 8f84ce4d79de5f4a1f26d4e45f68327042b0adc22717e56eeaca03ee6371e9251c01e8736d3afe5c00a1c65ef0286d56a04c57e80377402bb19ff87955ae98d9 SHA512 e238235968b9546c60568a38e68e354378d30e7137973332dcb10da21fa775ab7b367889fc51f5bd7cb00e51582834cafe2a0c4706b0bc77a44d4571a6f22815 diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.8.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.8.ebuild new file mode 100644 index 00000000000..b10135604ad --- /dev/null +++ b/dev-ml/ocamlnet/ocamlnet-4.1.8.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZLIB GPL-2+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gtk kerberos tk httpd +ocamlopt +pcre ssl zip" +RESTRICT="installsources strip" + +# the auth-dh compile flag has been disabled as well, since it depends on +# ocaml-cryptgps, which is not available. + +BDEPEND=" + dev-ml/cppo + virtual/pkgconfig +" +RDEPEND=" + >=dev-ml/findlib-1.0 + >=dev-lang/ocaml-3.10.2:=[ocamlopt?] + pcre? ( >=dev-ml/pcre-ocaml-5:= ) + tk? ( dev-ml/labltk:= ) + ssl? ( net-libs/gnutls:= ) + gtk? ( >=dev-ml/lablgtk-2:= ) + kerberos? ( virtual/krb5 ) + zip? ( dev-ml/camlzip:= ) +" +DEPEND="${RDEPEND}" + +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 ssl gnutls) \ + $(ocamlnet_use_enable gtk gtk2) \ + $(ocamlnet_use_enable kerberos gssapi) \ + $(ocamlnet_use_enable pcre pcre) \ + $(ocamlnet_use_enable tk tcl) \ + $(ocamlnet_use_enable zip zip) \ + $(ocamlnet_use_with httpd nethttpd) \ + || die "Error: econf failed!" +} + +src_compile() { + emake -j1 all + if use ocamlopt; then + emake -j1 opt + fi +} + +src_install() { + findlib_src_install +}