Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 19:41:37 +0200
From:      BgTA <bgta@bgta.homeip.net>(by way of =?iso-8859-1?q?Ra=FAl=20Romero?= <raul@bgta.net>)
To:        bugs@freebsd.org
Subject:   Lingerd Port
Message-ID:  <200210221941.37671.bgta@bgta.homeip.net>

next in thread | raw e-mail | index | archive | help
>Submitter-Id:=09current-users
>Originator:=09BgTA
>Organization:
>Confidential:=09no
>Synopsis:=09Lingerd Port
>Severity:=09non-critical
>Priority:=09low
>Category:=09ports
>Class:=09=09change-request
>Release:=09FreeBSD 4.6.2-RELEASE-p1 i386
>Environment:

System: FreeBSD pegaso.bgta.homeip.net 4.6.2-RELEASE-p1 FreeBSD
 4.6.2-RELEASE-p1 #1: Thu Sep 12 09:13:18 CEST 2002
 root@pegaso.bgta.homeip.net:/usr/obj/usr/src/sys/PEGASO i386

>Description:

 Lingerd is a daemon (service) designed to take over the job of properly
 closing network connections from an http server like Apache.

Because of some technical complications in the way TCP/IP and HTTP work, =
each
 Apache process currently wastes a lot of time "lingering" on client
 connections, after the page has been generated and sent. Lingerd takes o=
ver
 this job, leaving the Apache process immediately free to handle a new
 connection. As a result, Lingerd makes it possible to serve the same loa=
d
 using considerably fewer Apache processes. This translates into a reduce=
d
 load on the server.


Lingerd is particularily useful in Apache webservers that generate dynami=
c
 pages (e.g in conjunction with mod_perl, mod_php or Java/Jakarta/Tomcat)=
=2E

WWW: http://www.iagora.com/about/software/lingerd/

- Ra=FAl Romero
raul@bgta.net

>How-To-Repeat:
>Fix:

--- port-submit begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#=09www/lingerd
#=09www/lingerd/Makefile
#=09www/lingerd/distinfo
#=09www/lingerd/pkg-comment
#=09www/lingerd/pkg-descr
#=09www/lingerd/pkg-plist
#=09www/lingerd/pkg-message
#
echo c - www/lingerd
mkdir -p www/lingerd > /dev/null 2>&1
echo x - www/lingerd/Makefile
sed 's/^X//' >www/lingerd/Makefile << 'END-of-www/lingerd/Makefile'
X# New ports collection makefile for:   lingerd
X# Date created:        22 September 2002
X# Whom:                Ra=FAl Romero <raul@bgta.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=3D      lingerd
XPORTVERSION=3D   0.94
XDISTNAME=3D=09lingerd-0.94
XCATEGORIES=3D    www
XMASTER_SITES=3D  http://images.iagora.com/media/software/lingerd/
X
XMAINTAINER=3D    raul@bgta.net
X
Xpost-patch:
X=09echo "#!/usr/bin/true" > ${WRKDIR}/${DISTNAME}/configure
X=09/usr/bin/sed -e "s/^all.*/all: lingerd/" ${WRKDIR}/${DISTNAME}/Makefi=
le >
 ${WRKDIR}/${DISTNAME}/Makefile2 X=09mv ${WRKDIR}/${DISTNAME}/Makefile2
 ${WRKDIR}/${DISTNAME}/Makefile
Xpre-install:
X=09strip ${WRKDIR}/${DISTNAME}/lingerd
Xpost-install:
X=09${MKDIR} ${PREFIX}/share/doc/lingerd
X=09cp ${WRKDIR}/${DISTNAME}/ChangeLog ${PREFIX}/share/doc/lingerd
X=09cp ${WRKDIR}/${DISTNAME}/INSTALL ${PREFIX}/share/doc/lingerd
X=09cp ${WRKDIR}/${DISTNAME}/LICENSE ${PREFIX}/share/doc/lingerd
X=09cp ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/lingerd
X=09cp ${WRKDIR}/${DISTNAME}/TODO ${PREFIX}/share/doc/lingerd
X=09cp ${WRKDIR}/${DISTNAME}/TUNING ${PREFIX}/share/doc/lingerd
X=09cat pkg-message
X
X
X.include <bsd.port.mk>
END-of-www/lingerd/Makefile
echo x - www/lingerd/distinfo
sed 's/^X//' >www/lingerd/distinfo << 'END-of-www/lingerd/distinfo'
XMD5 (lingerd-0.94.tar.gz) =3D 6401015bafad4f44fdf8a9a1795d9258
END-of-www/lingerd/distinfo
echo x - www/lingerd/pkg-comment
sed 's/^X//' >www/lingerd/pkg-comment << 'END-of-www/lingerd/pkg-comment'
XAn accelerator daemon for Apache
END-of-www/lingerd/pkg-comment
echo x - www/lingerd/pkg-descr
sed 's/^X//' >www/lingerd/pkg-descr << 'END-of-www/lingerd/pkg-descr'
XLingerd is a daemon (service) designed to take over the job of properly
 closing network connections from an http server like Apache. X
XBecause of some technical complications in the way TCP/IP and HTTP work,
 each Apache process currently wastes a lot of time "lingering" on client
 connections, after the page has been generated and sent. Lingerd takes o=
ver
 this job, leaving the Apache process immediately free to handle a new
 connection. As a result, Lingerd makes it possible to serve the same loa=
d
 using considerably fewer Apache processes. This translates into a reduce=
d
 load on the server. X
X
XLingerd is particularily useful in Apache webservers that generate dynam=
ic
 pages (e.g in conjunction with mod_perl, mod_php or Java/Jakarta/Tomcat)=
=2E X
XWWW: http://www.iagora.com/about/software/lingerd/
X
X- Ra=FAl Romero
Xraul@bgta.net
END-of-www/lingerd/pkg-descr
echo x - www/lingerd/pkg-plist
sed 's/^X//' >www/lingerd/pkg-plist << 'END-of-www/lingerd/pkg-plist'
Xsbin/lingerd
X%%PORTDOCS%%share/doc/lingerd/ChangeLog
X%%PORTDOCS%%share/doc/lingerd/INSTALL
X%%PORTDOCS%%share/doc/lingerd/LICENSE
X%%PORTDOCS%%share/doc/lingerd/README
X%%PORTDOCS%%share/doc/lingerd/TODO
X%%PORTDOCS%%share/doc/lingerd/TUNING
X%%PORTDOCS%%@dirrm share/doc/lingerd
END-of-www/lingerd/pkg-plist
echo x - www/lingerd/pkg-message
sed 's/^X//' >www/lingerd/pkg-message << 'END-of-www/lingerd/pkg-message'
XPRE-INSTALLATION NOTES
X=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
XThis package is a deamon that run with Apache13 Lingerd Patched Version.
X
X* To patch Apache13 Port, make patch into port directory and follow INST=
ALL
 notes. After this, make install normally. X
X* Make sure lingerd is running, and run the copy of Apache you just
X  compiled.  Make sure that they're both running under the same uid.
X  For testing, start lingerd with the "-X" option, which makes it log to
X  the terminal rather than syslog.
X
X* Read /usr/local/share/doc/lingerd for more Information.
X=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
END-of-www/lingerd/pkg-message
exit
--- port-submit ends here ---

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210221941.37671.bgta>