--- crossroads-2.65.orig/debian/changelog +++ crossroads-2.65/debian/changelog @@ -0,0 +1,26 @@ +crossroads (2.65-2) unstable; urgency=medium + + * QA upload. + * Set Maintainer field to QA Group. + * Bump Standards-Version to 3.9.6. + * Add missing recommended targets to debian/rules: build-arch and + build-indep. + + -- Emanuele Rocca Sun, 13 Dec 2015 14:38:31 +0100 + +crossroads (2.65-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: start.cc:22: undefined reference to `pthread_create'": + add patch from Ubuntu / Andreas Moog: + - debian/patches/ftbfs_link_pthread.patch: (LP: #749221) + add missing link to pthread + (Closes: #629658) + + -- gregor herrmann Mon, 31 Oct 2011 20:32:37 +0100 + +crossroads (2.65-1) unstable; urgency=low + + * Initial release (Closes: #498480) + + -- Stefan Ritter Mon, 05 Jul 2010 16:27:00 +0200 --- crossroads-2.65.orig/debian/compat +++ crossroads-2.65/debian/compat @@ -0,0 +1 @@ +7 --- crossroads-2.65.orig/debian/control +++ crossroads-2.65/debian/control @@ -0,0 +1,20 @@ +Source: crossroads +Section: net +Priority: extra +Maintainer: Debian QA Group +Homepage: http://crossroads.e-tunity.com/ +Build-Depends: debhelper (>= 7), quilt +Standards-Version: 3.9.6 + +Package: crossroads +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: open source load balance and fail over utility for TCP based services + Crossroads is a daemon running in user space, and features extensive + configurability, polling of back ends using 'wakeup calls', detailed status + reporting, 'hooks' for special actions when backend calls fail, and much more. + . + Crossroads is service-independent: it is usable for HTTP(S), SSH, SMTP, DNS, + etc.. In the case of HTTP balancing, Crossroads can provide + 'session stickiness' for back end processes that need sessions, but aren't + session-aware of other back ends. --- crossroads-2.65.orig/debian/copyright +++ crossroads-2.65/debian/copyright @@ -0,0 +1,81 @@ +This package was debianized by Stefan Ritter on Mon, 12 Jul +2010 13:51:00 +0200. + +The source can be downloaded from http://crossroads.e-tunity.com/. + +Author: Karel Kubat + +Files: xr/sys/mtrand.cc +Copyright: © 1997 - 2002 by Makoto Matsumoto and Takuji Nishimura +License: BSD + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. The names of its contributors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: * +Copyright: © Karel Kubat +License: GPL-3 + License from http://crossroads.e-tunity.com/disclaimer.xr: + . + Crossroads is provided as-is, without assumptions of fitness or usability. + You're free to use Crossroads to your liking. It's free, and as with + everything that's free, there's also no warranty. + . + You are allowed to make modifications to the source code of Crossroads, and + you are allowed to (re)distribute Crossroads, as long as you include this text, + all sources, and if applicable: all your modifications, with each distribution. + . + While you're allowed to make any and all changes to the sources, I + (Karel Kubat) would appreciate hearing about them. If the changes concern new + functionality or bugfixes, then I'll include them in the next release, stating + full credits. Or better yet, become a contributor yourself, and write up your + own name in the credits list... + . + Crossroads is distributed under The GNU General Public Licence, version 3. See + one of the files named COPYING on your system, or read on below. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. + +Files: debian/* +Copyright: © 2010 by Stefan Ritter +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. --- crossroads-2.65.orig/debian/dirs +++ crossroads-2.65/debian/dirs @@ -0,0 +1 @@ +usr/bin --- crossroads-2.65.orig/debian/docs +++ crossroads-2.65/debian/docs @@ -0,0 +1,2 @@ +doc/xr.pdf +doc/xr.odt --- crossroads-2.65.orig/debian/examples +++ crossroads-2.65/debian/examples @@ -0,0 +1 @@ +test/* --- crossroads-2.65.orig/debian/links +++ crossroads-2.65/debian/links @@ -0,0 +1 @@ +/usr/share/man/man1/xr.1.gz /usr/share/man/man1/crossroads.1.gz --- crossroads-2.65.orig/debian/manpages +++ crossroads-2.65/debian/manpages @@ -0,0 +1,2 @@ +doc/xr.1 +doc/xrctl.1 --- crossroads-2.65.orig/debian/patches/fix-hyphen-in-manpage +++ crossroads-2.65/debian/patches/fix-hyphen-in-manpage @@ -0,0 +1,37 @@ +--- a/doc/xr.1 ++++ b/doc/xr.1 +@@ -4,8 +4,8 @@ + xr \- Crossroads Load Balancer & Fail Over Utility + + .SH "SYNOPSIS" +-\fBxr [--verbose] [--web-interface XRSERVER:PORT] --server +-tcp:XRSERVER:PORT --backend BACKEND:PORT [--backend BACKEND:PORT] ...\fR ++\fBxr [\-\-verbose] [\-\-web-interface XRSERVER:PORT] \-\-server ++tcp:XRSERVER:PORT \-\-backend BACKEND:PORT [\-\-backend BACKEND:PORT] ...\fR + + .SH "DESCRIPTION" + This manual page briefly documents XR, the Crossroads Load Balancer & +@@ -27,11 +27,11 @@ + XR furthermore features a management web interface and can be run as a + stand-alone daemon, or via inetd. + +-Execute 'xr -h' to get a complete list of available command-line parameters. ++Execute 'xr \-h' to get a complete list of available command-line parameters. + + .SH "EXAMPLE" +-xr --verbose --server tcp:0:80 --backend 10.1.1.1:80 --backend +-10.1.1.2:80 --backend 10.1.1. 3:80 --web-interface 0:8001 ++xr \-\-verbose \-\-server tcp:0:80 \-\-backend 10.1.1.1:80 \-\-backend ++10.1.1.2:80 \-\-backend 10.1.1. 3:80 \-\-web-interface 0:8001 + + This instructs XR to listen to port 80 and to dispatch traffic to the + servers 10.1.1.1, 10.1.1.2 and 10.1.1.2, port 80. A web interface for +@@ -40,7 +40,7 @@ + Direct your browser to the server running XR. You will see the pages + served by one of the three back ends. The console where XR is + started, will show what's going on (due to the presence of +---verbose). ++\-\-verbose). + + Direct your browser to the server running XR, but port 8001. You will + see the web interface, which shows the status, and where you can --- crossroads-2.65.orig/debian/patches/ftbfs_link_pthread.patch +++ crossroads-2.65/debian/patches/ftbfs_link_pthread.patch @@ -0,0 +1,15 @@ +## Description: add pthread to linker flags, fixes FTBFS with gold-linker +## Origin/Author: Andreas Moog +## Bug-Ubuntu: https://bugs.launchpad.net/bugs/749221 +## Bug-Debian: http://bugs.debian.org/629658 +--- a/xr/Makefile ++++ b/xr/Makefile +@@ -54,7 +54,7 @@ + + $(BIN): $(BUILDDIR)/libxr.a + $(CONF_CC) $(PROF) $(CONF_OPTFLAGS) -g -o $(BIN) \ +- -L$(BUILDDIR) -lxr $(CONF_LIB) ++ -L$(BUILDDIR) -lxr $(CONF_LIB) -lpthread + + clean: + rm -f $(BIN) $(LIB) core obj/*.o etc/usage.h $(BUILDDIR)/config.cache --- crossroads-2.65.orig/debian/patches/series +++ crossroads-2.65/debian/patches/series @@ -0,0 +1,2 @@ +fix-hyphen-in-manpage +ftbfs_link_pthread.patch --- crossroads-2.65.orig/debian/rules +++ crossroads-2.65/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp + +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(MAKE) local + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + install -m 0755 xr/build/xr debian/crossroads/usr/bin/ + install -m 0755 xrctl/xrctl debian/crossroads/usr/bin/ + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress -X.odt -X.pdf + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- crossroads-2.65.orig/debian/watch +++ crossroads-2.65/debian/watch @@ -0,0 +1 @@ +# No version in upstream-tarball