diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-08-31 19:43:03 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-08-31 19:43:03 +0000 |
commit | 4a967b866204fceeb04514a383701ffe788ad430 (patch) | |
tree | 68c731986aa079caa051abe573e60735effb575d /www-servers/ocsigen | |
parent | New bug-fix release: 1.73.2 (diff) | |
download | historical-4a967b866204fceeb04514a383701ffe788ad430.tar.gz historical-4a967b866204fceeb04514a383701ffe788ad430.tar.bz2 historical-4a967b866204fceeb04514a383701ffe788ad430.zip |
version bump
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'www-servers/ocsigen')
-rw-r--r-- | www-servers/ocsigen/ChangeLog | 7 | ||||
-rw-r--r-- | www-servers/ocsigen/Manifest | 22 | ||||
-rw-r--r-- | www-servers/ocsigen/files/digest-ocsigen-0.99.2 | 3 | ||||
-rw-r--r-- | www-servers/ocsigen/ocsigen-0.99.2.ebuild | 90 |
4 files changed, 114 insertions, 8 deletions
diff --git a/www-servers/ocsigen/ChangeLog b/www-servers/ocsigen/ChangeLog index 61318383d713..e57b37eb7c75 100644 --- a/www-servers/ocsigen/ChangeLog +++ b/www-servers/ocsigen/ChangeLog @@ -1,6 +1,11 @@ # 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.6 2007/08/22 07:33:57 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/ocsigen/ChangeLog,v 1.7 2007/08/31 19:43:03 aballier Exp $ + +*ocsigen-0.99.2 (31 Aug 2007) + + 31 Aug 2007; Alexis Ballier <aballier@gentoo.org> +ocsigen-0.99.2.ebuild: + version bump 22 Aug 2007; Alexis Ballier <aballier@gentoo.org> -ocsigen-0.6.0.ebuild: remove old version diff --git a/www-servers/ocsigen/Manifest b/www-servers/ocsigen/Manifest index 6033eca5574e..7bb360ee1e6f 100644 --- a/www-servers/ocsigen/Manifest +++ b/www-servers/ocsigen/Manifest @@ -10,14 +10,19 @@ MD5 dac05219bffdf69535305b6c82b2a94d files/ocsigen.initd 870 RMD160 fcf6fb9ee45441c4bf9b6adda4e8af54e62c0f8c files/ocsigen.initd 870 SHA256 04e7ae1f912cdf6b83a82161d84a0dc4576c3b87544e5e5c1153e149bb37fca2 files/ocsigen.initd 870 DIST ocsigen-0.99.0.tar.gz 1075607 RMD160 7c0b5f568f2cf8b5f33d1ba1532a4fb726583400 SHA1 d59912bda7e61b28d6fbbd41d29920e0aba155a8 SHA256 9fffc229acee8ff34fb51cb2c895d8f86a96ca2fa4d005fb827da066718b205e +DIST ocsigen-0.99.2.tar.gz 454803 RMD160 00dc46b70de9e42f859be3851d81d5c6c1fcab6c SHA1 3fb74b0434fcee93c76525ca82f00e68a1447fea SHA256 9a8178d53e6e4a5337fec881db7efd289b6e4697b9d69cba964ece3f1a16811e EBUILD ocsigen-0.99.0.ebuild 1430 RMD160 5d41284911d2b2596fdf083be5306ad5c923f271 SHA1 14667743bedfb2d51e1d4131c09832c88b3a2e67 SHA256 bc5df5790b218342c36ee939ef2b4e2c0afe506d3c6ef49fc6842aaf9bd6a8b8 MD5 30e35c12c7d86118888981aad27cfa54 ocsigen-0.99.0.ebuild 1430 RMD160 5d41284911d2b2596fdf083be5306ad5c923f271 ocsigen-0.99.0.ebuild 1430 SHA256 bc5df5790b218342c36ee939ef2b4e2c0afe506d3c6ef49fc6842aaf9bd6a8b8 ocsigen-0.99.0.ebuild 1430 -MISC ChangeLog 1063 RMD160 042f2fa9ecb7d853bc37a1b687889fe1bf5e6247 SHA1 4e2ab8f9e1ab51247b410a9d4993d9902abadaa4 SHA256 41580df792bd9a6dd8e84fe064c40816a01d53b1cf3f0e31a8d4e2373a70cd52 -MD5 2254bd9dfdbf06c1f95cb5abc145b390 ChangeLog 1063 -RMD160 042f2fa9ecb7d853bc37a1b687889fe1bf5e6247 ChangeLog 1063 -SHA256 41580df792bd9a6dd8e84fe064c40816a01d53b1cf3f0e31a8d4e2373a70cd52 ChangeLog 1063 +EBUILD ocsigen-0.99.2.ebuild 2335 RMD160 cc6330fb9dbb2cc8ebec6ee765a6da28a4f4740c SHA1 8f9699cde6b950dcb6900fe8708cb31e0e4409de SHA256 c58b47275553ea6142f8c5c345ad516117a5660e6517a118f9af299767d6f74d +MD5 ec9c987d53f79002a89f3bd23601a7cf ocsigen-0.99.2.ebuild 2335 +RMD160 cc6330fb9dbb2cc8ebec6ee765a6da28a4f4740c ocsigen-0.99.2.ebuild 2335 +SHA256 c58b47275553ea6142f8c5c345ad516117a5660e6517a118f9af299767d6f74d ocsigen-0.99.2.ebuild 2335 +MISC ChangeLog 1186 RMD160 74bb6d3b2a0f63c242cde2fee52f059814bf3dbf SHA1 aa0d600d08930ce75d447c7bacdd24f233df2a2d SHA256 bd0b804dc4533329247464cd5c816c3f53c253df39ac3f5503cbf99e3a07aff2 +MD5 66b0c98d4f97e66ef6d7e2710a97705b ChangeLog 1186 +RMD160 74bb6d3b2a0f63c242cde2fee52f059814bf3dbf ChangeLog 1186 +SHA256 bd0b804dc4533329247464cd5c816c3f53c253df39ac3f5503cbf99e3a07aff2 ChangeLog 1186 MISC metadata.xml 841 RMD160 c7f3cbfccfead79ea5e4d2f160b1f70e2afe4ea7 SHA1 d115b8c68be11da73572acd44157570e5f4ba533 SHA256 ab11b758ab9af2d5e744da8fba2f0cf1ff745164bc4f151ce0d03d180f41c03f MD5 87f83bf5516968db6765794fae27a186 metadata.xml 841 RMD160 c7f3cbfccfead79ea5e4d2f160b1f70e2afe4ea7 metadata.xml 841 @@ -25,10 +30,13 @@ SHA256 ab11b758ab9af2d5e744da8fba2f0cf1ff745164bc4f151ce0d03d180f41c03f metadata MD5 77b0e343e7ec5fe955ba3b7df00437c2 files/digest-ocsigen-0.99.0 247 RMD160 9d1bb10979e6f1332ce783311c0718532642a394 files/digest-ocsigen-0.99.0 247 SHA256 12e75f3a062b32ed358813af41c9de7fdd3d6c75770964f12c2f3cb29842fda2 files/digest-ocsigen-0.99.0 247 +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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.6 (GNU/Linux) -iD8DBQFGy+brvFcC4BYPU0oRAlSTAKCEH2UMW51R+ILwM1G4l5MCbMWkMgCggSBm -Wn/4NepEzinzorsQ0NW4rUQ= -=VdF5 +iD8DBQFG2G9SvFcC4BYPU0oRAmjHAJ9zjSXLxK/WnnRyIg9CiTP1yjAvigCfYCyB +c3nfV1qDZVdUTD7Mdg3Ipdo= +=qSTQ -----END PGP SIGNATURE----- diff --git a/www-servers/ocsigen/files/digest-ocsigen-0.99.2 b/www-servers/ocsigen/files/digest-ocsigen-0.99.2 new file mode 100644 index 000000000000..533c0c62325a --- /dev/null +++ b/www-servers/ocsigen/files/digest-ocsigen-0.99.2 @@ -0,0 +1,3 @@ +MD5 33f1291ffc83161ce75504ac157fa443 ocsigen-0.99.2.tar.gz 454803 +RMD160 00dc46b70de9e42f859be3851d81d5c6c1fcab6c ocsigen-0.99.2.tar.gz 454803 +SHA256 9a8178d53e6e4a5337fec881db7efd289b6e4697b9d69cba964ece3f1a16811e ocsigen-0.99.2.tar.gz 454803 diff --git a/www-servers/ocsigen/ocsigen-0.99.2.ebuild b/www-servers/ocsigen/ocsigen-0.99.2.ebuild new file mode 100644 index 000000000000..dc5055c7a897 --- /dev/null +++ b/www-servers/ocsigen/ocsigen-0.99.2.ebuild @@ -0,0 +1,90 @@ +# 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.2.ebuild,v 1.1 2007/08/31 19:43:03 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" +RESTRICT="strip" + +DEPEND="dev-ml/findlib + >=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 +} + +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 \ + --temproot "${D}" \ + --bindir /usr/bin \ + --docdir /usr/share/doc \ + --mandir /usr/share/man/man1 \ + --libdir /usr/$(get_libdir) \ + $(use_enable debug) \ + $(use_enable ocamlduce) \ + $(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 +} + |