Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-ml/ocamlnet
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.35 2008/06/19 06:56:01 aballier Exp $
19 Jun 2008; Alexis Ballier
+files/ocamlnet-2.2.9-glibc28.patch, ocamlnet-2.2.9-r1.ebuild:
Fix build with glibc 2.8, bug #227653
12 May 2008; Alexis Ballier
ocamlnet-2.2.9-r1.ebuild:
update homepage
13 Apr 2008; Alexis Ballier
-ocamlnet-2.2.8.1.ebuild:
remove old
12 Apr 2008; Tobias Scherbaum
ocamlnet-2.2.9-r1.ebuild:
ppc stable, bug #216779
12 Apr 2008; Dawid Węgliński
Stable on x86 (bug #216779)
10 Apr 2008; Santiago M. Mola
ocamlnet-2.2.9-r1.ebuild:
amd64 stable wrt bug #216779
03 Feb 2008; Alexis Ballier
ocamlnet-2.2.9-r1.ebuild:
remove dev-ml/{equeue,rpc,netclient} references as they are going away
18 Jan 2008; Alexis Ballier
ocamlnet-2.2.9-r1.ebuild:
restrict installsources, debugedit kills executables compiled with ocamlc
-custom
03 Jan 2008; Alexis Ballier
-ocamlnet-2.2.9.ebuild:
Remove unused versions
03 Jan 2008; Alexis Ballier
ocamlnet-2.2.9-r1.ebuild:
Allow to disable ocamlopt via an useflag
31 Dec 2007; Matti Bickel
ppc stable (bug #195535)
*ocamlnet-2.2.9-r1 (17 Dec 2007)
17 Dec 2007; Alexis Ballier
+files/build_w_camlp5.dpatch, +ocamlnet-2.2.9-r1.ebuild:
Import a patch from Stefano Zacchiroli (debian) to force building with
camlp5 now that is has findlib support, this fixes the build with ocaml 3.10
16 Nov 2007; Steve Dibb
amd64 stable, bug 195535
*ocamlnet-2.2.9 (13 Nov 2007)
13 Nov 2007; Alexis Ballier
version bump
11 Oct 2007; Dawid Węgliński
Stable on x86 (bug #195535)
31 Aug 2007; Alexis Ballier
-ocamlnet-2.2.7.ebuild:
remove unused versions
30 Aug 2007; Christian Heim
Removing mattam from metadata due to his retirement (see #30021 for reference).
*ocamlnet-2.2.8.1 (23 Aug 2007)
23 Aug 2007; Alexis Ballier
-files/ocamlnet-2.2.4-configure-fix.patch, -ocamlnet-2.2.4.ebuild,
+ocamlnet-2.2.8.1.ebuild:
version bump, remove unused version
*ocamlnet-2.2.7 (12 May 2007)
12 May 2007; Alexis Ballier
Version bump
*ocamlnet-2.2.4 (27 Mar 2007)
27 Mar 2007; Alexis Ballier
+files/ocamlnet-2.2.4-configure-fix.patch, +ocamlnet-2.2.4.ebuild:
Version bump, thanks to Pierre Clairambault, bug #114277
09 Feb 2007; Diego Pettenò
Regenerate digest in Manifest2 format.
27 Mar 2005; Matthieu Sozeau
ocamlnet-0.98.ebuild:
Remove old version, latest is stable on ppc.
14 Mar 2005; Matthieu Sozeau
Add ~amd64.
09 Mar 2005; Matthieu Sozeau
Add compatibility cgi module so netclient can be compiled.
09 Mar 2005; Matthieu Sozeau
Fix data files installation, add pop library.
18 Feb 2005; Michael Sterrett
fix repoman issues; tidy
*ocamlnet-0.98 (18 Feb 2005)
18 Feb 2005; Matthieu Sozeau
Version bump.
30 Sep 2004; Matthieu Sozeau
Stable move (fixes bug #65131 for amd64)
25 Aug 2004; Matthieu Sozeau
NET_DB_DIR fix.
*ocamlnet-0.97.1 (19 Aug 2004)
19 Aug 2004; Matthieu Sozeau
Version bump, use findlib eclass.
23 Mar 2004; Matthieu Sozeau
Added ~ppc keyword.
*ocamlnet-0.95 (23 Feb 2003)
23 Feb 2003; George Shapovalov
initial release (#15901)
Modules for O'Caml application-level Internet protocols
ebuild submitted by Bardur Arantsson
-----BEGIN PGP SIGNED MESSAGE-----
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
EBUILD ocamlnet-2.2.9-r1.ebuild 2104 RMD160 f01b46dc0ff05b855e6ee87d68859dd5e5338dc4 SHA1 c40388d1aac5c33c640599a71e621160d97f8c63 SHA256 0c8f55f99979ed15b3cb7199b156c306f1e0d82ad28a9fe58db376cf1af2b7b1
MISC ChangeLog 4624 RMD160 e56ca9ae809b1fb2d262ffec59328051879df8ca SHA1 1f97bd7cfb58a51c0f41252ee86deb4650c1b4c0 SHA256 04ae24a814e52df5475e05cd8a3b6f1aecc1ec537e2e8b5e24edc55d1b9f3130
MISC metadata.xml 156 RMD160 b85f5bc80861e3fb890d0c87457a549d5bdaa191 SHA1 3be740773dec616d1c3969afaf1571348e455fef SHA256 40d721e2107cc8aac043b574fdae94c9e31ae133bc8e275fbc0a56329b3f5cee
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhaA1gACgkQvFcC4BYPU0ooWQCfYoluwvbYU+OwrwZDzcuZQINO
ywQAn1+T6ewiJwkUjigYNp4GAn/i3CRw
=Yuxe
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-2.2.9-r1.ebuild,v 1.9 2008/06/19 06:56:01 aballier Exp $
inherit eutils findlib
EAPI="1"
DESCRIPTION="Modules for OCaml application-level Internet protocols"
HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
SRC_URI="mirror://sourceforge/ocamlnet/${P}.tar.gz"
LICENSE="as-is GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="gtk ssl tk httpd +ocamlopt"
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-ml/camlp5-5.05
gtk? ( >=dev-ml/lablgtk-2 )
ssl? ( dev-ml/ocaml-ssl )"
RDEPEND="${DEPEND}"
pkg_setup() {
if use tk && ! built_with_use 'dev-lang/ocaml' tk ;
then die "If you want to enable tcl/tk, you need to rebuild dev-lang/ocaml with the 'tk' USE flag";
fi
if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
eerror "In order to build ${PN} with native code support from ocaml"
eerror "You first need to have a native code ocaml compiler."
eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
die "Please install ocaml with ocamlopt useflag"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/build_w_camlp5.dpatch"
epatch "${FILESDIR}/${P}-glibc28.patch"
}
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_compile() {
./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_with httpd nethttpd) \
|| die "Error : econf failed!"
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
}