summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@gentoo.org>2010-04-09 00:39:58 +0000
committerTomás Touceda <chiiph@gentoo.org>2010-04-09 00:39:58 +0000
commit551f9306c0883e72af15bf90bb9dd914fa096979 (patch)
tree0ff2d51167685a1d87d1ddacd133e099c94d199d /dev-scheme/hop
parentApply patch to kdelibs to fix hang caused in dolphin when accessing network f... (diff)
downloadhistorical-551f9306c0883e72af15bf90bb9dd914fa096979.tar.gz
historical-551f9306c0883e72af15bf90bb9dd914fa096979.tar.bz2
historical-551f9306c0883e72af15bf90bb9dd914fa096979.zip
Version bump to latest upstream stable 2.0.1. Clean up hop-1.*. Added init.d/conf.d scripts.
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'dev-scheme/hop')
-rw-r--r--dev-scheme/hop/ChangeLog12
-rw-r--r--dev-scheme/hop/Manifest14
-rw-r--r--dev-scheme/hop/files/hop.confd4
-rw-r--r--dev-scheme/hop/files/hop.initd45
-rw-r--r--dev-scheme/hop/hop-1.10.2.ebuild39
-rw-r--r--dev-scheme/hop/hop-1.11.0.ebuild39
-rw-r--r--dev-scheme/hop/hop-1.11.1.ebuild39
-rw-r--r--dev-scheme/hop/hop-2.0.1.ebuild47
-rw-r--r--dev-scheme/hop/metadata.xml5
9 files changed, 117 insertions, 127 deletions
diff --git a/dev-scheme/hop/ChangeLog b/dev-scheme/hop/ChangeLog
index 6b07f00accad..a4ed25453698 100644
--- a/dev-scheme/hop/ChangeLog
+++ b/dev-scheme/hop/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-scheme/hop
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/hop/ChangeLog,v 1.9 2009/07/13 14:45:58 hkbst Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/hop/ChangeLog,v 1.10 2010/04/09 00:39:57 chiiph Exp $
+
+*hop-2.0.1 (08 Apr 2010)
+
+ 08 Apr 2010; Tomas Touceda <chiiph@gentoo.org> -hop-1.10.2.ebuild, -hop-1.11.0.ebuild,
+ -hop-1.11.1.ebuild, +hop-2.0.1.ebuild, +files/hop.confd, +files/hop.initd,
+ metadata.xml:
+ Version bump to latest upstream stable 2.0.1. Clean up hop-1.*. Added
+ init.d/conf.d scripts.
*hop-1.11.1 (13 Jul 2009)
diff --git a/dev-scheme/hop/Manifest b/dev-scheme/hop/Manifest
index b744a807d3ce..48adb9257caa 100644
--- a/dev-scheme/hop/Manifest
+++ b/dev-scheme/hop/Manifest
@@ -1,8 +1,6 @@
-DIST hop-1.10.2.tar.gz 1878198 RMD160 8e7e8075559763ad492a6b4a2ed6985aad7f1256 SHA1 a531cf9d6ef01e04745ac4009c3fc56f8d3f6375 SHA256 3b9cd28479e5573f77cb46d9c6823c4a2e17a9d3a4b56a5fd3449f7614cb5552
-DIST hop-1.11.0.tar.gz 2084147 RMD160 3d58b0b44702fb5ab00da8b7556af723e98606eb SHA1 a90959630f41c1bdaff99c77521efb6512c0f2b1 SHA256 fcf2838c60a6bdc9bb526b1a78421289dd6e998600387f7b706fd46e311e3d7d
-DIST hop-1.11.1.tar.gz 2084117 RMD160 0da340aa2b432447d230f703e6a519350590e8f4 SHA1 48cb1865f2f324e62d15aaa903670f242628c8ca SHA256 d26e8924e5cdabcb3b5f7c94a68553b69f201b6c4daf41cbd9aea78dd446b73c
-EBUILD hop-1.10.2.ebuild 1189 RMD160 04b95cedf74bf1d374095dc421835a74ca10325f SHA1 7d112594d8640029df4ace56f00b8cbd531b63d3 SHA256 a024c3a4509cd8574167f2cac3f2c8ac953917e4288cce05f8315430280c994c
-EBUILD hop-1.11.0.ebuild 1187 RMD160 7aaede1b3829f176f5ac481affe366c8bbf56dea SHA1 5e22ff43dbee49e7e03a9f243e16c396eaa79efd SHA256 96f61d72d88d165c8fc6f94122eca8cc2a66d0d4c0de6cff5114c10dc3695133
-EBUILD hop-1.11.1.ebuild 1120 RMD160 6a877515fa72bdbc1541be15254350313acc7040 SHA1 a60172f7adaaae92b31d9891df78452109c1dc36 SHA256 e00dc6694bf5ee332753ba08ee5e88c5642f395ff17c93bb2f49d2c58c9b9b0f
-MISC ChangeLog 1667 RMD160 7730d652bc808608231ad306f1a3cb899b9d9e80 SHA1 95343022fb9dd96ae050c3e452032dd7c88d950a SHA256 5b178fb6f903820890173002dad2f50378d4589ec33614ccb149fd3fc32b33ba
-MISC metadata.xml 591 RMD160 59da7fcb4b1e25f69512d0502ca1d03f5c70983e SHA1 4ff8e7aeff08749ae3a17b082930551bcafd32de SHA256 6d5ab973bebb4be982bec4428d065e3b5f34f2a5e2d8a0d2abd3fa2cf70e38c8
+AUX hop.confd 112 RMD160 2ddc8d921b748d6e6ff51a4d951b0a14cf931352 SHA1 79eef5ea397f1357fe282fa8e94db23ff578812b SHA256 f90fd32a3b95d5fc87f178551c0bc11fe63dc571f143169042e1e45f7b6befd2
+AUX hop.initd 1012 RMD160 451db7cc1ad5e456d0551b8645ba649a78d3e1f6 SHA1 1cc040d366720466df3a4e01582c183c9c683042 SHA256 8cedbf99c9e536f49faad7ff663fec16d8aadf64078a6c4935bbce06ee771114
+DIST hop-2.0.1.tar.gz 2412212 RMD160 69e18432d029968a2369cdca08971b7f0ee354c5 SHA1 e20822d0e16e1bfdfe17d0dcec920ffbfc753221 SHA256 536db02c3c16de50e5791bdf225585cd86cfa402748caa77588d3ae0f5cafa13
+EBUILD hop-2.0.1.ebuild 1249 RMD160 da8609b5755e0ac9d4add0a687146ee2f1c9891b SHA1 bcaf4e27681d17f608e4a744acc51a7abe3a559c SHA256 aad7648f54566b42fafe65abaf67d91f3c8f85dd54b313c2ef602ad80115c7a6
+MISC ChangeLog 1975 RMD160 2e7f9de5707d4112e529a03e4fb044159cc9578a SHA1 599a6536a69ea9fecc9a7d671d7c46a2ea332b71 SHA256 2d44fef1689cfe68d03285eb2efefe7b1ba7d90dc91c2969ecaeb7bbe777f197
+MISC metadata.xml 856 RMD160 bd8dde2ae333a1c0e6c2d670041f58788389c8b0 SHA1 29b72a00f7a58d721ca89d680d6a20f41b179803 SHA256 0e5e33613b3eeddfdf498abca3353c0228070e5594d9215248e56416258f104c
diff --git a/dev-scheme/hop/files/hop.confd b/dev-scheme/hop/files/hop.confd
new file mode 100644
index 000000000000..1688f64813d5
--- /dev/null
+++ b/dev-scheme/hop/files/hop.confd
@@ -0,0 +1,4 @@
+# /etc/conf.d/hop: config file for /etc/init.d/hop
+
+# see `hop --help` # for valid cmdline options
+#HOP_OPTS=""
diff --git a/dev-scheme/hop/files/hop.initd b/dev-scheme/hop/files/hop.initd
new file mode 100644
index 000000000000..85515e5ff91c
--- /dev/null
+++ b/dev-scheme/hop/files/hop.initd
@@ -0,0 +1,45 @@
+#!/sbin/runscript
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/hop/files/hop.initd,v 1.1 2010/04/09 00:39:58 chiiph Exp $
+
+HOPEXEC=/usr/bin/hop
+HOPUSER=hop
+HOPHOME=/var/www
+PIDFILE=/var/run/hop.pid
+LOGFILE=/var/log/hop
+
+# For user extensions through /etc/conf.d/hop
+HOP_OPTS="--log-file ${LOGFILE} ${HOP_OPTS}"
+
+depend() {
+ need localmount net
+}
+
+logfile() {
+ if [ ! -f ${LOGFILE} ]
+ then
+ touch ${LOGFILE}
+ fi
+ chown ${HOPUSER} ${LOGFILE} || eerror "Cannot create logfile"
+ return 0
+}
+
+start() {
+ logfile || return 1
+
+ ebegin "Starting Hop Web Broker"
+ start-stop-daemon --start --oknodo \
+ --background --chuid ${HOPUSER} \
+ --make-pidfile --pidfile ${PIDFILE} \
+ --exec ${HOPEXEC} --env HOME=${HOPHOME} \
+ -- ${HOP_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Hop Web Broker"
+ start-stop-daemon --stop \
+ --exec ${HOPEXEC} --pidfile ${PIDFILE}
+ eend $?
+}
diff --git a/dev-scheme/hop/hop-1.10.2.ebuild b/dev-scheme/hop/hop-1.10.2.ebuild
deleted file mode 100644
index a7706bcd42c5..000000000000
--- a/dev-scheme/hop/hop-1.10.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/hop/hop-1.10.2.ebuild,v 1.1 2009/02/14 16:14:53 hkbst Exp $
-
-inherit multilib eutils
-
-MY_P=${P/_/-}
-
-DESCRIPTION="Hop is a higher-order language for programming interactive web applications such as web agendas, web galleries, music players, etc. that is implemented as a Web broker"
-HOMEPAGE="http://hop.inria.fr/"
-SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Hop/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=">=dev-scheme/bigloo-3.1b"
-RDEPEND=""
-
-IUSE="ssl threads"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- enewgroup hop
- enewuser hop -1 -1 /var/www hop
-}
-
-src_compile() {
- # Hop doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --prefix=/usr --libdir=/usr/$(get_libdir) --etcdir=/etc/${PN} $(use_enable ssl) $(use_enable threads) || die "configure failed"
-
- emake || die "emake failed"
-}
-
-src_install () {
- emake DESTDIR="${D}" install || die "install failed"
-}
diff --git a/dev-scheme/hop/hop-1.11.0.ebuild b/dev-scheme/hop/hop-1.11.0.ebuild
deleted file mode 100644
index 1ebfdd226039..000000000000
--- a/dev-scheme/hop/hop-1.11.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/hop/hop-1.11.0.ebuild,v 1.1 2009/06/24 15:23:28 hkbst Exp $
-
-inherit multilib eutils
-
-MY_P=${P/_/-}
-
-DESCRIPTION="Hop is a higher-order language for programming interactive web applications such as web agendas, web galleries, music players, etc. that is implemented as a Web broker"
-HOMEPAGE="http://hop.inria.fr/"
-SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Hop/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=">=dev-scheme/bigloo-3.2b"
-RDEPEND=""
-
-IUSE="ssl threads"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- enewgroup hop
- enewuser hop -1 -1 /var/www hop
-}
-
-src_compile() {
- # Hop doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --prefix=/usr --libdir=/usr/$(get_libdir) --etcdir=/etc/hop $(use_enable ssl) $(use_enable threads) || die "configure failed"
-
- emake || die "emake failed"
-}
-
-src_install () {
- emake DESTDIR="${D}" install || die "install failed"
-}
diff --git a/dev-scheme/hop/hop-1.11.1.ebuild b/dev-scheme/hop/hop-1.11.1.ebuild
deleted file mode 100644
index e231c0bd3f8e..000000000000
--- a/dev-scheme/hop/hop-1.11.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/hop/hop-1.11.1.ebuild,v 1.1 2009/07/13 14:45:58 hkbst Exp $
-
-inherit multilib eutils
-
-MY_P=${P/_/-}
-
-DESCRIPTION="Hop is a higher-order language for programming interactive web applications."
-HOMEPAGE="http://hop.inria.fr/"
-SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Hop/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=">=dev-scheme/bigloo-3.2b"
-RDEPEND=""
-
-IUSE="ssl threads"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- enewgroup hop
- enewuser hop -1 -1 /var/www hop
-}
-
-src_compile() {
- # Hop doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --prefix=/usr --mandir=/usr/share/man --libdir=/usr/$(get_libdir) --etcdir=/etc/hop $(use_enable ssl) $(use_enable threads) || die "configure failed"
-
- emake || die "emake failed"
-}
-
-src_install () {
- emake DESTDIR="${D}" install || die "install failed"
-}
diff --git a/dev-scheme/hop/hop-2.0.1.ebuild b/dev-scheme/hop/hop-2.0.1.ebuild
new file mode 100644
index 000000000000..04c61ebc543b
--- /dev/null
+++ b/dev-scheme/hop/hop-2.0.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/hop/hop-2.0.1.ebuild,v 1.1 2010/04/09 00:39:57 chiiph Exp $
+
+EAPI="2"
+
+inherit multilib eutils
+
+DESCRIPTION="Hop is a higher-order language for programming interactive web applications"
+HOMEPAGE="http://hop.inria.fr/"
+SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Hop/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=dev-scheme/bigloo-3.3a[ssl?,threads?]"
+
+RDEPEND="${DEPEND}"
+
+IUSE="ssl threads debug"
+
+pkg_setup() {
+ enewgroup hop
+ enewuser hop -1 -1 /var/lib/hop hop
+}
+
+src_configure() {
+ # Hop doesn't use autoconf and consequently a lot of options used by econf give errors
+ # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --libdir=/usr/$(get_libdir) \
+ --etcdir=/etc/hop \
+ $(use_enable ssl) \
+ $(use_enable threads) \
+ $(use debug && echo "--debug") \
+ || die "configure failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ newinitd "${FILESDIR}/hop.initd" hop || die
+ newconfd "${FILESDIR}/hop.confd" hop || die
+}
diff --git a/dev-scheme/hop/metadata.xml b/dev-scheme/hop/metadata.xml
index 717534c90e08..a424df30ec6f 100644
--- a/dev-scheme/hop/metadata.xml
+++ b/dev-scheme/hop/metadata.xml
@@ -5,4 +5,9 @@
<longdescription lang="en">
HOP is a new programming language designed for the Web 2.0. It is a higher-order language for programming interactive web applications such as web agendas, web galleries, music players, etc. HOP can be viewed as a replacement for traditional graphical toolkits. HOP is implemented as a Web broker, i.e., a Web server that may act indifferently as a regular Web server or Web proxy.
</longdescription>
+ <use>
+ <flag name="ssl">Enable SSL support for hop</flag>
+ <flag name="threads">Enable thread support for hop, it depends on <pkg>dev-scheme/bigloo</pkg> built with threads use flag.</flag>
+ <flag name="debug">Enables building with debug symbols</flag>
+ </use>
</pkgmetadata>