summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-05-03 18:05:21 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-05-03 18:05:21 +0000
commit18b49f06e266c8281943913e2d0b8169868972bc (patch)
tree733f6ca06022d0ee3550a2266ea0b4f2483f100d /www-servers/gatling
parentMake libarchive optional but enabled by default (upstream scons preferes libt... (diff)
downloadgentoo-2-18b49f06e266c8281943913e2d0b8169868972bc.tar.gz
gentoo-2-18b49f06e266c8281943913e2d0b8169868972bc.tar.bz2
gentoo-2-18b49f06e266c8281943913e2d0b8169868972bc.zip
Bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'www-servers/gatling')
-rw-r--r--www-servers/gatling/ChangeLog9
-rw-r--r--www-servers/gatling/gatling-0.12.ebuild55
2 files changed, 62 insertions, 2 deletions
diff --git a/www-servers/gatling/ChangeLog b/www-servers/gatling/ChangeLog
index 96ede980229d..b9a33b6a5a64 100644
--- a/www-servers/gatling/ChangeLog
+++ b/www-servers/gatling/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-servers/gatling
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/gatling/ChangeLog,v 1.4 2009/11/04 08:31:38 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/gatling/ChangeLog,v 1.5 2010/05/03 18:05:21 patrick Exp $
+
+*gatling-0.12 (03 May 2010)
+
+ 03 May 2010; Patrick Lauer <patrick@gentoo.org> +gatling-0.12.ebuild:
+ Bump
04 Nov 2009; Patrick Lauer <patrick@gentoo.org> gatling-0.9.ebuild,
gatling-0.11.ebuild, gatling-0.11-r1.ebuild:
diff --git a/www-servers/gatling/gatling-0.12.ebuild b/www-servers/gatling/gatling-0.12.ebuild
new file mode 100644
index 000000000000..8f54891ea3a5
--- /dev/null
+++ b/www-servers/gatling/gatling-0.12.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/gatling/gatling-0.12.ebuild,v 1.1 2010/05/03 18:05:21 patrick Exp $
+
+inherit eutils
+
+DESCRIPTION="High performance web server"
+HOMEPAGE="http://www.fefe.de/gatling/"
+SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# We still have compile issues with USE=ssl, so it's commented out for now
+#IUSE="ssl"
+IUSE=""
+
+DEPEND=">=dev-libs/libowfat-0.25
+ dev-libs/dietlibc"
+ #ssl? ( dev-libs/openssl )
+ #"
+RDEPEND=""
+
+src_unpack() {
+ unpack $A
+ cd "${S}"
+
+ epatch "${FILESDIR}/gentoo-vars.patch"
+}
+
+src_compile() {
+ # FIX ME
+ #if use ssl; then
+ # emake tlsgatling || die "emake tlsgatling failed"
+ #fi
+ emake gatling || die "emake gatling failed"
+}
+
+src_install() {
+ dobin gatling || die "installing gatling binary failed"
+ doman gatling.1 || die "installing manpage failed"
+ # FIX ME
+ #dobin tlsgatling || die "installing tlsgatling binary failed"
+
+ newconfd "${FILESDIR}/gatling.confd gatling"
+ newinitd "${FILESDIR}/gatling.initd gatling"
+ dodoc README.{ftp,http} || die "installing docs failed"
+}
+
+pkg_setup() {
+ ebegin "Creating gatling user and group"
+ enewgroup gatling
+ enewuser ${PN} -1 -1 /var/www/localhost ${PN}
+}