summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-08 11:37:29 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-08 11:37:29 +0000
commit035a59b4ee13ed3c8e581dba58b7c461ea5d601c (patch)
treeaf8a09c487efdca2b399c37498328feafbc7dadb /www-servers/fnord/fnord-1.8.ebuild
parentVersion bump. Changed version numbering scheme. (Manifest recommit) (diff)
downloadgentoo-2-035a59b4ee13ed3c8e581dba58b7c461ea5d601c.tar.gz
gentoo-2-035a59b4ee13ed3c8e581dba58b7c461ea5d601c.tar.bz2
gentoo-2-035a59b4ee13ed3c8e581dba58b7c461ea5d601c.zip
Moved from net-www/fnord to www-servers/fnord.
Diffstat (limited to 'www-servers/fnord/fnord-1.8.ebuild')
-rw-r--r--www-servers/fnord/fnord-1.8.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/www-servers/fnord/fnord-1.8.ebuild b/www-servers/fnord/fnord-1.8.ebuild
new file mode 100644
index 000000000000..39c5959212b2
--- /dev/null
+++ b/www-servers/fnord/fnord-1.8.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/fnord/fnord-1.8.ebuild,v 1.1 2004/08/08 11:37:29 stuart Exp $
+
+S=${WORKDIR}/${P}
+
+# needed for replace-sparc64-flags
+inherit flag-o-matic
+
+DESCRIPTION="Yet another small httpd."
+SRC_URI="http://www.fefe.de/fnord/${P}.tar.bz2
+ mirror://gentoo/${P}-gentoo.diff"
+HOMEPAGE="http://www.fefe.de/fnord/"
+
+KEYWORDS="~x86 ~sparc ~ppc"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="dev-libs/dietlibc"
+RDEPEND="sys-apps/daemontools"
+
+pkg_setup() {
+
+ if ! grep -q ^fnord: /etc/passwd ; then
+ useradd -g nofiles -s /bin/false -d /etc/fnord -c "fnord" fnord\
+ || die "problem adding user fnord"
+ fi
+ if ! grep -q ^fnordlog: /etc/passwd ; then
+ useradd -g nofiles -s /bin/false -d /etc/fnord -c "fnordlog" fnordlog\
+ || die "problem adding user fnordlog"
+ fi
+}
+
+src_unpack() {
+ # Fix for bug #45716
+ replace-sparc64-flags
+
+ unpack ${A} ; cd ${S}
+ sed -i "s:^CFLAGS=-O.*:CFLAGS=${CFLAGS}:" Makefile
+
+ patch -p0 < ${DISTDIR}/${PF}-gentoo.diff
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install () {
+ exeinto /usr/bin
+ doexe fnord-conf fnord
+
+ dodoc TODO README SPEED COPYING CHANGES
+}