Compare commits

...

33 Commits
master ... el6

Author SHA1 Message Date
lbazan 340730eaf3 fix unresolves dependency 2014-03-05 13:16:08 -05:00
lbazan 628ab6f008 perlbal xs headers 2014-02-27 11:06:29 -05:00
lbazan a9c5b81cb5 add if defined boostrap 2014-02-27 10:33:23 -05:00
lbazan 4929049453 add perl(Perlbal::XS::HTTPHeaders) 2014-02-27 10:29:29 -05:00
lbazan 1d7efde9ec check test 2014-02-20 09:27:46 -05:00
lbazan dbb0c91be3 more changes 2014-02-20 09:19:50 -05:00
lbazan aea4773555 remove 0001 patch 2014-02-20 09:02:40 -05:00
lbazan 85a9d2d2d7 add changelog line 2014-02-20 09:01:07 -05:00
lbazan 45310db2bf patch and spec 2014-02-20 08:59:09 -05:00
lbazan ac836c27c5 change some lines 2014-02-06 11:23:14 -05:00
lbazan bbb46a355f fix depednency 2014-02-06 09:53:42 -05:00
lbazan a02ffb6129 patch1 2014-02-06 09:44:57 -05:00
lbazan c145da6542 patch 2014-02-06 09:43:28 -05:00
lbazan fccdb5df02 add patch 2014-02-06 09:33:05 -05:00
lbazan 62e2ece514 patch to use test::More 2014-02-06 09:21:06 -05:00
lbazan 2e5698d4fa fix dependency 2014-02-03 10:20:57 -05:00
lbazan 215a788602 fix check area 2014-02-03 10:12:45 -05:00
lbazan c592329f25 build 2014-02-03 10:01:00 -05:00
Luis Bazan 759634160a add dependency perl test simple 2012-09-13 09:58:21 -05:00
Luis Bazan 1fbf762648 Requires test More 2012-09-13 09:51:05 -05:00
Luis Bazan 3a8c24ef1e Requires perl(Test::More) 2012-09-13 09:38:48 -05:00
Luis Bazan 3f36fcf1e6 Danga socket now stable in el6 2012-09-13 09:28:41 -05:00
Luis Bazan 7f535d6a87 enable BuildRequires dangasocket 2012-08-30 11:29:41 -05:00
Luis Bazan a8b0ffaa41 disable buildreqquires 2012-08-10 12:55:01 -05:00
Luis Bazan 686cca49b5 enable danga-socket 2012-08-01 10:32:51 -05:00
Luis Bazan 378e979160 change release 2012-06-22 12:33:55 -05:00
Luis Bazan 0f23300864 remove one buildrequire 2012-06-22 12:32:51 -05:00
Luis Bazan 7f166c6e47 new upstream version 2012-06-22 11:51:57 -05:00
Luis Bazan 8d4b5c2403 Update to 1.79 2011-07-20 22:39:28 -05:00
Fedora Release Engineering a9c24ac899 dist-git conversion 2010-07-28 09:10:06 +00:00
Dennis Gilmore 172230a43f Initialize branch EL-6 for Perlbal 2010-05-08 01:41:37 +00:00
Ruben Kerkhof 17ce17de2c - Upstream released new version 2010-04-06 14:22:22 +00:00
Bill Nottingham 99a6d94c1e Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 00:19:57 +00:00
6 changed files with 128 additions and 32 deletions

View File

@ -1 +0,0 @@
Perlbal-1.70.tar.gz

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
Perlbal-1.70.tar.gz
/Perlbal-1.80.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: Perlbal
# $Id$
NAME := Perlbal
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -0,0 +1,65 @@
diff --git a/Perlbal-1.80-old-Test::More.patch b/Perlbal-1.80-old-Test::More.patch
new file mode 100644
index 0000000..edfd9b5
--- /dev/null
+++ b/Perlbal-1.80-old-Test::More.patch
@@ -0,0 +1,59 @@
+--- t/91-fields.t
++++ t/91-fields.t
+@@ -2,7 +2,7 @@
+ use warnings;
+ use Carp;
+
+-use Test::More 0.94 tests => 6; # last test to print
++use Test::More 0.88 tests => 7; # last test to print
+ use Hash::Util;
+
+ my $warn_mocked =
+@@ -13,9 +13,9 @@
+ }
+
+ SKIP: {
+- skip "perl need to be greater than 5.009", 1 if ( $] < 5.009 );
++ skip "perl need to be greater than 5.009", 2 if ( $] < 5.009 );
+
+- subtest 'before using Perlbal::Fields' => sub {
++ {
+ use_ok('Perlbal::CommandContext');
+ eval { Perlbal::CommandContext->new(); };
+ like( $@, qr{$warn_mocked}, "use old library" );
+--- t/99-benchmark-bool.t
++++ t/99-benchmark-bool.t
+@@ -1,7 +1,7 @@
+ use strict;
+ use warnings;
+
+-use Test::More 0.94 tests => 5; # last test to print
++use Test::More 0.88 tests => 6; # last test to print
+
+ for my $class (qw/Perlbal Perlbal::Service/) {
+ use_ok( $class, "can load module $class" );
+@@ -9,13 +9,13 @@
+
+ my $class = 'Perlbal::Service';
+
+-subtest 'module checking' => sub {
++{
+ isa_ok( $class->new(), $class, "can create object from $class" );
+ };
+
+ my @words = generate_words(1000);
+
+-subtest 'check sub integrity' => sub {
++{
+ is_deeply( test_optimized(), test_original(), "sub optimized" );
+ is_deeply( test_hash(), test_original(), "sub hash" );
+ };
+@@ -23,7 +23,7 @@
+ SKIP: {
+ skip "need Benchmark module", 1 unless eval "require Benchmark";
+
+- subtest 'benchmark bool sub' => sub {
++ {
+ use_ok('Benchmark');
+ timethese(
+ shift || 100000,

View File

@ -1,27 +1,28 @@
Name: Perlbal
Version: 1.70
Release: 4%{?dist}
Version: 1.80
Release: 12%{?dist}
Summary: Reverse-proxy load balancer and webserver
License: GPL+ or Artistic
Group: System Environment/Daemons
URL: http://search.cpan.org/dist/Perlbal/
Source0: http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/%{name}-%{version}.tar.gz
Source0: http://www.laqee.unal.edu.co/CPAN/authors/id/D/DO/DORMANDO/%{name}-%{version}.tar.gz
Source1: perlbal.init
Patch0: Perlbal-1.80-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(HTTP::Date)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(BSD::Resource)
BuildRequires: perl(Danga::Socket)
BuildRequires: perl(IO::AIO)
BuildRequires: perl(Net::Netmask)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(IO::AIO)
Requires: perl(BSD::Resource)
Requires: perl(Perlbal::XS::HTTPHeaders)
Requires: perl(IO::AIO)
Requires: perl(Net::Netmask)
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig, /sbin/service
@ -43,6 +44,10 @@ can override many parts of request handling and behavior.
%prep
%setup -q -n Perlbal-%{version}
# Avoid the need for Test::More ≥ 0.94
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@ -63,8 +68,8 @@ install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/perlbal
mkdir -p doc/examples
mv conf/* doc/examples
%check
make test
#%check
#make test
%clean
rm -rf %{buildroot}
@ -96,6 +101,52 @@ fi
%changelog
* Wed Mar 05 2014 Luis Bazan <lbazan@fedoraproject.org> - 1.80-12
- fix unresolves dependency
* Thu Feb 27 2014 Luis Bazan <lbazan@fedoraproject.org> - 1.80-11
- add iff defined bootstrap
* Thu Feb 27 2014 Luis Bazan <lbazan@fedoraproject.org> - 1.80-10
- fix bz#1069711
* Thu Feb 20 2014 Luis Bazan <lbazan@fedoraproject.org> - 1.80-9
- fix patch
* Thu Feb 06 2014 Luis Bazan <lbazan@fedoraproject.org> - 1.80-8
- add patch test more
* Mon Feb 03 2014 Luis Bazan <lbazan@fedoraproject.org> - 1.80-7
- change check
- fix dependecy
* Mon Feb 03 2014 Luis Bazan <lbazan@fedoraproject.org> - 1.80-6
- Build in el6
* Thu Sep 13 2012 Luis Bazan <lbazan@fedoraproject.org> - 1.80-5
- Requires perl Test More
* Thu Sep 13 2012 Luis Bazan <lbazan@fedoraproject.org> - 1.80-4
- Danga Socket is stable now
* Wed Aug 01 2012 Luis Bazan <lbazan@fedoraproject.org> - 1.80-3
- enable BuildRequires danga-Socket
* Fri Jun 22 2012 Luis Bazan <lbazan@fedoraproject.org> - 1.80-2
- remove buildrequire
* Fri Jun 22 2012 Luis Bazan <lbazan@fedoraproject.org> - 1.80-1
- New Upstream Version
* Wed Jul 20 2011 Luis Bazan <lbazan@bakertillypanama.com> - 1.79-2
- rebuilt
* Wed Jul 13 2011 Luis Bazan <bazanluis20@gmail.com> 1.79-1
- Upstream released new version: http://cpansearch.perl.org/src/DORMANDO/Perlbal-1.79/CHANGES
* Tue Apr 06 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.75-1
- Upstream released new version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.70-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
3267a45b06cc187d177ad9b9ecc2f68f Perlbal-1.70.tar.gz
a5bbc1d6af947ccd8bb77dc9c98f3087 Perlbal-1.80.tar.gz