www-servers/gatling - 0.16 (gentoo)

Search

Install

Install this version:

emerge -a =www-servers/gatling-0.16

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =www-servers/gatling-0.16

Or alternatively:

emerge --autounmask-write -a =www-servers/gatling-0.16

Package Information

Description:
High performance web server
Homepage:
https://www.fefe.de/gatling/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.16 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

inherit flag-o-matic toolchain-funcs

DESCRIPTION="High performance web server"
HOMEPAGE="https://www.fefe.de/gatling/"
SRC_URI="https://www.fefe.de/gatling/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="ssl diet"
REQUIRED_USE="ssl? ( !diet )"

DEPEND=">=dev-libs/libowfat-0.32-r2[diet=]
	virtual/zlib:=
	virtual/libcrypt:=
	diet? ( dev-libs/dietlibc )
	ssl? (
		dev-libs/openssl:0=
	)"
RDEPEND="${DEPEND}
	acct-group/gatling
	acct-user/gatling
	"

PATCHES=(
	"${FILESDIR}/${PN}-0.13-compile.patch"
	"${FILESDIR}/${PN}-0.15-ar.patch"
	"${FILESDIR}/${PN}-0.16-r4-0001-try-alloca-socket-fix-Wimplicit-int.patch"
)

src_prepare() {
	default
	rm Makefile  # leaves us with GNUmakefile
}

src_compile() {
	# -Werror=lto-type-mismatch
	# https://bugs.gentoo.org/864133
	#
	# Last released in 2016, sources are in cvs so I cannot check for activity.
	filter-lto

	local DIET=
	use diet && DIET='/usr/bin/diet'

	local targets='gatling'
	use ssl && targets+=' tlsgatling'

	emake DIET="${DIET}" CC="$(tc-getCC)" \
			CFLAGS="${CFLAGS} -I${ESYSROOT}/usr/include/libowfat" \
			LDFLAGS="${LDFLAGS}" prefix=/usr ${targets}
}

src_install() {
	doman gatling.1

	newconfd "${FILESDIR}/gatling.confd" gatling
	newinitd "${FILESDIR}/gatling.initd-3" gatling
	dodoc README.{ftp,http}

	dobin gatling
	use ssl && {
		dodoc README.tls
		dobin tlsgatling
	}
}

USE Flags

Manage flags for this package: euse -i <flag> -p www-servers/gatling | euse -E <flag> -p www-servers/gatling | euse -D <flag> -p www-servers/gatling

Global/Standard Flags

ssl

Inherited Eclasses

Dependencies

DEPEND

>=dev-libs/libowfat-0.32-r2[diet=]
	virtual/zlib:=
	virtual/libcrypt:=
	diet? ( dev-libs/dietlibc )
	ssl? (
		dev-libs/openssl:0=
	)

RDEPEND

>=dev-libs/libowfat-0.32-r2[diet=]
	virtual/zlib:=
	virtual/libcrypt:=
	diet? ( dev-libs/dietlibc )
	ssl? (
		dev-libs/openssl:0=
	)
	acct-group/gatling
	acct-user/gatling
	

Manifest for 0.16

Type File Size Source URLs
DIST gatling-0.16.tar.xz 126844 bytes https://www.fefe.de/gatling/gatling-0.16.tar.xz