Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2003 17:07:25 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject:   ports/57868: [new port] net/morebalance: A modular open source user-space load balancing system
Message-ID:  <20031011150733.57ED743F85@mx1.FreeBSD.org>
Resent-Message-ID: <200310111510.h9BFALb6014615@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         57868
>Category:       ports
>Synopsis:       [new port] net/morebalance: A modular open source user-space load balancing system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 11 08:10:21 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	MoreBalance is a small utility which can forward ports, distribute traffic 
	among hosts (optionally with scheduling guarantees), launch services on 
	demand, protect against excessive usage, and perform other networking tasks. 
	It is very modular and can be configured to use only the features it needs.

	http://mindx.dyndns.org/morebalance/

>How-To-Repeat:
	N/A.
>Fix:

	

--- morebalance.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:
#
#	morebalance
#	morebalance/Makefile
#	morebalance/distinfo
#	morebalance/pkg-descr
#	morebalance/pkg-plist
#	morebalance/files
#	morebalance/files/patch-Makefile
#
echo c - morebalance
mkdir -p morebalance > /dev/null 2>&1
echo x - morebalance/Makefile
sed 's/^X//' >morebalance/Makefile << 'END-of-morebalance/Makefile'
X# New ports collection Makefile for:	morebalance
X# Date created:				Wed Oct 8
X# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	morebalance
XPORTVERSION=	0.2
XCATEGORIES=	net
XMASTER_SITES=	http://mindx.dyndns.org/morebalance/
X
XMAINTAINER=	sheepkiller@cultdeadsheep.org
XCOMMENT=	A modular open source user-space load balancing system
X
XUSE_REINPLACE=	yes
XCFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include
XMAKE_ARGS+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
X
X.if defined(WITH_PCRE)
XLIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
XCFLAGS+=	-DUSE_PCRE
XLDFLAGS+=	-L${LOCALBASE}/lib -lpcre
X.endif
X
X.if defined(WITH_TLS)
XLIB_DEPENDS+=	gnutls.7:${PORTSDIR}/security/gnutls \
X		ggz.1:${PORTSDIR}/games/libggz
XCFLAGS+=	-DUSE_TLS
XLDFLAGS+=	-lggz -lgnutls -L${LOCALBASE}/lib
X.endif
X
XMAN1=		morebalance.1
XMAN5=		morebalance.conf.5
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
X	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
X	@${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MANPREFIX}/man/man1
X	@${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.conf.5 ${MANPREFIX}/man/man5
X
X.include <bsd.port.mk>
END-of-morebalance/Makefile
echo x - morebalance/distinfo
sed 's/^X//' >morebalance/distinfo << 'END-of-morebalance/distinfo'
XMD5 (morebalance-0.2.tar.gz) = 2b917d789dcc620abe68df295d91fec7
END-of-morebalance/distinfo
echo x - morebalance/pkg-descr
sed 's/^X//' >morebalance/pkg-descr << 'END-of-morebalance/pkg-descr'
XMoreBalance is a modular open source user-space load balancing system.
XIt also serves as a general fun networking tool.
X
XWWW: http://mindx.dyndns.org/morebalance/
END-of-morebalance/pkg-descr
echo x - morebalance/pkg-plist
sed 's/^X//' >morebalance/pkg-plist << 'END-of-morebalance/pkg-plist'
Xsbin/morebalance
Xetc/morebalance.conf.sample
END-of-morebalance/pkg-plist
echo c - morebalance/files
mkdir -p morebalance/files > /dev/null 2>&1
echo x - morebalance/files/patch-Makefile
sed 's/^X//' >morebalance/files/patch-Makefile << 'END-of-morebalance/files/patch-Makefile'
X--- Makefile.orig	Wed Oct  8 13:54:08 2003
X+++ Makefile	Sat Oct 11 15:38:37 2003
X@@ -1,26 +1,21 @@
X VERSION = 0.2
X-#PCRE=-lpcre
X-#GNUTLS=-lggz -lgnutls
X-
X-CC = gcc
X-CFLAGS = -Wall -O3 -ggdb3
X 
X OBJECTS = main.o conf.o sys.o magic.o server.o ipban.o filter.o
X 
X all: morebalance
X 
X morebalance: $(OBJECTS)
X-	$(CC) -o $@ $(OBJECTS) -lpthread $(PCRE) $(GNUTLS)
X+	$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
X 
X clean:
X 	rm -f *.o
X 	rm -f morebalance
X 
X install: morebalance
X-	install -d -m755 $(DESTDIR)$(prefix)/usr/bin
X-	install -d -m755 $(DESTDIR)$(prefix)/etc
X-	cp morebalance $(DESTDIR)$(prefix)/usr/bin
X-	cp morebalance.conf $(DESTDIR)$(prefix)/etc
X+	install -d -m755 $(DESTDIR)$(PREFIX)/bin
X+	install -d -m755 $(DESTDIR)$(PREFIX)/etc
X+	cp morebalance $(DESTDIR)$(PREFIX)/bin
X+	cp morebalance.conf $(DESTDIR)$(PREFIX)/etc
X 
X distclean: clean
X 	rm -f configure-stamp
END-of-morebalance/files/patch-Makefile
exit
--- morebalance.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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