From a2844b413d00a2859401e017a0311986151e1594 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 16 Apr 2023 11:50:23 +0100 Subject: gentoo auto-resync : 16:04:2023 - 11:50:23 --- www-servers/Manifest.gz | Bin 4541 -> 4547 bytes www-servers/sniproxy/Manifest | 7 +- .../sniproxy/files/sniproxy-0.6.0-fno-common.patch | 24 ------- www-servers/sniproxy/metadata.xml | 3 + www-servers/sniproxy/sniproxy-0.6.0-r1.ebuild | 77 --------------------- www-servers/sniproxy/sniproxy-0.6.1.ebuild | 75 ++++++++++++++++++++ 6 files changed, 81 insertions(+), 105 deletions(-) delete mode 100644 www-servers/sniproxy/files/sniproxy-0.6.0-fno-common.patch delete mode 100644 www-servers/sniproxy/sniproxy-0.6.0-r1.ebuild create mode 100644 www-servers/sniproxy/sniproxy-0.6.1.ebuild (limited to 'www-servers') diff --git a/www-servers/Manifest.gz b/www-servers/Manifest.gz index 03f350004ef2..40ff58a07915 100644 Binary files a/www-servers/Manifest.gz and b/www-servers/Manifest.gz differ diff --git a/www-servers/sniproxy/Manifest b/www-servers/sniproxy/Manifest index a07b55ad68a0..33f073beab34 100644 --- a/www-servers/sniproxy/Manifest +++ b/www-servers/sniproxy/Manifest @@ -1,5 +1,4 @@ -AUX sniproxy-0.6.0-fno-common.patch 541 BLAKE2B cc1bb1edcb25bb12c5d5ac70088f38e61958104fbe4c81586c90f86dc3e1c53ea29de1aae82b7bbf17fea6e135572bc9e026b30a473411cbc09680b9eec20b58 SHA512 deb08ce08b4fc4060b5f2652b1946174a7771b81a9f288b9ec6368a50cfa3d327edef598b3e1fe7f668c4244adfbbc770644acab9772a451f1058e8362f71681 AUX sniproxy.init 493 BLAKE2B 4021f98063b76628abd60e52afc3cef2d6860c3fd639c21d0e2d4a62acc6fe7f505bc715c69116474748c122d031a8df1f101d0c13b80524980911a6010fe86f SHA512 6dc6ba017c18cc5c4b15b2085e95157c396c44b8d368b6ee28c559c9d4072460604afca3a20c46c639c5b095a3da65e3b2b15fc20d738e41651cc77615dd3ca0 -DIST sniproxy-0.6.0.tar.gz 78515 BLAKE2B 1ac8decc793e7b3d73d833bc392b3ef035bd2ba7d515c54ff46de16ee8897c0c5392929d5c7a22a131c1f017897cc6f8e9c50aff8164e4afbdc23155b804b613 SHA512 8a99573673bdd57e528c5781cb166d39c80daed699382b24c3fa18a6011d074a1d9e470fee404d24b4450cf067c9995125910b2941b5216d88d189a1d79ebf73 -EBUILD sniproxy-0.6.0-r1.ebuild 1603 BLAKE2B 722ccab3459ee93ca63d6152d95c99ff097b7ee4f7fbf64f3f292c99fd8d9fbb489f5e98bcc15c6ffe8ee08957e2c7930b0b469c8e4771f7d0fae9cc1114b78e SHA512 ae52cac6a2b16ba32d0cc873283e5cb9e284b4195d51d4c17665b20e2f21f91247eba0039cef92c407579ef9b174fee98346954177604dad02d087e8f6bb1ec3 -MISC metadata.xml 672 BLAKE2B 49e64236cf62c9304afc9665cabcc9a02c4538a8f4602f7bc19b220fc424baa9fc07a4889583c804ea26a19e22fa18383f629314db09a897b5f42a8508023b90 SHA512 f3b833d5a833787cada8726c8597acfac717bb8236d1ec23db8518e21130bbbe49b650540b8f715f6914afd8b0adbf3ffa4e3655a92794991ad10410bd095270 +DIST sniproxy-0.6.1.tar.gz 78939 BLAKE2B dd11d47779dbf876724a8e0951c137343c25e420ca0b34055adbd31abda9ad56e38d1addd3ab0a7d85079fec3a456faba87df9cdf261570d8c1d7cfdf534f852 SHA512 4a20830ee6dfeb33a363c480c4698c263a8deccfcac2071198248147ef40d951a1b551c373b0e1e29f6b6bfcdac350390f8f4c3653ed9d1f1940ed50c96af785 +EBUILD sniproxy-0.6.1.ebuild 1554 BLAKE2B 9e42a7f365a9f6f9ff1f0aec314c250b2b60d4c8b2b5bc7a85ad1d5b7651281ea0732e6c343d88252608dcd353b7ad5d8f7d6e6497c3f8793d3028277a3d697c SHA512 43a7bc91398c4481b42ce9decfcb370bb7914fc98a307779a57fd1f020d02f40205eab1bd54061f09ec955470b6b5712ceb77526285af87c5948f3b6d579f480 +MISC metadata.xml 756 BLAKE2B 8757bccff15b6b03dab4a092050cf30e221fe49d34274e4e46fd718abd7066af3099e3e8c610b0f5d049804450cfcd56d267d2509572014d0a412b1d87f6cda9 SHA512 18faeebeae13251f48b5050c7bd04cdba7dcd57dcedfe6faabd9ec7cee6fa10d2d0eb8f3772bf1b4cc8ad1f3863c449d3f091caff6f9fc2c8c9229a6daa0a7da diff --git a/www-servers/sniproxy/files/sniproxy-0.6.0-fno-common.patch b/www-servers/sniproxy/files/sniproxy-0.6.0-fno-common.patch deleted file mode 100644 index f718bfca736c..000000000000 --- a/www-servers/sniproxy/files/sniproxy-0.6.0-fno-common.patch +++ /dev/null @@ -1,24 +0,0 @@ -Taken from: https://github.com/dlundquist/sniproxy/commit/822bb80df9b7b345cc9eba55df74a07b498819ba -Author: Pierre-Olivier Mercier - ---- a/src/http.h -+++ b/src/http.h -@@ -29,6 +29,6 @@ - #include - #include "protocol.h" - --const struct Protocol *const http_protocol; -+extern const struct Protocol *const http_protocol; - - #endif ---- a/src/tls.h -+++ b/src/tls.h -@@ -28,6 +28,6 @@ - - #include "protocol.h" - --const struct Protocol *const tls_protocol; -+extern const struct Protocol *const tls_protocol; - - #endif - diff --git a/www-servers/sniproxy/metadata.xml b/www-servers/sniproxy/metadata.xml index a5f57d2612be..7764676c8f3f 100644 --- a/www-servers/sniproxy/metadata.xml +++ b/www-servers/sniproxy/metadata.xml @@ -9,6 +9,9 @@ proxy-maint@gentoo.org Proxy Maintainers + + dlundquist/sniproxy + Enable DNS resolver via net-libs/udns diff --git a/www-servers/sniproxy/sniproxy-0.6.0-r1.ebuild b/www-servers/sniproxy/sniproxy-0.6.0-r1.ebuild deleted file mode 100644 index 9dc8e5a03ef1..000000000000 --- a/www-servers/sniproxy/sniproxy-0.6.0-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/dlundquist/sniproxy.git" - EGIT_BRANCH="master" - inherit git-r3 -else - SRC_URI="https://github.com/dlundquist/sniproxy/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Proxies incoming HTTP and TLS connections based on the hostname" -HOMEPAGE="https://github.com/dlundquist/sniproxy" - -LICENSE="BSD-2" -SLOT="0" -IUSE="+dns +largefile rfc3339 test" -RESTRICT="!test? ( test )" - -RDEPEND=" - acct-group/sniproxy - acct-user/sniproxy - dev-libs/libev - >=dev-libs/libpcre-3 - dns? ( net-libs/udns )" -DEPEND="${RDEPEND} - test? ( net-misc/curl )" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) - -src_prepare() { - default - eautoreconf - - sed -i "/user/s/daemon/sniproxy/" debian/sniproxy.conf || die "Unable to replace configuration" - sed -i "/create/s/daemon/sniproxy/" debian/logrotate.conf || die "Unable to replace logrotate configuration" -} - -src_configure() { - local my_conf=( - $(use_enable dns) - $(use_enable largefile) - $(use_enable rfc3339 rfc3339-timestamps) - ) - - econf "${my_conf[@]}" -} - -src_test() { - emake -j1 check -} - -src_install() { - default - - newinitd "${FILESDIR}/sniproxy.init" sniproxy - - insinto /etc/sniproxy - doins debian/sniproxy.conf - - keepdir /var/log/sniproxy - - insinto /etc/logrotate.d - newins debian/logrotate.conf sniproxy - - dodoc ARCHITECTURE.md AUTHORS README.md - doman man/sniproxy.8 - doman man/sniproxy.conf.5 -} diff --git a/www-servers/sniproxy/sniproxy-0.6.1.ebuild b/www-servers/sniproxy/sniproxy-0.6.1.ebuild new file mode 100644 index 000000000000..f95fb68f3e20 --- /dev/null +++ b/www-servers/sniproxy/sniproxy-0.6.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/dlundquist/sniproxy.git" + EGIT_BRANCH="master" + inherit git-r3 +else + SRC_URI="https://github.com/dlundquist/sniproxy/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Proxies incoming HTTP and TLS connections based on the hostname" +HOMEPAGE="https://github.com/dlundquist/sniproxy" + +LICENSE="BSD-2" +SLOT="0" +IUSE="+dns +largefile rfc3339 test" +RESTRICT="!test? ( test )" + +RDEPEND=" + acct-group/sniproxy + acct-user/sniproxy + dev-libs/libev + >=dev-libs/libpcre-3 + dns? ( net-libs/udns )" +DEPEND="${RDEPEND} + test? ( net-misc/curl )" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + default + eautoreconf + + sed -i "/user/s/daemon/sniproxy/" debian/sniproxy.conf || die "Unable to replace configuration" + sed -i "/create/s/daemon/sniproxy/" debian/logrotate.conf || die "Unable to replace logrotate configuration" +} + +src_configure() { + local my_conf=( + $(use_enable dns) + $(use_enable largefile) + $(use_enable rfc3339 rfc3339-timestamps) + ) + + econf "${my_conf[@]}" +} + +src_test() { + emake -j1 check +} + +src_install() { + default + + newinitd "${FILESDIR}/sniproxy.init" sniproxy + + insinto /etc/sniproxy + doins debian/sniproxy.conf + + keepdir /var/log/sniproxy + + insinto /etc/logrotate.d + newins debian/logrotate.conf sniproxy + + dodoc ARCHITECTURE.md AUTHORS README.md + doman man/sniproxy.8 + doman man/sniproxy.conf.5 +} -- cgit v1.2.3