2007-08-06 19:12:28 +00:00
|
|
|
Name: Perlbal
|
2012-06-22 16:24:23 +00:00
|
|
|
Version: 1.80
|
2014-08-28 19:24:54 +00:00
|
|
|
Release: 13%{?dist}
|
2011-07-20 23:21:44 +00:00
|
|
|
Summary: Reverse-proxy load balance and web-server
|
2008-02-08 01:26:12 +00:00
|
|
|
License: GPL+ or Artistic
|
2007-08-06 19:12:28 +00:00
|
|
|
Group: System Environment/Daemons
|
|
|
|
URL: http://search.cpan.org/dist/Perlbal/
|
2012-06-22 16:24:23 +00:00
|
|
|
Source0: http://www.laqee.unal.edu.co/CPAN/authors/id/D/DO/DORMANDO/Perlbal-1.80.tar.gz
|
2007-08-06 19:12:28 +00:00
|
|
|
Source1: perlbal.init
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(HTTP::Date)
|
|
|
|
BuildRequires: perl(HTTP::Response)
|
|
|
|
BuildRequires: perl(BSD::Resource)
|
|
|
|
BuildRequires: perl(Danga::Socket)
|
|
|
|
BuildRequires: perl(IO::AIO)
|
2011-07-20 03:52:43 +00:00
|
|
|
BuildRequires: perl(LWP)
|
2007-08-06 19:12:28 +00:00
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(IO::AIO)
|
|
|
|
Requires: perl(BSD::Resource)
|
2011-07-26 14:30:26 +00:00
|
|
|
%if !%{defined perl_bootstrap}
|
2008-10-19 20:53:47 +00:00
|
|
|
Requires: perl(Perlbal::XS::HTTPHeaders)
|
2011-07-26 14:30:26 +00:00
|
|
|
%endif
|
2007-08-06 19:12:28 +00:00
|
|
|
|
2010-06-22 12:19:45 +00:00
|
|
|
Requires(post): chkconfig
|
|
|
|
Requires(preun): chkconfig, initscripts
|
|
|
|
Requires(postun): chkconfig
|
2007-08-06 19:12:28 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Perlbal is a single-threaded event-based server supporting HTTP load
|
|
|
|
balancing, web serving, and a mix of the two. Perlbal can act as either a web
|
|
|
|
server or a reverse proxy.
|
|
|
|
|
|
|
|
One of the defining things about Perlbal is that almost everything can be
|
|
|
|
configured or reconfigured on the fly without needing to restart the software.
|
|
|
|
A basic configuration file containing a management port enables you to easily
|
|
|
|
perform operations on a running instance of Perlbal.
|
|
|
|
|
|
|
|
Perlbal can also be extended by means of per-service (and global) plugins that
|
|
|
|
can override many parts of request handling and behavior.
|
|
|
|
|
|
|
|
%prep
|
2010-06-22 12:19:45 +00:00
|
|
|
%setup -q
|
2007-08-06 19:12:28 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
install -D -p -m 0644 conf/webserver.conf %{buildroot}%{_sysconfdir}/perlbal/perlbal.conf
|
2010-06-22 12:19:45 +00:00
|
|
|
install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/perlbal
|
2007-08-06 19:12:28 +00:00
|
|
|
mkdir -p doc/examples
|
|
|
|
mv conf/* doc/examples
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/chkconfig --add perlbal
|
|
|
|
|
|
|
|
%preun
|
2010-06-22 12:19:45 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
2007-08-06 19:12:28 +00:00
|
|
|
/sbin/chkconfig --del perlbal
|
|
|
|
/sbin/service perlbal stop >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -ge 1 ] ; then
|
|
|
|
/sbin/service perlbal condrestart > /dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%dir %{_sysconfdir}/perlbal
|
|
|
|
%config(noreplace) %{_sysconfdir}/perlbal/perlbal.conf
|
2010-06-22 12:19:45 +00:00
|
|
|
%{_initddir}/perlbal
|
2012-08-01 15:29:48 +00:00
|
|
|
%doc CHANGES README doc/*
|
2007-08-06 19:12:28 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_bindir}/perlbal
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2014-08-28 19:24:54 +00:00
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.80-13
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-06 23:01:58 +00:00
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.80-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-02-27 15:44:39 +00:00
|
|
|
* Thu Feb 27 2014 Luis Bazan <lbazan@fedoraproject.org> - 1.80-11
|
|
|
|
- remove buildrequire
|
|
|
|
|
2014-02-27 15:09:11 +00:00
|
|
|
* Thu Feb 27 2014 Luis Bazan <lbazan@fedoraproject.org> - 1.80-10
|
|
|
|
- fix BZ#1068711
|
|
|
|
|
2013-08-14 17:02:05 +00:00
|
|
|
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.80-9
|
|
|
|
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
|
|
2013-08-02 23:08:17 +00:00
|
|
|
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.80-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-24 00:48:49 +00:00
|
|
|
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 1.80-7
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-13 15:31:21 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.80-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-01 15:34:21 +00:00
|
|
|
* Wed Aug 01 2012 Luis Bazan <lbazan@fedoraproject.org> - 1.80-5
|
2012-08-01 15:29:48 +00:00
|
|
|
- Add readme to docs
|
|
|
|
|
2012-07-18 14:04:20 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.80-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-10 13:51:40 +00:00
|
|
|
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.80-3
|
|
|
|
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
|
|
2012-06-28 15:06:54 +00:00
|
|
|
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 1.80-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-22 16:24:23 +00:00
|
|
|
* Fri Jun 22 2012 Luis Bazan <lbazan@fedoraproject.org> - 1.80-1
|
|
|
|
- New upstream Version
|
|
|
|
|
2012-06-15 05:09:05 +00:00
|
|
|
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 1.79-6
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-12 20:30:04 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.79-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-27 12:59:41 +00:00
|
|
|
* Wed Jul 27 2011 Petr Pisar <ppisar@redhat.com> - 1.79-4
|
|
|
|
- Disable 5.14 perl_bootstrap
|
|
|
|
|
2011-07-26 14:30:26 +00:00
|
|
|
* Tue Jul 26 2011 Petr Pisar <ppisar@redhat.com> - 1.79-3
|
|
|
|
- Disable XS implementation to bootstrap
|
|
|
|
|
2011-07-21 16:54:41 +00:00
|
|
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.79-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-07-20 23:21:44 +00:00
|
|
|
* 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
|
2011-07-19 22:48:37 +00:00
|
|
|
|
2011-02-09 12:17:54 +00:00
|
|
|
* Wed Feb 09 2011 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.78-1
|
|
|
|
- Upstream released new version:
|
|
|
|
http://cpansearch.perl.org/src/DORMANDO/Perlbal-1.78/CHANGES
|
|
|
|
|
2011-02-08 00:12:33 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.76-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-06-22 12:19:45 +00:00
|
|
|
* Tue Jun 22 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.76-1
|
|
|
|
- Upstream released new version: http://cpansearch.perl.org/src/DORMANDO/Perlbal-1.76/CHANGES
|
|
|
|
- Minor spec and initscript cleanup
|
|
|
|
|
2010-06-01 21:28:32 +00:00
|
|
|
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.75-2
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-04-06 13:56:25 +00:00
|
|
|
* Tue Apr 06 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.75-1
|
|
|
|
- Upstream released new version
|
|
|
|
|
2009-12-07 11:37:33 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.70-5
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-24 15:44:39 +00:00
|
|
|
* 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
|
|
|
|
|
2009-02-23 22:20:12 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.70-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-10-19 20:53:47 +00:00
|
|
|
* Sun Oct 19 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.70-2
|
|
|
|
- Use Perlbal::XS::HTTPHeaders to speed up header parsing
|
|
|
|
|
2008-03-09 13:43:42 +00:00
|
|
|
* Sun Mar 09 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.70-1
|
|
|
|
- 1.70 (fixes build for perl 5.10.0)
|
|
|
|
|
2008-02-08 05:04:59 +00:00
|
|
|
* Thu Feb 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.60-2
|
|
|
|
- don't need patch, merged with 1.60
|
|
|
|
|
2008-02-08 04:49:07 +00:00
|
|
|
* Thu Feb 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.60-1
|
|
|
|
- 1.60
|
|
|
|
|
2008-02-08 01:26:12 +00:00
|
|
|
* Thu Feb 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.59-2
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2007-08-06 19:12:28 +00:00
|
|
|
* Wed Jun 20 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.59-1
|
|
|
|
- Upstream released new version
|
|
|
|
- Received patch from upstream for failing buffered upload test (240693)
|
|
|
|
* Sat May 12 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.58-1
|
|
|
|
- Initial import
|
|
|
|
|