crossroads/crossroads.spec

Name: crossroads
Summary: Load balance and fail over utility for TCP based services
Version: 2.81
Release: 1
License: GPLv3
Group: Applications/Utilities
URL: http://crossroads.e-tunity.com/
Description: Crossroads is an open source load balance and fail over utility for TCP based services. It 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.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Karel Kubat <karel$kubat,nl>

Summary: Load balance and fail over utility for TCP based services
Name: crossroads
Version: 2.81
Release: 1%{?dist}
License: GPLv3
Group: Applications/Utilities
URL: http://crossroads.e-tunity.com/

Source: http://crossroads.e-tunity.com/downloads/versions/crossroads-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: binutils
BuildRequires: gcc-c++ >= 4
BuildRequires: make
BuildRequires: perl
Requires: bzip2
Requires: gzip
Requires: perl
Requires: perl(LWP::UserAgent)

%description
Crossroads is an open source load balance and fail over utility for TCP based 
services. It 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.

%prep
%setup
%{__perl} -pi -e 's|use PROMPT to|Use PROMPT to|g;' src/crossroads-mgr/*

%build
%{__make} %{?_smp_mflags} PREFIX=%{_prefix} BINDIR=%{_sbindir} local
#needs yo2man
#{__make} %{?_smp_mflags} PREFIX=%{_prefix} BINDIR=%{_sbindir} documentation

%install
%{__rm} -rf %{buildroot}
%{__install} -d %{buildroot}%{_bindir} %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man1 %{buildroot}%{_mandir}/man7
%{__make} install DESTDIR="%{buildroot}" BINDIR=%{buildroot}%{_sbindir} PREFIX=%{buildroot}%{_prefix}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog LICENSE doc/xr.odt doc/xr.pdf doc/fig/
%doc %{_mandir}/man1/xr*.1*
%doc %{_mandir}/man1/xrctl.1*
%doc %{_mandir}/man5/xrctl.xml.5*
%{_sbindir}/xrctl
%{_sbindir}/xr

%changelog
* Tue May 07 2013 David Hrbáč <david@hrbac.cz> - 2.81-1
- new upstream release

* Fri May 04 2012 David Hrbáč <david@hrbac.cz> - 2.79-1
- new upstream release

* Wed Apr 25 2012 David Hrbáč <david@hrbac.cz> - 2.78-1
- new upstream release

* Tue Mar 06 2012 David Hrbáč <david@hrbac.cz> - 2.77-1
- new upstream release

* Mon Jan 16 2012 David Hrbáč <david@hrbac.cz> - 2.76-1
- new upstream release

* Tue Apr 05 2011 Steve Huff <shuff@vecna.org> - 2.74-1
- Updated to release 2.74.
- Captured more documentation.

* Fri Jan  9 2009 Dries Verachtert <dries@ulyssis.org> - 2.41-1
- Updated to release 2.41.

* Thu Nov 20 2008 Dries Verachtert <dries@ulyssis.org> - 2.36-1
- Updated to release 2.36.

* Fri Sep 12 2008 Dries Verachtert <dries@ulyssis.org> - 2.12-1
- Updated to release 2.12.

* Mon Aug 18 2008 Dries Verachtert <dries@ulyssis.org> - 2.05-1
- Updated to release 2.05.

* Mon Aug 11 2008 Dries Verachtert <dries@ulyssis.org> - 2.00-1
- Updated to release 2.00.

* Tue May 20 2008 Dries Verachtert <dries@ulyssis.org> - 1.80-1
- Updated to release 1.80.

* Sun Feb  3 2008 Dries Verachtert <dries@ulyssis.org> - 1.63-1
- Initial package.