Compare commits
33 Commits
Author | SHA1 | Date |
---|---|---|
lbazan | 340730eaf3 | |
lbazan | 628ab6f008 | |
lbazan | a9c5b81cb5 | |
lbazan | 4929049453 | |
lbazan | 1d7efde9ec | |
lbazan | dbb0c91be3 | |
lbazan | aea4773555 | |
lbazan | 85a9d2d2d7 | |
lbazan | 45310db2bf | |
lbazan | ac836c27c5 | |
lbazan | bbb46a355f | |
lbazan | a02ffb6129 | |
lbazan | c145da6542 | |
lbazan | fccdb5df02 | |
lbazan | 62e2ece514 | |
lbazan | 2e5698d4fa | |
lbazan | 215a788602 | |
lbazan | c592329f25 | |
Luis Bazan | 759634160a | |
Luis Bazan | 1fbf762648 | |
Luis Bazan | 3a8c24ef1e | |
Luis Bazan | 3f36fcf1e6 | |
Luis Bazan | 7f535d6a87 | |
Luis Bazan | a8b0ffaa41 | |
Luis Bazan | 686cca49b5 | |
Luis Bazan | 378e979160 | |
Luis Bazan | 0f23300864 | |
Luis Bazan | 7f166c6e47 | |
Luis Bazan | 8d4b5c2403 | |
Fedora Release Engineering | a9c24ac899 | |
Dennis Gilmore | 172230a43f | |
Ruben Kerkhof | 17ce17de2c | |
Bill Nottingham | 99a6d94c1e |
|
@ -1 +0,0 @@
|
|||
Perlbal-1.70.tar.gz
|
|
@ -0,0 +1,2 @@
|
|||
Perlbal-1.70.tar.gz
|
||||
/Perlbal-1.80.tar.gz
|
21
Makefile
21
Makefile
|
@ -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)
|
|
@ -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,
|
69
Perlbal.spec
69
Perlbal.spec
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue