commit:     bbcd67dcbe68efb0eecb6df18913aff063c20d02
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 17 19:17:07 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Apr 17 19:19:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbcd67dc

www-servers/fnord: migrate to glep 81

Closes: https://bugs.gentoo.org/781536
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 www-servers/fnord/fnord-1.11-r2.ebuild | 40 ++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/www-servers/fnord/fnord-1.11-r2.ebuild 
b/www-servers/fnord/fnord-1.11-r2.ebuild
new file mode 100644
index 00000000000..0465b9d94b8
--- /dev/null
+++ b/www-servers/fnord/fnord-1.11-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+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"
+
+RDEPEND="
+       acct-group/nofiles
+       acct-user/fnord
+       acct-user/fnordlog
+       sys-apps/ucspi-tcp
+       virtual/daemontools
+"
+
+DOCS=( TODO README README.auth SPEED CHANGES )
+
+PATCHES=( "${FILESDIR}/${PN}"-1.10-gentoo.diff )
+
+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
+}

Reply via email to