[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2025-10-18 Thread Sam James
commit: eaf967f314f18f678ab994427878d0c9682ce3f5
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 11 11:03:40 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 11 11:03:40 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf967f3

www-servers/pound: Keyword 4.16 ppc, #957585

Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/pound-4.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-4.16.ebuild 
b/www-servers/pound/pound-4.16.ebuild
index e73a456b0685..7442e39b32a6 100644
--- a/www-servers/pound/pound-4.16.ebuild
+++ b/www-servers/pound/pound-4.16.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.g
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
+KEYWORDS="amd64 ~hppa ~ppc x86"
 IUSE="tcmalloc test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2025-10-17 Thread Sam James
commit: 494732c61aae4819be31a3942e3a31dd197a6892
Author: Philipp Rösner  protonmail  com>
AuthorDate: Sat Oct 11 19:46:00 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 12 12:36:38 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494732c6

www-servers/pound: drop 4.10

Signed-off-by: Philipp Rösner  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44136
Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/Manifest  |  1 -
 www-servers/pound/pound-4.10.ebuild | 47 -
 2 files changed, 48 deletions(-)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index 272a5807e2c5..4807d694a2e4 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1,3 +1,2 @@
-DIST pound-4.10.tar.gz 554678 BLAKE2B 
895ee69bcbac680062af270655af3433daffd60ea7a90875dd1fb867447a9be6b28d18444db758fa9c034002ab256fc76d932b893a426d77b6069e03a63a7e74
 SHA512 
2e0fadbcdeb87fb8357c14467b7b31e598881e7db7bde725f81fb4668370cad993e00a9c7617ff4343a444393f05521cda6c8e1b3d663af6b5053b7c7fd7c874
 DIST pound-4.16.tar.gz 990967 BLAKE2B 
f1acd2f7bf4d3b548ef7fb71735783d5c440f7b6a0018e18dff4828803cff0366ea0251b4f23d490b58df2e4fbb1836dfe7046ee342cf67919854b00dac00912
 SHA512 
8bc8ff8daf003a9aada82b0cc348f595f98513fc21606986877422e1ecf3ece873e355ee21b1edeeafa1de08f6ac9f60e0546c8c710398ae6b902b0a95698a5f
 DIST pound-4.17.tar.gz 1028579 BLAKE2B 
2008b504f0f1b9a022c212c88235fa052b82d3b9854d488cd038e6cb2d730b3397e1ce5e3dd07d7f6c90172fec56f1a987f8eef6e8444ce0f5386bd5046698c6
 SHA512 
522a86059fc96ad73ba4fa3f203924ba14bc80ed8b1b70196f9cc22bca9ec70fd3a2399300fe38a25388221bbd108c8166eed73b378e118422c8fe9ca1e63ed4

diff --git a/www-servers/pound/pound-4.10.ebuild 
b/www-servers/pound/pound-4.10.ebuild
deleted file mode 100644
index 7efad32169c5..
--- a/www-servers/pound/pound-4.10.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="A http/https reverse-proxy and load-balancer"
-HOMEPAGE="https://github.com/graygnuorg/pound";
-SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.gz";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc x86"
-
-DEPEND="
-   dev-libs/openssl:=
-   dev-libs/libpcre2:=
-"
-RDEPEND="
-   ${DEPEND}
-   virtual/libcrypt:=
-"
-
-QA_CONFIG_IMPL_DECL_SKIP=(
-   PCRE2regcomp# Detecting broken Debian patched PCRE2
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local myconf=(
-   --with-owner=root
-   --with-group=root
-   )
-   econf ${myconf[@]}
-}
-
-src_install() {
-   default
-   newinitd "${FILESDIR}/pound.init" pound
-   insinto /etc
-   newins "${FILESDIR}/pound-2.2.cfg" pound.cfg
-}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2025-10-17 Thread Sam James
commit: b558fdec79337c35a3fb645c936e0d86d4df53e6
Author: Philipp Rösner  protonmail  com>
AuthorDate: Sat Oct 11 19:43:26 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 12 12:36:38 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b558fdec

www-servers/pound: add 4.17

Closes: https://bugs.gentoo.org/964048
Signed-off-by: Philipp Rösner  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44136
Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/Manifest  |  1 +
 www-servers/pound/pound-4.17.ebuild | 56 +
 2 files changed, 57 insertions(+)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index e9cb0fbe5c05..272a5807e2c5 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1,2 +1,3 @@
 DIST pound-4.10.tar.gz 554678 BLAKE2B 
895ee69bcbac680062af270655af3433daffd60ea7a90875dd1fb867447a9be6b28d18444db758fa9c034002ab256fc76d932b893a426d77b6069e03a63a7e74
 SHA512 
2e0fadbcdeb87fb8357c14467b7b31e598881e7db7bde725f81fb4668370cad993e00a9c7617ff4343a444393f05521cda6c8e1b3d663af6b5053b7c7fd7c874
 DIST pound-4.16.tar.gz 990967 BLAKE2B 
f1acd2f7bf4d3b548ef7fb71735783d5c440f7b6a0018e18dff4828803cff0366ea0251b4f23d490b58df2e4fbb1836dfe7046ee342cf67919854b00dac00912
 SHA512 
8bc8ff8daf003a9aada82b0cc348f595f98513fc21606986877422e1ecf3ece873e355ee21b1edeeafa1de08f6ac9f60e0546c8c710398ae6b902b0a95698a5f
+DIST pound-4.17.tar.gz 1028579 BLAKE2B 
2008b504f0f1b9a022c212c88235fa052b82d3b9854d488cd038e6cb2d730b3397e1ce5e3dd07d7f6c90172fec56f1a987f8eef6e8444ce0f5386bd5046698c6
 SHA512 
522a86059fc96ad73ba4fa3f203924ba14bc80ed8b1b70196f9cc22bca9ec70fd3a2399300fe38a25388221bbd108c8166eed73b378e118422c8fe9ca1e63ed4

diff --git a/www-servers/pound/pound-4.17.ebuild 
b/www-servers/pound/pound-4.17.ebuild
new file mode 100644
index ..89c5a348f314
--- /dev/null
+++ b/www-servers/pound/pound-4.17.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Add adns as a dependency in order to allow building with support for
+#   dynamic backends
+# TODO: Add hoard as a dependency in order to support the --enable-hoard 
configure
+#   argument
+
+DESCRIPTION="A http/https reverse-proxy and load-balancer"
+HOMEPAGE="https://github.com/graygnuorg/pound";
+SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE="tcmalloc test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/libpcre2:=
+   dev-libs/openssl:=
+   tcmalloc? ( dev-util/google-perftools )
+"
+RDEPEND="
+   ${DEPEND}
+   virtual/libcrypt:=
+"
+BDEPEND="
+   test? (
+   dev-lang/perl
+   dev-perl/IO-FDPass
+   dev-perl/IO-Socket-SSL
+   dev-perl/JSON
+   dev-perl/Net-SSLeay
+   )
+"
+
+src_configure() {
+   local myconf=(
+   --disable-dynamic-backends
+   --disable-hoard
+   --enable-pcre
+   $(use_enable tcmalloc)
+   )
+   econf "${myconf[@]}"
+}
+
+src_install() {
+   default
+   newinitd "${FILESDIR}/pound.init" pound
+   insinto /etc
+   newins "${FILESDIR}/pound-2.2.cfg" pound.cfg
+}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/files/, www-servers/pound/

2025-10-12 Thread Sam James
commit: e315b5fc0304bc14214be42f336e4b8aa18b459e
Author: Philipp Rösner  protonmail  com>
AuthorDate: Sun Oct 12 10:06:14 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 12 12:36:38 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e315b5fc

www-servers/pound: tests: use forks instead of threads

- The test harness perl script for pound uses threads for
  socket listeners, requiring PERL_FEATURES="ithreads".
- To avoid forcing users to rebuild all perl, replace threads
  by forks of the main process.

Signed-off-by: Philipp Rösner  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44136
Closes: https://github.com/gentoo/gentoo/pull/44136
Signed-off-by: Sam James  gentoo.org>

 .../pound/files/pound-4.16-test-threads.patch  | 93 ++
 .../pound/files/pound-4.17-test-threads.patch  | 84 +++
 www-servers/pound/pound-4.16.ebuild|  4 +
 www-servers/pound/pound-4.17.ebuild|  4 +
 4 files changed, 185 insertions(+)

diff --git a/www-servers/pound/files/pound-4.16-test-threads.patch 
b/www-servers/pound/files/pound-4.16-test-threads.patch
new file mode 100644
index ..1231ecc0b20a
--- /dev/null
+++ b/www-servers/pound/files/pound-4.16-test-threads.patch
@@ -0,0 +1,93 @@
+Replace usage of threads for socket listeners by forks of the
+main process in order to avoid requiring perl built with
+PERL_FEATURES="ithreads".
+The added return values are necessary because otherwise
+the process (before the thread) would continue it's procedure
+call chain (before, the thread exited, not executing any more
+code).
+
+--- a/tests/poundharness.pl
 b/tests/poundharness.pl
+@@ -16,8 +16,6 @@
+ use strict;
+ use warnings;
+ use Socket qw(:DEFAULT :crlf);
+-use threads;
+-use threads::shared;
+ use Getopt::Long;
+ use HTTP::Tiny;
+ use POSIX qw(:sys_wait_h);
+@@ -90,7 +88,6 @@ sub cleanup {
+ ## ---
+ 
+ my %status_codes;
+-share(%status_codes);
+ 
+ $SIG{QUIT} = $SIG{HUP} = $SIG{TERM} = $SIG{INT} = \&cleanup;
+ 
+@@ -1542,19 +1539,16 @@ sub read_and_process {
+ my $self = shift;
+ 
+ foreach my $lst (@{$self->{listeners}}) {
+-  $lst->listen;
+-}
+-
+-foreach my $lst (@{$self->{listeners}}) {
+-  threads->create(sub {
+-  my $lst = shift;
++  my $pid = fork();
++  if ($pid == 0) {
+   $lst->listen;
+   while (1) {
+-  my $fh;
+-  accept($fh, $lst->socket_handle) or threads->exit();
+-  process_http_request($fh, $lst)
++  my $fh;
++  accept($fh, $lst->socket_handle) or last;
++  process_http_request($fh, $lst)
+   }
+-  }, $lst)->detach;
++  exit 0;
++  }
+ }
+ }
+ 
+@@ -1595,7 +1589,7 @@ sub process_http_request {
+ 
+ local $| = 1;
+ my $http = HTTPServ->new($sock, $backend);
+-$http->parse();
++return unless $http->parse();
+ if ($http->uri =~ m{^/([^/]+)(/.*)?}) {
+   my ($dir, $rest) = ($1, $2);
+   if (my $ep = $endpoints{$dir}) {
+@@ -1658,7 +1652,8 @@ sub getline {
+ sub ParseRequest {
+ my $http = shift;
+ 
+-my $input = $http->getline() or threads->exit();
++my $input = $http->getline();
++return 0 unless defined $input;
+ #print "GOT $input\n";
+ my @res = split " ", $input;
+ if (@res != 3) {
+@@ -1666,6 +1661,7 @@ sub ParseRequest {
+ }
+ 
+ ($http->{METHOD}, $http->{URI}, $http->{VERSION}) = @res;
++return 1;
+ }
+ 
+ sub ParseHeader {
+@@ -1703,9 +1699,10 @@ sub GetBody {
+ 
+ sub parse {
+ my $http = shift;
+-$http->ParseRequest;
++return 0 unless $http->ParseRequest;
+ $http->ParseHeader;
+ $http->GetBody;
++return 1;
+ }
+ 
+ sub reply {

diff --git a/www-servers/pound/files/pound-4.17-test-threads.patch 
b/www-servers/pound/files/pound-4.17-test-threads.patch
new file mode 100644
index ..e0705eb38e5a
--- /dev/null
+++ b/www-servers/pound/files/pound-4.17-test-threads.patch
@@ -0,0 +1,84 @@
+Replace usage of threads for socket listeners by forks of the
+main process in order to avoid requiring perl built with
+PERL_FEATURES="ithreads".
+The added return values are necessary because otherwise
+the process (before the thread) would continue it's procedure
+call chain (before, the thread exited, not executing any more
+code).
+
+--- a/tests/poundharness.pl
 b/tests/poundharness.pl
+@@ -16,7 +16,6 @@
+ use strict;
+ use warnings;
+ use Socket qw(:DEFAULT :crlf);
+-use threads;
+ use Getopt::Long;
+ use HTTP::Tiny;
+ use POSIX qw(:sys_wait_h);
+@@ -1619,19 +1618,16 @@ sub read_and_process {
+ my $self = shift;
+ 
+ foreach my $lst (@{$self->{listeners}}) {
+-  $lst->listen;
+-}
+-
+-foreach my $lst (@{$self->{listeners}}) {
+-  threads->create(sub {
+-  my $lst = shift;
++  my $pid = fork();
++  if ($pid == 0) {
+   $lst->lis

[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2025-09-14 Thread Sam James
commit: ac73f7eeac49bbcb66d8c6eddb00f7e0473d1e45
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 14 14:10:59 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 14 14:10:59 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac73f7ee

www-servers/pound: Stabilize 4.16 x86, #960182

Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/pound-4.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-4.16.ebuild 
b/www-servers/pound/pound-4.16.ebuild
index bb2430ee3bd3..e73a456b0685 100644
--- a/www-servers/pound/pound-4.16.ebuild
+++ b/www-servers/pound/pound-4.16.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.g
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~x86"
+KEYWORDS="amd64 ~hppa x86"
 IUSE="tcmalloc test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2025-09-14 Thread Sam James
commit: 7a0398f344970b6f09d9455b1442f3d33e279fdc
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 14 14:10:56 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 14 14:10:56 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0398f3

www-servers/pound: Stabilize 4.16 amd64, #960182

Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/pound-4.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-4.16.ebuild 
b/www-servers/pound/pound-4.16.ebuild
index 3d0b1ac1821a..bb2430ee3bd3 100644
--- a/www-servers/pound/pound-4.16.ebuild
+++ b/www-servers/pound/pound-4.16.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.g
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="amd64 ~hppa ~x86"
 IUSE="tcmalloc test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2025-06-14 Thread Arthur Zamarin
commit: fa1d367fb5e8ef1ed9b071373dc0db5233172750
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jun 14 09:42:15 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jun 14 09:42:15 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa1d367f

www-servers/pound: Keyword 4.16 x86, #957585

Signed-off-by: Arthur Zamarin  gentoo.org>

 www-servers/pound/pound-4.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-4.16.ebuild 
b/www-servers/pound/pound-4.16.ebuild
index 0c120336ae0c..3d0b1ac1821a 100644
--- a/www-servers/pound/pound-4.16.ebuild
+++ b/www-servers/pound/pound-4.16.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.g
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa"
+KEYWORDS="~amd64 ~hppa ~x86"
 IUSE="tcmalloc test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2025-06-12 Thread Sam James
commit: 66aa9e7941c621c4683cd41f0dacb9fc41c3690c
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 12 08:19:00 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 12 08:19:00 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66aa9e79

www-servers/pound: Keyword 4.16 hppa, #957585

Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/pound-4.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-4.16.ebuild 
b/www-servers/pound/pound-4.16.ebuild
index d61a1ebb5fca..0c120336ae0c 100644
--- a/www-servers/pound/pound-4.16.ebuild
+++ b/www-servers/pound/pound-4.16.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.g
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~hppa"
 IUSE="tcmalloc test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2025-06-05 Thread Sam James
commit: 1b7581678c44262be0a8ecb8d735b3204603f30a
Author: Philipp Rösner  protonmail  com>
AuthorDate: Tue Jun  3 17:27:53 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  5 16:06:55 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b758167

www-servers/pound: add 4.16

- Add ebuild for pound-4.16, see
  https://github.com/graygnuorg/pound/releases
  for changes
- Fix tests by adding required perl deps
- Remove QA_CONFIG_IMPL_DECL_SKIP section, as it isn't
  required anymore
- Remove all keywords except for amd64, because
  dev-perl/IO-FDPass is a new package added for testing
  pound.

Bug: https://bugs.gentoo.org/930679
Closes: https://bugs.gentoo.org/956482
Signed-off-by: Philipp Rösner  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42427
Closes: https://github.com/gentoo/gentoo/pull/42427
Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/Manifest  |  1 +
 www-servers/pound/pound-4.16.ebuild | 56 +
 2 files changed, 57 insertions(+)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index 0fe772636e47..e9cb0fbe5c05 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1 +1,2 @@
 DIST pound-4.10.tar.gz 554678 BLAKE2B 
895ee69bcbac680062af270655af3433daffd60ea7a90875dd1fb867447a9be6b28d18444db758fa9c034002ab256fc76d932b893a426d77b6069e03a63a7e74
 SHA512 
2e0fadbcdeb87fb8357c14467b7b31e598881e7db7bde725f81fb4668370cad993e00a9c7617ff4343a444393f05521cda6c8e1b3d663af6b5053b7c7fd7c874
+DIST pound-4.16.tar.gz 990967 BLAKE2B 
f1acd2f7bf4d3b548ef7fb71735783d5c440f7b6a0018e18dff4828803cff0366ea0251b4f23d490b58df2e4fbb1836dfe7046ee342cf67919854b00dac00912
 SHA512 
8bc8ff8daf003a9aada82b0cc348f595f98513fc21606986877422e1ecf3ece873e355ee21b1edeeafa1de08f6ac9f60e0546c8c710398ae6b902b0a95698a5f

diff --git a/www-servers/pound/pound-4.16.ebuild 
b/www-servers/pound/pound-4.16.ebuild
new file mode 100644
index ..d61a1ebb5fca
--- /dev/null
+++ b/www-servers/pound/pound-4.16.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Add adns as a dependency in order to allow building with support for
+#   dynamic backends
+# TODO: Add hoard as a dependency in order to support the --enable-hoard 
configure
+#   argument
+
+DESCRIPTION="A http/https reverse-proxy and load-balancer"
+HOMEPAGE="https://github.com/graygnuorg/pound";
+SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="tcmalloc test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/libpcre2:=
+   dev-libs/openssl:=
+   tcmalloc? ( dev-util/google-perftools )
+"
+RDEPEND="
+   ${DEPEND}
+   virtual/libcrypt:=
+"
+BDEPEND="
+   test? (
+   dev-lang/perl
+   dev-perl/IO-FDPass
+   dev-perl/IO-Socket-SSL
+   dev-perl/JSON
+   dev-perl/Net-SSLeay
+   )
+"
+
+src_configure() {
+   local myconf=(
+   --disable-dynamic-backends
+   --disable-hoard
+   --enable-pcre
+   $(use_enable tcmalloc)
+   )
+   econf "${myconf[@]}"
+}
+
+src_install() {
+   default
+   newinitd "${FILESDIR}/pound.init" pound
+   insinto /etc
+   newins "${FILESDIR}/pound-2.2.cfg" pound.cfg
+}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/files/, www-servers/pound/

2025-01-07 Thread Sam James
commit: ac7c4f0b7f99025095b0dfa5c2cbb3e3ada03b0d
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Mon Jan  6 15:40:27 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan  7 19:52:48 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac7c4f0b

www-servers/pound: drop 3.0.2

Signed-off-by: Azamat H. Hackimov  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/Manifest  |  1 -
 www-servers/pound/files/pound-3.0.2-hpack.patch | 21 --
 www-servers/pound/files/pound.init-1.9  | 22 --
 www-servers/pound/pound-3.0.2.ebuild| 56 -
 4 files changed, 100 deletions(-)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index 751f3d7fe38f..0fe772636e47 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1,2 +1 @@
-DIST Pound-3.0.2.tgz 76000 BLAKE2B 
0e3f2dc69771a1d1f3de00a721f02cdc4ff31f4d17ab81f64c368668f03c0c1f12484e2d40e7c1d2d203b033488f2bad57cafd8da5022dfe680a09cdc6b73bec
 SHA512 
4c96a93df2b340049778ed7782377e521fbdd7b6ccaa157748b05941ac7a825b2688f37f3081a7e577b2fa1ec4f64d68a25d27af2210f59da5be0dc10d1391e9
 DIST pound-4.10.tar.gz 554678 BLAKE2B 
895ee69bcbac680062af270655af3433daffd60ea7a90875dd1fb867447a9be6b28d18444db758fa9c034002ab256fc76d932b893a426d77b6069e03a63a7e74
 SHA512 
2e0fadbcdeb87fb8357c14467b7b31e598881e7db7bde725f81fb4668370cad993e00a9c7617ff4343a444393f05521cda6c8e1b3d663af6b5053b7c7fd7c874

diff --git a/www-servers/pound/files/pound-3.0.2-hpack.patch 
b/www-servers/pound/files/pound-3.0.2-hpack.patch
deleted file mode 100644
index d413082216ab..
--- a/www-servers/pound/files/pound-3.0.2-hpack.patch
+++ /dev/null
@@ -1,21 +0,0 @@
 a/src/hpack.c
-+++ b/src/hpack.c
-@@ -69,9 +69,6 @@ static size_t hbuf_left(struct hbuf *);
- 
- static struct hpackhpack_global;
- 
--#ifdef  __GLIBC__
--/* these functions are available on BSD, but not on Linux */
--
- #include
- 
- void *
-@@ -100,8 +97,6 @@ freezero(void *ptr, size_t size)
- return;
- }
- 
--#endif
--
- int
- hpack_init(void)
- {

diff --git a/www-servers/pound/files/pound.init-1.9 
b/www-servers/pound/files/pound.init-1.9
deleted file mode 100644
index 905c97b78a81..
--- a/www-servers/pound/files/pound.init-1.9
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-   need net
-}
-
-start() {
-   ebegin "Starting pound"
-   if [ ! -f "/etc/pound.cfg" ]; then
-   eend 1 "configfile /etc/pound.cfg not found."
-   fi
-   start-stop-daemon --quiet --start --exec /usr/sbin/pound -- -f 
/etc/pound.cfg -p /var/run/pound.pid
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping pound"
-   start-stop-daemon --quiet --stop --pidfile /var/run/pound.pid
-   eend $?
-}

diff --git a/www-servers/pound/pound-3.0.2.ebuild 
b/www-servers/pound/pound-3.0.2.ebuild
deleted file mode 100644
index bd273b0c3b0a..
--- a/www-servers/pound/pound-3.0.2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-MY_P="${P/p/P}"
-
-DESCRIPTION="A http/https reverse-proxy and load-balancer"
-HOMEPAGE="https://www.apsis.ch/pound.html";
-SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
-
-LICENSE="BSD GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc x86"
-
-DEPEND="
-   dev-libs/libpcre:=
-   dev-libs/libyaml:=
-   dev-libs/nanomsg:=
-   dev-libs/openssl:=
-   net-libs/mbedtls:=
-   elibc_musl? ( sys-libs/queue-standalone )
-"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( README.md )
-
-PATCHES=(
-   "${FILESDIR}"/${P}-hpack.patch
-)
-
-src_install() {
-   rm GPL.txt || die
-
-   dosbin "${BUILD_DIR}"/pound
-   doman "${S}"/man/pound.8
-   einstalldocs
-
-   dodir /etc/init.d
-   newinitd "${FILESDIR}"/pound.init-1.9 pound
-
-   insinto /etc
-   newins "${FILESDIR}"/pound-2.2.cfg pound.cfg
-}
-
-pkg_postinst() {
-   elog "No demo-/sample-configfile is included in the distribution;"
-   elog "read the man-page for more info."
-   elog "A sample (localhost: -> localhost:80)"
-   elog "for gentoo is given in \"/etc/pound.cfg\"."
-}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2024-03-12 Thread Sam James
commit: 3d00b43140d669d2731144a77c07c375ee1a3fed
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 13 04:47:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 13 04:47:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d00b431

www-servers/pound: Stabilize 4.10 amd64, #926853

Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/pound-4.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-4.10.ebuild 
b/www-servers/pound/pound-4.10.ebuild
index ae8cff21ed6f..7efad32169c5 100644
--- a/www-servers/pound/pound-4.10.ebuild
+++ b/www-servers/pound/pound-4.10.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.g
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc x86"
+KEYWORDS="amd64 ~hppa ~ppc x86"
 
 DEPEND="
dev-libs/openssl:=



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2024-03-12 Thread Sam James
commit: d69b0563ec5e6597e04a3d04b2cfe94aed91fa56
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 12 21:52:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 12 21:52:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d69b0563

www-servers/pound: Stabilize 4.10 x86, #926853

Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/pound-4.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-4.10.ebuild 
b/www-servers/pound/pound-4.10.ebuild
index d9159cddc0a4..ae8cff21ed6f 100644
--- a/www-servers/pound/pound-4.10.ebuild
+++ b/www-servers/pound/pound-4.10.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.g
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc x86"
 
 DEPEND="
dev-libs/openssl:=



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/files/, www-servers/pound/

2024-01-10 Thread Joonas Niilola
commit: e6e1f421a276080114008991ded9b1a2a3772cc0
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Wed Oct 18 14:40:44 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jan 10 09:06:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e1f421

www-servers/pound: add 4.10

Updated to new upstream, several fixes to ebuild and init-script.

Closes: https://bugs.gentoo.org/829652
Closes: https://bugs.gentoo.org/807331
Closes: https://bugs.gentoo.org/804990
Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33395
Signed-off-by: Joonas Niilola  gentoo.org>

 www-servers/pound/Manifest  |  1 +
 www-servers/pound/files/pound.init  | 18 ++
 www-servers/pound/metadata.xml  |  3 +++
 www-servers/pound/pound-4.10.ebuild | 47 +
 4 files changed, 69 insertions(+)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index 5dc91f413afe..751f3d7fe38f 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1 +1,2 @@
 DIST Pound-3.0.2.tgz 76000 BLAKE2B 
0e3f2dc69771a1d1f3de00a721f02cdc4ff31f4d17ab81f64c368668f03c0c1f12484e2d40e7c1d2d203b033488f2bad57cafd8da5022dfe680a09cdc6b73bec
 SHA512 
4c96a93df2b340049778ed7782377e521fbdd7b6ccaa157748b05941ac7a825b2688f37f3081a7e577b2fa1ec4f64d68a25d27af2210f59da5be0dc10d1391e9
+DIST pound-4.10.tar.gz 554678 BLAKE2B 
895ee69bcbac680062af270655af3433daffd60ea7a90875dd1fb867447a9be6b28d18444db758fa9c034002ab256fc76d932b893a426d77b6069e03a63a7e74
 SHA512 
2e0fadbcdeb87fb8357c14467b7b31e598881e7db7bde725f81fb4668370cad993e00a9c7617ff4343a444393f05521cda6c8e1b3d663af6b5053b7c7fd7c874

diff --git a/www-servers/pound/files/pound.init 
b/www-servers/pound/files/pound.init
new file mode 100644
index ..ff2322ea2189
--- /dev/null
+++ b/www-servers/pound/files/pound.init
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="Pound daemon"
+description=""
+command="/usr/sbin/pound"
+pidfile="/var/run/pound.pid"
+command_args="-f /etc/pound.cfg -p ${pidfile}"
+
+depend() {
+   need net
+}
+
+start_pre() {
+   checkpath --file /etc/pound.cfg
+}
+

diff --git a/www-servers/pound/metadata.xml b/www-servers/pound/metadata.xml
index 0a0f6e053ff8..9635b947182e 100644
--- a/www-servers/pound/metadata.xml
+++ b/www-servers/pound/metadata.xml
@@ -9,6 +9,9 @@
[email protected]
Proxy Maintainers

+   
+   graygnuorg/pound
+   

The Pound program is a reverse proxy, load balancer
and HTTPS front-end for Web server(s). Pound was developed to 
enable

diff --git a/www-servers/pound/pound-4.10.ebuild 
b/www-servers/pound/pound-4.10.ebuild
new file mode 100644
index ..d9159cddc0a4
--- /dev/null
+++ b/www-servers/pound/pound-4.10.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="A http/https reverse-proxy and load-balancer"
+HOMEPAGE="https://github.com/graygnuorg/pound";
+SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+
+DEPEND="
+   dev-libs/openssl:=
+   dev-libs/libpcre2:=
+"
+RDEPEND="
+   ${DEPEND}
+   virtual/libcrypt:=
+"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+   PCRE2regcomp# Detecting broken Debian patched PCRE2
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myconf=(
+   --with-owner=root
+   --with-group=root
+   )
+   econf ${myconf[@]}
+}
+
+src_install() {
+   default
+   newinitd "${FILESDIR}/pound.init" pound
+   insinto /etc
+   newins "${FILESDIR}/pound-2.2.cfg" pound.cfg
+}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2022-12-24 Thread Andreas Sturmlechner
commit: ca94ea23bbb267ff3ef970cbbda79bfb52e8c2a5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Dec 20 19:38:59 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Dec 24 14:48:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca94ea23

www-servers/pound: drop 3.0

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 www-servers/pound/Manifest |  1 -
 www-servers/pound/pound-3.0.ebuild | 52 --
 2 files changed, 53 deletions(-)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index 9c988692f43e..5dc91f413afe 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1,2 +1 @@
 DIST Pound-3.0.2.tgz 76000 BLAKE2B 
0e3f2dc69771a1d1f3de00a721f02cdc4ff31f4d17ab81f64c368668f03c0c1f12484e2d40e7c1d2d203b033488f2bad57cafd8da5022dfe680a09cdc6b73bec
 SHA512 
4c96a93df2b340049778ed7782377e521fbdd7b6ccaa157748b05941ac7a825b2688f37f3081a7e577b2fa1ec4f64d68a25d27af2210f59da5be0dc10d1391e9
-DIST Pound-3.0.tgz 75905 BLAKE2B 
8834d2d57c81bf792d803bc2aef7ad5d17243539ea3fddab777ab3dbd7f903a2f771762ee8d4818c63b7c6380c253dc7c7465e10225f884c2bb968af3dfab831
 SHA512 
28426fa2d66efa310fce43fc57b87b6cd9d646573161ab880b139feec856710306002af623f023907bb77f8b37979cf2332dc3e16cde48c6d349d813c6ac47e2

diff --git a/www-servers/pound/pound-3.0.ebuild 
b/www-servers/pound/pound-3.0.ebuild
deleted file mode 100644
index 0279aa5ca978..
--- a/www-servers/pound/pound-3.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_P="${P/p/P}"
-
-DESCRIPTION="A http/https reverse-proxy and load-balancer"
-HOMEPAGE="https://www.apsis.ch/pound.html";
-SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
-
-LICENSE="BSD GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc x86"
-
-DEPEND="
-   dev-libs/libpcre:=
-   dev-libs/libyaml:=
-   dev-libs/nanomsg:=
-   dev-libs/openssl:=
-   net-libs/mbedtls:=
-   elibc_musl? ( sys-libs/queue-standalone )
-"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( README.md )
-
-src_install() {
-   rm GPL.txt || die
-
-   dosbin "${BUILD_DIR}"/pound
-   doman "${S}"/man/pound.8
-   einstalldocs
-
-   dodir /etc/init.d
-   newinitd "${FILESDIR}"/pound.init-1.9 pound
-
-   insinto /etc
-   newins "${FILESDIR}"/pound-2.2.cfg pound.cfg
-}
-
-pkg_postinst() {
-   elog "No demo-/sample-configfile is included in the distribution;"
-   elog "read the man-page for more info."
-   elog "A sample (localhost: -> localhost:80)"
-   elog "for gentoo is given in \"/etc/pound.cfg\"."
-}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2022-08-15 Thread Joonas Niilola
commit: e08b69a77931f822f90d7decb7c477433b603070
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug 16 05:25:47 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 16 05:25:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08b69a7

www-servers/pound: Stabilize 3.0.2 x86, #865307

Signed-off-by: Joonas Niilola  gentoo.org>

 www-servers/pound/pound-3.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-3.0.2.ebuild 
b/www-servers/pound/pound-3.0.2.ebuild
index f6667638c642..742d90b98ec0 100644
--- a/www-servers/pound/pound-3.0.2.ebuild
+++ b/www-servers/pound/pound-3.0.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
 
 LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc x86"
 
 DEPEND="
dev-libs/libpcre:=



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2022-08-15 Thread Joonas Niilola
commit: 4959de542994ac8a88ff7757f0b6227c5bf8a5e4
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug 16 05:26:30 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 16 05:26:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4959de54

www-servers/pound: Stabilize 3.0.2 amd64, #865307

Signed-off-by: Joonas Niilola  gentoo.org>

 www-servers/pound/pound-3.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-3.0.2.ebuild 
b/www-servers/pound/pound-3.0.2.ebuild
index 742d90b98ec0..bd273b0c3b0a 100644
--- a/www-servers/pound/pound-3.0.2.ebuild
+++ b/www-servers/pound/pound-3.0.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
 
 LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc x86"
+KEYWORDS="amd64 ~hppa ~ppc x86"
 
 DEPEND="
dev-libs/libpcre:=



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/files/, www-servers/pound/

2022-06-10 Thread Sam James
commit: 12d029caa52f79fe86bd4eaef19d0e446df443ed
Author: Philipp Rösner  protonmail  com>
AuthorDate: Tue May 31 21:12:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 11 05:18:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12d029ca

www-servers/pound: add 3.0.2

Add an ebuild for pound-3.0.2 with support for
EAPI 8.

Closes: https://bugs.gentoo.org/837992
Signed-off-by: Philipp Rösner  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/Manifest  |  1 +
 www-servers/pound/files/pound-3.0.2-hpack.patch | 21 ++
 www-servers/pound/pound-3.0.2.ebuild| 56 +
 3 files changed, 78 insertions(+)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index 5e80194f89a2..9c988692f43e 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1 +1,2 @@
+DIST Pound-3.0.2.tgz 76000 BLAKE2B 
0e3f2dc69771a1d1f3de00a721f02cdc4ff31f4d17ab81f64c368668f03c0c1f12484e2d40e7c1d2d203b033488f2bad57cafd8da5022dfe680a09cdc6b73bec
 SHA512 
4c96a93df2b340049778ed7782377e521fbdd7b6ccaa157748b05941ac7a825b2688f37f3081a7e577b2fa1ec4f64d68a25d27af2210f59da5be0dc10d1391e9
 DIST Pound-3.0.tgz 75905 BLAKE2B 
8834d2d57c81bf792d803bc2aef7ad5d17243539ea3fddab777ab3dbd7f903a2f771762ee8d4818c63b7c6380c253dc7c7465e10225f884c2bb968af3dfab831
 SHA512 
28426fa2d66efa310fce43fc57b87b6cd9d646573161ab880b139feec856710306002af623f023907bb77f8b37979cf2332dc3e16cde48c6d349d813c6ac47e2

diff --git a/www-servers/pound/files/pound-3.0.2-hpack.patch 
b/www-servers/pound/files/pound-3.0.2-hpack.patch
new file mode 100644
index ..d413082216ab
--- /dev/null
+++ b/www-servers/pound/files/pound-3.0.2-hpack.patch
@@ -0,0 +1,21 @@
+--- a/src/hpack.c
 b/src/hpack.c
+@@ -69,9 +69,6 @@ static size_t hbuf_left(struct hbuf *);
+ 
+ static struct hpackhpack_global;
+ 
+-#ifdef  __GLIBC__
+-/* these functions are available on BSD, but not on Linux */
+-
+ #include
+ 
+ void *
+@@ -100,8 +97,6 @@ freezero(void *ptr, size_t size)
+ return;
+ }
+ 
+-#endif
+-
+ int
+ hpack_init(void)
+ {

diff --git a/www-servers/pound/pound-3.0.2.ebuild 
b/www-servers/pound/pound-3.0.2.ebuild
new file mode 100644
index ..f6667638c642
--- /dev/null
+++ b/www-servers/pound/pound-3.0.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_P="${P/p/P}"
+
+DESCRIPTION="A http/https reverse-proxy and load-balancer"
+HOMEPAGE="https://www.apsis.ch/pound.html";
+SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
+
+LICENSE="BSD GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+
+DEPEND="
+   dev-libs/libpcre:=
+   dev-libs/libyaml:=
+   dev-libs/nanomsg:=
+   dev-libs/openssl:=
+   net-libs/mbedtls:=
+   elibc_musl? ( sys-libs/queue-standalone )
+"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( README.md )
+
+PATCHES=(
+   "${FILESDIR}"/${P}-hpack.patch
+)
+
+src_install() {
+   rm GPL.txt || die
+
+   dosbin "${BUILD_DIR}"/pound
+   doman "${S}"/man/pound.8
+   einstalldocs
+
+   dodir /etc/init.d
+   newinitd "${FILESDIR}"/pound.init-1.9 pound
+
+   insinto /etc
+   newins "${FILESDIR}"/pound-2.2.cfg pound.cfg
+}
+
+pkg_postinst() {
+   elog "No demo-/sample-configfile is included in the distribution;"
+   elog "read the man-page for more info."
+   elog "A sample (localhost: -> localhost:80)"
+   elog "for gentoo is given in \"/etc/pound.cfg\"."
+}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2022-06-10 Thread Sam James
commit: 4ec2cf89cdfa145d8337f897af251a68e08ac55c
Author: Philipp Rösner  protonmail  com>
AuthorDate: Tue May 31 21:14:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 11 05:18:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ec2cf89

www-servers/pound: add myself as a maintainer

Signed-off-by: Philipp Rösner  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25709
Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/www-servers/pound/metadata.xml b/www-servers/pound/metadata.xml
index 863eae94ad72..0a0f6e053ff8 100644
--- a/www-servers/pound/metadata.xml
+++ b/www-servers/pound/metadata.xml
@@ -1,7 +1,14 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   [email protected]
+   Philipp Rösner
+   
+   
+   [email protected]
+   Proxy Maintainers
+   

The Pound program is a reverse proxy, load balancer
and HTTPS front-end for Web server(s). Pound was developed to 
enable



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2022-06-10 Thread Sam James
commit: 4fd804270e83f7c6ee3ecc4de4a591c86cb885d4
Author: Philipp Rösner  protonmail  com>
AuthorDate: Tue May 31 20:08:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 11 05:18:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd80427

www-servers/pound: fix build with musl

Building of www-servers/pound on musl wasn't possible due
to a missing header file 'queue.h'.
Adding sys-libs/queue-standalone as a dependency guarded
by the elibc_musl USE_EXPAND flag fixes the issue.

Closes: https://bugs.gentoo.org/833031
Signed-off-by: Philipp Rösner  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/pound-3.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-3.0.ebuild 
b/www-servers/pound/pound-3.0.ebuild
index 449b52b0ebae..0279aa5ca978 100644
--- a/www-servers/pound/pound-3.0.ebuild
+++ b/www-servers/pound/pound-3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,7 @@ DEPEND="
dev-libs/nanomsg:=
dev-libs/openssl:=
net-libs/mbedtls:=
+   elibc_musl? ( sys-libs/queue-standalone )
 "
 
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2021-07-15 Thread John Helmert III
commit: bbd7de89934908232803a762b75099f76b1cfa48
Author: Marco Scardovi  scardovi  com>
AuthorDate: Thu Jul 15 21:30:35 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Thu Jul 15 21:55:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd7de89

www-servers/pound: drop old version

Closes: https://bugs.gentoo.org/714084
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Scardovi  scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/21665
Signed-off-by: John Helmert III  gentoo.org>

 www-servers/pound/Manifest |  1 -
 www-servers/pound/pound-2.7f-r1.ebuild | 50 --
 2 files changed, 51 deletions(-)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index db05fcced46..5e80194f89a 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1,2 +1 @@
-DIST Pound-2.7f.tgz 186719 BLAKE2B 
39a31b43c5945db1b5ad008e2f43d3026728ea5bdc3de0fa8c0b68a743d0bea4b86dd61a527ea140e6b0546732f0c66c863e78131432af32ab5b0874a7c1f705
 SHA512 
292f4f7b4363365829f204b687080eae9e17b9a67ae7eb6021eb5a028321191d97abd9633d5664db5ebca6467795f73a787be4a0bd29360d737865930ff81830
 DIST Pound-3.0.tgz 75905 BLAKE2B 
8834d2d57c81bf792d803bc2aef7ad5d17243539ea3fddab777ab3dbd7f903a2f771762ee8d4818c63b7c6380c253dc7c7465e10225f884c2bb968af3dfab831
 SHA512 
28426fa2d66efa310fce43fc57b87b6cd9d646573161ab880b139feec856710306002af623f023907bb77f8b37979cf2332dc3e16cde48c6d349d813c6ac47e2

diff --git a/www-servers/pound/pound-2.7f-r1.ebuild 
b/www-servers/pound/pound-2.7f-r1.ebuild
deleted file mode 100644
index 2054ebbc149..000
--- a/www-servers/pound/pound-2.7f-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils
-
-MY_P=${P/p/P}
-DESCRIPTION="A http/https reverse-proxy and load-balancer"
-HOMEPAGE="http://www.apsis.ch/pound/";
-SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~sparc x86"
-
-DEPEND="dev-libs/libpcre
-   dev-libs/openssl:0
-"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_install() {
-   dodir /usr/sbin
-   cp "${S}"/pound "${D}"/usr/sbin/
-   cp "${S}"/poundctl "${D}"/usr/sbin/
-
-   doman pound.8
-   doman poundctl.8
-   dodoc README FAQ
-
-   dodir /etc/init.d
-   newinitd "${FILESDIR}"/pound.init-1.9 pound
-
-   insinto /etc
-   newins "${FILESDIR}"/pound-2.2.cfg pound.cfg
-}
-
-pkg_postinst() {
-   elog "No demo-/sample-configfile is included in the distribution -"
-   elog "read the man-page for more info."
-   elog "A sample (localhost: -> localhost:80) for gentoo is given in 
\"/etc/pound.cfg\"."
-   echo
-   ewarn "You will have to upgrade you configuration file, if you are"
-   ewarn "upgrading from a version <= 2.0."
-   echo
-   ewarn "The 'WebDAV' config statement is no longer supported!"
-   ewarn "Please adjust your configuration, if necessary."
-   echo
-}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2021-06-17 Thread Sam James
commit: d9d067aa386d016a71aee8223503a231d511ce16
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 17 20:19:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 17 20:23:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d067aa

www-servers/pound: Stabilize 3.0 x86, #714084

Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/pound-3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-3.0.ebuild 
b/www-servers/pound/pound-3.0.ebuild
index 18e40413cad..449b52b0eba 100644
--- a/www-servers/pound/pound-3.0.ebuild
+++ b/www-servers/pound/pound-3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
 
 LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~x86"
+KEYWORDS="amd64 ~hppa ~ppc x86"
 
 DEPEND="
dev-libs/libpcre:=



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2021-06-17 Thread Sam James
commit: 11d90d377bb919475ff6a199ea84947cce0581ea
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 17 20:17:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 17 20:23:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11d90d37

www-servers/pound: Stabilize 3.0 amd64, #714084

Signed-off-by: Sam James  gentoo.org>

 www-servers/pound/pound-3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-3.0.ebuild 
b/www-servers/pound/pound-3.0.ebuild
index 007b10014cf..18e40413cad 100644
--- a/www-servers/pound/pound-3.0.ebuild
+++ b/www-servers/pound/pound-3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
 
 LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~x86"
 
 DEPEND="
dev-libs/libpcre:=



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2021-06-10 Thread Sergei Trofimovich
commit: 061e3fb7a5e3b417c5ea29893b0015094bb87ffa
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jun 10 15:37:21 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jun 10 16:36:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061e3fb7

www-servers/pound: keyworded 3.0 for hppa, bug #789996

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 www-servers/pound/pound-3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-3.0.ebuild 
b/www-servers/pound/pound-3.0.ebuild
index c76d3966993..007b10014cf 100644
--- a/www-servers/pound/pound-3.0.ebuild
+++ b/www-servers/pound/pound-3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
 
 LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
 
 DEPEND="
dev-libs/libpcre:=



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2021-05-31 Thread David Seifert
commit: 3e59f5caf96d0762172499861ec11c516a6197de
Author: David Seifert  gentoo  org>
AuthorDate: Mon May 31 17:48:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon May 31 17:48:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e59f5ca

www-servers/pound: drop inactive maintainer

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 www-servers/pound/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/www-servers/pound/metadata.xml b/www-servers/pound/metadata.xml
index 7c2ee308598..9c093d0eac8 100644
--- a/www-servers/pound/metadata.xml
+++ b/www-servers/pound/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   [email protected]
-   Patrick Lauer
-   
+   

The Pound program is a reverse proxy, load balancer
and HTTPS front-end for Web server(s). Pound was developed to 
enable



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2021-05-17 Thread Sergei Trofimovich
commit: 1441346c90be9101f2d192b0fa4872e6ccefb310
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon May 17 20:57:10 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon May 17 20:57:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1441346c

www-servers/pound: keyworded 3.0 for ppc

keyworded wrt bug #789996

Package-Manager: Portage-3.0.18, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 www-servers/pound/pound-3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-3.0.ebuild 
b/www-servers/pound/pound-3.0.ebuild
index 6123c319b7f..c76d3966993 100644
--- a/www-servers/pound/pound-3.0.ebuild
+++ b/www-servers/pound/pound-3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
 
 LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
 
 DEPEND="
dev-libs/libpcre:=



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2021-05-13 Thread Joonas Niilola
commit: a93a1b2750734dee2d880c2933248b99be922dee
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu May 13 16:59:47 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu May 13 17:02:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a93a1b27

www-servers/pound: NonsolvableDepsInExp in 3.0

Bug: https://bugs.gentoo.org/789996
Signed-off-by: Joonas Niilola  gentoo.org>

 www-servers/pound/pound-3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-3.0.ebuild 
b/www-servers/pound/pound-3.0.ebuild
index 946066ff946..6123c319b7f 100644
--- a/www-servers/pound/pound-3.0.ebuild
+++ b/www-servers/pound/pound-3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
 
 LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~mips ~x86"
+KEYWORDS="~amd64 ~x86"
 
 DEPEND="
dev-libs/libpcre:=



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/, www-servers/pound/files/

2021-05-12 Thread Joonas Niilola
commit: de8c0aabbe0f74a15532360925f69d4f2ffdb373
Author: Marco Scardovi  scardovi  com>
AuthorDate: Wed May 12 04:42:45 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May 12 07:43:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de8c0aab

www-servers/pound: bump to 3.0, various changes

Bump to version 3.0

Unfortunately this release drop support for alpha, hppa,
ppc and sparc because a required dep (dev-libs/nanomsg)
is not supported for these architectures.

Bug: https://bugs.gentoo.org/714084
Closes: https://bugs.gentoo.org/657942
Closes: https://bugs.gentoo.org/527278
Closes: https://bugs.gentoo.org/657946
Closes: https://bugs.gentoo.org/674064
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi  scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/20781
Signed-off-by: Joonas Niilola  gentoo.org>

 www-servers/pound/Manifest|  1 +
 www-servers/pound/files/pound-2.2.cfg |  1 -
 www-servers/pound/pound-3.0.ebuild| 55 +++
 3 files changed, 56 insertions(+), 1 deletion(-)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index 73c67241207..db05fcced46 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1 +1,2 @@
 DIST Pound-2.7f.tgz 186719 BLAKE2B 
39a31b43c5945db1b5ad008e2f43d3026728ea5bdc3de0fa8c0b68a743d0bea4b86dd61a527ea140e6b0546732f0c66c863e78131432af32ab5b0874a7c1f705
 SHA512 
292f4f7b4363365829f204b687080eae9e17b9a67ae7eb6021eb5a028321191d97abd9633d5664db5ebca6467795f73a787be4a0bd29360d737865930ff81830
+DIST Pound-3.0.tgz 75905 BLAKE2B 
8834d2d57c81bf792d803bc2aef7ad5d17243539ea3fddab777ab3dbd7f903a2f771762ee8d4818c63b7c6380c253dc7c7465e10225f884c2bb968af3dfab831
 SHA512 
28426fa2d66efa310fce43fc57b87b6cd9d646573161ab880b139feec856710306002af623f023907bb77f8b37979cf2332dc3e16cde48c6d349d813c6ac47e2

diff --git a/www-servers/pound/files/pound-2.2.cfg 
b/www-servers/pound/files/pound-2.2.cfg
index 664ea53c9ed..473abc120e5 100644
--- a/www-servers/pound/files/pound-2.2.cfg
+++ b/www-servers/pound/files/pound-2.2.cfg
@@ -51,4 +51,3 @@ End
 
 ## End listener
 End
-

diff --git a/www-servers/pound/pound-3.0.ebuild 
b/www-servers/pound/pound-3.0.ebuild
new file mode 100644
index 000..782a2ffdff1
--- /dev/null
+++ b/www-servers/pound/pound-3.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_P="${P/p/P}"
+
+DESCRIPTION="A http/https reverse-proxy and load-balancer"
+HOMEPAGE="https://www.apsis.ch/pound.html";
+SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz";
+
+LICENSE="BSD GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86"
+
+DEPEND="
+   dev-libs/libpcre:=
+   dev-libs/libyaml:=
+   dev-libs/nanomsg:=
+   dev-libs/openssl:=
+   net-libs/mbedtls:=
+"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( README.md )
+
+src_compile() {
+   cmake_src_compile
+}
+
+src_install() {
+   rm GPL.txt || die
+
+   dosbin "${BUILD_DIR}"/pound
+   doman "${S}"/man/pound.8
+   einstalldocs
+
+   dodir /etc/init.d
+   newinitd "${FILESDIR}"/pound.init-1.9 pound
+
+   insinto /etc
+   newins "${FILESDIR}"/pound-2.2.cfg pound.cfg
+}
+
+pkg_postinst() {
+   elog "No demo-/sample-configfile is included in the distribution;"
+   elog "read the man-page for more info."
+   elog "A sample (localhost: -> localhost:80)"
+   elog "for gentoo is given in \"/etc/pound.cfg\"."
+}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2021-05-12 Thread Joonas Niilola
commit: e80f8844cca24f60ed96ccced5df0732fbebf06e
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed May 12 07:44:23 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May 12 07:44:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80f8844

www-servers/pound: remove duplicate src_compile() phase from 3.0

Signed-off-by: Joonas Niilola  gentoo.org>

 www-servers/pound/pound-3.0.ebuild | 4 
 1 file changed, 4 deletions(-)

diff --git a/www-servers/pound/pound-3.0.ebuild 
b/www-servers/pound/pound-3.0.ebuild
index 782a2ffdff1..946066ff946 100644
--- a/www-servers/pound/pound-3.0.ebuild
+++ b/www-servers/pound/pound-3.0.ebuild
@@ -29,10 +29,6 @@ S="${WORKDIR}/${MY_P}"
 
 DOCS=( README.md )
 
-src_compile() {
-   cmake_src_compile
-}
-
 src_install() {
rm GPL.txt || die
 



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2021-05-02 Thread Mikle Kolyada
commit: 903b97b1f38a108c03152c4dff14e1222fb9d1c9
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon May  3 06:52:50 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon May  3 06:52:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903b97b1

www-servers/pound: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 www-servers/pound/pound-2.7f-r1.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/www-servers/pound/pound-2.7f-r1.ebuild 
b/www-servers/pound/pound-2.7f-r1.ebuild
index e87f5a3e4cc..2054ebbc149 100644
--- a/www-servers/pound/pound-2.7f-r1.ebuild
+++ b/www-servers/pound/pound-2.7f-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,11 +12,10 @@ SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz";
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~sparc x86"
-IUSE="libressl"
 
 DEPEND="dev-libs/libpcre
-   !libressl? ( dev-libs/openssl:0 )
-   libressl? ( dev-libs/libressl )"
+   dev-libs/openssl:0
+"
 RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${MY_P}



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2018-03-16 Thread Pacho Ramos
commit: fd20237fb71eeb4bfea530f53f32acf66695a27e
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Mar 16 20:38:31 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Mar 16 20:42:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd20237f

www-servers/pound: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 www-servers/pound/Manifest  |  2 --
 www-servers/pound/metadata.xml  |  3 --
 www-servers/pound/pound-2.6.ebuild  | 55 -
 www-servers/pound/pound-2.7d.ebuild | 50 -
 www-servers/pound/pound-2.7f.ebuild | 50 -
 5 files changed, 160 deletions(-)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index ecaa8656e18..73c67241207 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1,3 +1 @@
-DIST Pound-2.6.tgz 180595 BLAKE2B 
614507fb1e5373dd5cb340004dd7ffb7be3f08735168381c0bb2f62e463de3c3a14230f354e5eaa0bc359ba7c5ac531acb4a812af5b1d452055e43727c495e55
 SHA512 
ec397740672ab3784322136e9e0ab7ac059c888453f2bdaf00cf64795a0ff9985d9d60a77a78491f64f2d0a63cce0b18a5df4f9b74a97ab9065a591ac046ad36
-DIST Pound-2.7d.tgz 184801 BLAKE2B 
005383acc65401a29f9d43705f6ca03b62a788b048bb4e031f6da41d7e5410be3573faa7b59420e457897b4dd5114a72c46b9f6f6789c6678a36b1940b98c94c
 SHA512 
3a64a910327c3acbc43daaaca28612fe5f98f89937612844fc2a4de9d638499465783b09782daceda0a10f8cfdf396d233fa231fb967b7889213898078015416
 DIST Pound-2.7f.tgz 186719 BLAKE2B 
39a31b43c5945db1b5ad008e2f43d3026728ea5bdc3de0fa8c0b68a743d0bea4b86dd61a527ea140e6b0546732f0c66c863e78131432af32ab5b0874a7c1f705
 SHA512 
292f4f7b4363365829f204b687080eae9e17b9a67ae7eb6021eb5a028321191d97abd9633d5664db5ebca6467795f73a787be4a0bd29360d737865930ff81830

diff --git a/www-servers/pound/metadata.xml b/www-servers/pound/metadata.xml
index 5abcc646159..7c2ee308598 100644
--- a/www-servers/pound/metadata.xml
+++ b/www-servers/pound/metadata.xml
@@ -12,7 +12,4 @@
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.

-   
-   Enable dynamic rescaling of back-end 
priorities
-   
 

diff --git a/www-servers/pound/pound-2.6.ebuild 
b/www-servers/pound/pound-2.6.ebuild
deleted file mode 100644
index d7d176e63a5..000
--- a/www-servers/pound/pound-2.6.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils
-
-MY_P=${P/p/P}
-DESCRIPTION="A http/https reverse-proxy and load-balancer"
-HOMEPAGE="http://www.apsis.ch/pound/";
-SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc x86"
-IUSE="dynscaler"
-
-DEPEND="dev-libs/libpcre
-   dev-libs/openssl"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_configure() {
-   econf \
-   $(use_enable dynscaler)
-}
-
-src_install() {
-   dodir /usr/sbin
-   cp "${S}"/pound "${D}"/usr/sbin/
-   cp "${S}"/poundctl "${D}"/usr/sbin/
-
-   doman pound.8
-   doman poundctl.8
-   dodoc README FAQ
-
-   dodir /etc/init.d
-   newinitd "${FILESDIR}"/pound.init-1.9 pound
-
-   insinto /etc
-   newins "${FILESDIR}"/pound-2.2.cfg pound.cfg
-}
-
-pkg_postinst() {
-   elog "No demo-/sample-configfile is included in the distribution -"
-   elog "read the man-page for more info."
-   elog "A sample (localhost: -> localhost:80) for gentoo is given in 
\"/etc/pound.cfg\"."
-   echo
-   ewarn "You will have to upgrade you configuration file, if you are"
-   ewarn "upgrading from a version <= 2.0."
-   echo
-   ewarn "The 'WebDAV' config statement is no longer supported!"
-   ewarn "Please adjust your configuration, if necessary."
-   echo
-}

diff --git a/www-servers/pound/pound-2.7d.ebuild 
b/www-servers/pound/pound-2.7d.ebuild
deleted file mode 100644
index 79e7d10fc79..000
--- a/www-servers/pound/pound-2.7d.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils
-
-MY_P=${P/p/P}
-DESCRIPTION="A http/https reverse-proxy and load-balancer"
-HOMEPAGE="http://www.apsis.ch/pound/";
-SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
-IUSE=""
-
-DEPEND="dev-libs/libpcre
-   dev-libs/openssl"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_install() {
-   dodir /usr/sbin
-   cp "${S}"/pound "${D}"/usr/sbin/
-   cp "${S}"/poundctl "${D}"/usr/sbin/
-
-   doman pound.8
-   doman poundctl.8
-   dodoc README FAQ
-
-   dodir /etc/init.d
-   newinitd "${FILESDIR}"/pound.init

[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2018-03-13 Thread Thomas Deutschmann
commit: 9ea6ee95607c206dc44329e4cbdde6d8c1dfa85b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Mar 13 22:17:27 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Mar 13 22:26:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ea6ee95

www-servers/pound: x86 stable (bug #648866)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 www-servers/pound/pound-2.7f-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/pound-2.7f-r1.ebuild 
b/www-servers/pound/pound-2.7f-r1.ebuild
index 661d6832097..e87f5a3e4cc 100644
--- a/www-servers/pound/pound-2.7f-r1.ebuild
+++ b/www-servers/pound/pound-2.7f-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz";
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~sparc x86"
 IUSE="libressl"
 
 DEPEND="dev-libs/libpcre



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2017-11-26 Thread David Seifert
commit: 5ad7df7ad21dc58c6d389103dff63db35e66cc89
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 26 13:09:52 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 26 23:26:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ad7df7a

www-servers/pound: [QA] Consistent whitespace in metadata.xml

 www-servers/pound/metadata.xml | 28 ++--
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/www-servers/pound/metadata.xml b/www-servers/pound/metadata.xml
index 3b154386945..5abcc646159 100644
--- a/www-servers/pound/metadata.xml
+++ b/www-servers/pound/metadata.xml
@@ -1,18 +1,18 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-
[email protected]
-Patrick Lauer
-
-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.
-
-
- Enable dynamic rescaling of back-end
- priorities
-
+   
+   [email protected]
+   Patrick Lauer
+   
+   
+   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.
+   
+   
+   Enable dynamic rescaling of back-end 
priorities
+   
 



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/files/

2017-02-16 Thread Michael Palimaka
commit: ed8b5e2d63d7a295082b99d7fa4b702ecef7ee6c
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Wed Feb 15 16:53:55 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Feb 16 11:11:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed8b5e2d

www-servers/pound: remove unused patch

 www-servers/pound/files/pound-2.5-openssl-1.patch | 289 --
 1 file changed, 289 deletions(-)

diff --git a/www-servers/pound/files/pound-2.5-openssl-1.patch 
b/www-servers/pound/files/pound-2.5-openssl-1.patch
deleted file mode 100644
index 6491c0fdda..00
--- a/www-servers/pound/files/pound-2.5-openssl-1.patch
+++ /dev/null
@@ -1,289 +0,0 @@
-http://bugs.gentoo.org/327721
-
 config.c
-+++ config.c
-@@ -431,14 +431,22 @@ t_hash(const TABNODE *e)
- res = (res ^ *k++) * 16777619;
- return res;
- }
-+#if OPENSSL_VERSION_NUMBER >= 0x1000L
-+static IMPLEMENT_LHASH_HASH_FN(t, TABNODE)
-+#else
- static IMPLEMENT_LHASH_HASH_FN(t_hash, const TABNODE *)
-+#endif
- 
- static int
- t_cmp(const TABNODE *d1, const TABNODE *d2)
- {
- return strcmp(d1->key, d2->key);
- }
-+#if OPENSSL_VERSION_NUMBER >= 0x1000L
-+static IMPLEMENT_LHASH_COMP_FN(t, TABNODE)
-+#else
- static IMPLEMENT_LHASH_COMP_FN(t_cmp, const TABNODE *)
-+#endif
- 
- /*
-  * parse a service
-@@ -460,7 +468,11 @@ parse_service(const char *svc_name)
- pthread_mutex_init(&res->mut, NULL);
- if(svc_name)
- strncpy(res->name, svc_name, KEY_SIZE);
-+#if OPENSSL_VERSION_NUMBER >= 0x1000L
-+if((res->sessions = LHM_lh_new(TABNODE, t)) == NULL)
-+#else
- if((res->sessions = lh_new(LHASH_HASH_FN(t_hash), LHASH_COMP_FN(t_cmp))) 
== NULL)
-+#endif
- conf_err("lh_new failed - aborted");
- ign_case = ignore_case;
- while(conf_fgets(lin, MAXBUF)) {
 pound.h
-+++ pound.h
-@@ -322,6 +322,10 @@ typedef struct _tn {
- /* maximal session key size */
- #define KEY_SIZE127
- 
-+#if OPENSSL_VERSION_NUMBER >= 0x1000L
-+DECLARE_LHASH_OF(TABNODE);
-+#endif
-+
- /* service definition */
- typedef struct _service {
- charname[KEY_SIZE + 1]; /* symbolic name */
-@@ -337,7 +341,11 @@ typedef struct _service {
- int sess_ttl;   /* session time-to-live */
- regex_t sess_start; /* pattern to identify the session data */
- regex_t sess_pat;   /* pattern to match the session data */
-+#if OPENSSL_VERSION_NUMBER >= 0x1000L
-+LHASH_OF(TABNODE)   *sessions;  /* currently active sessions */
-+#else
- LHASH   *sessions;  /* currently active sessions */
-+#endif
- int dynscale;   /* true if the back-ends should be 
dynamically rescaled */
- int disabled;   /* true if the service is disabled */
- struct _service *next;
 svc.c
-+++ svc.c
-@@ -27,12 +27,17 @@
- 
- #include"pound.h"
- 
-+#ifndef LHASH_OF
-+#define LHASH_OF(x) LHASH
-+#define CHECKED_LHASH_OF(type, h) h
-+#endif
-+
- /*
-  * Add a new key/content pair to a hash table
-  * the table should be already locked
-  */
- static void
--t_add(LHASH *const tab, const char *key, const void *content, const size_t 
cont_len)
-+t_add(LHASH_OF(TABNODE) *const tab, const char *key, const void *content, 
const size_t cont_len)
- {
- TABNODE *t, *old;
- 
-@@ -53,7 +58,11 @@ t_add(LHASH *const tab, const char *key,
- }
- memcpy(t->content, content, cont_len);
- t->last_acc = time(NULL);
-+#if OPENSSL_VERSION_NUMBER >= 0x1000L
-+if((old = LHM_lh_insert(TABNODE, tab, t)) != NULL) {
-+#else
- if((old = (TABNODE *)lh_insert(tab, t)) != NULL) {
-+#endif
- free(old->key);
- free(old->content);
- free(old);
-@@ -68,12 +77,16 @@ t_add(LHASH *const tab, const char *key,
-  * side-effect: update the time of last access
-  */
- static void *
--t_find(LHASH *const tab, char *const key)
-+t_find(LHASH_OF(TABNODE) *const tab, char *const key)
- {
- TABNODE t, *res;
- 
- t.key = key;
-+#if OPENSSL_VERSION_NUMBER >= 0x1000L
-+if((res = LHM_lh_retrieve(TABNODE, tab, &t)) != NULL) {
-+#else
- if((res = (TABNODE *)lh_retrieve(tab, &t)) != NULL) {
-+#endif
- res->last_acc = time(NULL);
- return res->content;
- }
-@@ -84,12 +97,16 @@ t_find(LHASH *const tab, char *const key
-  * Delete a key
-  */
- static void
--t_remove(LHASH *const tab, char *const key)
-+t_remove(LHASH_OF(TABNODE) *const tab, char *const key)
- {
- TABNODE t, *res;
- 
- t.key = key;
-+#if OPENSSL_VERSION_NUMBER >= 0x1000L
-+if((res = LHM_lh_delete(TABNODE, tab, &t)) != NULL) {
-+#else
- if((res = (TABNODE *)lh_delete(tab, &t)) != NULL) {
-+#endif
- free(res->key);
- free(res->content);
- free(res);
-@@ -98,59 +115,75 @@ t_remove(LHASH *const tab, char *const k
- }
- 
- typedef struct  {
--LHASH   *tab;
-+LHASH_OF(TABNODE) *tab;
- time_t  lim;
- vo

[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/files/

2016-05-17 Thread Austin English
commit: 7a91300d503cebe528d1eda2c031bdde3842ac8c
Author: Austin English  gentoo  org>
AuthorDate: Wed May 18 06:35:22 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Wed May 18 06:38:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a91300d

www-servers/pound: use #!/sbin/openrc-run instead of #!/sbin/runscript

 www-servers/pound/files/pound.init-1.9 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/pound/files/pound.init-1.9 
b/www-servers/pound/files/pound.init-1.9
index 02da709..fd00aca 100644
--- a/www-servers/pound/files/pound.init-1.9
+++ b/www-servers/pound/files/pound.init-1.9
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$



[gentoo-commits] repo/gentoo:master commit in: www-servers/pound/

2015-10-11 Thread Anthony G. Basile
commit: 3acb5e0a5f7852dbf2ca957efce4581d945ba5e4
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Oct 12 01:23:04 2015 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Oct 12 01:23:04 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3acb5e0a

www-servers/pound: add libressl support

Package-Manager: portage-2.2.20.1

 www-servers/pound/pound-2.7f-r1.ebuild | 52 ++
 1 file changed, 52 insertions(+)

diff --git a/www-servers/pound/pound-2.7f-r1.ebuild 
b/www-servers/pound/pound-2.7f-r1.ebuild
new file mode 100644
index 000..4efc7af
--- /dev/null
+++ b/www-servers/pound/pound-2.7f-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils
+
+MY_P=${P/p/P}
+DESCRIPTION="A http/https reverse-proxy and load-balancer"
+HOMEPAGE="http://www.apsis.ch/pound/";
+SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="libressl"
+
+DEPEND="dev-libs/libpcre
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+   dodir /usr/sbin
+   cp "${S}"/pound "${D}"/usr/sbin/
+   cp "${S}"/poundctl "${D}"/usr/sbin/
+
+   doman pound.8
+   doman poundctl.8
+   dodoc README FAQ
+
+   dodir /etc/init.d
+   newinitd "${FILESDIR}"/pound.init-1.9 pound
+
+   insinto /etc
+   newins "${FILESDIR}"/pound-2.2.cfg pound.cfg
+}
+
+pkg_postinst() {
+   elog "No demo-/sample-configfile is included in the distribution -"
+   elog "read the man-page for more info."
+   elog "A sample (localhost: -> localhost:80) for gentoo is given in 
\"/etc/pound.cfg\"."
+   echo
+   ewarn "You will have to upgrade you configuration file, if you are"
+   ewarn "upgrading from a version <= 2.0."
+   echo
+   ewarn "The 'WebDAV' config statement is no longer supported!"
+   ewarn "Please adjust your configuration, if necessary."
+   echo
+}