summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/gatling/ChangeLog11
-rw-r--r--www-servers/gatling/files/gentoo-vars.patch20
-rw-r--r--www-servers/gatling/gatling-0.9.ebuild34
-rw-r--r--www-servers/gatling/metadata.xml9
4 files changed, 74 insertions, 0 deletions
diff --git a/www-servers/gatling/ChangeLog b/www-servers/gatling/ChangeLog
new file mode 100644
index 000000000000..a1ec3e16b115
--- /dev/null
+++ b/www-servers/gatling/ChangeLog
@@ -0,0 +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.1 2009/05/01 12:23:29 patrick Exp $
+
+ 01 May 2009; Patrick Lauer <patrick@gentoo.org> ChangeLog:
+ Initial import from sunrise.
+
+ 12 May 2008; Maximilian Gaß <mxey@cloudconnected.org +gatling-0.9.ebuild,
+ +files/gentoo-vars.patch, +metadata.xml:
+ New Ebuild for bug 221841
+
diff --git a/www-servers/gatling/files/gentoo-vars.patch b/www-servers/gatling/files/gentoo-vars.patch
new file mode 100644
index 000000000000..349e9f81f4c9
--- /dev/null
+++ b/www-servers/gatling/files/gentoo-vars.patch
@@ -0,0 +1,20 @@
+--- GNUmakefile.org 2008-05-12 13:59:01.000000000 +0200
++++ GNUmakefile 2008-05-12 15:04:17.000000000 +0200
+@@ -1,6 +1,6 @@
+ #DEBUG=1
+ ZLIB=1
+-prefix=/opt/diet
++prefix=/usr
+ BINDIR=${prefix}/bin
+ MANDIR=${prefix}/man
+ man1dir=$(MANDIR)/man1
+@@ -14,8 +14,7 @@
+ CROSS=
+ #CROSS=i686-mingw32-
+ CC=$(CROSS)gcc
+-CFLAGS=-pipe -Wall
+-LDFLAGS=
++CFLAGS+=-pipe -Wall -I/usr/include/libowfat
+
+ path = $(subst :, ,$(PATH))
+ diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
diff --git a/www-servers/gatling/gatling-0.9.ebuild b/www-servers/gatling/gatling-0.9.ebuild
new file mode 100644
index 000000000000..cbf9aff3dfa3
--- /dev/null
+++ b/www-servers/gatling/gatling-0.9.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/gatling/gatling-0.9.ebuild,v 1.1 2009/05/01 12:23:29 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"
+IUSE=""
+
+DEPEND="dev-libs/libowfat
+ dev-libs/dietlibc"
+RDEPEND=""
+
+src_unpack() {
+ unpack $A
+ cd "${S}"
+
+ epatch "${FILESDIR}/gentoo-vars.patch"
+}
+
+src_compile() {
+ emake gatling || die "emake gatling failed"
+}
+
+src_install() {
+ dobin gatling || die "installing binary failed"
+ doman gatling.1 || die "installing manpage failed"
+}
diff --git a/www-servers/gatling/metadata.xml b/www-servers/gatling/metadata.xml
new file mode 100644
index 000000000000..e433c08d449a
--- /dev/null
+++ b/www-servers/gatling/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+</pkgmetadata>