diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-06 18:23:20 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-06 18:23:20 +0000 |
commit | d37b97a25b8b10f748eead6574b01f893f140b01 (patch) | |
tree | 13e2a142a31cd193a39c63042a64cab29a1f7ae9 /www-servers/fnord/fnord-1.11-r1.ebuild | |
parent | a833e3f4a431b8eea751b7420e127787f9c92117 (diff) |
gentoo resync : 06.12.2017
Diffstat (limited to 'www-servers/fnord/fnord-1.11-r1.ebuild')
-rw-r--r-- | www-servers/fnord/fnord-1.11-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/www-servers/fnord/fnord-1.11-r1.ebuild b/www-servers/fnord/fnord-1.11-r1.ebuild new file mode 100644 index 000000000000..d758fdc2ba56 --- /dev/null +++ b/www-servers/fnord/fnord-1.11-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic toolchain-funcs user + +DESCRIPTION="Yet another small httpd" +HOMEPAGE="http://www.fefe.de/fnord/" +SRC_URI="http://www.fefe.de/fnord/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="auth" + +DEPEND="" +RDEPEND="${DEPEND} + virtual/daemontools + sys-apps/ucspi-tcp" + +DOCS=( TODO README README.auth SPEED CHANGES ) +PATCHES=( "${FILESDIR}/${PN}"-1.10-gentoo.diff ) + +pkg_setup() { + enewgroup nofiles 200 + enewuser fnord -1 -1 /etc/fnord nofiles + enewuser fnordlog -1 -1 /etc/fnord nofiles +} + +src_compile() { + # Fix for bug #45716 + use sparc && replace-sparc64-flags + + use auth && append-flags -DAUTH + + emake DIET="" CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install () { + dobin fnord-conf fnord + einstalldocs +} |