diff options
Diffstat (limited to 'net-www/lingerd/lingerd-0.94.ebuild')
-rw-r--r-- | net-www/lingerd/lingerd-0.94.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-www/lingerd/lingerd-0.94.ebuild b/net-www/lingerd/lingerd-0.94.ebuild new file mode 100644 index 000000000000..8bc9431d7f85 --- /dev/null +++ b/net-www/lingerd/lingerd-0.94.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/lingerd/lingerd-0.94.ebuild,v 1.1 2005/01/08 23:21:48 hollow Exp $ + +inherit eutils + +DESCRIPTION="Lingerd is a daemon designed to take over the job of properly closing network connections from an http server" +HOMEPAGE="http://www.iagora.com/about/software/lingerd/" +SRC_URI="http://images.iagora.com/media/software/lingerd/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=sys-apps/sed-4" +RDEPEND="" + +src_compile() { + sed -i -e "s/\(CFLAGS = -Wall \).*/\1 ${CFLAGS}/g" Makefile || die "Makefile fixing failed." + emake || die "Emake failed." +} + +src_install() { + enewuser lingerd + exeinto ${D}/usr/bin/ ; doexe lingerd || die "Installation failed." + exeinto /etc/init.d ; newexe ${FILESDIR}/lingerd.rc lingerd + dodoc ChangeLog LICENSE README TUNING INSTALL TODO extra/lingerd.rc +} + +pkg_postinst() { + install -m0770 -o lingerd -g apache -d ${ROOT}/var/run/lingerd/ +} |