diff options
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/ocsigen/ChangeLog | 8 | ||||
-rw-r--r-- | www-servers/ocsigen/Manifest | 26 | ||||
-rw-r--r-- | www-servers/ocsigen/files/digest-ocsigen-0.99.3 | 3 | ||||
-rw-r--r-- | www-servers/ocsigen/files/ocsigen-0.99.3-lwt-gentoo.patch | 10 | ||||
-rw-r--r-- | www-servers/ocsigen/ocsigen-0.99.3.ebuild | 99 |
5 files changed, 138 insertions, 8 deletions
diff --git a/www-servers/ocsigen/ChangeLog b/www-servers/ocsigen/ChangeLog index f132a8b43e41..31c8b2c583aa 100644 --- a/www-servers/ocsigen/ChangeLog +++ b/www-servers/ocsigen/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-servers/ocsigen # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/ocsigen/ChangeLog,v 1.9 2007/10/21 20:03:29 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/ocsigen/ChangeLog,v 1.10 2007/11/10 16:19:58 aballier Exp $ + +*ocsigen-0.99.3 (10 Nov 2007) + + 10 Nov 2007; Alexis Ballier <aballier@gentoo.org> + +files/ocsigen-0.99.3-lwt-gentoo.patch, +ocsigen-0.99.3.ebuild: + version bump, thanks to Pierre Clairambault <pclairam@gmail.com>, bug #198470 21 Oct 2007; Alexis Ballier <aballier@gentoo.org> ocsigen-0.99.2.ebuild: dont install examples in /usr/local diff --git a/www-servers/ocsigen/Manifest b/www-servers/ocsigen/Manifest index 478d04841094..202b3f135f85 100644 --- a/www-servers/ocsigen/Manifest +++ b/www-servers/ocsigen/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX ocsigen-0.99.3-lwt-gentoo.patch 396 RMD160 ecd78b6946a3eccf1885a1a6f59b4ca546ebf965 SHA1 1b37fa14a65e861c74770935bd6a2e8199c41040 SHA256 56954736e2169f7837deaf64d854e379213d4d5e51e69f8a1ffc7a379274e54d +MD5 c2e17334adc8fb186950b9761334b816 files/ocsigen-0.99.3-lwt-gentoo.patch 396 +RMD160 ecd78b6946a3eccf1885a1a6f59b4ca546ebf965 files/ocsigen-0.99.3-lwt-gentoo.patch 396 +SHA256 56954736e2169f7837deaf64d854e379213d4d5e51e69f8a1ffc7a379274e54d files/ocsigen-0.99.3-lwt-gentoo.patch 396 AUX ocsigen.confd 335 RMD160 7196593f5d8ec7b40488771bdf0f60a904eca476 SHA1 e896da5ae6ef2da8f6a375bddbc2dad4c0c26fa8 SHA256 19be530156391d674a4db516303ff614e897a38e50bbff065ddcbf897d0feb8d MD5 7582be61e93a278254e65370d192d8e6 files/ocsigen.confd 335 RMD160 7196593f5d8ec7b40488771bdf0f60a904eca476 files/ocsigen.confd 335 @@ -10,14 +14,19 @@ MD5 dac05219bffdf69535305b6c82b2a94d files/ocsigen.initd 870 RMD160 fcf6fb9ee45441c4bf9b6adda4e8af54e62c0f8c files/ocsigen.initd 870 SHA256 04e7ae1f912cdf6b83a82161d84a0dc4576c3b87544e5e5c1153e149bb37fca2 files/ocsigen.initd 870 DIST ocsigen-0.99.2.tar.gz 454803 RMD160 00dc46b70de9e42f859be3851d81d5c6c1fcab6c SHA1 3fb74b0434fcee93c76525ca82f00e68a1447fea SHA256 9a8178d53e6e4a5337fec881db7efd289b6e4697b9d69cba964ece3f1a16811e +DIST ocsigen-0.99.3.tar.gz 646915 RMD160 a2e7543f0c1dedc070df30255f4d1264c7cb34ba SHA1 f8f9f6babd10986f6f6ab94d6015ec0ddfe72838 SHA256 0df5ceeb97db63ea25eef43caea4855de919302adc7dbc8a74f86f8f308990f7 EBUILD ocsigen-0.99.2.ebuild 2388 RMD160 13e003838538a50ffca46901d51e0db90b491aed SHA1 583ae51251cb93af86422a3ade5315e10719f8bc SHA256 932a6ee87d2edc894a22cf7f35a3fb97afab99bb37a02f3ac9cfdfe2bfc52131 MD5 c5eb2b3fea0429b77ce456a7ba98abcd ocsigen-0.99.2.ebuild 2388 RMD160 13e003838538a50ffca46901d51e0db90b491aed ocsigen-0.99.2.ebuild 2388 SHA256 932a6ee87d2edc894a22cf7f35a3fb97afab99bb37a02f3ac9cfdfe2bfc52131 ocsigen-0.99.2.ebuild 2388 -MISC ChangeLog 1399 RMD160 1e962f7cb9d86dd7889c56799b09ca097645e216 SHA1 15d3697971129f391abecb65050f956b47a55f42 SHA256 5ba43538c73ab37622c8cee741d9305c101ee3f764f3f6d26092d61576f0dadd -MD5 42d91b72702ca5dd54ff99ea7b5b79f2 ChangeLog 1399 -RMD160 1e962f7cb9d86dd7889c56799b09ca097645e216 ChangeLog 1399 -SHA256 5ba43538c73ab37622c8cee741d9305c101ee3f764f3f6d26092d61576f0dadd ChangeLog 1399 +EBUILD ocsigen-0.99.3.ebuild 2566 RMD160 c616a849d1a6b2fc62ba271b98ac977bc98d0123 SHA1 2328b674e0fdbd5ac2bdf1df536374baae71f8a1 SHA256 249a60f7f23ed96efdc448b806c0b430db2a2416f06debc0fdb6e3257d1b3555 +MD5 039c7b2659cd68cb54a2469766f0c9fd ocsigen-0.99.3.ebuild 2566 +RMD160 c616a849d1a6b2fc62ba271b98ac977bc98d0123 ocsigen-0.99.3.ebuild 2566 +SHA256 249a60f7f23ed96efdc448b806c0b430db2a2416f06debc0fdb6e3257d1b3555 ocsigen-0.99.3.ebuild 2566 +MISC ChangeLog 1630 RMD160 f157b77df895bfb4203544c7b9b5a62ee82dc579 SHA1 3636d8f373069f93c177ff386b2a0a98ca0b4a46 SHA256 3ce2b2f38a69cf017a347dfd636d5b73112562955e78fc0d407d0f30b5863c37 +MD5 7633d9c8c82c1e8f9b366bb0b2accc54 ChangeLog 1630 +RMD160 f157b77df895bfb4203544c7b9b5a62ee82dc579 ChangeLog 1630 +SHA256 3ce2b2f38a69cf017a347dfd636d5b73112562955e78fc0d407d0f30b5863c37 ChangeLog 1630 MISC metadata.xml 841 RMD160 c7f3cbfccfead79ea5e4d2f160b1f70e2afe4ea7 SHA1 d115b8c68be11da73572acd44157570e5f4ba533 SHA256 ab11b758ab9af2d5e744da8fba2f0cf1ff745164bc4f151ce0d03d180f41c03f MD5 87f83bf5516968db6765794fae27a186 metadata.xml 841 RMD160 c7f3cbfccfead79ea5e4d2f160b1f70e2afe4ea7 metadata.xml 841 @@ -25,10 +34,13 @@ SHA256 ab11b758ab9af2d5e744da8fba2f0cf1ff745164bc4f151ce0d03d180f41c03f metadata MD5 530445b52a0befc676aff9acfed7ea2c files/digest-ocsigen-0.99.2 244 RMD160 8c376e7883c884cce187deba64ae881d017862cb files/digest-ocsigen-0.99.2 244 SHA256 b459e7ce953a77256db03612797e419229ee39c098ff181a49aa82637ecae8bc files/digest-ocsigen-0.99.2 244 +MD5 c9ce69ef99fa20d460c6386f757df6a3 files/digest-ocsigen-0.99.3 244 +RMD160 9d13bfd1f9013f946dc369f22015596e993c03a6 files/digest-ocsigen-0.99.3 244 +SHA256 274eb90bf9f5a7b9f51f106166319e20ca5f005a167bfe2dc51ceaa000a85d38 files/digest-ocsigen-0.99.3 244 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHG7CtvFcC4BYPU0oRAg3uAJkBx4OVhb9YXgWAum8vdbPoW+nsUwCfY+qC -+dmqweoaBGmLUSn5kJDRVnQ= -=9fkb +iD8DBQFHNdpFvFcC4BYPU0oRAgu6AKDJ6jLJ2fBbAtq2TGpXI245WxivgwCePmpK +caFi3KlEtM4Y+6Ko66kmXNg= +=JHQd -----END PGP SIGNATURE----- diff --git a/www-servers/ocsigen/files/digest-ocsigen-0.99.3 b/www-servers/ocsigen/files/digest-ocsigen-0.99.3 new file mode 100644 index 000000000000..89f88883ff72 --- /dev/null +++ b/www-servers/ocsigen/files/digest-ocsigen-0.99.3 @@ -0,0 +1,3 @@ +MD5 4aa528d9aaa0f9d5faeac6289317d2c9 ocsigen-0.99.3.tar.gz 646915 +RMD160 a2e7543f0c1dedc070df30255f4d1264c7cb34ba ocsigen-0.99.3.tar.gz 646915 +SHA256 0df5ceeb97db63ea25eef43caea4855de919302adc7dbc8a74f86f8f308990f7 ocsigen-0.99.3.tar.gz 646915 diff --git a/www-servers/ocsigen/files/ocsigen-0.99.3-lwt-gentoo.patch b/www-servers/ocsigen/files/ocsigen-0.99.3-lwt-gentoo.patch new file mode 100644 index 000000000000..2e9a222ea54c --- /dev/null +++ b/www-servers/ocsigen/files/ocsigen-0.99.3-lwt-gentoo.patch @@ -0,0 +1,10 @@ +--- lwt/Makefile.orig 2007-11-10 16:08:28.000000000 +0100 ++++ lwt/Makefile 2007-11-10 16:08:36.000000000 +0100 +@@ -55,6 +55,7 @@ + + install: + { test ! -f $(XARCHIVE) || extra="$(XARCHIVE) "`basename $(XARCHIVE) .cmxa`.a; }; \ ++ mkdir -p "$(TEMPROOT)/$(MODULEINSTALLDIR)" + $(OCAMLFIND) install $(NAME) -destdir "$(TEMPROOT)/$(MODULEINSTALLDIR)" *.mli *.cmi $(ARCHIVE) META $$extra + + uninstall: diff --git a/www-servers/ocsigen/ocsigen-0.99.3.ebuild b/www-servers/ocsigen/ocsigen-0.99.3.ebuild new file mode 100644 index 000000000000..b080755ae8a7 --- /dev/null +++ b/www-servers/ocsigen/ocsigen-0.99.3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/ocsigen/ocsigen-0.99.3.ebuild,v 1.1 2007/11/10 16:19:58 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 logrotate dbm sqlite zlib" +RESTRICT="strip" + +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 ) + !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 +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-lwt-gentoo.patch" +} + +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 \ + --libdir /usr/$(get_libdir) \ + --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 + + if use logrotate ; then + emake -j1 logrotate || die "Error : make logrotate failed!" + fi + + newinitd "${FILESDIR}"/ocsigen.initd ocsigen || die + newconfd "${FILESDIR}"/ocsigen.confd ocsigen || die + + dodoc README +} |