ports/104926: [NEW PORT] net/slbd: Server load balancing daemon for *BSD pf
Janos Mohacsi
janos.mohacsi at bsd.hu
Mon Oct 30 09:40:26 UTC 2006
>Number: 104926
>Category: ports
>Synopsis: [NEW PORT] net/slbd: Server load balancing daemon for *BSD pf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 30 09:40:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Janos Mohacsi
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #17: Fri Oct 20 01:04:28 CEST 2006
>Description:
The slbd project aims to produce stable, production-quality code to monitor
web and other TCP-based servers, allowing for server load balancing (SLB)
functionality through *BSD's PF packet filter.
WWW: http://slbd.sourceforge.net/
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- slbd-1.3.shar 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:
#
# slbd
# slbd/distinfo
# slbd/pkg-descr
# slbd/files
# slbd/files/patch-Makefile
# slbd/Makefile
#
echo c - slbd
mkdir -p slbd > /dev/null 2>&1
echo x - slbd/distinfo
sed 's/^X//' >slbd/distinfo << 'END-of-slbd/distinfo'
XMD5 (slbd-1.3.tar.gz) = ac10353d513694fcc2574aa352360ae9
XSHA256 (slbd-1.3.tar.gz) = 661e60fcd6191aa3d8510eefc4812dadd0268151aa2611ea7d566cacffcbf547
XSIZE (slbd-1.3.tar.gz) = 20110
END-of-slbd/distinfo
echo x - slbd/pkg-descr
sed 's/^X//' >slbd/pkg-descr << 'END-of-slbd/pkg-descr'
XThe slbd project aims to produce stable, production-quality code to monitor
Xweb and other TCP-based servers, allowing for server load balancing (SLB)
Xfunctionality through *BSD's PF packet filter.
X
XWWW: http://slbd.sourceforge.net/
END-of-slbd/pkg-descr
echo c - slbd/files
mkdir -p slbd/files > /dev/null 2>&1
echo x - slbd/files/patch-Makefile
sed 's/^X//' >slbd/files/patch-Makefile << 'END-of-slbd/files/patch-Makefile'
X
X$FreeBSD$
X
X--- Makefile.orig
X+++ Makefile
X@@ -14,15 +14,11 @@
X #SUBDIR=tests
X PROG=slbd
X MAN=
X-PREFIX=/usr/local
X+PREFIX=%%PREFIX%%
X BINDIR=sbin
X CONFDIR=etc
X
X-.if exists(${PREFIX}/${CONFDIR}/slbdcap)
X-CONFFILE=$(PREFIX)/$(CONFDIR)/slbdcap.new
X-.else
X-CONFFILE=$(PREFIX)/$(CONFDIR)/slbdcap
X-.endif
X+CONFFILE=$(PREFIX)/$(CONFDIR)/slbdcap-sample
X
X
X .c.o:
X@@ -47,7 +43,7 @@
X install-slbd:
X $(INSTALL) $(PROG) $(PREFIX)/$(BINDIR)/
X #mkdir -p $(PREFIX)/$(CONFDIR)
X- #cp conf/slbdcap $(CONFFILE)
X+ $(INSTALL) conf/slbdcap $(CONFFILE)
X
X config-clean:
X rm -f config.o config_test config
END-of-slbd/files/patch-Makefile
echo x - slbd/Makefile
sed 's/^X//' >slbd/Makefile << 'END-of-slbd/Makefile'
X# New ports collection makefile for: slbd
X# Date created: 30 October 2006
X# Whom: Janos Mohacsi <janos.mohacsi at bsd.hu>
X#
X# $FreeBSD$
X#
X
XPORTNAME= slbd
XPORTVERSION= 1.3
XCATEGORIES= net sysutils
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER= janos.mohacsi at bsd.hu
XCOMMENT= Server load balancing daemon for *BSD pf
X
XPLIST_FILES= sbin/slbd etc/slbdcap-sample
XPORTDOCS= configfile.txt
X
Xpost-patch:
X @${REINPLACE_CMD} -e "s;%%PREFIX%%;${PREFIX};g" \
X ${WRKSRC}/Makefile
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-slbd/Makefile
exit
--- slbd-1.3.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list