summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-04-10 18:25:53 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-04-10 18:25:53 +0000
commitbd256419b2aa89dafbb669a8a08dd89e4ba10d3b (patch)
tree46e396257de4de0cf56e68c506b179687b85c5d3
parentStable on ppc64; bug #216707 (diff)
downloadhistorical-bd256419b2aa89dafbb669a8a08dd89e4ba10d3b.tar.gz
historical-bd256419b2aa89dafbb669a8a08dd89e4ba10d3b.tar.bz2
historical-bd256419b2aa89dafbb669a8a08dd89e4ba10d3b.zip
version bump, thanks Pierre
Package-Manager: portage-2.1.5_rc2
-rw-r--r--www-servers/ocsigen/ChangeLog7
-rw-r--r--www-servers/ocsigen/Manifest12
-rw-r--r--www-servers/ocsigen/ocsigen-1.0.0.ebuild90
3 files changed, 103 insertions, 6 deletions
diff --git a/www-servers/ocsigen/ChangeLog b/www-servers/ocsigen/ChangeLog
index 247e2f1c7a98..54804d0c4da9 100644
--- a/www-servers/ocsigen/ChangeLog
+++ b/www-servers/ocsigen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-servers/ocsigen
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/ocsigen/ChangeLog,v 1.17 2008/03/01 20:49:52 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/ocsigen/ChangeLog,v 1.18 2008/04/10 18:25:53 aballier Exp $
+
+*ocsigen-1.0.0 (10 Apr 2008)
+
+ 10 Apr 2008; Alexis Ballier <aballier@gentoo.org> +ocsigen-1.0.0.ebuild:
+ version bump, thanks Pierre
01 Mar 2008; Alexis Ballier <aballier@gentoo.org>
-files/ocsigen-0.99.3-lwt-gentoo.patch, -ocsigen-0.99.4.ebuild:
diff --git a/www-servers/ocsigen/Manifest b/www-servers/ocsigen/Manifest
index 0dcf678acc51..b20e62d7e3f0 100644
--- a/www-servers/ocsigen/Manifest
+++ b/www-servers/ocsigen/Manifest
@@ -4,13 +4,15 @@ Hash: SHA1
AUX ocsigen.confd 335 RMD160 7196593f5d8ec7b40488771bdf0f60a904eca476 SHA1 e896da5ae6ef2da8f6a375bddbc2dad4c0c26fa8 SHA256 19be530156391d674a4db516303ff614e897a38e50bbff065ddcbf897d0feb8d
AUX ocsigen.initd 870 RMD160 fcf6fb9ee45441c4bf9b6adda4e8af54e62c0f8c SHA1 fa256f1c05a41ed47137c75b998f42613c128f7e SHA256 04e7ae1f912cdf6b83a82161d84a0dc4576c3b87544e5e5c1153e149bb37fca2
DIST ocsigen-0.99.5.tar.gz 665227 RMD160 36b8145c8df720ef4d090fa22632215fd0633750 SHA1 7a1cc3918e40f7dffee4a37e14024bc5bee8d0dd SHA256 3fd5ea7ac5e2b6b31dc57f465e159d5d01c577b9f7c4ea9ebfa60e41032943b6
+DIST ocsigen-1.0.0.tar.gz 684837 RMD160 aece317a832ff41c404ea81adf2cdb31375fc43e SHA1 4c570c21fa27d4e682185b266a1e4ae05a72b642 SHA256 6cff0c3155e6aea21c58daa78fbb480f8ae5d8f62bf33684922e6f3b1450b9fd
EBUILD ocsigen-0.99.5.ebuild 2432 RMD160 b734a67e991743a4390909177eeba660ba9e46c5 SHA1 8b49072b63ab3b16e7d3d6d05e84f6be4b92d1d3 SHA256 84f7ff79d3a208702ad78a9669b2a4c0e768c0ad03fa6ca23dae43ed3a416fd3
-MISC ChangeLog 2445 RMD160 6096710ce53060e027b3997be480638888836858 SHA1 f9c1613309882a006bd66ffca3c3e1fad08746c1 SHA256 4b0a377e322c0d187596d48d27eb85061a4af19b258532a0dac0d1eacc358d3b
+EBUILD ocsigen-1.0.0.ebuild 2431 RMD160 ad6308ab9c180fe0b9a4cf92be44ef0cde472ac4 SHA1 e7ed969f298e5fe820361d1e251b69a50bffd7fc SHA256 ed651b1919e29755a15cc154cc3436cfc6c91331aa0829e992cf0416f5c37ab3
+MISC ChangeLog 2581 RMD160 74ab20aae9ba33e99e13d2517011b9b58cae55eb SHA1 d7b469f18b39e2fcdf335f5e961068de46582717 SHA256 44dad106e791f3f2f67e7a8880a192983d33b7bd94c875c389e4e497f0648f69
MISC metadata.xml 841 RMD160 c7f3cbfccfead79ea5e4d2f160b1f70e2afe4ea7 SHA1 d115b8c68be11da73572acd44157570e5f4ba533 SHA256 ab11b758ab9af2d5e744da8fba2f0cf1ff745164bc4f151ce0d03d180f41c03f
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFHycF6vFcC4BYPU0oRAhmSAJ48WoINprrHYWOJdIIOn/mND2iV7gCfdBpx
-Qkh2bOdkSts0fVKFfFHil/g=
-=uGn3
+iEYEARECAAYFAkf+W7oACgkQvFcC4BYPU0q5EgCgnHaY31XJPLDBQ2pDyyXpQ6sH
+iY4AmwWT20fb1g0GUspU3norqjiJsva7
+=EjQj
-----END PGP SIGNATURE-----
diff --git a/www-servers/ocsigen/ocsigen-1.0.0.ebuild b/www-servers/ocsigen/ocsigen-1.0.0.ebuild
new file mode 100644
index 000000000000..f503bdb70340
--- /dev/null
+++ b/www-servers/ocsigen/ocsigen-1.0.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/ocsigen/ocsigen-1.0.0.ebuild,v 1.1 2008/04/10 18:25:53 aballier Exp $
+
+inherit eutils findlib multilib
+
+DESCRIPTION="Ocaml-powered webserver and framework for dynamic web programming"
+HOMEPAGE="http://www.ocsigen.org"
+SRC_URI="http://www.ocsigen.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug ocamlduce doc dbm sqlite zlib"
+RESTRICT="strip installsources"
+
+DEPEND="dev-ml/findlib
+ zlib? ( >=dev-ml/camlzip-1.03-r1 )
+ dev-ml/cryptokit
+ >=dev-lang/ocaml-3.08.4
+ >=dev-ml/ocamlnet-2.2
+ >=dev-ml/ocaml-ssl-0.4
+ ocamlduce? ( >=dev-ml/ocamlduce-3.10.0 )
+ !dbm? ( dev-ml/ocaml-sqlite3 )
+ sqlite? ( dev-ml/ocaml-sqlite3 )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewgroup ocsigen
+ enewuser ocsigen -1 -1 /var/www ocsigen
+
+ use !dbm && use !sqlite \
+ && ewarn "Neither dbm nor sqlite are in useflags, will enable sqlite as default"
+
+ use sqlite && use dbm \
+ && ewarn "sqlite and dbm are both in useflags, will use only sqlite"
+
+ if use !sqlite && use dbm && ! built_with_use dev-lang/ocaml gdbm; then
+ eerror "You need to compile dev-lang/ocaml with gdbm support"
+ eerror "in order to use ${PN} with dbm"
+ die "please reinstall dev-lang/ocaml with gdbm support"
+ fi
+}
+
+use_enable_default() {
+ if use $2; then
+ if use $1; then
+ echo "--enable-$2 --enable-$1"
+ else
+ echo "--enable-$2 --disable-$1"
+ fi
+ else
+ echo "--disable-$2 --enable-$1"
+ fi
+}
+
+src_compile() {
+ ./configure \
+ --prefix /usr \
+ --temproot "${D}" \
+ --bindir /usr/bin \
+ --docdir /usr/share/doc \
+ --mandir /usr/share/man/man1 \
+ --examplesdir /usr/$(get_libdir) \
+ $(use_enable debug) \
+ $(use_enable ocamlduce) \
+ $(use_enable zlib camlzip) \
+ $(use_enable_default sqlite dbm) \
+ --ocsigen-group ocsigen \
+ --ocsigen-user ocsigen \
+ --name ocsigen \
+ || die "Error : configure failed!"
+ emake -j1 depend || die "Error : make depend failed!"
+ emake -j1 || die "Error : make failed!"
+}
+
+src_install() {
+ if use doc ; then
+ emake -j1 install || die "Error : make install failed!"
+ else
+ emake -j1 installnodoc || die "Error : make install failed!"
+ fi
+
+ emake -j1 logrotate || die "Error : make logrotate failed!"
+
+ newinitd "${FILESDIR}"/ocsigen.initd ocsigen || die
+ newconfd "${FILESDIR}"/ocsigen.confd ocsigen || die
+
+ dodoc README
+}