rpms/balance/F-9 balance.spec, NONE, 1.1 disable_IPV6_code_for_now.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Itamar Reis Peixoto itamarjp at fedoraproject.org
Sun Nov 16 21:17:33 UTC 2008


Author: itamarjp

Update of /cvs/pkgs/rpms/balance/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26928/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	balance.spec disable_IPV6_code_for_now.patch import.log 
Log Message:
Initial Release



--- NEW FILE balance.spec ---
Name: balance
Version: 3.42
Release: 4%{?dist}
Summary: TCP load-balancing proxy server with round robin and failover mechanisms
Group: Applications/Internet
License: GPLv2
Source0: http://www.inlab.de/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://www.inlab.de/balance.html

# the current ipv6 code in balance is broken, will probable fixed in newer version's, please help to fix :-)
# setsockopt(IPV6_V6ONLY=0): Protocol not available
Patch0: disable_IPV6_code_for_now.patch

%description
Balance is a simple but powerful generic tcp proxy with round robin
load balancing and failover mechanisms.  The program behaviour can
be controlled at runtime using a simple command line syntax. 

%prep
%setup -q
%patch0 -p1

%build
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}

%{__mkdir} -p %{buildroot}%{_localstatedir}/run/%{name}
%{__install} -Dp -m 755 %{name} %{buildroot}%{_sbindir}/%{name}
%{__install} -Dp -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1

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

%files
%defattr(-,root,root,-)
%doc README COPYING
%{_sbindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%dir %{_localstatedir}/run/%{name}

%changelog
* Mon Nov 11 2008 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 3.42-4
- the ipv6 code in balance is broken, disabling it for now

* Mon Nov 10 2008 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 3.42-3
- Changes from bugzilla #470626 Comment #1 From Fabian Affolter ->
- simplify %%build section summarizing the commands
- improve macros usage

* Fri Nov 07 2008 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 3.42-2
- Rebuild for Fedora 10.

* Tue Apr 08 2008 T.Obermair > 3.42 
- update version

* Sat Nov 24 2007 T.Obermair > 3.40 
- update version

* Mon Jan 15 2007 T.Obermair > 3.35 
- update version

* Sat Mar 18 2006 T.Obermair > 3.34 
- update version

* Wed Oct 19 2005 T.Obermair > 3.28 
- update version

* Fri Oct 31 2003 Bojan Smojver <bojan at rexursive dot com> 3.11-1 
- update version

* Mon Sep  22 2003 Thomas Steudten <thomas at steudten dot com> 3.10-2 
- rebuild
- fix/expand specfile

disable_IPV6_code_for_now.patch:

--- NEW FILE disable_IPV6_code_for_now.patch ---
diff -ruN balance-3.42.orig/balance.c balance-3.42.new/balance.c
--- balance-3.42.orig/balance.c	2008-04-08 14:40:02.000000000 -0300
+++ balance-3.42.new/balance.c	2008-11-11 11:00:26.000000000 -0200
@@ -162,7 +162,7 @@
   }
 
   sockoptoff = 0;
-
+/*
 #if defined(IPV6_V6ONLY)
   status = setsockopt(srv_socket, IPPROTO_IPV6, IPV6_V6ONLY, (char*) &sockoptoff, sizeof(sockoptoff));
   if(status < 0) {
@@ -170,7 +170,7 @@
     exit(EX_OSERR);
   }
 #endif
-
+*/
   sockopton = 1;
   status = setsockopt(srv_socket, SOL_SOCKET, SO_REUSEADDR, (char*) &sockopton, sizeof(sockopton));
   if(status < 0) {


--- NEW FILE import.log ---
balance-3_42-4_fc10:F-9:balance-3.42-4.fc10.src.rpm:1226870166


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/balance/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Nov 2008 20:18:33 -0000	1.1
+++ .cvsignore	16 Nov 2008 21:17:02 -0000	1.2
@@ -0,0 +1 @@
+balance-3.42.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/balance/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Nov 2008 20:18:33 -0000	1.1
+++ sources	16 Nov 2008 21:17:02 -0000	1.2
@@ -0,0 +1 @@
+24bc4063e8af298471d7d0a2ac7462a6  balance-3.42.tar.gz




More information about the fedora-extras-commits mailing list