Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54063 - Missing dependency in fnord ebuild
Summary: Missing dependency in fnord ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-16 00:01 UTC by Jesse Scott
Modified: 2004-12-18 08:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Scott 2004-06-16 00:01:29 UTC
The ebuild for the fnord webserver should be updated to depend on the ucspi-tcp package since fnord relies on tcpserver to operate.

Reproducible: Always
Steps to Reproduce:
1. emerge fnord
2. try to run it





Here is an updated ebuild for fnord 1.7 (there is also an ebuild for 1.8 in the
tree that needs to be updated as well...):

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/net-www/fnord/fnord-1.7.ebuild,v 1.3
2004/02/22 16:51:52 agriffis Exp $

S=${WORKDIR}/${P}

DESCRIPTION="Yet another small httpd."
SRC_URI="http://www.fefe.de/fnord/${P}.tar.bz2"
HOMEPAGE="http://www.fefe.de/fnord/"

KEYWORDS="x86 sparc"
SLOT="0"
LICENSE="GPL-2"

DEPEND="dev-libs/dietlibc"
RDEPEND="sys-apps/daemontools sys-apps/ucspi-tcp"

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() {

        unpack ${A} ; cd ${S}
        mv Makefile Makefile.orig
        sed -e "s:^CFLAGS=-O.*:CFLAGS=${CFLAGS}:" \
                Makefile.orig > Makefile

        patch -p0 < ${FILESDIR}/${PF}-gentoo.diff

}

src_compile() {

        emake || die

}

src_install () {

        exeinto /usr/bin
        doexe fnord-conf fnord

        dodoc TODO README SPEED COPYING CHANGES

}
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-16 08:10:58 UTC
tossing to you guys, as there is no listed maintainer, and it's in your category.
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2004-08-30 11:35:25 UTC
www-servers will be cleaned up soon, so this will hopefully be taken care of then.
Comment 3 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2004-12-18 08:58:53 UTC
Done in CVS.