From 29aabba0ea759c6a2864ff5631735b67ee38e5e0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Feb 2020 18:44:56 +0000 Subject: gentoo resync : 05.02.2020 --- net-proxy/Manifest.gz | Bin 5220 -> 5205 bytes net-proxy/adzapper/Manifest | 2 +- net-proxy/adzapper/adzapper-20110915-r2.ebuild | 2 +- net-proxy/dante/Manifest | 2 +- net-proxy/dante/dante-1.4.1-r1.ebuild | 2 +- net-proxy/privoxy/Manifest | 2 +- net-proxy/privoxy/privoxy-3.0.26.ebuild | 2 +- net-proxy/squid/Manifest | 6 +- net-proxy/squid/metadata.xml | 1 - net-proxy/squid/squid-4.10.ebuild | 276 +++++++++++++++++++++++++ net-proxy/squid/squid-4.9.ebuild | 18 +- net-proxy/tinyproxy/Manifest | 2 +- net-proxy/tinyproxy/tinyproxy-1.10.0-r1.ebuild | 2 +- net-proxy/trojan/Manifest | 2 + net-proxy/trojan/trojan-1.14.1.ebuild | 47 +++++ net-proxy/tsocks/Manifest | 2 +- net-proxy/tsocks/tsocks-1.8_beta5-r8.ebuild | 2 +- 17 files changed, 348 insertions(+), 22 deletions(-) create mode 100644 net-proxy/squid/squid-4.10.ebuild create mode 100644 net-proxy/trojan/trojan-1.14.1.ebuild (limited to 'net-proxy') diff --git a/net-proxy/Manifest.gz b/net-proxy/Manifest.gz index 8159a195c05c..079a89fa1480 100644 Binary files a/net-proxy/Manifest.gz and b/net-proxy/Manifest.gz differ diff --git a/net-proxy/adzapper/Manifest b/net-proxy/adzapper/Manifest index a4f5f70eb98f..a72ee9f0ae19 100644 --- a/net-proxy/adzapper/Manifest +++ b/net-proxy/adzapper/Manifest @@ -1,4 +1,4 @@ AUX 20110915-flush.patch 2376 BLAKE2B c277dc6adb3d0e11ddf6ed5d723f822b63e93c5cc909ec1ec5b4ab7ead409acc9ef36b222e2f350434f200600878874fffa1ade53b1a70dfec5fa274a7854b0e SHA512 a15464953d0e589b4e679116a734e9d590990ce619858b8b8d9faac18a991c13b650c3f1edc732dbc4e8c2d38e82f67700471421b3a7250fdec4e6461f58d2ca DIST adzap-20110915.tar.gz 128132 BLAKE2B 4395c6270c7a4581505a1bd27550d1311e6bca9e1ac25cc1b029b695845f9ce586deb306f5122b6125095fe157251dd0482c1cc666bd37063f665fd6954765f8 SHA512 8b3566fc708b3db3b8eaa0306f90c75a82ac001cfdc3bc925fc649481420532ddc017f1b5139fce36733d3a38b2a7a31b39872b522ba4f49c098177496d64416 -EBUILD adzapper-20110915-r2.ebuild 1449 BLAKE2B 8c512345ce8f19d08affe6d5d84c9261b1f9a185a2da9b8b8f40dc749059698b86565cdf0cc95b76ef04174687d432afd12bd5738a3e74320280d6d83eeac42c SHA512 0cde509cdb38ff9619acd4339cebec506a73ac3fbf2ed57c0cc2307bf4d946e7055f89a0c7ad00bef3fd63fd3e0e55e70f8a402278a5f5c730803a3215051f88 +EBUILD adzapper-20110915-r2.ebuild 1450 BLAKE2B becd360d99e35b533cef0c5f6a1a841cde759bca7127c99daf686b7691dcb7935382170140cfcc461710fa10d48e1b7f4eb278ad0bda707c6c58444cc9376864 SHA512 efbb2470f39e0a271bcec9bcd5a943cea66de51658ef11b25c1bd4950b70885dbb2c6c488411ac3944414e6c12fc7c959185e295384bbfeb0f79c860578645ab MISC metadata.xml 363 BLAKE2B f791b270d3ede68aaedbac2476a39d633f0a5503408ea0e02766e6b48a4d1c792d79ab4fcfb479336cbae3dffb99ca25407cb7639ad280c9306510401f87f7e6 SHA512 3d6c6318383863347bd23341e82d5b149a40b660870726bc1abdeb10214178d81d750b30c28c12907062a6f934d58cb036452b1bcaecd2f8f777e9a5b99e9c99 diff --git a/net-proxy/adzapper/adzapper-20110915-r2.ebuild b/net-proxy/adzapper/adzapper-20110915-r2.ebuild index 60b6800c1ef1..a2c02c998323 100644 --- a/net-proxy/adzapper/adzapper-20110915-r2.ebuild +++ b/net-proxy/adzapper/adzapper-20110915-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://adzapper.sourceforge.net/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha amd64 hppa ppc sparc x86" +KEYWORDS="~alpha amd64 hppa ppc sparc x86" IUSE="" RDEPEND="dev-lang/perl" diff --git a/net-proxy/dante/Manifest b/net-proxy/dante/Manifest index 8aa437538b99..80f68b862ca5 100644 --- a/net-proxy/dante/Manifest +++ b/net-proxy/dante/Manifest @@ -12,5 +12,5 @@ AUX sockd.conf-with-libwrap.patch 870 BLAKE2B 8c56ab479f99f6dff61882c01842ef0780 AUX sockd.conf-with-pam.patch 295 BLAKE2B f41c2109e21878d2b473c6cffb4fe845d59ac0478f5196f7ccdc42baafd674e0960169e3a9dbc4fedb4a27cb7df8bd0dfc255595a72c39185c7ffb177fb53da8 SHA512 78728605362360650e6a20869744fc941782b75d149c0835542faaad931104cb32dda56de77a7b4f9a4fa683053139c551bcf77607a047fb1be68b6da9388630 AUX socks.conf 4185 BLAKE2B cb41b40e858c83d06bd5e199c4fc991e8dda0ee64d48fd94e52d6ef836e79d6a6f5f50b6dd55074e92b6f96f20db65922f53869f08506100ae8b59b722643cdd SHA512 d15ea77e20ad750f10285a42c9c6305cbed48313dea205139d8cf59fda4a4640bdd5c5bd2c295b32e0015b774d463f9ad34fa5a22fb188ae921dba1a533553eb DIST dante-1.4.1.tar.gz 1284288 BLAKE2B 34c78007245339088d79e0b969b8f55d20b0ee59d89c1bf19510b563799ac3c54c6b8b5f37bfb64410d60e893beb0e2d1d79893c0264b7481aeb4cdab2037e90 SHA512 1c8e2966ba68c8584fb99ff76ae1d9c8dfe669c7e5e61c7e6e7f87295d1280c3e7849491a6369ce27795040f951dcc11f4f2b3d7e46c54219594c89315d0487e -EBUILD dante-1.4.1-r1.ebuild 2686 BLAKE2B 8206ceaa62dc2ac7cf3e52ba0504905f5853a3866cfbd57c0f7791b9adfa8d5e50ed32df328325dd592a36cb4feed77fecbf380b2e869e1aa4cb3c3128fc2e8b SHA512 09da4a11b4a8eb8e0a6a210044c14833996a141acd5aadfa788efb502b41f2b0ecb77e7fab01b370b97a46ba203b2d3c84a5c9a57289ad57372b3b95ee0c9282 +EBUILD dante-1.4.1-r1.ebuild 2687 BLAKE2B 754d4e832dbd625f899bf4717c6668287ce71e4bb43188ef759dcc5c687137f8e05e552b82d89ab9d314291053a90fe232767301652f8a26878fd110fb3d27b7 SHA512 c235f6ea352eeb28beec4a445cee17e5900e15d706cc16aa90f83d218b0444eae09834ee63abbdb1e405f9125456c309d05dcbc801fab5ae35e5ca749fdcbb08 MISC metadata.xml 296 BLAKE2B f91f0392a93ffe384cc2879ce1a83cb8f7d92867d1376ebe2480687a8ffe2a5b5c6e0581c0bcf1b2c9708558da60371e1c24ab9fd6950e89f4b13f2f393664c7 SHA512 af311f739f67a9e4d7386aa2ba575f2d0ba5e6d1cd9710dc107876c6876a05ce301568da03c4287e2557665d1ca5cba174ca31b41c6788b1f1300c2fed9005ab diff --git a/net-proxy/dante/dante-1.4.1-r1.ebuild b/net-proxy/dante/dante-1.4.1-r1.ebuild index a01963ca09b4..178a8a767428 100644 --- a/net-proxy/dante/dante-1.4.1-r1.ebuild +++ b/net-proxy/dante/dante-1.4.1-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://www.inet.no/dante/files/${P}.tar.gz" LICENSE="BSD GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86" IUSE="debug kerberos pam selinux static-libs tcpd upnp" CDEPEND=" diff --git a/net-proxy/privoxy/Manifest b/net-proxy/privoxy/Manifest index ba84f7f2b139..471e2f35e7f8 100644 --- a/net-proxy/privoxy/Manifest +++ b/net-proxy/privoxy/Manifest @@ -4,6 +4,6 @@ AUX privoxy.logrotate 191 BLAKE2B 587f6211d4938481a1dac77b79a1c32ea491c88514ed7d AUX privoxy.service 248 BLAKE2B 4b39a4a55af8557458d3d087ab335431b39eb156bc5a3d32979627608f2a3926b2459822c827d557a86c20da5c8c6291941eb01db9adc7fb458e913672d574a0 SHA512 0f3484f06521a66b984fda7238f175a135b22fa5a00dc0c8caadd380d21bfecdae7a6c8d2c0d9a4a3c2858539913722be2b7d4fddd17ea2c95f4e151c3f74ca0 DIST privoxy-3.0.26-stable-src.tar.gz 1741772 BLAKE2B 19dc72d93535e6eb960a53e3679886655b2aff037ad6002844eb76c970c7da52d016b7a54993e3dcf453c394da354cf8ec8f1f23a02b9216240e5460d6239b34 SHA512 e448305287d0451c761b76b8d8974ea1ec837b621bbb498a7ff16a54cb4d8f1f734efe2eef03235c01163bb40e225785065aad6ee265a31d90970ab98af11044 DIST privoxy-3.0.28-stable-src.tar.gz 1753809 BLAKE2B 1ea0d6339c96bd294eadc124ebac252c43dcdc062709868668959bdb4f959267afb2ec7f27fc0d58db3655102f2412f1c8acb273267d447271465ac21f7a9be4 SHA512 5d58024ae73d623a2b8fb2ac49e18f047dfe252c9441388f025cf888c0e4b11546b8796cfa559759ee137002b1b31b30ad28b356ae226836454f32591eb835fc -EBUILD privoxy-3.0.26.ebuild 3468 BLAKE2B e1d632b4bc21a7956bb6ae16db456ddec7c3d55e4255bb102f861396eebf8818fcf99d9d188c48ce41db0a719bd503615620c4df4a16578f6c63ba8e67576dd5 SHA512 0c846c2dc1302f5810c655fbf1af19bc020fa0831d4339fc81a56b475c49de2379c2910d8f2772df4eb24f84892f93192a134158b3d98b0615f1365eedf88a5a +EBUILD privoxy-3.0.26.ebuild 3469 BLAKE2B 7933608f84aea227dcea488f1c5ba76a397145a755be0c77019b6371aa6555d4ce6ae3153d856bda14a18125681cbd7c1935de01537e345e5652d0dc12cf5883 SHA512 c445b3aeb64c612a324989eb56f3c7b6784a8a5e77cc2e2d2177caa89793f2556107947c9645f0da516226c237679d77d86050785cdc75e2d47b6e07c35ebeeb EBUILD privoxy-3.0.28.ebuild 3460 BLAKE2B 8a025947e84f60490d5f44771f3b88e3512fe24f3be96ab6bd060b66ecc901ffaf7c63e4ae78b92f96f11c96345135f50bf0114c118a802bb470e03c9bc28575 SHA512 eb566817ded44815844db2d2d4b6067e7fdf54089ef6d49619f5f6c4129e0d6b288fbe4524c4c091bbd6f4cbe3ec0c53f7413056f3338b7f13d0bbf64050bc7e MISC metadata.xml 2440 BLAKE2B f19609a881546a03d6bc5c76b182c5798feaa567369342c0a25994bbf12eff83db4c7b4e9af40e703500b6aa8dc58e49b2d4240958ddd6030bca0b567f77c196 SHA512 f620d755d33400faa3f58b49af79bebe1a5b59ed382e93844c761e3095009af9b1201b3a9d2c692dc21e871a19eda57d95b856c26f97e6496912fa80a1315f4f diff --git a/net-proxy/privoxy/privoxy-3.0.26.ebuild b/net-proxy/privoxy/privoxy-3.0.26.ebuild index c0274be383c4..a753f797f7cc 100644 --- a/net-proxy/privoxy/privoxy-3.0.26.ebuild +++ b/net-proxy/privoxy/privoxy-3.0.26.ebuild @@ -18,7 +18,7 @@ external-filters +fast-redirects +force graceful-termination ie-images +image-blocking ipv6 lfs png-images selinux +stats +threads toggle tools whitelists +zlib" SLOT="0" -KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm ppc ppc64 sparc x86" LICENSE="GPL-2" DEPEND=" diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest index 9e3e1cb7ae40..4ab1f7855bbd 100644 --- a/net-proxy/squid/Manifest +++ b/net-proxy/squid/Manifest @@ -4,6 +4,8 @@ AUX squid.cron 143 BLAKE2B 17b1bccea20771a481a5b4745c9832a4b762132a500eaeb091349 AUX squid.initd-r5 4339 BLAKE2B 3529ddaab2e708215e6674514ce8e20e9d28d26e45860e19b59c7c3566550b298c71a20a9b62c2c89fd621f4ca67698d03af43586ac75cf16eee3b342c6a5a2c SHA512 e761500fb208954c92e0e83a6314688b29f1379855bf78195a72b12984c8fc7fdd09f5823729e90515bb7a382903fdcb42b79488d7f73474f8244311137b3e18 AUX squid.logrotate 103 BLAKE2B f6d190d1914b76b08d90a2c3b3b07ff9cd332cdb2e595f4849537d1f1d32d8be1386fcdfffb40d073bcdd715a62c1c44727f1e10b75cfaff69c0d042c2a7e904 SHA512 d75a667c3ffa32fdd938ef40df8813a467d9f10b2363107bf915cb0c99834fbe8d0eb502a18a816875b67b0db1b27806ed3caf620c38516040cb644b225f5a55 AUX squid.pam 209 BLAKE2B 113fa119ce4fd96ddf34b95c1a1ca958b34aea405564076f89abdbb8d4c6a0248ec9fa1a0f5f1d6136643c9abc4c5f67e8ef75305414b374763e2055272950d5 SHA512 5501e3d9319aea99f0deed98748366d4dfbeccdde96d842474fe144a4584394d8f5563372cd7b2437a389378c49b61b646403cca1be4362c888750d027b2f594 +DIST squid-4.10.tar.xz 2445848 BLAKE2B 8161626f0fc448f62c9afe13194e10a3ac21c1fe25cd6a9e6a85dcc3cebc2a84750ae78235134ada38f730923e7d1815ca5fb5a6aec7ae70623798c66beaf160 SHA512 033891f84789fe23a23fabcfb6f51a5b044c16892600f94380b5f0bcbceaef67b95c7047154d940511146248ca9846a949f00a609c6ed27f9af8829325eb08e0 DIST squid-4.9.tar.xz 2444664 BLAKE2B ac9006519773809034176cf350f31400ddc02e03aaa67df725fc9f59245337a319526463b3f96916f7d6544b99bd623b0969c8b1787b50ee142dc2fe38bb5b75 SHA512 ca3db39379ea0582ff28297dde21899d02916ea499fb9c0f86aa60301829b7c601bb21ee274f841555047bc911e878717b38670b8796e5d717862b7a285ef84f -EBUILD squid-4.9.ebuild 8166 BLAKE2B baff9df6895bc8c06dcb4e8341084e28fe18f1498abbd52e3ebfaaee34426816215d53698aa705e56eece6896e6a0babe76ea9c61546cddc3e1736255707397e SHA512 0ddc3bc08f5f7d6af43a9f41a209613f035953a8926cabf13ad5eb9e9b6fbe0c6b847af0a03c797cde277313659b80484178399fd292567bb0f06df4035e7b90 -MISC metadata.xml 1541 BLAKE2B c04b0900be1711860ab53658c9ed7f3200da64fcd8f866a54d3a02c4576b5942afad4d8666eb950e19426beead7a40f5f03e04bca734cf9b5fedf4633f16087e SHA512 fb81b62b425f571f8f01f505f3b9d69186358180c1fcca80c61ad8e7b3d0397250292e9ea3bfa8bb1a93a9ade3293abdd7bb19ef6485df6244e016e21a3b56d5 +EBUILD squid-4.10.ebuild 8063 BLAKE2B 09c61443e5bcc56c7656350c01dd6c3c402070c233f04b2b55e011523aac7bfc4e7ceaa8e8a5cbd6b893153ccf46a952566e87e49da8ddfbb9bec8a654d05ec8 SHA512 d41b8a52c9abea94d09f7090b2b0a56589bbcda3bc9af3dc732b58fced45e26d5f9f1fd72be34c30431f528cb34e113c2594bb3ea5b9ba648d7cc0d01017c6c7 +EBUILD squid-4.9.ebuild 8121 BLAKE2B 569fa26685e77ba169f871825a6664645ac856b5ed0ca95483bb07de6cf27330947d75156f03d65ddc5991581e7d88eaa581e0f0f36ca3d60d22c120e660a756 SHA512 7aed222f8e3b2fa3ec8ea2290cc21a104f4c6105c2fa098471768ddc6493799a5f59f71e9bc3fc9a5032a25f33f56ed81162e174c6e958f3ee4e1167fcebee14 +MISC metadata.xml 1472 BLAKE2B ba8020d30b7fb7740a160a06f2f4323f1ae181c79bc89fe390b25b156000a5c751a68333a634753cb1a96a9097577b379369226db8ee6e04c22c4b9f0e8626bc SHA512 19fce272b91077d6114ee400adc6360993558c02bc6595c50fdf43323eb7aebd0f2c0d7cb6d688fd8f1db6af06305de24a7c5a0cddce62d150391c50da46e056 diff --git a/net-proxy/squid/metadata.xml b/net-proxy/squid/metadata.xml index 74543e37ace0..0a26887bf437 100644 --- a/net-proxy/squid/metadata.xml +++ b/net-proxy/squid/metadata.xml @@ -5,7 +5,6 @@ zlogene@gentoo.org Mikle Kolyada - A full-featured web proxy cache Adds support for loadable content adaptation modules (http://www.e-cap.org) diff --git a/net-proxy/squid/squid-4.10.ebuild b/net-proxy/squid/squid-4.10.ebuild new file mode 100644 index 000000000000..a738f7035bc7 --- /dev/null +++ b/net-proxy/squid/squid-4.10.ebuild @@ -0,0 +1,276 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WANT_AUTOMAKE="1.15" + +inherit autotools linux-info pam toolchain-funcs + +DESCRIPTION="A full-featured web proxy cache" +HOMEPAGE="http://www.squid-cache.org/" + +# Upstream patch ID for the most recent bug-fixed update to the formal release. +r= +#r=-20181117-r0022167 +if [ -z "$r" ]; then + SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}.tar.xz" +else + SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}${r}.tar.bz2" + S="${S}${r}" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="caps gnutls ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \ + ecap esi ssl-crtd \ + mysql postgres sqlite \ + perl qos tproxy \ + +htcp +wccp +wccpv2 \ + pf-transparent ipf-transparent kqueue \ + elibc_uclibc kernel_linux" + +RESTRICT="!test? ( test )" + +BDEPEND="dev-lang/perl" + +COMMON_DEPEND="acct-group/squid + acct-user/squid + caps? ( >=sys-libs/libcap-2.16 ) + pam? ( sys-libs/pam ) + ldap? ( net-nds/openldap ) + kerberos? ( virtual/krb5 ) + qos? ( net-libs/libnetfilter_conntrack ) + ssl? ( + !gnutls? ( dev-libs/openssl:0 ) + dev-libs/nettle:= ) + sasl? ( dev-libs/cyrus-sasl ) + ecap? ( net-libs/libecap:1 ) + esi? ( dev-libs/expat dev-libs/libxml2 ) + gnutls? ( >=net-libs/gnutls-3.1.5 ) + logrotate? ( app-admin/logrotate ) + >=sys-libs/db-4:* + dev-libs/libltdl:0" + +DEPEND="${COMMON_DEPEND} + ${BDEPEND} + ecap? ( virtual/pkgconfig ) + test? ( dev-util/cppunit )" + +RDEPEND="${COMMON_DEPEND} + samba? ( net-fs/samba ) + perl? ( dev-lang/perl ) + mysql? ( dev-perl/DBD-mysql ) + postgres? ( dev-perl/DBD-Pg ) + selinux? ( sec-policy/selinux-squid ) + sqlite? ( dev-perl/DBD-SQLite )" + +REQUIRED_USE="tproxy? ( caps ) + qos? ( caps )" + +pkg_pretend() { + if use tproxy; then + local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" + linux-info_pkg_setup + fi +} + +src_prepare() { + eapply "${FILESDIR}/${PN}-4.3-gentoo.patch" + sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ + INSTALL QUICKSTART \ + scripts/fileno-to-pathname.pl \ + scripts/check_cache.pl \ + tools/cachemgr.cgi.8 \ + tools/purge/conffile.hh \ + tools/purge/purge.1 || die + sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \ + INSTALL QUICKSTART || die + sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \ + QUICKSTART || die + sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \ + QUICKSTART \ + src/log/access_log.cc || die + sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \ + src/log/access_log.cc || die + sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \ + src/acl/external/unix_group/ext_unix_group_acl.8 \ + src/acl/external/session/ext_session_acl.8 || die + sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \ + scripts/check_cache.pl || die + # /var/run/squid to /run/squid + sed -i -e 's:$(localstatedir)::' \ + src/ipc/Makefile.am || die + sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \ + libltdl/configure.ac || die + + eapply_user + eautoreconf +} + +src_configure() { + local basic_modules="NCSA,POP3,getpwnam" + use samba && basic_modules+=",SMB" + use ldap && basic_modules+=",SMB_LM,LDAP" + use pam && basic_modules+=",PAM" + use sasl && basic_modules+=",SASL" + use nis && ! use elibc_uclibc && basic_modules+=",NIS" + use radius && basic_modules+=",RADIUS" + if use mysql || use postgres || use sqlite ; then + basic_modules+=",DB" + fi + + local digest_modules="file" + use ldap && digest_modules+=",LDAP,eDirectory" + + local negotiate_modules="none" + local myconf="--without-mit-krb5 --without-heimdal-krb5" + if use kerberos ; then + negotiate_modules="kerberos,wrapper" + if has_version app-crypt/heimdal ; then + myconf="--without-mit-krb5 --with-heimdal-krb5" + else + myconf="--with-mit-krb5 --without-heimdal-krb5" + fi + fi + + local ntlm_modules="none" + use samba && ntlm_modules="SMB_LM" + + local ext_helpers="file_userip,session,unix_group,delayer,time_quota" + use samba && ext_helpers+=",wbinfo_group" + use ldap && ext_helpers+=",LDAP_group,eDirectory_userip" + use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group" + if use mysql || use postgres || use sqlite ; then + ext_helpers+=",SQL_session" + fi + + local storeio_modules="aufs,diskd,rock,ufs" + + local transparent + if use kernel_linux ; then + transparent+=" --enable-linux-netfilter" + use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack" + fi + + if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then + transparent+=" $(use_enable kqueue)" + if use pf-transparent; then + transparent+=" --enable-pf-transparent" + elif use ipf-transparent; then + transparent+=" --enable-ipf-transparent" + fi + fi + + tc-export_build_env BUILD_CXX + export BUILDCXX=${BUILD_CXX} + export BUILDCXXFLAGS=${BUILD_CXXFLAGS} + tc-export CC AR + + # Should be able to drop this workaround with newer versions. + # https://bugs.squid-cache.org/show_bug.cgi?id=4224 + tc-is-cross-compiler && export squid_cv_gnu_atomics=no + + econf \ + --sysconfdir=/etc/squid \ + --libexecdir=/usr/libexec/squid \ + --localstatedir=/var \ + --with-pidfile=/run/squid.pid \ + --datadir=/usr/share/squid \ + --with-logdir=/var/log/squid \ + --with-default-user=squid \ + --enable-removal-policies="lru,heap" \ + --enable-storeio="${storeio_modules}" \ + --enable-disk-io \ + --enable-auth-basic="${basic_modules}" \ + --enable-auth-digest="${digest_modules}" \ + --enable-auth-ntlm="${ntlm_modules}" \ + --enable-auth-negotiate="${negotiate_modules}" \ + --enable-external-acl-helpers="${ext_helpers}" \ + --enable-log-daemon-helpers \ + --enable-url-rewrite-helpers \ + --enable-cache-digests \ + --enable-delay-pools \ + --enable-eui \ + --enable-icmp \ + --enable-follow-x-forwarded-for \ + --with-large-files \ + --with-build-environment=default \ + --disable-strict-error-checking \ + --disable-arch-native \ + --with-included-ltdl=/usr/include \ + --with-ltdl-libdir=/usr/$(get_libdir) \ + $(use_with caps libcap) \ + $(use_enable ipv6) \ + $(use_enable snmp) \ + $(use_with ssl openssl) \ + $(use_with ssl nettle) \ + $(use_with gnutls) \ + $(use_enable ssl-crtd) \ + $(use_enable ecap) \ + $(use_enable esi) \ + $(use_enable htcp) \ + $(use_enable wccp) \ + $(use_enable wccpv2) \ + ${transparent} \ + ${myconf} +} + +src_install() { + default + + # need suid root for looking into /etc/shadow + fowners root:squid /usr/libexec/squid/basic_ncsa_auth + fperms 4750 /usr/libexec/squid/basic_ncsa_auth + if use pam; then + fowners root:squid /usr/libexec/squid/basic_pam_auth + fperms 4750 /usr/libexec/squid/basic_pam_auth + fi + # pinger needs suid as well + fowners root:squid /usr/libexec/squid/pinger + fperms 4750 /usr/libexec/squid/pinger + + # these scripts depend on perl + if ! use perl; then + for f in basic_pop3_auth \ + ext_delayer_acl \ + helper-mux \ + log_db_daemon \ + security_fake_certverify \ + storeid_file_rewrite \ + url_lfs_rewrite; do + rm "${D}"/usr/libexec/squid/${f} || die + done + fi + + # cleanup + rm -r "${D}"/run "${D}"/var/cache || die + + dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt + newdoc src/auth/negotiate/kerberos/README README.kerberos + newdoc src/auth/basic/RADIUS/README README.RADIUS + newdoc src/acl/external/kerberos_ldap_group/README README.kerberos_ldap_group + dodoc RELEASENOTES.html + + newpamd "${FILESDIR}/squid.pam" squid + newconfd "${FILESDIR}/squid.confd-r2" squid + newinitd "${FILESDIR}/squid.initd-r5" squid + if use logrotate; then + insinto /etc/logrotate.d + newins "${FILESDIR}/squid.logrotate" squid + else + exeinto /etc/cron.weekly + newexe "${FILESDIR}/squid.cron" squid.cron + fi + + diropts -m0750 -o squid -g squid + keepdir /var/log/squid /etc/ssl/squid /var/lib/squid +} + +pkg_postinst() { + elog "A good starting point to debug Squid issues is to use 'squidclient mgr:' commands such as 'squidclient mgr:info'." + if [ ${#r} -gt 0 ]; then + elog "You are using a release with the official ${r} patch! Make sure you mention that, or send the output of 'squidclient mgr:info' when asking for support." + fi +} diff --git a/net-proxy/squid/squid-4.9.ebuild b/net-proxy/squid/squid-4.9.ebuild index 6da30f64b94c..76687eb647d2 100644 --- a/net-proxy/squid/squid-4.9.ebuild +++ b/net-proxy/squid/squid-4.9.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 WANT_AUTOMAKE="1.15" -inherit autotools linux-info pam toolchain-funcs user +inherit autotools linux-info pam toolchain-funcs DESCRIPTION="A full-featured web proxy cache" HOMEPAGE="http://www.squid-cache.org/" @@ -22,7 +22,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~sparc x86" IUSE="caps gnutls ipv6 pam ldap libressl samba sasl kerberos nis radius ssl snmp selinux logrotate test \ ecap esi ssl-crtd \ mysql postgres sqlite \ @@ -30,11 +30,14 @@ IUSE="caps gnutls ipv6 pam ldap libressl samba sasl kerberos nis radius ssl snmp +htcp +wccp +wccpv2 \ pf-transparent ipf-transparent kqueue \ elibc_uclibc kernel_linux" + RESTRICT="!test? ( test )" BDEPEND="dev-lang/perl" -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) +COMMON_DEPEND="acct-group/squid + acct-user/squid + caps? ( >=sys-libs/libcap-2.16 ) pam? ( sys-libs/pam ) ldap? ( net-nds/openldap ) kerberos? ( virtual/krb5 ) @@ -51,10 +54,12 @@ COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) logrotate? ( app-admin/logrotate ) >=sys-libs/db-4:* dev-libs/libltdl:0" + DEPEND="${COMMON_DEPEND} ${BDEPEND} ecap? ( virtual/pkgconfig ) test? ( dev-util/cppunit )" + RDEPEND="${COMMON_DEPEND} samba? ( net-fs/samba ) perl? ( dev-lang/perl ) @@ -73,11 +78,6 @@ pkg_pretend() { fi } -pkg_setup() { - enewgroup squid - enewuser squid -1 -1 /var/cache/squid squid -} - src_prepare() { eapply "${FILESDIR}/${PN}-4.3-gentoo.patch" sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ diff --git a/net-proxy/tinyproxy/Manifest b/net-proxy/tinyproxy/Manifest index 6fd48a7f0853..110abb94a186 100644 --- a/net-proxy/tinyproxy/Manifest +++ b/net-proxy/tinyproxy/Manifest @@ -3,5 +3,5 @@ AUX tinyproxy-1.10.0.service 181 BLAKE2B 1e5c14f607d0c54d215a6ffe5656bac288e48ca AUX tinyproxy.service 172 BLAKE2B d2e6199bfee2bac52e08d4c5506131f19e2630ebe1d9ed12f71d575cef37454c229e9e08b1fc89d9e26052a1192913289ed3602d69686d6894eb68b8639e7a5a SHA512 4c4cd36a7e34d9ee27c05475b72d1b61f90592ccb44c9deb96a1375bb681b7901702f078ed24b7c633074c83e450275a4a66829f3b270f75fc786a50d1ef393f AUX tinyproxy.tmpfiles.conf 48 BLAKE2B f2cd35878580eb198920f5db8493e3e266b4325160a9590a0b59bef1cf0577d0129bb636d99442cdb2154b444a8cdc1c6d01b4850b57df774be00338c61902e4 SHA512 24440cdaed0af6cbdb191acb1769e0a17871ef95e03e62a6621a413a2616e5d90d748d909bb5d18c029b25d7bf91485dbe46ee11e8703a1cb9008be470536715 DIST tinyproxy-1.10.0.tar.xz 176060 BLAKE2B 58f9b443c731de6b74d689a80ebd422d3b6f51f643546ee144b37fb3262725246f6a5fa1015267a94f192f8715eaf71ffc078ead75e6225a210f58ec28ee8fcf SHA512 8d82598c5f9c89bc672f4632139ac52696d5c7788963de51688a8aeb576c69004f8338fe1e1897bf704a21dfd25ab1effb092003b6afaa9a88c2b5d0608310f5 -EBUILD tinyproxy-1.10.0-r1.ebuild 1687 BLAKE2B 5c81060e0f008ff088d32110e0818d2aa902a7ab10562c395da85192cbfc71401368f39633e2758f5af24947cca8ba12977e19f31d6c33dfe7ed3e680104432b SHA512 8d069f306010ab669cb9737b118cd6636c58c3d4c0fe91d7ab26abbf9d31fd8a5015202cf1372e15801ebb55aab2459321d954989356adb3940cf483354af4e0 +EBUILD tinyproxy-1.10.0-r1.ebuild 1688 BLAKE2B 0a2dfcc4891abfb6cacf40dcea9f1d9b059318397816a2fc56abfa54f1ec976f6de399057582400a438e3446b5bf4ec4f19bf2bd3b4d66847b35c38d5d3a135b SHA512 11af8c32d25694db59c2e58448a02e24fe5c3d75f32ca4cfc315e355f370aa61fbf610d7cad78b30dede8adb0d066c3c251f965b84b8e2148a3ee3f959ac5426 MISC metadata.xml 627 BLAKE2B 3acd13c1d7a698ad83efa30c8471d5241533d66c09c103cda58c20d420d3bec2de5fcd42535d6b0b8197ae1d1aea445674e563177237ee20c348beeaf44aaf2d SHA512 96b439d626b40c45952059c1e3599a0e1743e50644c605e1519e685337a3eff806c73a8e1b3fd13920908d44eb256bc39657c9c76535a8806193581053e7a657 diff --git a/net-proxy/tinyproxy/tinyproxy-1.10.0-r1.ebuild b/net-proxy/tinyproxy/tinyproxy-1.10.0-r1.ebuild index dbd94cac9593..b88eec5854a4 100644 --- a/net-proxy/tinyproxy/tinyproxy-1.10.0-r1.ebuild +++ b/net-proxy/tinyproxy/tinyproxy-1.10.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/tinyproxy/tinyproxy/releases/download/${PV}/${P}.tar LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm ia64 ppc ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ia64 ppc ~sparc x86" IUSE="test debug +filter-proxy reverse-proxy transparent-proxy +upstream-proxy +xtinyproxy-header" diff --git a/net-proxy/trojan/Manifest b/net-proxy/trojan/Manifest index 50d1e285b528..c950394b51f2 100644 --- a/net-proxy/trojan/Manifest +++ b/net-proxy/trojan/Manifest @@ -2,7 +2,9 @@ AUX trojan.initd 539 BLAKE2B 1dcca22a0647d109928570ab58780237a67bf5bd5952da6a0e6 DIST trojan-1.10.0.tar.gz 38230 BLAKE2B 2cfa77ebfbae62edef983d1e57e3ce00a61118f6458cab353af60960e2586750fcd0c4237631481cfdfc8ed0ddad586e1d649046269c7e9177594869c187d8d1 SHA512 9d9a74218369f8094b292b8892e5f877ccec7d8912657491bb37da8e9ae4817f07a83fe401e33bbbdd2ac9c50c1440f3a021f93d85999b43df4849b0a04049cf DIST trojan-1.12.3.tar.gz 41786 BLAKE2B f6306210a46316906b919fefb245a7c379ddcf785513bfbc3b8fc6a9c78e1c8cf22069533f58086fb4ffad05b625ab2b2fcacf2256520833ea49c0f307cee296 SHA512 f59afa28446dfef8680d7530aaff3609566b2873416bb11f8981ef111f63ed8deeacb2093373012547ede02dfb9beb8d92655b8f9ebafd6012c45b3ce787c22f DIST trojan-1.13.0.tar.gz 44579 BLAKE2B 87aba58687fa5f42385893b8d919a46428b7d3cdbd2da38ee3e96900c11a6a3df7778c2a54295d5abb1964991d2d30433c4b37e70a9ca4ba184005d338bbed74 SHA512 5904ff75d348e9ccdd451836b1b05df6736e22530643d67a192e393fe32623576e0bbc106c883b6bc32daa2a086d5a7e42f836d684b66fc0deca019b14e3b3ab +DIST trojan-1.14.1.tar.gz 45884 BLAKE2B 2498476f7e1a2190e21d85b2572fbc91a77b50f9f2adc2d3c3c5cef2554da17f322fbdb23232a55c66c38a4f680175f5c2aa87cefc25853b2007de4bb8bac84d SHA512 c8fcdae584e742d958c896e3a18605f22073341a8227a1d7cb116e9f2ddadd6e5007bfe40ff765d564f8659cd9e9d11731d95a5c74459b0698cc48dac49ead19 EBUILD trojan-1.10.0.ebuild 1017 BLAKE2B 7f946e5d93d6637a0de5850b97c841abb5053eae85d4edf539a63779670c643507463c71ffe23d9b56ebac04dee2a674324fe1da9ed5dc98dee6c2a86bb6ee25 SHA512 1058ceedc28c35f385352db9fb63c3b9ad566c2d24b2cfd7233ac48e801b9adc968d91fe79b62fa7eee49f5fbc46299062a2cadecdca7501bf0295ee886808ca EBUILD trojan-1.12.3.ebuild 952 BLAKE2B 29b89597e886409b80feb112edb8446d594d8b54a097f75c5bd3e4c9fd6cc946bf96bc8c51644006f134aae370692f6e0a1c5ecfd47f0e078a66c09353011ccf SHA512 a755aabb7cadf51614069261bc8026a5a2cb264df654d9b9b0bf04f8beadc0cecff9f3df7d6f4b5e2cef10356470242c4b31c56ba4e5b5eb9b6adfbcd7f05f09 EBUILD trojan-1.13.0.ebuild 982 BLAKE2B ede4d5b6092f26415ebe3b4648a17c45414f945cdf7240eccd4b8568e12e0bbcfa3c0840e0f59606979a43bff606969c72ecaad5bc39103e316bb4872a3447d9 SHA512 18df4cf86d54b8566144cba94906f082b2841a2147756537b21fcaabb37d87dd1f66378420d0d098a7f819631394c1d36c5c8cff0d949ae0d98699bcfb524d4e +EBUILD trojan-1.14.1.ebuild 982 BLAKE2B ede4d5b6092f26415ebe3b4648a17c45414f945cdf7240eccd4b8568e12e0bbcfa3c0840e0f59606979a43bff606969c72ecaad5bc39103e316bb4872a3447d9 SHA512 18df4cf86d54b8566144cba94906f082b2841a2147756537b21fcaabb37d87dd1f66378420d0d098a7f819631394c1d36c5c8cff0d949ae0d98699bcfb524d4e MISC metadata.xml 1023 BLAKE2B cea392d59eea944198e523e0dfdab0325180568d9f3f39e40fc7c94c43a1c8b9811e787da5174f4f0b85d932778b34dcf4a07afccc4cf02972de57e7a3004ad4 SHA512 b1a1a6bdb8ea7d62bce25a439753c85e5e340be804ac8a71a3fbbd4f671270c174f9db77b72c2d00cdc1ede7cea6f7a86d2401e6cb8c8f9e395573c9216dfa4b diff --git a/net-proxy/trojan/trojan-1.14.1.ebuild b/net-proxy/trojan/trojan-1.14.1.ebuild new file mode 100644 index 000000000000..aa4fa9f95beb --- /dev/null +++ b/net-proxy/trojan/trojan-1.14.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_6,3_7} ) + +inherit cmake python-any-r1 systemd + +DESCRIPTION="An unidentifiable mechanism that helps you bypass GFW" +HOMEPAGE="https://github.com/trojan-gfw/trojan" +SRC_URI="https://github.com/trojan-gfw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="mysql test" + +# Some hiccups setting up local network server. +RESTRICT="test" + +RDEPEND=" + >=dev-libs/boost-1.66.0:= + dev-libs/openssl:0= + mysql? ( dev-db/mysql-connector-c:= ) +" +DEPEND="${RDEPEND} + test? ( net-misc/curl ${PYTHON_DEPS} ) +" + +src_configure() { + local mycmakeargs=( + -DENABLE_MYSQL=$(usex mysql) + -DSYSTEMD_SERVICE=ON + -DSYSTEMD_SERVICE_PATH=$(systemd_get_systemunitdir) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + newinitd "${FILESDIR}/trojan.initd" trojan +} + +src_test() { + cmake_src_test -j1 +} diff --git a/net-proxy/tsocks/Manifest b/net-proxy/tsocks/Manifest index 31ea919cbcbb..75aadf74c4ca 100644 --- a/net-proxy/tsocks/Manifest +++ b/net-proxy/tsocks/Manifest @@ -7,6 +7,6 @@ AUX tsocks-1.8_beta5-rename.patch 3104 BLAKE2B 6eec6173d8bd4cbb2e4b78096521abbfc DIST tsocks-1.8b5-tordns1-gentoo-r3.patch.xz 18468 BLAKE2B 6e786a2a5cbf37bce743aa2f934884fd7ba3abcb0c675d9cb61a0c8ab078cde1eb96a11bf8b2acf102a9637c78654e519e186a7558a3af496eaf86c0d65bd51c SHA512 86cbc7a8733e9f9e19e0924d2a2b8481a66eb67a8d548b90c7bd02cc6ae42064a295ee6a002cf19a7b3d7d811388db2a34b641d9dbe239f4c0bc8a1f78c90682 DIST tsocks-1.8b5-tordns1-gentoo-r4.patch.xz 18464 BLAKE2B 99bd4c210c2fa4c797c4d827df4ae53d13198b91083975b9f6d327bd762193663c1a0c8530ea5e65e82d54ccf6900a11aba50e19a2fb6209e0e8f1131985374b SHA512 711b2e3f5ac9b1a4fd63e32b6cb8090066ece8882e2ec0048bee6cba868712c80ca7f601f79405be40404af625c2ff6fefa8cba98b8a6ced95abe6becf34954f DIST tsocks-1.8beta5.tar.gz 83928 BLAKE2B a58b4866154deb72b551961578f90b270a7cc1fd2c5b4c08a5ddf99472e3c8e338cc9116c0c9d2d2e1e1c350a077b46cd08fb24390156eb1e60c4d7a10510e6d SHA512 b41636ea6b77abf0d1e3cda7bbca4e7ee96f3cdb1843f3a2c530650931e5567f67921de67b28ba9bab0f51df39770a3f7fb458cf7ac78aad7aa861923df2c4a9 -EBUILD tsocks-1.8_beta5-r8.ebuild 2221 BLAKE2B 0e5364aaf9c19fa08bdff3f7b8e2ec5013864b743496afc1f1492454642ea2e2a7ade013a1ffb6ccfcb3a43d60a619d6c62a077ec504661c54ade007d5e713f9 SHA512 01ad2ca715d7c7ee71b8384d66f5de019215a94af07417554f88739546c73fc8f367e561d1d7400a315c06676c327ed7c24e59b08b4c07207a874f3b56978e38 +EBUILD tsocks-1.8_beta5-r8.ebuild 2222 BLAKE2B 86825ed1e1896f55d157d77f7af6d76acc6049b407dbfe79f2e311b1839da922be9fd2f08025b8de2b0cc067b8fbf618557dc8814c5378dc19278694af1b5429 SHA512 06b556c9a16208cad7cb6da7adae176dffe38881bd99a7f69b874f89d55b34d8d97adf68140892d66bbaeb10c01bff113950d5a66f291d26162e17c270b97b6c EBUILD tsocks-1.8_beta5-r9.ebuild 2275 BLAKE2B 1c89df1695f66419789d78f662d9c1ff4c93ea81b24c4ca35caaf8f8b784e30b7b98e18c67ba4194ae4f90f127b3b7f394fb111019ad1d1abb8df5b910ee0896 SHA512 84fc660e61324957429bd5d61df6d101b009f1ffc9957b9d2e267b28807e6e35b4375dd27cc027cad89929e7a5246c0b078f439357a7a1a582ebe0fedab63ab7 MISC metadata.xml 981 BLAKE2B 9fbeb51e30b15ddc223aa7d239f9e5d9a51fed44b5ea905dfe07c7f996410cfb09c0019730cf4d26cf7ec26aac1bd63ac5eca1025efaff4ad20dfdce90435fd9 SHA512 483a93183cdedf77df2dbefff201c35d36f755969e28c6fefc6a44cfb56b0464ed78dfa7100ccbb3519a8ae30322c1346fb0d4cf2b1cbfa79dded237aff22d73 diff --git a/net-proxy/tsocks/tsocks-1.8_beta5-r8.ebuild b/net-proxy/tsocks/tsocks-1.8_beta5-r8.ebuild index fd3e5d388802..8226a3edae64 100644 --- a/net-proxy/tsocks/tsocks-1.8_beta5-r8.ebuild +++ b/net-proxy/tsocks/tsocks-1.8_beta5-r8.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/tsocks/${PN}-${PV/_}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm ppc ppc64 sparc x86" IUSE="dns envconf tordns server-lookups" REQUIRED_USE=" -- cgit v1.2.3