#1 - Rebuilt for epel 8, based on the fork from patrodyne which fixes https://bugzilla.redhat.com/show_bug.cgi?id=1674583
Closed a month ago by brandfbb. Opened 5 months ago by brandfbb.
rpms/ brandfbb/Pound epel8  into  master

file added
+294

@@ -0,0 +1,294 @@ 

+ %global pound_user   pound

+ %global pound_group  pound

+ %global pound_home   %{_localstatedir}/lib/pound

+ %global required_systemd systemd-rpm-macros

+ %if 0%{?rhel}

+ %global required_systemd systemd-devel

+ %endif

+ 

+ Name:        Pound

+ Version:     2.8

+ Release:     1%{?dist}

+ Epoch:       1

+ Summary:     Reverse proxy and load balancer

+ License:     GPLv3 with exceptions

+ URL:         https://www.apsis.ch/pound.html

+ 

+ BuildRequires:  gcc

+ BuildRequires: openssl-devel, pcre-devel

+ # We actually need the openssl binary, not just the libs and headers

+ BuildRequires: openssl

+ BuildRequires: systemd-units

+ BuildRequires: autoconf, automake

+ BuildRequires: %{required_systemd}

+ 

+ # tcmalloc exists only on selected arches

+ %ifarch %{ix86} aarch64 %{power64}

+ BuildRequires: gperftools-devel

+ %endif

+ 

+ Requires(pre):    %{_sbindir}/useradd

+ Requires(pre):    %{_sbindir}/groupadd

+ 

+ Source0:  https://github.com/skywalkerz0r/pound/archive/%{name}-%{version}.tar.gz

+ Source1:  pound.service

+ Source2:  pound.cfg

+ 

+ %description

+ The Pound program is a reverse proxy, load balancer and

+ HTTPS front-end for Web server(s). Pound was developed

+ to enable distributing the load among several Web-servers

+ and to allow for a convenient SSL wrapper for those Web

+ servers that do not offer it natively. Pound is distributed

+ under the GPL - no warranty, it's free to use, copy and

+ give away

+ 

+ %prep

+ %setup -q -n pound-%{name}-%{version}

+ 

+ %build

+ ./bootstrap

+ %configure

+ %make_build all

+ 

+ %install

+ %make_install

+ 

+ install -d %{buildroot}%{pound_home}

+ install -p -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/pound.service

+ install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pound.cfg

+ 

+ mkdir -p %{buildroot}%{_sysconfdir}/pki/tls/certs

+ touch %{buildroot}%{_sysconfdir}/pki/tls/certs/pound.pem

+ 

+ %pre

+ %{_sbindir}/groupadd -f -r %{pound_group}

+ id %{pound_user} >/dev/null 2>&1 || \

+     %{_sbindir}/useradd -r -g %{pound_group} -d %{pound_home} -s /sbin/nologin \

+     -c "User for the Pound reverse proxy and load balancer" %{pound_user}

+ 

+ %post

+ %systemd_post pound.service

+ # generate dummy certificate

+ exec > /dev/null 2> /dev/null

+ if [ ! -f %{_sysconfdir}/pki/tls/certs/pound.pem ] ; then

+ pushd %{_sysconfdir}/pki/tls/certs

+ umask 077

+ cat << EOF | openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out pound.pem

+ --

+ SomeState

+ SomeCity

+ Pound Example Certificate

+ SomeOrganizationalUnit

+ localhost.localdomain

+ root@localhost.localdomain

+ EOF

+ cat key.pem >> pound.pem

+ chown root:pound pound.pem

+ chmod 640 pound.pem

+ popd

+ fi

+ exit 0

+ 

+ %preun

+ %systemd_preun pound.service

+ 

+ %postun

+ %systemd_postun_with_restart pound.service

+ 

+ %files

+ %doc CHANGELOG FAQ README.md

+ %license GPL.txt

+ %{_mandir}/man8/pound.8*

+ %{_mandir}/man8/poundctl.8*

+ %{_sbindir}/pound

+ %{_bindir}/poundctl

+ %{_unitdir}/pound.service

+ %config(noreplace) %{_sysconfdir}/pound.cfg

+ %ghost %config(noreplace) %{_sysconfdir}/pki/tls/certs/pound.pem

+ %attr(-,%{pound_user},%{pound_group}) %dir %{pound_home}

+ 

+ %changelog

+ * Thu Sep 05 2019 Breno Brand Fernandes <brandfbb@gmail.com> - 1:2.8-1

+ - Rebuilt using patrodyne's fork of pound for EPEL8.

+ 

+ * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-10

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

+ 

+ * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-9

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

+ 

+ * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-8

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

+ 

+ * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-7

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

+ 

+ * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-6

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

+ 

+ * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-5

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

+ 

+ * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-4

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

+ 

+ * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-3

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

+ 

+ * Tue Sep 15 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1:2.7-2

+ - Enable gperftools use on aarch64 and ppc64le

+ 

+ * Tue Sep 01 2015 Adam Tkac <vonsch@gmail.com> - 1:2.7-1

+ - update to 2.7 final (#1258262)

+ 

+ * Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.7-0.5.d

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

+ 

+ * Fri Oct 24 2014 Lubomir Rintel <lkundrak@v3.sk> - 1:2.7-0.4.d

+ - Update to 2.7d:

+ - added "Disable PROTO" directives (fix for Poodle vulnerability)

+ - added Cert, Disable and Cipher directives for HTTPS back-ends. The

+   directive HTTPS "cert" no longer supported.

+ - fixed address comparison for RewriteLocation (IPv4/IPv6 problem -

+ 

+ * Fri Sep 19 2014 Pete Zaitcev <zaitcev@redhat.com> - 1:2.7-0.4.c

+ - chmod 644 pound.service # avoids warnings in messages

+ 

+ * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.7-0.3.c

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

+ 

+ * Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.7-0.2.c

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

+ 

+ * Wed Apr 23 2014 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 1:2.7-0.1.c

+ - Rebased to new upstream release

+ - Bump epoch; the prerelease tag was added incorrectly. Sigh.

+ 

+ * Mon Oct 14 2013 Pete Zaitcev <zaitcev@redhat.com> - 2.7b-1

+ - Upstream 2.7b (includes ./configure for autoconf 2.69, required for ARM 64)

+ - Rebuild for PIE (954334)

+ 

+ * Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-7

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

+ 

+ * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-6

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

+ 

+ * Sun Aug 19 2012 Tom Callaway <spot@fedoraproject.org> - 2.6-5

+ - update scriptlets to use new systemd macros

+ 

+ * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-4

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

+ 

+ * Sat Feb 18 2012 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.6-3

+ - Rebuild against gperftools

+ 

+ * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

+ 

+ * Mon Jan 09 2012 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.6-1

+ - Fix Release

+ 

+ * Mon Jan 09 2012 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.6-0.5

+ - Upstream released new version

+ 

+ * Mon Oct 17 2011 Dan HorĂ¡k <dan[at]danny.cz> 2.6-0.4.f

+ - switch to positive arch list for BR: google-perftools

+ 

+ * Sat Sep 17 2011 Ruben Kerkhof <ruben@tilaa.nl> 2.6-0.3.f

+ - Upstream released new version

+ 

+ * Fri Sep 16 2011 Tom Callaway <spot@fedoraproject.org> 2.6-0.2.c

+ - convert to systemd

+ 

+ * Wed Feb 09 2011 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.6-0.1.c

+ - Upstream released new version

+ - Drop upstreamed OpenSSL patch

+ 

+ * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-2

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

+ 

+ * Wed Feb 10 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.5-1

+ - Upstream released new version

+ 

+ * Wed Nov 11 2009 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 2.4.5-1

+ - Rebased to new upstream release

+ 

+ * Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 2.4.4-4

+ - rebuilt with new openssl

+ 

+ * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.4-3

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

+ 

+ * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.4-2

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

+ 

+ * Thu Jan 15 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.4.4-1

+ - upstream released new version

+ 

+ * Mon Oct 13 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.4.3-1

+ - Upstream released new version

+ 

+ * Fri Jun 27 2008 Dennis Gilmore <dennis@ausil.us> 2.4-2

+ - sparc arches dont have tcmalloc

+ 

+ * Sat Feb 16 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.4-1

+ - New stable version

+ 

+ * Sat Feb 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> - 2.4-0.2f

+ - Upstream released new version

+ 

+ * Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.4-0.2

+ - Rebuild for deps

+ 

+ * Sun Dec 02 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.4.0-1e

+ - Update to experimental version 2.4e

+ * Thu Aug 16 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.4.0-1d

+ - Update to experimental version 2.4d

+ - Upstream changed license to GPLv3

+ * Wed Jun 06 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.4.0-1c

+ - Upstream released new version

+ * Sat May 26 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.4.0-2b

+ - Disable linking with tcmalloc on ppc (#238390)

+ * Fri May 25 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.4-0.1b

+ - Update to experimental version 2.4b

+ - Better handling of user creation

+ - Build with tcmalloc for increased performance

+ * Wed Apr 11 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.3-1

+ - Update to 2.3

+ * Thu Apr 05 2007 <ruben@rubenkerkhof.com> 2.2.8-1

+ - Sync with upstream

+ * Mon Mar 12 2007 <ruben@rubenkerkhof.com> 2.2.7-1

+ - Sync with upstream

+ * Sun Mar 04 2007 <ruben@rubenkerkhof.com> 2.2.6-1

+ - Sync with upstream

+ * Wed Feb 21 2007 <ruben@rubenkerkhof.com> 2.2.5-1

+ - Sync with upstream

+ * Sat Feb 10 2007 <ruben@rubenkerkhof.com> 2.2.4-1

+ - Sync with upstream

+ * Sat Jan 20 2007 <ruben@rubenkerkhof.com> 2.2.3-1

+ - Fix problems in bad 2.2.2 release

+ * Mon Jan 15 2007 <ruben@rubenkerkhof.com> 2.2.2-1

+ - Sync with upstream

+ * Wed Jan 03 2007 <ruben@rubenkerkhof.com> 2.2.1-1

+ - Sync with new beta release from upstream

+ * Sun Dec 17 2006 <ruben@rubenkerkhof.com> 2.2-2

+ - Fixed empty debuginfo rpm (bz 219942)

+ * Sat Dec 16 2006 <ruben@rubenkerkhof.com> 2.2-1

+ - Sync with upstream

+ * Sat Dec 09 2006 <ruben@rubenkerkhof.com> 2.1.8-1

+ - Sync with upstream

+ * Thu Dec 07 2006 <ruben@rubenkerkhof.com> 2.1.7-1

+ - Sync with upstream

+ * Wed Nov 08 2006 <ruben@rubenkerkhof.com> 2.1.6-2

+ - Changed hardcoded paths into rpmmacros

+ * Mon Nov 06 2006 <ruben@rubenkerkhof.com> 2.1.6-1

+ - Synced with upstream version

+ - Changed Summary

+ - Added an init script

+ - Added pound.cfg with an example configuration

+ - Added pound user and group

+ - A self-signed ssl certificate is created in %%post

+ * Fri Nov 03 2006 <ruben@rubenkerkhof.com> 2.1.5-1

+ - initial version

file removed
-1

@@ -1,1 +0,0 @@ 

- Pound fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1674583

file added
+35

@@ -0,0 +1,35 @@ 

+ #

+ # Default pound.cfg

+ #

+ # Pound listens on port 80 for HTTP and port 443 for HTTPS

+ # and distributes requests to 2 backends running on localhost.

+ # see pound(8) for configuration directives.

+ # You can enable/disable backends with poundctl(8).

+ #

+ 

+ User "pound"

+ Group "pound"

+ Control "/var/lib/pound/pound.cfg"

+ 

+ ListenHTTP

+     Address 0.0.0.0

+     Port 80

+ End

+ 

+ ListenHTTPS

+     Address 0.0.0.0

+     Port    443

+     Cert    "/etc/pki/tls/certs/pound.pem"

+ End

+ 

+ Service

+     BackEnd

+         Address 127.0.0.1

+         Port    8000

+     End

+ 

+     BackEnd

+         Address 127.0.0.1

+         Port    8001

+     End

+ End

file added
+11

@@ -0,0 +1,11 @@ 

+ [Unit]

+ Description=Pound Reverse Proxy And Load-balancer

+ After=syslog.target network.target

+ 

+ [Service]

+ Type=forking

+ PIDFile=/var/run/pound.pid

+ ExecStart=/usr/sbin/pound

+ 

+ [Install]

+ WantedBy=multi-user.target

Hi,

Would you be happy to sponsor me as a packager on this?

rebased onto 7a04e15

a month ago

1 new commit added

  • Fixing for BZ 1789940.
a month ago

Pull-Request has been closed by brandfbb

a month ago