diff --git a/Manifest.files.gz b/Manifest.files.gz
index d79400ada30d..0619512c4702 100644
Binary files a/Manifest.files.gz and b/Manifest.files.gz differ
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz
index 2f70cba58728..e2fc8da882af 100644
Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ
diff --git a/app-admin/metalog/metalog-20181125.ebuild b/app-admin/metalog/metalog-20181125.ebuild
index cf0229ce0bf6..3207814a7f06 100644
--- a/app-admin/metalog/metalog-20181125.ebuild
+++ b/app-admin/metalog/metalog-20181125.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/hvisage/${PN}/archive/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~x64-cygwin ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~x64-cygwin ~x86-fbsd"
IUSE="unicode"
RDEPEND=">=dev-libs/libpcre-3.4"
diff --git a/app-admin/puppet/files/puppet-fix-tests-6.4.1.patch b/app-admin/puppet/files/puppet-fix-tests-6.4.1.patch
new file mode 100644
index 000000000000..6b7b5b484792
--- /dev/null
+++ b/app-admin/puppet/files/puppet-fix-tests-6.4.1.patch
@@ -0,0 +1,18 @@
+--- spec/unit/network/http/api/indirected_routes_spec.rb 2018-09-17 19:36:56.000000000 -0500
++++ spec/unit/network/http/api/indirected_routes_spec.rb 2018-09-19 10:52:35.841614932 -0500
+@@ -144,15 +144,6 @@
+ handler.uri2indirection("GET", uri_escaped, params)
+ end
+
+- it "when the environment is unknown should remove :environment from params passed to check_authorization and therefore fail" do
+- expect(handler).to receive(:check_authorization).with(anything,
+- anything,
+- excluding(:environment))
+- expect(lambda { handler.uri2indirection("GET",
+- "#{master_url_prefix}/node/bar",
+- {:environment => 'bogus'}) }).to raise_error(not_found_error)
+- end
+-
+ it "should not URI unescape the indirection key as passed through to a call to check_authorization" do
+ expect(handler).to receive(:check_authorization).with(anything, anything, hash_including(environment: be_a(Puppet::Node::Environment).and(have_attributes(name: :env))))
+
diff --git a/app-admin/puppet/puppet-6.4.1.ebuild b/app-admin/puppet/puppet-6.4.1.ebuild
index 1d12aee25d2c..0fa5d7101201 100644
--- a/app-admin/puppet/puppet-6.4.1.ebuild
+++ b/app-admin/puppet/puppet-6.4.1.ebuild
@@ -67,7 +67,7 @@ all_ruby_prepare() {
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
# can't be run within portage.
- epatch "${FILESDIR}/puppet-fix-tests-6.0.0.patch"
+ epatch "${FILESDIR}/puppet-fix-tests-6.4.1.patch"
# fix systemd path
epatch "${FILESDIR}/puppet-systemd.patch"
diff --git a/app-admin/supervisor/Manifest b/app-admin/supervisor/Manifest
index 6c0decbd30f1..a57f9643ac8f 100644
--- a/app-admin/supervisor/Manifest
+++ b/app-admin/supervisor/Manifest
@@ -1,4 +1,4 @@
DIST supervisor-3.1.4.tar.gz 392321 BLAKE2B 316789fae200f02242a90d3a22a3c6486576f74dbab81b95efc72768a89c54999a370625f9589afe1edff08351840fbe27a7ef8674e6f1e3bbdd4237f3227df6 SHA512 7182db4169d37aa8f7a2a4e1d57ce40f6dea21759ed73fb49286dd5ffb2bdede0fccdc71344e93c8f8c067a2cbc4e3cb0a9a50b22bacdb1b8bc1378581ed5f07
DIST supervisor-3.3.5.tar.gz 421220 BLAKE2B 63e9db005596921c4a4426de361fc20992a27b67b67ee1256cd64fe6d385909682a5055e4797512410f36f6855592f53c9c5720c54a2dae967578691d05ff3fc SHA512 66c43d40c216e5c3120e083407c848295fa1e59d6d9da916a4bae5c37d4d13208c3bf7c0c8b8a5d570270eb44fac0b1bbcceddb2e84e4f3fc1b6241b43116af7
-DIST supervisor-4.0.0.tar.gz 432825 BLAKE2B 2eca01119f6bfd6bea728ea297424e6e08cc94cc8da78e53fc431013b83b5620a8c88f1a6ef0fcf5f57df46ad43f04215425bede83c02479731795b326dd27c4 SHA512 cca945179aaa16cd7042160b44a2d80e4a6aa388dcabd1572c6ed8610dc6af06cb446a18a5f8fa868a891482032380bf176c1331d9d09702d59fbf8b01651577
DIST supervisor-4.0.1.tar.gz 433742 BLAKE2B dc0683566c9b052c6a832e09eb6eba76890f07f5b67a1c129343ed3de31e5dc88777cfcb1b3c06a6a687160c172c3d83227765678c9c54239fbe57eb9b5ebd0a SHA512 e2e0e92ef1dba74ea4e3e70c2bd56b8a497d22db8123411f4f2019b45626606e90030577ae79aa8b81103c2f337c76d7516f94bb01e97172e2e541ec44d0f1b9
+DIST supervisor-4.0.2.tar.gz 434408 BLAKE2B 567e680c4b350e94c10be28ab25a16392a10f904fbc453c4d59132bb9e284b47e723834d5a34d803f4e54d5d17ce84b3e7e275d7f884c4d0e3ee05d50470008a SHA512 662bc1052276c2f54e0eeae820f9ae53e7f37150db21f0547be74b90455e213c9ca2b21e07079f1bd1740fae6e3d664edd3d27d57a0128828fc1a9c3627b3189
diff --git a/app-admin/supervisor/supervisor-4.0.0.ebuild b/app-admin/supervisor/supervisor-4.0.2.ebuild
similarity index 100%
rename from app-admin/supervisor/supervisor-4.0.0.ebuild
rename to app-admin/supervisor/supervisor-4.0.2.ebuild
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest
index 277d85c18fb2..ab9d231ded47 100644
--- a/app-admin/sysstat/Manifest
+++ b/app-admin/sysstat/Manifest
@@ -1,4 +1,5 @@
DIST sysstat-11.4.0.tar.xz 343968 BLAKE2B e34da8cf0216f66fad3ade0ed40e8ec3b7641f7568ebcce5bc3122f888c90885ece346bf7f4f8e71e92435257ee5c6c0e5a89913c0e22a0ad28fa1018a73ea71 SHA512 4a5c81d75fdbc8dcaf80685f302688c39bd7143554e5a06cb324532ddb5180caac19b261182d5320f40b317bdb1e81664887acc7cedfeb5a95dc6ad37a898604
DIST sysstat-12.0.3.tar.xz 603064 BLAKE2B 79666c16d7a18aa058f2b8c5e81a16e11a01ba94c809a924d4be6a37cdd67f8755a0112e7f227ceb35b1a4847348de0e6ec34ef3da62c2ea81fceb1590e292ea SHA512 b6f7d27981898faabf4349eb889a767e655ed797aa3f7fac3bdc99968bdb15ed2a7aa04acda610a014022bdc2aa7e603b1c413e0eb8d734db04675fcaa4561ca
-DIST sysstat-12.1.2.tar.xz 608304 BLAKE2B 18c259f4aa43cfd30e9ba62ad39712fef1b3c80ce79ddd8a5afc939d3cc99d94b994f78cea68fd751f3c12311442256f439a2483a817cc7cd0dcf03c952feba9 SHA512 622f1ed1949a156e4cc2451d246dc449afcf3ffc2414363ef14f8da8e1a307e3a28e5b4fd50813c3f6d810bcf112ed13ecc91edbcd0a8c3c626303f333785b83
+DIST sysstat-12.0.4.tar.gz 711554 BLAKE2B b671e185d70787f5773d6824a9838ddd5d5f537c66ac37895f88b6bbddbb78b4d81efa6f962e3b812d025b361ce388583811d4f199e1ffcfe1ba0f2119b6eb88 SHA512 0a47e2b692ac3317cfd72784f21cc03970d7673727c579d403895df0377d09836a1dc76ee5d99076f2c9347f033059d000d982f33ef915130c3a89afdd6dad96
DIST sysstat-12.1.3.tar.xz 553880 BLAKE2B cc520d294fbd38385b2f248721a33b0dd7d7beca422dcd3cc00a2a010b98850d65ceb03e8949b12426c5dc3726cb06f0d63ae30d2792808814b5c5e6912d1a14 SHA512 f264efe377b61d5f62b1ad2c14115bd22ada3a25f726bb362c3cb1a6d45f370642783d547339dc118bf34c6f3d015bba19e88043b0753f8ec6c314778456b726
+DIST sysstat-12.1.4.tar.gz 738031 BLAKE2B 6803a727bb67e5027400f684d9d93efa6ca22526a1363e04f8bce06a6cd300d4ebf7e02c8f9048fc25794974efa38117dacdf12831bee4bfd43fe40d0b34dbb6 SHA512 e60721408861045bcb1a52b170682df54631926bf4eef5a2709e25b1469c13377026bac3e51f5eeed11c7149b916c00bf5c06a2ff65d9c28063de1ae108b61c2
diff --git a/app-admin/sysstat/sysstat-12.0.3.ebuild b/app-admin/sysstat/sysstat-12.0.3.ebuild
index d5b74497593a..45e90330a0f9 100644
--- a/app-admin/sysstat/sysstat-12.0.3.ebuild
+++ b/app-admin/sysstat/sysstat-12.0.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit flag-o-matic multilib systemd toolchain-funcs
+inherit eutils flag-o-matic multilib systemd toolchain-funcs
DESCRIPTION="System performance tools for Linux"
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
diff --git a/app-admin/sysstat/sysstat-12.1.2.ebuild b/app-admin/sysstat/sysstat-12.0.4.ebuild
similarity index 90%
rename from app-admin/sysstat/sysstat-12.1.2.ebuild
rename to app-admin/sysstat/sysstat-12.0.4.ebuild
index d5b74497593a..b9ca3b9892bd 100644
--- a/app-admin/sysstat/sysstat-12.1.2.ebuild
+++ b/app-admin/sysstat/sysstat-12.0.4.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit flag-o-matic multilib systemd toolchain-funcs
+inherit eutils flag-o-matic multilib systemd toolchain-funcs
DESCRIPTION="System performance tools for Linux"
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
-SRC_URI="${HOMEPAGE}${P}.tar.xz"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/app-admin/sysstat/sysstat-12.1.4.ebuild b/app-admin/sysstat/sysstat-12.1.4.ebuild
new file mode 100644
index 000000000000..b9ca3b9892bd
--- /dev/null
+++ b/app-admin/sysstat/sysstat-12.1.4.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils flag-o-matic multilib systemd toolchain-funcs
+
+DESCRIPTION="System performance tools for Linux"
+HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="debug nls lm_sensors selinux static"
+
+CDEPEND="
+ nls? ( virtual/libintl )
+ lm_sensors? ( sys-apps/lm_sensors:= )
+"
+DEPEND="
+ ${CDEPEND}
+ nls? ( sys-devel/gettext )
+"
+RDEPEND="
+ ${CDEPEND}
+ selinux? ( sec-policy/selinux-sysstat )
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-11.0.4-cron.patch
+ "${FILESDIR}"/${PN}-11.7.3-flags.patch
+)
+
+SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
+
+src_prepare() {
+ if use nls; then
+ strip-linguas -i nls/
+ local lingua pofile
+ for pofile in nls/*.po; do
+ lingua=${pofile/nls\/}
+ lingua=${lingua/.po}
+ if ! has ${lingua} ${LINGUAS}; then
+ rm "nls/${lingua}.po" || die
+ fi
+ done
+ fi
+
+ default
+}
+
+src_configure() {
+ tc-export AR
+ use static && append-ldflags -static
+
+ sa_lib_dir=/usr/$(get_libdir)/sa \
+ conf_dir=/etc \
+ rcdir=${SYSSTAT_FAKE_RC_DIR} \
+ econf \
+ $(use_enable debug debuginfo) \
+ $(use_enable lm_sensors sensors) \
+ $(use_enable nls) \
+ --enable-copy-only \
+ --enable-documentation \
+ --enable-install-cron \
+ --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
+}
+
+src_install() {
+ keepdir /var/log/sa
+
+ emake \
+ CHOWN=true \
+ DESTDIR="${D}" \
+ DOC_DIR=/usr/share/doc/${PF} \
+ MANGRPARG='' \
+ install
+
+ dodoc -r contrib/
+
+ rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+ systemd_dounit ${PN}.service
+
+ rm -f "${D}"usr/share/doc/${PF}/COPYING
+}
diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest
index 48cc05c134e9..af26ebf2df13 100644
--- a/app-admin/systemrescuecd-x86/Manifest
+++ b/app-admin/systemrescuecd-x86/Manifest
@@ -1,4 +1,3 @@
DIST systemrescuecd-6.0.0.iso 931135488 BLAKE2B 82879883780ff11a35f2fe635a5ee1a268de590bac79326ac2c49c960cd18755b3c10548d65eb5fb7ce5749c00f5040bb10c5ad5b196e48033fb70e3ff466026 SHA512 9bd8c06338357882fd8e3f17ddfb918e1f69e25fff6460957f9c50d496ccc3d4501e39b4596e3f387e4f7a481c9b33d18ba18fb49d74f6d916a7c5997b24c03a
-DIST systemrescuecd-x86-5.1.2.iso 523479040 BLAKE2B abf6f1e3e05e382b48dcfd4ecde9f70896462418cf36057e3a42dc2366e0b56133deeb6f00363d15d94238c22fb8ac5c88b57ca6c213c9dcc299fa04def5e2cd SHA512 516e60632459dd5408f83035aa265ed4169b13f978a23960a85837c9c8b5bbab70776e22a6e6727184bd9df81cbbeff4a5819d5927ff0ff3a79036bc4c54cfdc
-DIST systemrescuecd-x86-5.2.2.iso 572006400 BLAKE2B 2cc95acc529ae8e0525664ffbdfefaf6e4513e8135fa6af120121b0b7930b0203bd17d5d70ccafacfe0064bb8615f45aa22b6e6e3fcee8a005a0315fd9b5cf62 SHA512 7dd1ccd63775e35f6589808416468c4a9314f4a7a5d0cb1f2bc34ffb9eef3a450b0da244dfc9e325d828c39404c0cdcce27cc990eade33762c17a1e32f8db9b5
+DIST systemrescuecd-6.0.3.iso 881852416 BLAKE2B ab1064237902542845e11869f7076a829e9593d29b8d106f0309c61a1371173cd5b3ef3fa3b84910cc81bcec485d27c8e297f269820aa96b0043df7c441121a2 SHA512 21b77e38999f56457a4c0a096eb58b2e74a8b376af33290b2e75995762e12a977435e8a9ed2ad9448799c3246d85f3bddfcafea020a1336b14f4f81644e06bb9
DIST systemrescuecd-x86-5.3.2.iso 585920512 BLAKE2B e68bb4e765359ac0e8124c9cb6090ed2ec9340a09e3ebafbcaa4acc175f8afe3985a57f193cd4be4192dfb23a6042a68328a29bbfb962f73fbe010c32d66e020 SHA512 c9da6a63556836bd38f7072b49a5408f2f9e5fa310dbae3f229c9b7af4fe6e073cdfc95b942bc1a6d9c42d41527fc54e8c6c15379082bc3ee0f025da80b01e5a
diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.1.2.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.1.2.ebuild
deleted file mode 100644
index 8fa41fc9f79e..000000000000
--- a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.1.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="The .iso image of SystemRescueCD rescue disk, x86 (+ amd64) variant"
-HOMEPAGE="http://www.sysresccd.org/"
-# Large ISO mirroring explicitly approved by infra in bug #588766
-SRC_URI="mirror://sourceforge/systemrescuecd/sysresccd-${PN#*-}/${PV}/${P}.iso"
-
-LICENSE="AGPL-3 Apache-2.0 APSL-2 Artistic Artistic-2 Atmel bh-luxi BitstreamVera boehm-gc BSD BSD-1 BSD-2 BSD-4 BZIP2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 CC-PD CDDL-Schily Clarified-Artistic CPL-1.0 EPL-1.0 FDL-1.1 FDL-1.2+ FDL-1.3 FDL-1.3+ FLTK freedist FTL GPL-1+ GPL-2 GPL-2+ GPL-2-with-font-exception GPL-3 GPL-3+ HPND icu IJG Info-ZIP inner-net ipw2100-fw ipw2200-fw ISC Kermit LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ libpng linux-firmware lsof man-pages man-pages-posix-2013 MIT MPL-1.1 MPL-2.0 netcat ngrep no-source-code NPL-1.1 OFL-1.1 Old-MIT openafs-krb5-a OPENLDAP openssl PCRE PSF-2 PSF-2.4 public-domain rc rdisc RSA Sleepycat SMAIL SSLeay symlinks tcltk tcp_wrappers_license unRAR vim wxWinLL-3 ZLIB ZSH || ( AFL-2.1 GPL-2 ) || ( BSD GPL-3 HIDAPI ) || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) || ( Ruby BSD-2 ) || ( Ruby GPL-2 ) || ( Ruby MIT ) || ( Ruby-BSD BSD-2 )"
-SLOT="${PV}"
-KEYWORDS="amd64 x86"
-IUSE="+isohybrid"
-
-DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )"
-
-S=${WORKDIR}
-
-RESTRICT="bindist mirror"
-
-src_install() {
- insinto "/usr/share/${PN%-*}"
- doins "${DISTDIR}/${P}.iso"
-
- if use isohybrid; then
- set -- isohybrid -u "${ED}usr/share/${PN%-*}/${P}.iso"
- echo "${@}"
- "${@}" || die "${*} failed"
- fi
-}
-
-pkg_postinst() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
-
- # no version newer than ours? we're the newest!
- if ! has_version ">${CATEGORY}/${PF}"; then
- ln -f -s -v "${P}.iso" "${f}" || die
- fi
-}
-
-pkg_postrm() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
-
- # if there is no version newer than ours installed
- if ! has_version ">${CATEGORY}/${PF}"; then
- # and we are truly and completely uninstalled...
- if [[ ! ${REPLACED_BY_VERSION} ]]; then
- # then find an older version to set the symlink to
- local newest_version=$(best_version "<${CATEGORY}/${PF}")
-
- if [[ ${newest_version} ]]; then
- # update the symlink
- ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
- else
- # last version removed? clean up the symlink
- rm -v "${f}" || die
- # and the parent directory
- rmdir "${f%/*}" || die
- fi
- fi
- fi
-}
diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.2.2.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.2.2.ebuild
deleted file mode 100644
index 3e37971f63a7..000000000000
--- a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.2.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="The .iso image of SystemRescueCD rescue disk, x86 (+ amd64) variant"
-HOMEPAGE="http://www.sysresccd.org/"
-# Large ISO mirroring explicitly approved by infra in bug #588766
-SRC_URI="mirror://sourceforge/systemrescuecd/sysresccd-${PN#*-}/${PV}/${P}.iso"
-
-LICENSE="AGPL-3 Apache-2.0 APSL-2 Artistic Artistic-2 Atmel bh-luxi BitstreamVera boehm-gc BSD BSD-1 BSD-2 BSD-4 BZIP2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 CC-PD CDDL-Schily Clarified-Artistic CPL-1.0 EPL-1.0 FDL-1.1 FDL-1.2+ FDL-1.3 FDL-1.3+ FLTK freedist FTL GPL-1+ GPL-2 GPL-2+ GPL-2-with-font-exception GPL-3 GPL-3+ HPND icu IJG Info-ZIP inner-net ipw2100-fw ipw2200-fw ISC Kermit LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ libpng linux-firmware lsof man-pages man-pages-posix-2013 MIT MPL-1.1 MPL-2.0 netcat ngrep no-source-code NPL-1.1 OFL-1.1 Old-MIT openafs-krb5-a OPENLDAP openssl PCRE PSF-2 PSF-2.4 public-domain rc rdisc RSA Sleepycat SMAIL SSLeay symlinks tcltk tcp_wrappers_license unRAR UoI-NCSA vim wxWinLL-3 ZLIB ZSH || ( AFL-2.1 GPL-2 ) || ( BSD GPL-3 HIDAPI ) || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) || ( Ruby BSD-2 ) || ( Ruby GPL-2 ) || ( Ruby MIT ) || ( Ruby-BSD BSD-2 )"
-SLOT="${PV}"
-KEYWORDS="amd64 x86"
-IUSE="+isohybrid"
-
-DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )"
-
-S=${WORKDIR}
-
-RESTRICT="bindist mirror"
-
-src_install() {
- insinto "/usr/share/${PN%-*}"
- doins "${DISTDIR}/${P}.iso"
-
- if use isohybrid; then
- set -- isohybrid -u "${ED}usr/share/${PN%-*}/${P}.iso"
- echo "${@}"
- "${@}" || die "${*} failed"
- fi
-}
-
-pkg_postinst() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
-
- # no version newer than ours? we're the newest!
- if ! has_version ">${CATEGORY}/${PF}"; then
- ln -f -s -v "${P}.iso" "${f}" || die
- fi
-}
-
-pkg_postrm() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
-
- # if there is no version newer than ours installed
- if ! has_version ">${CATEGORY}/${PF}"; then
- # and we are truly and completely uninstalled...
- if [[ ! ${REPLACED_BY_VERSION} ]]; then
- # then find an older version to set the symlink to
- local newest_version=$(best_version "<${CATEGORY}/${PF}")
-
- if [[ ${newest_version} ]]; then
- # update the symlink
- ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
- else
- # last version removed? clean up the symlink
- rm -v "${f}" || die
- # and the parent directory
- rmdir "${f%/*}" || die
- fi
- fi
- fi
-}
diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-6.0.3.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-6.0.3.ebuild
new file mode 100644
index 000000000000..7cfd100cadf5
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-6.0.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P=${P/-x86/}
+DESCRIPTION="The .iso image of SystemRescueCD rescue disk, amd64 variant"
+HOMEPAGE="http://www.sysresccd.org/"
+SRC_URI="https://osdn.net/projects/systemrescuecd/storage/releases/${PV}/${MY_P}.iso"
+
+LICENSE="Apache-1.0 Apache-2.0 Artistic Artistic-2 BEER-WARE BSD BSD-2 BSD-4 CC0-1.0 CC-BY-SA-3.0 FDL-1.3+ GPL-2 GPL-2+ GPL-3+ icu ISC JasPer2.0 LGPL-2+ LGPL-2.1+ LGPL-3+ linux-firmware MaxMind2 MIT MPL-1.1 MPL-2.0 no-source-code OFL Old-MIT OPENLDAP openssl PSF-2 public-domain Sleepycat unRAR UoI-NCSA vim ZLIB"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+isohybrid"
+RESTRICT="bindist mirror"
+
+DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )"
+
+S=${WORKDIR}
+
+pkg_pretend() {
+ ewarn "Please note that starting with version 6.0.0, upstream has switched"
+ ewarn "to Arch Linux as base of their distribution, and running on 32-bit"
+ ewarn "systems is no longer supported."
+}
+
+src_unpack() { :; }
+
+src_install() {
+ insinto "/usr/share/${PN%-*}"
+ doins "${DISTDIR}/${MY_P}.iso"
+
+ if use isohybrid; then
+ set -- isohybrid -u "${ED%/}/usr/share/${PN%-*}/${MY_P}.iso"
+ echo "${@}"
+ "${@}" || die "${*} failed"
+ fi
+}
+
+pkg_postinst() {
+ local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+
+ # no version newer than ours? we're the newest!
+ if ! has_version ">${CATEGORY}/${PF}"; then
+ ln -f -s -v "${MY_P}.iso" "${f}" || die
+ fi
+}
+
+pkg_postrm() {
+ local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+
+ # if there is no version newer than ours installed
+ if ! has_version ">${CATEGORY}/${PF}"; then
+ # and we are truly and completely uninstalled...
+ if [[ ! ${REPLACED_BY_VERSION} ]]; then
+ # then find an older version to set the symlink to
+ local newest_version=$(best_version "<${CATEGORY}/${PF}")
+
+ if [[ ${newest_version} ]]; then
+ # update the symlink
+ ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
+ else
+ # last version removed? clean up the symlink
+ rm -v "${f}" || die
+ # and the parent directory
+ rmdir "${f%/*}" || die
+ fi
+ fi
+ fi
+}
diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz
index 45f70f8d6bfc..78344fb9c290 100644
Binary files a/app-arch/Manifest.gz and b/app-arch/Manifest.gz differ
diff --git a/app-arch/unrar/unrar-5.7.4.ebuild b/app-arch/unrar/unrar-5.7.4.ebuild
index 5f9fd5ccc82f..87339265603f 100644
--- a/app-arch/unrar/unrar-5.7.4.ebuild
+++ b/app-arch/unrar/unrar-5.7.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="unRAR"
# subslot = soname version
SLOT="0/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
diff --git a/app-backup/Manifest.gz b/app-backup/Manifest.gz
index b09530d84260..70a798340e50 100644
Binary files a/app-backup/Manifest.gz and b/app-backup/Manifest.gz differ
diff --git a/app-backup/bacula/bacula-5.2.13-r7.ebuild b/app-backup/bacula/bacula-5.2.13-r7.ebuild
index 5c90175fbb99..5f8d6be96216 100644
--- a/app-backup/bacula/bacula-5.2.13-r7.ebuild
+++ b/app-backup/bacula/bacula-5.2.13-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,7 +12,7 @@ MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Featureful client/server network backup suite"
-HOMEPAGE="http://www.bacula.org/"
+HOMEPAGE="https://www.bacula.org/"
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
LICENSE="AGPL-3"
diff --git a/app-backup/bacula/bacula-9.0.6-r4.ebuild b/app-backup/bacula/bacula-9.0.6-r4.ebuild
index bda740bbcd9b..f67ebadf7141 100644
--- a/app-backup/bacula/bacula-9.0.6-r4.ebuild
+++ b/app-backup/bacula/bacula-9.0.6-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -9,7 +9,7 @@ MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Featureful client/server network backup suite"
-HOMEPAGE="http://www.bacula.org/"
+HOMEPAGE="https://www.bacula.org/"
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
LICENSE="AGPL-3"
diff --git a/app-backup/bacula/bacula-9.0.8-r1.ebuild b/app-backup/bacula/bacula-9.0.8-r1.ebuild
index d37bd4142af2..0ea0135150c8 100644
--- a/app-backup/bacula/bacula-9.0.8-r1.ebuild
+++ b/app-backup/bacula/bacula-9.0.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -9,7 +9,7 @@ MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Featureful client/server network backup suite"
-HOMEPAGE="http://www.bacula.org/"
+HOMEPAGE="https://www.bacula.org/"
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
LICENSE="AGPL-3"
diff --git a/app-backup/bacula/bacula-9.2.1.ebuild b/app-backup/bacula/bacula-9.2.1.ebuild
index d29d80133393..7078d302e01e 100644
--- a/app-backup/bacula/bacula-9.2.1.ebuild
+++ b/app-backup/bacula/bacula-9.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,7 @@ MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Featureful client/server network backup suite"
-HOMEPAGE="http://www.bacula.org/"
+HOMEPAGE="https://www.bacula.org/"
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
LICENSE="AGPL-3"
diff --git a/app-backup/bacula/bacula-9.2.2-r1.ebuild b/app-backup/bacula/bacula-9.2.2-r1.ebuild
index 584865827b12..eedf7f28d1be 100644
--- a/app-backup/bacula/bacula-9.2.2-r1.ebuild
+++ b/app-backup/bacula/bacula-9.2.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,7 @@ MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Featureful client/server network backup suite"
-HOMEPAGE="http://www.bacula.org/"
+HOMEPAGE="https://www.bacula.org/"
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
LICENSE="AGPL-3"
diff --git a/app-backup/bacula/bacula-9.2.2.ebuild b/app-backup/bacula/bacula-9.2.2.ebuild
index 4d4577e24ba1..df22d058de95 100644
--- a/app-backup/bacula/bacula-9.2.2.ebuild
+++ b/app-backup/bacula/bacula-9.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,7 @@ MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Featureful client/server network backup suite"
-HOMEPAGE="http://www.bacula.org/"
+HOMEPAGE="https://www.bacula.org/"
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
LICENSE="AGPL-3"
diff --git a/app-backup/bacula/bacula-9.4.1-r1.ebuild b/app-backup/bacula/bacula-9.4.1-r1.ebuild
index e777f2a550f2..7cd85d81e5c7 100644
--- a/app-backup/bacula/bacula-9.4.1-r1.ebuild
+++ b/app-backup/bacula/bacula-9.4.1-r1.ebuild
@@ -9,7 +9,7 @@ MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Featureful client/server network backup suite"
-HOMEPAGE="http://www.bacula.org/"
+HOMEPAGE="https://www.bacula.org/"
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
LICENSE="AGPL-3"
diff --git a/app-backup/bacula/bacula-9.4.1.ebuild b/app-backup/bacula/bacula-9.4.1.ebuild
index c65e3c14a6f5..470df2887e2c 100644
--- a/app-backup/bacula/bacula-9.4.1.ebuild
+++ b/app-backup/bacula/bacula-9.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,7 @@ MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Featureful client/server network backup suite"
-HOMEPAGE="http://www.bacula.org/"
+HOMEPAGE="https://www.bacula.org/"
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
LICENSE="AGPL-3"
diff --git a/app-backup/bacula/bacula-9.4.2.ebuild b/app-backup/bacula/bacula-9.4.2.ebuild
index b342f18eb77c..0ec8c9e23520 100644
--- a/app-backup/bacula/bacula-9.4.2.ebuild
+++ b/app-backup/bacula/bacula-9.4.2.ebuild
@@ -9,7 +9,7 @@ MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Featureful client/server network backup suite"
-HOMEPAGE="http://www.bacula.org/"
+HOMEPAGE="https://www.bacula.org/"
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
LICENSE="AGPL-3"
diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz
index b5f1c4ff73e0..5ee56a73d823 100644
Binary files a/app-crypt/Manifest.gz and b/app-crypt/Manifest.gz differ
diff --git a/app-crypt/acme/acme-0.33.1-r1.ebuild b/app-crypt/acme/acme-0.33.1-r1.ebuild
new file mode 100644
index 000000000000..bfa507fa149c
--- /dev/null
+++ b/app-crypt/acme/acme-0.33.1-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=(python{2_7,3_5,3_6})
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/certbot/certbot.git"
+ inherit git-r3
+ S=${WORKDIR}/${P}/${PN}
+else
+ SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+ S=${WORKDIR}/certbot-${PV}/acme
+fi
+
+inherit distutils-r1
+
+DESCRIPTION="An implementation of the ACME protocol"
+HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
+ >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}]
+ dev-python/pyrfc3339[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.10[${PYTHON_USEDEP}]
+ >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+ doc? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ )
+ test? (
+ ${RDEPEND}
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ dev-python/tox[${PYTHON_USEDEP}]
+ )
+ >=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
+"
+
+src_compile() {
+ python_foreach_impl run_in_build_dir default
+ if use doc ; then
+ cd docs || die
+ sphinx-build -b html -d _build/doctrees . _build/html
+ fi
+}
+
+python_test() {
+ nosetests -w ${PN} || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+
+ distutils-r1_python_install_all
+}
diff --git a/app-crypt/acme/acme-9999.ebuild b/app-crypt/acme/acme-9999.ebuild
index 9df5e0dbdae0..bfa507fa149c 100644
--- a/app-crypt/acme/acme-9999.ebuild
+++ b/app-crypt/acme/acme-9999.ebuild
@@ -21,10 +21,11 @@ HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
LICENSE="Apache-2.0"
SLOT="0"
-IUSE="test"
+IUSE="doc test"
RDEPEND="
- >=dev-python/cryptography-1.2.3[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
+ >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}]
@@ -35,14 +36,33 @@ RDEPEND="
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
"
DEPEND="
+ doc? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ )
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ dev-python/tox[${PYTHON_USEDEP}]
)
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
"
+src_compile() {
+ python_foreach_impl run_in_build_dir default
+ if use doc ; then
+ cd docs || die
+ sphinx-build -b html -d _build/doctrees . _build/html
+ fi
+}
+
python_test() {
nosetests -w ${PN} || die
}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+
+ distutils-r1_python_install_all
+}
diff --git a/app-crypt/acme/metadata.xml b/app-crypt/acme/metadata.xml
index d18839cc8dac..d0f0d1620b50 100644
--- a/app-crypt/acme/metadata.xml
+++ b/app-crypt/acme/metadata.xml
@@ -6,6 +6,7 @@
Matthew Thode
+ acme
letsencrypt/letsencrypt
diff --git a/app-crypt/acmebot/Manifest b/app-crypt/acmebot/Manifest
new file mode 100644
index 000000000000..4b55640b4b68
--- /dev/null
+++ b/app-crypt/acmebot/Manifest
@@ -0,0 +1 @@
+DIST acmebot-2.3.0.tar.gz 64841 BLAKE2B 92bfb9a58722b9955fe908e2fcb1a3ee593bf87e3fdf3dc9564bcbe291b13c553ad426673c337a59344287da64c4ee5cffc734f8dfb60447f96d6234814f0167 SHA512 3951cc7138eb0b83bd802a2e0a221fa985209ba276028606d887b7d2eff84c35db034f4a3d8a6836b3ac149c6dbfa27b1ea47e864f549f8d88b758b40407c4f4
diff --git a/app-crypt/acmebot/acmebot-2.3.0.ebuild b/app-crypt/acmebot/acmebot-2.3.0.ebuild
new file mode 100644
index 000000000000..80bd249ecd73
--- /dev/null
+++ b/app-crypt/acmebot/acmebot-2.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=(python3_{5,6})
+EGIT_REPO_URI="https://github.com/plinss/${PN}.git"
+[[ $PV == 9999 ]] && _scm=git-r3
+
+inherit ${_scm} python-r1
+
+DESCRIPTION="Certificate manager bot using ACME protocol"
+HOMEPAGE="https://github.com/plinss/acmebot"
+if [[ $PV != 9999 ]]; then
+ SRC_URI="https://github.com/plinss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+[[ $PV != 9999 ]] && KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+CDEPEND="
+ >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}]
+ >=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/packaging-16.8[${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-17.5.0[${PYTHON_USEDEP}]
+ >=dev-python/pydns-3.1.0:3[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
+ >=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}]
+ >=app-crypt/acme-0.25.1[${PYTHON_USEDEP}]
+ "
+RDEPEND="${CDEPEND}"
+DEPEND=""
+
+src_install() {
+ dobin acmebot
+ python_replicate_script "${ED}"/usr/bin/acmebot
+ insinto /etc/logrotate.d
+ doins logrotate.d/acmebot
+ insinto /etc/acmebot
+ doins acmebot.example.json
+ dodoc README.rst
+}
diff --git a/app-crypt/acmebot/acmebot-9999.ebuild b/app-crypt/acmebot/acmebot-9999.ebuild
new file mode 100644
index 000000000000..80bd249ecd73
--- /dev/null
+++ b/app-crypt/acmebot/acmebot-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=(python3_{5,6})
+EGIT_REPO_URI="https://github.com/plinss/${PN}.git"
+[[ $PV == 9999 ]] && _scm=git-r3
+
+inherit ${_scm} python-r1
+
+DESCRIPTION="Certificate manager bot using ACME protocol"
+HOMEPAGE="https://github.com/plinss/acmebot"
+if [[ $PV != 9999 ]]; then
+ SRC_URI="https://github.com/plinss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+[[ $PV != 9999 ]] && KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+CDEPEND="
+ >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}]
+ >=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/packaging-16.8[${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-17.5.0[${PYTHON_USEDEP}]
+ >=dev-python/pydns-3.1.0:3[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
+ >=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}]
+ >=app-crypt/acme-0.25.1[${PYTHON_USEDEP}]
+ "
+RDEPEND="${CDEPEND}"
+DEPEND=""
+
+src_install() {
+ dobin acmebot
+ python_replicate_script "${ED}"/usr/bin/acmebot
+ insinto /etc/logrotate.d
+ doins logrotate.d/acmebot
+ insinto /etc/acmebot
+ doins acmebot.example.json
+ dodoc README.rst
+}
diff --git a/app-crypt/keynote/metadata.xml b/app-crypt/acmebot/metadata.xml
similarity index 64%
rename from app-crypt/keynote/metadata.xml
rename to app-crypt/acmebot/metadata.xml
index 6f49eba8f496..79d462e85571 100644
--- a/app-crypt/keynote/metadata.xml
+++ b/app-crypt/acmebot/metadata.xml
@@ -1,5 +1,7 @@
-
+
+ robbat2@gentoo.org
+
diff --git a/app-crypt/argon2/argon2-20171227-r1.ebuild b/app-crypt/argon2/argon2-20171227-r1.ebuild
index 9e970bdb94c7..324eff7a4d06 100644
--- a/app-crypt/argon2/argon2-20171227-r1.ebuild
+++ b/app-crypt/argon2/argon2-20171227-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${PV}.tar.gz -> ${P}
LICENSE="|| ( Apache-2.0 CC0-1.0 )"
SLOT="0/1"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-fbsd"
IUSE="static-libs"
S="${WORKDIR}/phc-winner-${P}"
diff --git a/app-crypt/keynote/Manifest b/app-crypt/keynote/Manifest
deleted file mode 100644
index 555feb16a0b9..000000000000
--- a/app-crypt/keynote/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST keynote-2.3.tar.gz 141930 BLAKE2B 9cbf18214ca8d39a09be149370b104989470d8040ea307b263451d0d0c74f4658f4620ac16d8f2a5310edca78555e6b8077d67c96941722cd0bc8afa923a2452 SHA512 c4f2f70718cf6092a9af82d6f6e1d8e24d03be9a938e2bde830b24794cd20610b8f647c552d46e37e840f1a1a432dc797b65548c4d39cdbaa65ec2d11f6cfefe
diff --git a/app-crypt/keynote/files/keynote-2.3-parallel-build.patch b/app-crypt/keynote/files/keynote-2.3-parallel-build.patch
deleted file mode 100644
index cf4b4926f79d..000000000000
--- a/app-crypt/keynote/files/keynote-2.3-parallel-build.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- keynote-2.3.orig/Makefile.in 2010-02-04 09:51:35.757096194 +0100
-+++ keynote-2.3/Makefile.in 2010-02-04 09:52:17.441137132 +0100
-@@ -86,9 +86,11 @@
-
- k.tab.c: keynote.y header.h keynote.h assertion.h config.h
- $(YACC) $(YACCFLAGS) keynote.y
-+k.tab.h: k.tab.c
-
- z.tab.c: keynote-ver.y keynote.h header.h config.h
- $(YACC) $(YACCFLAGS2) keynote-ver.y
-+z.tab.h: z.tab.c
-
- lex.kn.c: keynote.l k.tab.h header.h keynote.h assertion.h config.h
- $(LEX) $(LEXFLAGS) keynote.l
diff --git a/app-crypt/keynote/files/keynote-2.3-qa.patch b/app-crypt/keynote/files/keynote-2.3-qa.patch
deleted file mode 100644
index f6b1ff28cdb8..000000000000
--- a/app-crypt/keynote/files/keynote-2.3-qa.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Respect CFLAGS, LDFLAGS, and AR.
-
-The better way to fix AR would be to patch configure.in,
-but it is sufficiently old to fail with current autotools.
---- Makefile.in
-+++ Makefile.in
-@@ -27,7 +27,6 @@
- YACC = @YACC@
- SSLEAY = @SSLEAY@
- RM = @RM@
--AR = @AR@
- NROFF = @NROFF@
- TAR = @TAR@
- TRUE = @TRUE@
-@@ -41,10 +40,10 @@
- YACCFLAGS = -d -p kn -b k
- LEXFLAGS2 = -Pkv -s -i
- LEXFLAGS = -Cr -Pkn -s -i
--CFLAGS = -O2 -Wall # -g
- RMFLAGS2 = -rf
- RMFLAGS = -f
- NROFFFLAGS = -mandoc
-+LDFLAGS = @LDFLAGS@
-
- SSLCONF = testsuite/openssl.cnf
- SSLCERT = testsuite/test.cert.pem
-@@ -83,7 +82,7 @@
- $(RANLIB) $(TARGET)
-
- $(TARGET2): $(TARGET) $(OBJS2)
-- $(CC) $(CFLAGS) -o $(TARGET2) $(OBJS2) $(LIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET2) $(OBJS2) $(LIBS)
-
- k.tab.c: keynote.y header.h keynote.h assertion.h config.h
- $(YACC) $(YACCFLAGS) keynote.y
-@@ -131,7 +130,7 @@
- -keyout $(SSLKEY)
-
- test-sample: all $(OBJS3)
-- $(CC) $(CFLAGS) -o $(TARGET3) $(OBJS3) $(LIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET3) $(OBJS3) $(LIBS)
-
- test-sig: all $(SSLCERT) $(SSLKEY)
- $(SED) -e 's/--.*//' < $(SSLCERT) > $(SSLCERT).1
diff --git a/app-crypt/keynote/keynote-2.3-r3.ebuild b/app-crypt/keynote/keynote-2.3-r3.ebuild
deleted file mode 100644
index b4351b69e09b..000000000000
--- a/app-crypt/keynote/keynote-2.3-r3.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="The KeyNote Trust-Management System"
-HOMEPAGE="http://www1.cs.columbia.edu/~angelos/keynote.html"
-SRC_URI="http://www1.cs.columbia.edu/~angelos/Code/${P}.tar.gz"
-
-LICENSE="keynote"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="libressl ssl"
-
-RDEPEND="ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )"
-DEPEND="${RDEPEND}
- virtual/yacc"
-
-pkg_setup() {
- tc-export AR CC RANLIB
- # bug #448904
- export ac_cv_path_AR="$(type -p $(tc-getAR))"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-qa.patch
- epatch "${FILESDIR}"/${P}-parallel-build.patch
-}
-
-src_compile() {
- if use ssl; then
- emake
- else
- emake nocrypto
- fi
-}
-
-src_install() {
- dobin keynote
-
- dolib.a libkeynote.a
-
- insinto /usr/include
- doins keynote.h
-
- doman man/keynote.[1345]
- dodoc README HOWTO.add.crypto TODO
-}
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index 42303b1c0d38..a31fa77ad3f9 100644
Binary files a/app-editors/Manifest.gz and b/app-editors/Manifest.gz differ
diff --git a/app-editors/wily/wily-1.0-r2.ebuild b/app-editors/wily/wily-1.0-r2.ebuild
index 2b2d12f280df..18430e835c6b 100644
--- a/app-editors/wily/wily-1.0-r2.ebuild
+++ b/app-editors/wily/wily-1.0-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="${HOMEPAGE}${MY_P}.tar.gz"
LICENSE="Artistic"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
DEPEND="
dev-libs/9libs
diff --git a/app-emulation/Manifest.gz b/app-emulation/Manifest.gz
index 2e89efc211f2..fcbef0c58fbf 100644
Binary files a/app-emulation/Manifest.gz and b/app-emulation/Manifest.gz differ
diff --git a/app-emulation/fs-uae-launcher/Manifest b/app-emulation/fs-uae-launcher/Manifest
new file mode 100644
index 000000000000..694c0d62d899
--- /dev/null
+++ b/app-emulation/fs-uae-launcher/Manifest
@@ -0,0 +1 @@
+DIST fs-uae-launcher-2.8.3.tar.gz 8784242 BLAKE2B e54f73efde6563d9e4ab6b4f57cc73bca80d72d0ded4db67edc53dc344685889abf485df067541e8d635595ac5457ec456ded0306310b1ad95a3b3ef07e53bc3 SHA512 4eaa5979fe2e8f2c792d4878e9a9ad0a0433206aac42aa380d97aee21e4ba29a54caced2437b83357c2c4d2fab121bfb821fdb8a883ead971766866b02067a2d
diff --git a/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-German-ROMs.patch b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-German-ROMs.patch
new file mode 100644
index 000000000000..41843d5230f9
--- /dev/null
+++ b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-German-ROMs.patch
@@ -0,0 +1,21 @@
+--- a/fsgs/amiga/roms.py 2017-07-06 16:50:33.351036624 +0200
++++ b/fsgs/amiga/roms.py 2017-07-06 16:52:58.335040977 +0200
+@@ -11,6 +11,8 @@
+ # Kickstart v1.3 r34.5 (1987)(Commodore)(A500-A1000-A2000-CDTV)[!]
+ # Kickstart v1.3 r34.5 (1987)(Commodore)(A500-A1000-A2000-CDTV)[o] (patch)
+ "891e9a547772fe0c6c19b610baf8bc4ea7fcb785",
++ # kick13.rom - from Upgrade Commodore Amiga 500 (1989)
++ "90933936cce43ca9bc6bf375662c076b27e3c458",
+ ]
+
+ A500P_KICKSTARTS = [
+@@ -55,6 +57,9 @@
+
+ # Kickstart v3.1 r40.68 (1993)(Commodore)(A4000)[h Cloanto]
+ # "c3c481160866e60d085e436a24db3617ff60b5f9",
++
++ # Kickstart v3.1 r40.10 (15.7.93) from german A4000
++ "3b7f1493b27e212830f989f26ca76c02049f09ca",
+ ]
+
+ CD32_KICKSTARTS = [
diff --git a/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild
new file mode 100644
index 000000000000..8a1bab4b4578
--- /dev/null
+++ b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="PyQt5-based launcher for FS-UAE"
+HOMEPAGE="https://fs-uae.net/"
+SRC_URI="https://fs-uae.net/stable/${PV}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="lha"
+
+RDEPEND="
+ app-emulation/fs-uae
+ dev-python/pyopengl[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP},gui]
+ dev-python/six[${PYTHON_USEDEP}]
+ lha? ( dev-python/python-lhafile[${PYTHON_USEDEP}] )
+"
+
+DEPEND="
+ sys-devel/gettext
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-German-ROMs.patch
+)
+
+src_prepare() {
+ default
+
+ # Unbundle some libraries. Keep oyoyo IRC library because upstream
+ # is long dead and it's not worth packaging separately.
+ rm -r {OpenGL,six}/ || die
+ sed -i -r "/OpenGL|six/d" setup.py || die
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ local dir=${EPREFIX}/usr/share/${PN}
+ distutils-r1_python_install --install-lib="${dir}" --install-scripts="${dir}"
+ dosym ../share/${PN}/${PN} /usr/bin/${PN}
+
+ emake install-data DESTDIR="${D}" prefix="${EPREFIX}"/usr
+ mv "${ED}"/usr/share/doc/{${PN},${PF}} || die
+}
+
+pkg_postinst() {
+ elog "Some important information:"
+ elog
+ ewarn " - Do not use QtCurve, it will crash PyQt5!"
+ elog
+ elog " - By default, FS-UAE creates its directories under Documents/FS-UAE."
+ elog " If your Documents directory is not configured according to the XDG"
+ elog " user diretory spec, ~/FS-UAE will be used as a fallback."
+ elog
+ elog " - You can override this by putting the path to the desired base"
+ elog " directory in a special config file. The config file will be read"
+ elog " from ~/.config/fs-uae/base-dir by both FS-UAE and FS-UAE Launcher"
+ elog " if it exists."
+ elog
+ elog " Alternatively, you can start FS-UAE and/or FS-UAE Launcher with"
+ elog " --base-dir=/path/to/desired/dir"
+}
+
+pkg_postinst() { xdg_icon_cache_update; }
+pkg_postrm() { xdg_icon_cache_update; }
diff --git a/dev-libs/libmcal/metadata.xml b/app-emulation/fs-uae-launcher/metadata.xml
similarity index 50%
rename from dev-libs/libmcal/metadata.xml
rename to app-emulation/fs-uae-launcher/metadata.xml
index f0cf5708f1c8..84e4eb59046e 100644
--- a/dev-libs/libmcal/metadata.xml
+++ b/app-emulation/fs-uae-launcher/metadata.xml
@@ -2,10 +2,13 @@
- robbat2@gentoo.org
- Robin H. Johnson
+ chewi@gentoo.org
+ James Le Cuirot
- libmcal
+ FrodeSolheim/fs-uae-launcher
+
diff --git a/app-emulation/fs-uae/Manifest b/app-emulation/fs-uae/Manifest
new file mode 100644
index 000000000000..7ddd296728c4
--- /dev/null
+++ b/app-emulation/fs-uae/Manifest
@@ -0,0 +1 @@
+DIST fs-uae-2.8.3.tar.gz 5017047 BLAKE2B 3d921446381b56d39410e4d68291c1cb696abd5e1b25105bdcc367c07112e79197d8267cfcb21f3f844cf5ac0a02a19ebec76611f34e747c6d03fefc2858a020 SHA512 1ccab4329a6b678a97f336b963bfaf9ea26bccccba31c90f1b7a8c2a6d3a9f343f9095733be744d4357495c808216d32c08a2bd8ce05bba73017147616d5e8cf
diff --git a/app-emulation/fs-uae/files/fs-uae-2.8.3-libmpeg2.patch b/app-emulation/fs-uae/files/fs-uae-2.8.3-libmpeg2.patch
new file mode 100644
index 000000000000..660cd2fc9036
--- /dev/null
+++ b/app-emulation/fs-uae/files/fs-uae-2.8.3-libmpeg2.patch
@@ -0,0 +1,36 @@
+From 5937f7587de5b96cbab120e99b6ae3a0cd722c53 Mon Sep 17 00:00:00 2001
+From: James Le Cuirot
+Date: Fri, 19 Apr 2019 21:56:58 +0100
+Subject: [PATCH] Only run configure in libmpeg2 when using built-in version
+
+---
+ configure.ac | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 39958ad..941391a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -200,7 +200,7 @@ AS_IF([test "x$with_glew" = xyes], [
+ ])
+
+ AC_ARG_WITH(libmpeg2, AS_HELP_STRING(
+- [--without-libmpeg2], [or --with-libmpeg=builtin to use included version]))
++ [--without-libmpeg2], [or --with-libmpeg2=builtin to use included version]))
+ AM_CONDITIONAL([BUILTIN_LIBMPEG2], [test x$with_libmpeg2 = xbuiltin])
+ AS_IF([test "x$with_libmpeg2" != xno], [
+ AS_IF([test "x$with_libmpeg2" = xbuiltin], [
+@@ -776,7 +776,9 @@ OPT_FEATURE([A_ZIP], [zip], [zip],
+
+ AC_DEFINE([FPU_UAE], [1], [Define to 1])
+
+-AC_CONFIG_SUBDIRS([libmpeg2])
++AS_IF([test "x$with_libmpeg2" = xbuiltin], [
++ AC_CONFIG_SUBDIRS([libmpeg2])
++])
+
+ # Write Makefile
+
+--
+2.20.1
+
diff --git a/app-emulation/fs-uae/fs-uae-2.8.3.ebuild b/app-emulation/fs-uae/fs-uae-2.8.3.ebuild
new file mode 100644
index 000000000000..698c12210c57
--- /dev/null
+++ b/app-emulation/fs-uae/fs-uae-2.8.3.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools xdg-utils
+
+DESCRIPTION="Integrates the most accurate Amiga emulation code available from WinUAE"
+HOMEPAGE="https://fs-uae.net/"
+SRC_URI="https://fs-uae.net/stable/${PV}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="fmv glew"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/libpng:0=
+ media-libs/libsdl2[opengl]
+ media-libs/openal
+ virtual/opengl
+ x11-libs/libdrm
+ x11-libs/libX11
+ fmv? ( media-libs/libmpeg2 )
+ glew? ( media-libs/glew:0= )
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.8.3-libmpeg2.patch
+)
+
+src_prepare() {
+ default
+ AT_NO_RECURSIVE=1 eautoreconf
+
+ # Ensure bundled libraries are not used. GLee and Udis86 are unused
+ # regardless. Only FLAC headers are bundled and the library is never
+ # used? Lua is bundled but differs from upstream. We keep the
+ # default of disabling the Lua feature anyway as it is unfinished.
+ rm -r glee/ libmpeg2/ libudis86/ || die
+}
+
+src_configure() {
+ # Qt and Udis86 are unused.
+ econf \
+ --enable-a2065 \
+ --enable-action-replay \
+ --enable-aga \
+ --enable-arcadia \
+ --enable-bsdsocket \
+ --enable-caps \
+ --enable-cd32 \
+ --enable-cdtv \
+ --enable-codegen \
+ --enable-dms \
+ --enable-drivesound \
+ --enable-fdi2raw \
+ --enable-gfxboard \
+ --enable-jit \
+ --enable-jit-fpu \
+ --enable-ncr9x \
+ --enable-ncr \
+ --enable-netplay \
+ --enable-parallel-port \
+ --enable-prowizard \
+ --enable-qemu-cpu \
+ --enable-qemu-slirp \
+ --enable-savestate \
+ --enable-scp \
+ --enable-serial-port \
+ --enable-slirp \
+ --enable-softfloat \
+ --enable-uaenative \
+ --enable-uaenet \
+ --enable-uaescsi \
+ --enable-uaeserial \
+ --disable-udis86 \
+ --enable-vpar \
+ --enable-xml-shader \
+ --enable-zip \
+ --with-glad \
+ --without-qt \
+ $(use_with fmv libmpeg2) \
+ $(use_with glew)
+}
+
+src_install() {
+ default
+
+ # Needed for QEMU-UAE.
+ insinto /usr/include/uae
+ doins src/include/uae/{api,attributes,log,ppc,qemu,types}.h
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+
+ elog "Install app-emulation/fs-uae-launcher for a better graphical interface."
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+}
diff --git a/app-emulation/fs-uae/metadata.xml b/app-emulation/fs-uae/metadata.xml
new file mode 100644
index 000000000000..e92d93d760f7
--- /dev/null
+++ b/app-emulation/fs-uae/metadata.xml
@@ -0,0 +1,15 @@
+
+
+
+
+ chewi@gentoo.org
+ James Le Cuirot
+
+
+ FrodeSolheim/fs-uae
+
+
+
diff --git a/app-emulation/qemu/qemu-3.1.0-r4.ebuild b/app-emulation/qemu/qemu-3.1.0-r4.ebuild
index 3ec0c0b7df87..086555e1bbeb 100644
--- a/app-emulation/qemu/qemu-3.1.0-r4.ebuild
+++ b/app-emulation/qemu/qemu-3.1.0-r4.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} = *9999* ]]; then
SRC_URI=""
else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.xz"
- KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+ KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~x86-fbsd"
# Gentoo specific patchsets:
SRC_URI+=" https://dev.gentoo.org/~tamiko/distfiles/${P}-patches-r1.tar.xz"
diff --git a/app-emulation/spice-html5/Manifest b/app-emulation/spice-html5/Manifest
new file mode 100644
index 000000000000..0d427219c727
--- /dev/null
+++ b/app-emulation/spice-html5/Manifest
@@ -0,0 +1 @@
+DIST spice-html5-spice-html5-0.2.1.tar.gz 486871 BLAKE2B 4b44ad772ab5abf13e8d3fe7c651169b340c8978f4163b9b679046efaa554f86d5919d154f16262ea28ddb512ac55ea7b6651ae63f64cf6b69033d8306191dc3 SHA512 c6e17aa465da1a0b882184bb19f2560f43fd3b345fdc00ec71774c7aec37c3453fd87b2448202011e217dda21b602d20dd4d552d49d9a52b64cb91aff092eff7
diff --git a/app-emulation/spice-html5/metadata.xml b/app-emulation/spice-html5/metadata.xml
new file mode 100644
index 000000000000..86afbba5af5e
--- /dev/null
+++ b/app-emulation/spice-html5/metadata.xml
@@ -0,0 +1,15 @@
+
+
+
+
+ prometheanfire@gentoo.org
+ Matthew Thode
+
+
+ openstack@gentoo.org
+ Openstack
+
+
+ Spice Javascript client
+
+
diff --git a/app-emulation/spice-html5/spice-html5-0.2.1.ebuild b/app-emulation/spice-html5/spice-html5-0.2.1.ebuild
new file mode 100644
index 000000000000..96b0048f7bd7
--- /dev/null
+++ b/app-emulation/spice-html5/spice-html5-0.2.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Spice Javascript client"
+HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5"
+SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+# no compiling
+src_compile() {
+ true
+}
+
+src_install() {
+ insinto /usr/share/spice-html5
+ doins -r src apache.conf.sample spice.css spice.html spice_auto.html
+}
diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.26.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.2.26.ebuild
index d570db64999b..d5584316c421 100644
--- a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.26.ebuild
+++ b/app-emulation/virtualbox-additions/virtualbox-additions-5.2.26.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="mirror"
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.26.128414.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.2.26.128414.ebuild
index 262a996d74e0..59c9a9a87aba 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.26.128414.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-5.2.26.128414.ebuild
@@ -34,7 +34,7 @@ SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_am
LICENSE="GPL-2 PUEL"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
RESTRICT="mirror"
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.6.130049.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-6.0.6.130049.ebuild
index d3ff954fe250..0d68ba80c9dc 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.6.130049.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-6.0.6.130049.ebuild
@@ -258,9 +258,9 @@ src_install() {
}
pkg_postinst() {
+ xdg_icon_cache_update
xdg_desktop_database_update
-
- gnome2_icon_cache_update
+ xdg_mimeinfo_database_update
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
@@ -285,5 +285,7 @@ pkg_postinst() {
}
pkg_postrm() {
+ xdg_icon_cache_update
xdg_desktop_database_update
+ xdg_mimeinfo_database_update
}
diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.26.128414.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.26.128414.ebuild
index 12aa179d4984..f31f9f849a01 100644
--- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.26.128414.ebuild
+++ b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.26.128414.ebuild
@@ -25,7 +25,7 @@ SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpac
LICENSE="PUEL"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="mirror strip"
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.26.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.26.ebuild
index e7b4f774ef65..33e1e37307e5 100644
--- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.26.ebuild
+++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.26.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="X"
RDEPEND="
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.26.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.2.26.ebuild
index 1944f0a58099..c0ab27d0eef5 100644
--- a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.26.ebuild
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.2.26.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="pax_kernel"
RDEPEND="!=app-emulation/virtualbox-9999"
diff --git a/app-emulation/virtualbox/metadata.xml b/app-emulation/virtualbox/metadata.xml
index 0c28b5e71973..3a2ea79813a6 100644
--- a/app-emulation/virtualbox/metadata.xml
+++ b/app-emulation/virtualbox/metadata.xml
@@ -6,6 +6,7 @@
Lars Wendler
- texstudio
+ texstudio-org/texstudio
diff --git a/app-office/texstudio/texstudio-2.12.16_beta2.ebuild b/app-office/texstudio/texstudio-2.12.16_beta2.ebuild
new file mode 100644
index 000000000000..135aae51fe57
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.12.16_beta2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome2-utils prefix qmake-utils xdg-utils
+
+MY_PV="${PV/_/}"
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio"
+SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video"
+
+COMMON_DEPEND="
+ app-text/hunspell:=
+ app-text/poppler[qt5]
+ >=dev-libs/quazip-0.7.2[qt5(+)]
+ dev-qt/designer:5
+ dev-qt/qtcore:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtscript:5
+ dev-qt/qtsingleapplication[qt5(+),X]
+ dev-qt/qtsvg:5
+ dev-qt/qttest:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ sys-libs/zlib
+ x11-libs/libX11
+ x11-libs/libXext
+ video? ( media-libs/phonon[qt5(+)] )"
+RDEPEND="${COMMON_DEPEND}
+ app-text/ghostscript-gpl
+ app-text/psutils
+ media-libs/netpbm
+ virtual/latex-base"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_prepare() {
+ default
+ # TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
+
+ if use video; then
+ sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+ fi
+
+ sed \
+ -e '/qtsingleapplication.pri/d' \
+ -i ${PN}.pro || die
+
+ cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+ eprefixify ${PN}.pri
+}
+
+src_configure() {
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+}
+
+src_install() {
+ local i
+ for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
+ newicon -s ${i} utilities/${PN}${i}.png ${PN}.png
+ done
+ emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
diff --git a/app-portage/Manifest.gz b/app-portage/Manifest.gz
index b789dad3b611..34f9c73c3c93 100644
Binary files a/app-portage/Manifest.gz and b/app-portage/Manifest.gz differ
diff --git a/app-portage/gemato/gemato-14.0.ebuild b/app-portage/gemato/gemato-14.0.ebuild
index 833afe885248..ecb84bc3788d 100644
--- a/app-portage/gemato/gemato-14.0.ebuild
+++ b/app-portage/gemato/gemato-14.0.ebuild
@@ -18,11 +18,11 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
IUSE="+blake2 bzip2 +gpg lzma sha3 test tools"
MODULE_RDEPEND="
- blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )
+ blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_5} pypy{,3}) )
bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' python2_7 pypy) )
gpg? ( app-crypt/gnupg )
lzma? ( $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) )
- sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )"
+ sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_5} pypy{,3}) )"
RDEPEND="${MODULE_RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/app-portage/gemato/gemato-14.0m.ebuild b/app-portage/gemato/gemato-14.0m.ebuild
index 435a45db1f2b..318a72bafc86 100644
--- a/app-portage/gemato/gemato-14.0m.ebuild
+++ b/app-portage/gemato/gemato-14.0m.ebuild
@@ -21,11 +21,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~s
IUSE="+blake2 bzip2 +gpg lzma sha3 test tools"
MODULE_RDEPEND="
- blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )
+ blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_5} pypy{,3}) )
bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' python2_7 pypy) )
gpg? ( app-crypt/gnupg )
lzma? ( $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) )
- sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )"
+ sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_5} pypy{,3}) )"
RDEPEND="${MODULE_RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/app-portage/gemato/gemato-9999.ebuild b/app-portage/gemato/gemato-9999.ebuild
index 4615e46753a8..eadfa2181db3 100644
--- a/app-portage/gemato/gemato-9999.ebuild
+++ b/app-portage/gemato/gemato-9999.ebuild
@@ -19,11 +19,11 @@ KEYWORDS=""
IUSE="+blake2 bzip2 +gpg lzma sha3 test tools"
MODULE_RDEPEND="
- blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )
+ blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_5} pypy{,3}) )
bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' python2_7 pypy) )
gpg? ( app-crypt/gnupg )
lzma? ( $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) )
- sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )"
+ sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_5} pypy{,3}) )"
RDEPEND="${MODULE_RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/app-portage/gemato/gemato-9999m.ebuild b/app-portage/gemato/gemato-9999m.ebuild
index b86cc50fd41b..d07e16ce862d 100644
--- a/app-portage/gemato/gemato-9999m.ebuild
+++ b/app-portage/gemato/gemato-9999m.ebuild
@@ -20,11 +20,11 @@ KEYWORDS=""
IUSE="+blake2 bzip2 +gpg lzma sha3 test tools"
MODULE_RDEPEND="
- blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )
+ blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_5} pypy{,3}) )
bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' python2_7 pypy) )
gpg? ( app-crypt/gnupg )
lzma? ( $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) )
- sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )"
+ sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_5} pypy{,3}) )"
RDEPEND="${MODULE_RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/app-portage/pram/Manifest b/app-portage/pram/Manifest
index e562597a082f..0bfe13f13609 100644
--- a/app-portage/pram/Manifest
+++ b/app-portage/pram/Manifest
@@ -1 +1,2 @@
DIST pram-3.tar.gz 4334 BLAKE2B f06f9cfe938f83702baaa8f8bee06937e8790e533e14ab419251934d0f4300ee75d5377a4f4e0e47a774bd3c25ef31236d7e451b929cfbfe8343d226a311ca2d SHA512 526149523b748b57095ecb3eb23f6808ab57ee1d8dc60e27067931d269ce3465ad8a0e54e8edaa3a1f74fd0a8dd135fe4a92779382ba6e367112016bc254fc98
+DIST pram-4.tar.gz 4406 BLAKE2B c01a8d322f7449398ed0264c9ed4108ac9fc697ef68e5dfc035fb20a53f5c5f9a42e9155937a4b6b6722816779c71dbe4558e7e60e8c19dcf961667996380802 SHA512 00a1f4e0cc07c5b61026e42350212cc55a66b6597082ee677bc905f9bfd0f5692a830c62f15a66a5ba42942449f40b92544f740344ad1d064bebc667c6f730e1
diff --git a/app-portage/pram/metadata.xml b/app-portage/pram/metadata.xml
index af57dcce87b9..6dde7de270a0 100644
--- a/app-portage/pram/metadata.xml
+++ b/app-portage/pram/metadata.xml
@@ -5,6 +5,7 @@
mgorny@gentoo.org
Michał Górny
+
mgorny@gentoo.org
diff --git a/app-portage/pram/pram-3.ebuild b/app-portage/pram/pram-3.ebuild
index d5151395d54a..b62f6ee8e34a 100644
--- a/app-portage/pram/pram-3.ebuild
+++ b/app-portage/pram/pram-3.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/mgorny/pram/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND="dev-vcs/git
diff --git a/app-portage/pram/pram-4.ebuild b/app-portage/pram/pram-4.ebuild
new file mode 100644
index 000000000000..d5151395d54a
--- /dev/null
+++ b/app-portage/pram/pram-4.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Tool to ease merging Pull Requests and git patches"
+HOMEPAGE="https://github.com/mgorny/pram"
+SRC_URI="https://github.com/mgorny/pram/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-vcs/git
+ net-misc/wget[ssl]
+ virtual/editor
+ !dev-perl/Gentoo-App-Pram"
+
+src_install() {
+ dobin pram
+ doman pram.1
+ einstalldocs
+}
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz
index 707494af728f..35b08c53e865 100644
Binary files a/app-text/Manifest.gz and b/app-text/Manifest.gz differ
diff --git a/app-text/asciidoc/Manifest b/app-text/asciidoc/Manifest
index 81acc843cdfa..31865ddc7063 100644
--- a/app-text/asciidoc/Manifest
+++ b/app-text/asciidoc/Manifest
@@ -1,2 +1,3 @@
DIST asciidoc-8.6.10.tar.gz 577208 BLAKE2B 320724c3e2306e14212a4e32f09fb735861f9b0126ce86695c6b5840b69f94d0e5befbbfc355006a10d13d34e8ed3582f0bfb678744654a7d2040555016b1681 SHA512 6ecc86977baaf1c756691e3f661e43ef2bb24e606898f6075bfa6f174d1fdc5e77d00853ffe014847e295364349d6ad34f3b8209cb97870e0233012fc38a281a
+DIST asciidoc-8.6.10_p20181016.tar.gz 576694 BLAKE2B 4d255606675346d00ab03398bf48cb30d357f9f9366944e4faf66ae4c96dafce49acdd930fc848f3dbb2d704a004bb5815d17b53416a76c8368a92e4716328b2 SHA512 801f360b0c444e932f1c50897d446de0ec3f0fb2206080b5aa6dda396fede96065f7bb629a84c8a8e40c5d8897f305fdb1877512f04ae757f3b142fd3a7305d0
DIST asciidoc-8.6.9.tar.gz 907253 BLAKE2B 45db42abd9ec73f6d3b20fc755bdd501eab1503bd8d5d6bb6b7d66c442cf8bcd47ee4325dbb572bdcfd01168ef1bccc3430ee7c545e7b3a6715b8ebf09516ad9 SHA512 1984482010dbd35c3a1def67f4915ce83ecfc29a7463f84aa312107d7a9ff647978f57615462c65e885bea424eed89a212df728cc3acd3c63df1c763dfa5e955
diff --git a/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild b/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild
new file mode 100644
index 000000000000..bd7dd809d779
--- /dev/null
+++ b/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} pypy3 )
+
+inherit autotools python-single-r1 readme.gentoo-r1
+
+DESCRIPTION="A plain text human readable/writable document format"
+HOMEPAGE="http://asciidoc.org/ https://github.com/asciidoc/asciidoc-py3/"
+MY_COMMIT="618f6e6f6b558ed1e5f2588cd60a5a6b4f881ca0"
+SRC_URI="https://github.com/${PN}/${PN}-py3/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="examples graphviz highlight test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ app-text/docbook-xml-dtd:4.5
+ >=app-text/docbook-xsl-stylesheets-1.75
+ dev-libs/libxslt
+ dev-libs/libxml2
+ ${PYTHON_DEPS}
+ graphviz? ( media-gfx/graphviz )
+ highlight? (
+ || (
+ dev-util/source-highlight
+ dev-python/pygments[${PYTHON_USEDEP}]
+ app-text/highlight
+ )
+ )"
+DEPEND="
+ test? (
+ app-text/dvipng
+ dev-texlive/texlive-latex
+ dev-util/source-highlight
+ media-gfx/graphviz
+ media-gfx/imagemagick
+ media-sound/lilypond
+ ${PYTHON_DEPS}
+ )"
+
+DOC_CONTENTS="
+If you are going to use a2x, please also look at a2x(1) under
+REQUISITES for a list of runtime dependencies.
+"
+
+S="${WORKDIR}/${PN}-py3-${MY_COMMIT}"
+
+src_prepare() {
+ default
+ # Only needed for prefix - harmless (does nothing) otherwise
+ sed -i -e "s:^CONF_DIR=.*:CONF_DIR='${EPREFIX}/etc/asciidoc':" \
+ "${S}/asciidoc.py" || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --sysconfdir="${EPREFIX}"/usr/share
+}
+
+src_test() {
+ local -x ASCIIDOC_PY=asciidoc.py
+ "${EPYTHON}" tests/test${PN}.py update || die
+ "${EPYTHON}" tests/test${PN}.py run || die
+}
+
+src_install() {
+ default
+ python_fix_shebang "${ED}"/usr/bin/*.py
+
+ readme.gentoo_create_doc
+ dodoc BUGS.txt CHANGELOG.txt README.asciidoc docbook-xsl/asciidoc-docbook-xsl.txt \
+ dblatex/dblatex-readme.txt filters/code/code-filter-readme.txt
+
+ # Below results in some files being installed twice in different locations, but they are
+ # in the right place, uncompressed, and there won't be any broken links. See bug #483336
+ if use examples; then
+ # examples/website is full of relative symlinks,
+ # deref them for copying, which dodoc doesn't do
+ cp -rL examples/website "${ED%/}"/usr/share/doc/${PF}/examples || die
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/app-text/ghostscript-gpl/files/ghostscript-gpl-9.25-no-gtk3.patch b/app-text/ghostscript-gpl/files/ghostscript-gpl-9.25-no-gtk3.patch
deleted file mode 100644
index 34cc2ec88c14..000000000000
--- a/app-text/ghostscript-gpl/files/ghostscript-gpl-9.25-no-gtk3.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From a73071b87a61acf1237da5ad9da59bae9316fb8c Mon Sep 17 00:00:00 2001
-From: Chris Liddell
-Date: Mon, 8 Oct 2018 09:24:22 +0100
-Subject: [PATCH] Bug 699907: Reinstate GTK+ 2.x.x code.
-
-The fix (from March 2018) for deprecated API calls in the GTK+ 3.x.x API
-didn't account for the new, supported methods not being available in
-GTK+ 2.x.x. Handle both cases, as we do elsewhere.
----
- psi/dxmain.c | 8 +++++++-
- 1 file changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/psi/dxmain.c b/psi/dxmain.c
-index 72c060e..250269a 100644
---- a/psi/dxmain.c
-+++ b/psi/dxmain.c
-@@ -354,17 +354,23 @@ static void window_resize(IMAGE *img)
- #endif
-
- if (!visible) {
-- guint width, height;
- /* We haven't yet shown the window, so set a default size
- * which is smaller than the desktop to allow room for
- * desktop toolbars, and if possible a little larger than
- * the image to allow room for the scroll bars.
- * We don't know the width of the scroll bars, so just guess. */
-+#if !GTK_CHECK_VERSION(3, 0, 0)
-+ gtk_window_set_default_size(GTK_WINDOW(img->window),
-+ min(gdk_screen_width()-96, img->width+24),
-+ min(gdk_screen_height()-96, img->height+24));
-+#else
-+ guint width, height;
- width = gtk_widget_get_allocated_width (img->window) - 96;
- height = gtk_widget_get_allocated_height (img->window) - 96;
- gtk_window_set_default_size(GTK_WINDOW(img->window),
- min(width, img->width+24),
- min(height, img->height+24));
-+#endif
- }
- }
-
---
-2.9.1
diff --git a/app-text/msort/msort-8.53.ebuild b/app-text/msort/msort-8.53.ebuild
index d401053463c1..260beb77ff32 100644
--- a/app-text/msort/msort-8.53.ebuild
+++ b/app-text/msort/msort-8.53.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,7 @@ DESCRIPTION="A program for sorting files in sophisticated ways"
HOMEPAGE="https://billposer.org/Software/msort.html"
SRC_URI="https://billposer.org/Software/Downloads/${P}.tar.bz2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
LICENSE="GPL-3 LGPL-3"
SLOT="0"
IUSE="heap +icu +libuninum"
diff --git a/app-text/pinfo/Manifest b/app-text/pinfo/Manifest
index 7b4a67ec27e2..f6fcb600816c 100644
--- a/app-text/pinfo/Manifest
+++ b/app-text/pinfo/Manifest
@@ -1 +1,2 @@
DIST pinfo-0.6.10.tar.bz2 133059 BLAKE2B aaac23583510f42ac8a0c71a380f2bc76c4db6d78518bb4d5399c100bf0aec291c869576b18313e00f8572610cb967c3acb5f8d643c48f1295fd2efa8e16e3e6 SHA512 d3aeb93a668b939a2be7dd397ef5c918a8d108a1a7613ce39d4ef2faafbd549582a35d95c74c1dc74f4c86c9f2bf09b7bca7b5006c5a79302403dd906e8d376e
+DIST pinfo-0.6.13.tar.gz 157103 BLAKE2B 18af4a5ae1bbd2abccb174ce1a3a16e4d17207a10015042723c58f80695c2580ca0c1c60f4f6f4f08e67eb01316fe48cd848a887e65159a6cd4463eca14bdecd SHA512 739e24821a363a087fb9df5651694f051286d4a15c3e51f2421a2aa60b1efe1da558b959ba22a0094e22854534ea5875498156e8ea2e198e31001aecab1a18df
diff --git a/app-text/pinfo/pinfo-0.6.10-r6.ebuild b/app-text/pinfo/pinfo-0.6.13.ebuild
similarity index 53%
rename from app-text/pinfo/pinfo-0.6.10-r6.ebuild
rename to app-text/pinfo/pinfo-0.6.13.ebuild
index 244a97c87c72..7ea70501a526 100644
--- a/app-text/pinfo/pinfo-0.6.10-r6.ebuild
+++ b/app-text/pinfo/pinfo-0.6.13.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools eutils flag-o-matic
+EAPI=7
+inherit autotools flag-o-matic
DESCRIPTION="Hypertext info and man viewer based on (n)curses"
-HOMEPAGE="http://pinfo.alioth.debian.org/"
-SRC_URI="https://alioth.debian.org/frs/download.php/3351/${P}.tar.bz2"
+HOMEPAGE="https://github.com/baszoetekouw/pinfo"
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -27,34 +27,23 @@ DEPEND="
nls? ( sys-devel/gettext )
"
PATCHES=(
- "${FILESDIR}"/${PN}-0.6.9-as-needed.patch
"${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch
"${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch
- "${FILESDIR}"/${PN}-0.6.10-version.patch
- "${FILESDIR}"/${PN}-0.6.10-info-suffix.patch
- "${FILESDIR}"/${PN}-0.6.10-dir-file.patch
- "${FILESDIR}"/${PN}-0.6.10-tinfo.patch
- "${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch
- "${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch
- "${FILESDIR}"/${PN}-0.6.10-libc-basename.patch
- "${FILESDIR}"/${PN}-0.6.10-clearfilenameprefix.patch
- "${FILESDIR}"/${PN}-0.6.10-gcc-7-inline.patch
)
src_prepare() {
default
-
eautoreconf
-
- append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
}
src_configure() {
+ append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
+
econf \
$(use_with readline) \
$(use_enable nls)
}
src_install() {
- emake DESTDIR="${D}" sysconfdir=/etc install
+ emake DESTDIR="${D}" sysconfdir="${EPREFIX}/etc" install
}
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz
index fadd52ef56c3..926d97cc1b53 100644
Binary files a/dev-cpp/Manifest.gz and b/dev-cpp/Manifest.gz differ
diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
index 576b9c51d9d0..6e13d098debf 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,8 +14,8 @@ inherit autotools multilib-minimal
MY_P="${PN%-cpp}-${PV}"
DESCRIPTION="The ANTLR 2 C++ Runtime"
-HOMEPAGE="http://www.antlr2.org/"
-SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz"
+HOMEPAGE="https://www.antlr2.org/"
+SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="2"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
index 38f0da795403..9c93c56179ec 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -15,8 +15,8 @@ inherit eutils autotools-multilib
MY_P="${PN%-cpp}-${PV}"
DESCRIPTION="The ANTLR 2 C++ Runtime"
-HOMEPAGE="http://www.antlr2.org/"
-SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz"
+HOMEPAGE="https://www.antlr2.org/"
+SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="2"
KEYWORDS="amd64 ~arm ppc x86"
diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
index 22d8b1075d1f..28b296c9b47e 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -7,7 +7,7 @@ MY_PN="${PN%-cpp}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="The ANTLR 3 C++ Runtime"
-HOMEPAGE="http://www.antlr3.org/"
+HOMEPAGE="https://www.antlr3.org/"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="3.5"
diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
index de73a6f9bc48..dfc842917676 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -7,7 +7,7 @@ MY_PN="${PN%-cpp}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="The ANTLR 3 C++ Runtime"
-HOMEPAGE="http://www.antlr3.org/"
+HOMEPAGE="https://www.antlr3.org/"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="3.5"
diff --git a/dev-cpp/rttr/rttr-0.9.6.ebuild b/dev-cpp/rttr/rttr-0.9.6.ebuild
index d63d19eafdfc..df812c944e7f 100644
--- a/dev-cpp/rttr/rttr-0.9.6.ebuild
+++ b/dev-cpp/rttr/rttr-0.9.6.ebuild
@@ -11,10 +11,10 @@ SRC_URI="https://github.com/rttrorg/${PN}/releases/download/v${PV}/${P}-src.tar.
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
IUSE=""
-RESTICT="test"
+RESTRICT="test"
PATCHES=(
"${FILESDIR}/${P}-cmake.patch"
diff --git a/dev-cpp/sourcetrail/Manifest b/dev-cpp/sourcetrail/Manifest
index 02dc9406177c..14d514b02ed6 100644
--- a/dev-cpp/sourcetrail/Manifest
+++ b/dev-cpp/sourcetrail/Manifest
@@ -1 +1,2 @@
DIST sourcetrail-2018.3.55.tar.gz 74278615 BLAKE2B e046acfb90cdb495ff28c3dcf4530129cc569a0e9c481f127f656059f80575e4be22e9b63a8b6f00ffdac977ca930ad7a3c4d0e1aa7912af711150afbef03707 SHA512 b8fccc4bae55abf5c5a05418b37c665817c860cc27e314f8ccb69665a63b90ef68485c2395fc899f1112a05def8e95068d7a5c92db399f1d3f7a203a09107767
+DIST sourcetrail-2019.1.11.tar.gz 76120891 BLAKE2B 865c8a510a544705e130e3ec7bc82f1e7ca16d4dee2fa27849dd3530a92a20ef47ed909765ac08c8106ee0e992e3b4a03e79ef7094fb1593c4088b7d8e356423 SHA512 9022873572aef796fcbacf079c37b916d645aacd1479cc79fcddbfd8c561d0004c97202c46812b60d8c539dae3d68bd805da101678ebd1518ce13c3e58009ac9
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
new file mode 100644
index 000000000000..07a989c7d931
--- /dev/null
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop gnome2-utils xdg-utils
+
+DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
+HOMEPAGE="https://www.sourcetrail.com/"
+SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
+
+LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples selinux"
+
+DEPEND="dev-util/patchelf"
+
+RDEPEND="
+ =dev-libs/openssl-1.0*:*
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libpng:1.2
+ sys-libs/libudev-compat
+ virtual/opengl
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ selinux? ( sys-libs/libselinux )
+"
+
+S="${WORKDIR}/Sourcetrail"
+QA_PREBUILT="*"
+
+src_install() {
+ # This removes the rpath entries with $$ORIGIN
+ # since they trigger warnings when merging
+ for f in "Sourcetrail" "sourcetrail_indexer"; do
+ rpath=$(patchelf --print-rpath "${f}" 2>/dev/null)
+ new_rpath=${rpath//\$\$ORIGIN\/lib\/:/}
+ patchelf --set-rpath "${new_rpath}" "${f}" || die
+ done
+
+ # Remove bundled libraries
+ rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \
+ lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \
+ lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \
+ lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \
+ lib/libpng12.so.0 lib/libselinux.so.1
+ insinto /opt/sourcetrail
+ doins -r EULA.txt README data lib plugin
+ if use examples; then
+ doins -r user
+ fi
+ exeinto /opt/sourcetrail
+ doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh
+ into /opt
+ newbin - sourcetrail <<-EOF
+ #! /bin/sh
+ exec /opt/sourcetrail/Sourcetrail.sh "\$@"
+ EOF
+ local size
+ for size in 48 64 128 256 512; do
+ newicon -s ${size} "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \
+ "sourcetrail.png"
+ done
+ sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' "setup/share/applications/sourcetrail.desktop" || die
+ sed -i -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" || die
+ domenu "setup/share/applications/sourcetrail.desktop"
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz
index 24cef85331de..2797a1630a72 100644
Binary files a/dev-db/Manifest.gz and b/dev-db/Manifest.gz differ
diff --git a/dev-db/kdb/Manifest b/dev-db/kdb/Manifest
index af4c5b2f1347..78a608535582 100644
--- a/dev-db/kdb/Manifest
+++ b/dev-db/kdb/Manifest
@@ -1 +1,2 @@
DIST kdb-3.1.0.tar.xz 543780 BLAKE2B d874765758e245fc939bf88312b064d2dcff3460b2c9e968277e0ce7b8821314273cb3086e821645f9d7605de1a4268e25d11c40f8bf847a8dc98c410bd4d9eb SHA512 f94f1ff87cb5133570f7e9b0ab48202a516eabe1c3f2ed750cd1794800d9b9936bbd62e1479ca6877c293f6473b7f4e2d4a144b928b5bc0f228af327131b43c2
+DIST kdb-3.2.0.tar.xz 650180 BLAKE2B 306152b37c2ecc670d26a2df2ae8acb950505ecb37c4994f4debd1b80c8b2ee94252658fe28b59255d9ad0d350375171f3b43dc9e94949417c3aa9ed167134fe SHA512 7df22f2c5b6e20ae3de71cb6c76b234d2f1f33b2abcdffa85be313c63d067a40a85ed102b6256207315db08ced5d69f8bc40afdf84a188463713a6b2ffdb2df7
diff --git a/dev-db/kdb/kdb-3.2.0.ebuild b/dev-db/kdb/kdb-3.2.0.ebuild
new file mode 100644
index 000000000000..a69d6f79b1d2
--- /dev/null
+++ b/dev-db/kdb/kdb-3.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_QTHELP="true"
+KDE_TEST="true"
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
+inherit kde5 python-any-r1
+
+DESCRIPTION="Database connectivity and creation framework for various vendors"
+[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
+
+LICENSE="LGPL-2+"
+SLOT="5/4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug mysql postgres sqlite"
+
+BDEPEND="${PYTHON_DEPS}
+ dev-qt/linguist-tools:5
+"
+DEPEND="
+ $(add_frameworks_dep kcoreaddons)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ dev-libs/icu:=
+ mysql? ( dev-db/mysql-connector-c:= )
+ postgres? (
+ $(add_qt_dep qtnetwork)
+ dev-db/postgresql:*
+ )
+ sqlite? ( dev-db/sqlite:3 )
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ kde5_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKDB_DEBUG_GUI=$(usex debug)
+ $(cmake-utils_use_find_package mysql MySQL)
+ $(cmake-utils_use_find_package postgres PostgreSQL)
+ $(cmake-utils_use_find_package sqlite Sqlite)
+ )
+
+ kde5_src_configure
+}
diff --git a/dev-db/percona-toolkit/percona-toolkit-3.0.13.ebuild b/dev-db/percona-toolkit/percona-toolkit-3.0.13.ebuild
index 9fe564a23cd9..63fd079079bc 100644
--- a/dev-db/percona-toolkit/percona-toolkit-3.0.13.ebuild
+++ b/dev-db/percona-toolkit/percona-toolkit-3.0.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.percona.com/downloads/${PN}/${PV}/source/tarball/${P}.tar.g
LICENSE="|| ( GPL-2 Artistic )"
SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
# Package warrants IUSE doc
IUSE=""
diff --git a/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.13.ebuild b/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.13.ebuild
index b6f649295f2b..d47037bbe0c4 100644
--- a/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.13.ebuild
+++ b/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.13.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/s
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
DEPEND="
app-arch/lz4:0=
diff --git a/dev-db/sqlite/sqlite-3.27.2.ebuild b/dev-db/sqlite/sqlite-3.27.2.ebuild
index d008a6a8e1b1..a45fde4c5375 100644
--- a/dev-db/sqlite/sqlite-3.27.2.ebuild
+++ b/dev-db/sqlite/sqlite-3.27.2.ebuild
@@ -19,7 +19,7 @@ SRC_URI="doc? ( https://sqlite.org/2019/${PN}-doc-${DOC_PV}.zip )
LICENSE="public-domain"
SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
RESTRICT="!test? ( test )"
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index d76ed406f572..53cde95fde7e 100644
Binary files a/dev-java/Manifest.gz and b/dev-java/Manifest.gz differ
diff --git a/dev-java/antlr/antlr-2.7.7-r7.ebuild b/dev-java/antlr/antlr-2.7.7-r7.ebuild
index 09dc38c165a3..c999d7417a30 100644
--- a/dev-java/antlr/antlr-2.7.7-r7.ebuild
+++ b/dev-java/antlr/antlr-2.7.7-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -8,8 +8,8 @@ JAVA_PKG_IUSE="doc"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
-HOMEPAGE="http://www.antlr2.org/"
-SRC_URI="http://www.antlr2.org/download/${P}.tar.gz"
+HOMEPAGE="https://www.antlr2.org/"
+SRC_URI="https://www.antlr2.org/download/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
diff --git a/dev-java/antlr/antlr-2.7.7-r8.ebuild b/dev-java/antlr/antlr-2.7.7-r8.ebuild
index 10056965f258..de3952a26d09 100644
--- a/dev-java/antlr/antlr-2.7.7-r8.ebuild
+++ b/dev-java/antlr/antlr-2.7.7-r8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -8,8 +8,8 @@ JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
-HOMEPAGE="http://www.antlr2.org/"
-SRC_URI="http://www.antlr2.org/download/${P}.tar.gz"
+HOMEPAGE="https://www.antlr2.org/"
+SRC_URI="https://www.antlr2.org/download/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
diff --git a/dev-java/antlr/antlr-3.2.ebuild b/dev-java/antlr/antlr-3.2.ebuild
index d8976fb16787..48831af505d1 100644
--- a/dev-java/antlr/antlr-3.2.ebuild
+++ b/dev-java/antlr/antlr-3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -6,9 +6,9 @@ EAPI="5"
inherit eutils java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
-HOMEPAGE="http://www.antlr3.org/"
-SRC_URI="http://www.antlr3.org/download/${P}.tar.gz
- http://www.antlr3.org/download/${P}.jar" # Prebuilt version needed.
+HOMEPAGE="https://www.antlr3.org/"
+SRC_URI="https://www.antlr3.org/download/${P}.tar.gz
+ https://www.antlr3.org/download/${P}.jar" # Prebuilt version needed.
LICENSE="BSD"
SLOT="3"
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
diff --git a/dev-java/antlr/antlr-3.5.2.ebuild b/dev-java/antlr/antlr-3.5.2.ebuild
index 46c6402f4b20..ffbb7faf52a2 100644
--- a/dev-java/antlr/antlr-3.5.2.ebuild
+++ b/dev-java/antlr/antlr-3.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -6,9 +6,9 @@ EAPI="5"
inherit eutils java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
-HOMEPAGE="http://www.antlr3.org/"
+HOMEPAGE="https://www.antlr3.org/"
SRC_URI="https://github.com/${PN}/${PN}3/archive/${PV}.tar.gz -> ${P}.tar.gz
- http://www.antlr3.org/download/${P}-complete.jar" # Prebuilt version needed.
+ https://www.antlr3.org/download/${P}-complete.jar" # Prebuilt version needed.
LICENSE="BSD"
SLOT="3.5"
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
diff --git a/dev-java/antlr/antlr-4.5.1.ebuild b/dev-java/antlr/antlr-4.5.1.ebuild
index a7c4c1ffbb73..38d9b405e655 100644
--- a/dev-java/antlr/antlr-4.5.1.ebuild
+++ b/dev-java/antlr/antlr-4.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -8,9 +8,9 @@ JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
-HOMEPAGE="http://www.antlr.org/"
+HOMEPAGE="https://www.antlr.org/"
SRC_URI="https://github.com/${PN}/${PN}4/archive/${PV}.tar.gz -> ${P}.tar.gz
- http://www.antlr.org/download/${P}-complete.jar" # Prebuilt version needed.
+ https://www.antlr.org/download/${P}-complete.jar" # Prebuilt version needed.
LICENSE="BSD"
SLOT="4"
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
diff --git a/dev-java/antlr/antlr-4.5.3.ebuild b/dev-java/antlr/antlr-4.5.3.ebuild
index 3b48b132714c..ed1027b16e89 100644
--- a/dev-java/antlr/antlr-4.5.3.ebuild
+++ b/dev-java/antlr/antlr-4.5.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -8,9 +8,9 @@ JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
-HOMEPAGE="http://www.antlr.org/"
+HOMEPAGE="https://www.antlr.org/"
SRC_URI="https://github.com/${PN}/${PN}4/archive/${PV}.tar.gz -> ${P}.tar.gz
- http://www.antlr.org/download/${P}-complete.jar" # Prebuilt version needed.
+ https://www.antlr.org/download/${P}-complete.jar" # Prebuilt version needed.
LICENSE="BSD"
SLOT="4"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
diff --git a/dev-java/openjdk-bin/Manifest b/dev-java/openjdk-bin/Manifest
index 318d9470f963..6db9d67d1c26 100644
--- a/dev-java/openjdk-bin/Manifest
+++ b/dev-java/openjdk-bin/Manifest
@@ -4,6 +4,9 @@ DIST OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.2_7.tar.gz 180394013 BLAKE2B b5b8
DIST OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.2_9.tar.gz 180384673 BLAKE2B 51cc7f53c371dc140f9cd17c3523251929e384ca73eb34c283b969be1b5c91b1ec15bf72fe08c80b141a96aa0de5dcb0c9631e2f776e123ad5a4059174dfbc1a SHA512 00ecb0fe1e5b4f682841eeda41525dc5a9205e55ec8ccb332aa1dc724499d2df927870c8b70da950384b50a8014bbd70d0025a5ce0ccb90bfc4df028e64613cb
DIST OpenJDK11U-jdk_x64_linux_hotspot_11.0.2_7.tar.gz 195593592 BLAKE2B 038c88dd4475842ffd27afc9249925baea0230cd993a963e13c2e090a0f6332fbeaebefae5b5e98026a12a7d94696633507a9d08af469b0227372088b5cd4869 SHA512 f9f4d168105e499b0da4923c6fe18c31ea6f6a24a48fc9d47b643460316d75de273f8f6dcbd43c9df6efcfb77127182dab8125c55f63200c5ff53cc9eb0ddcdc
DIST OpenJDK11U-jdk_x64_linux_hotspot_11.0.2_9.tar.gz 195592867 BLAKE2B 91593fc849e558abf965ecfeadefbeab464e1c4562ec57d0bb6dcb9c17525a7cf37593d8fa2146d4545122a634d22c46764af32a124a0e17621da8b643c2770d SHA512 976874e04df71f747a5a7a78081b5989adfcf783b5642d3a0ca2ab2a98547fbe9495dce57b8eda69240f1850bead7bdd6cd59bf9f53ba70400e0806e0950866d
+DIST OpenJDK11U-jdk_x64_linux_hotspot_11.0.3_7.tar.gz 195982221 BLAKE2B 61ccbceb07bcb72a5f9d797997b4a250c2d171d7c7930877db0865d95b1faeb83e160eab59c484d2fce06a7116f06eb8a57eb5295a254fba7315ccb2e88b6db9 SHA512 2c590492ab9bddef68afcfbb54117688e1b24b41dc871bc4ba869319c16587ebfc061ce72712f209403e76d589f01d57cd85384653b1ecf767ee8e4018e1607a
DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u191b12.tar.gz 75382012 BLAKE2B 9521bb3d0dc08d5069108bb56594d401cbadf7a290652a39c7379e6ded530044e85f1ffae1cd3eb7e881d7c283c06463e6f8b76602d03a7bf5b188b1004f5daf SHA512 156f7a57f095095b72edb4bfc766d575795e496b006fb994566b0207d346e89863cf377ce97290bf1b47923c5d6aee5558eaa7a54f394f95a270b1cfec4308e2
DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u202b08.tar.gz 101497437 BLAKE2B 4fdc659f9cc50fd968cd339cf24780cd0097286fe3004669972b925fa5c8bbd0e6024587f761ef05ec170c4caa6a915f9f748badd021fae6eb669aa613e1c90d SHA512 42991d2203d51492090e92ee4c7600e7b0ab613550d925f52dd7c7c3b796f9bd36e7284d55540b661a5175064d714267cddd786d81aeda358feda3927e3676e3
+DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u212b03.tar.gz 101610850 BLAKE2B 3a782f21855b1633255b2691e4adb516b12b84e37d81cdfda2b7b251cf78602a3b4c4120fbaec01d177fe7187b581f5dde392c7f841a39d269b548f1ada18be2 SHA512 25d53c8ca9bc4e1fd0ae1fca349d1e605e0dfb8a4aa386408875d5c23ef8b3ecc42ed297bc125f2ab74e9726e10374ec12d6c39736a53a94d3150001756e0027
DIST OpenJDK8U-jdk_x64_linux_hotspot_8u202b08.tar.gz 104336613 BLAKE2B 3bf42af57707a057077969487f66c32289d0dc96639aee553b18812262d517b07a8e80e3351a4b22731569c7d7c1443d8018d05a41a26abf844a1a2950e7c368 SHA512 8e04d22fe03d2ab92e48fbbfe7d6015d9062d8e767d55ca9235e02b39841236d47b8977ae0252d5f4351a4c5fe082d377e2f8978156cf73c0208028a422e5e4c
+DIST OpenJDK8U-jdk_x64_linux_hotspot_8u212b03.tar.gz 104368598 BLAKE2B 0c16398c1e962e53316eb9301a8ebb6dc7b37ef812d3b65719c239f392074fcba999fca8442cc52a0b067eb4761b0477e9da243d0d84a2e2ded1d883614d15b3 SHA512 7674f26bbc69535c1d06d7364f515ddd00f1f43f6fb76c806c56cd3b379e03047084fbf6439e375cf57257b8a1fdf94702ba063bf843793b009a76fb449a5cc9
diff --git a/dev-java/openjdk-bin/metadata.xml b/dev-java/openjdk-bin/metadata.xml
index 7b83622b0d7c..5197cf9973cb 100644
--- a/dev-java/openjdk-bin/metadata.xml
+++ b/dev-java/openjdk-bin/metadata.xml
@@ -1,15 +1,23 @@
-
- java@gentoo.org
- Java
-
- Java™ is the world's leading programming language and platform. The code for Java is open source and available at OpenJDK™. AdoptOpenJDK provides prebuilt OpenJDK binaries from a fully open source set of build scripts and infrastructure.
-
+
+ gyakovlev@gentoo.org
+ Georgy Yakovlev
+
+
+ java@gentoo.org
+ Java
+
+
+ Java™ is the world's leading programming language and platform.
+ The code for Java is open source and available at OpenJDK™.
+ AdoptOpenJDK provides prebuilt OpenJDK binaries from a fully open source set of build scripts and infrastructure.
+
+
diff --git a/dev-java/openjdk-bin/openjdk-bin-11.0.3_p7.ebuild b/dev-java/openjdk-bin/openjdk-bin-11.0.3_p7.ebuild
new file mode 100644
index 000000000000..8cc6752e5ae0
--- /dev/null
+++ b/dev-java/openjdk-bin/openjdk-bin-11.0.3_p7.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-vm-2
+
+abi_uri() {
+ echo "${2-$1}? (
+ https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk-${MY_PV}/OpenJDK${SLOT}U-jdk_${1}_linux_hotspot_${MY_PV//+/_}.tar.gz
+ )"
+}
+
+MY_PV=${PV/_p/+}
+SLOT=${MY_PV%%[.+]*}
+
+SRC_URI="
+ $(abi_uri x64 amd64)
+"
+
+DESCRIPTION="Prebuilt Java JDK binaries provided by AdoptOpenJDK"
+HOMEPAGE="https://adoptopenjdk.net"
+LICENSE="GPL-2-with-classpath-exception"
+KEYWORDS="~amd64"
+IUSE="alsa cups doc examples +gentoo-vm headless-awt nsplugin selinux source +webstart"
+
+RDEPEND="
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ >=sys-libs/glibc-2.2.5:*
+ sys-libs/zlib
+ alsa? ( media-libs/alsa-lib )
+ cups? ( net-print/cups )
+ doc? ( dev-java/java-sdk-docs:${SLOT} )
+ selinux? ( sec-policy/selinux-java )
+ !headless-awt? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXtst
+ )"
+
+PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
+ nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )"
+
+RESTRICT="preserve-libs splitdebug"
+QA_PREBUILT="*"
+
+S="${WORKDIR}/jdk-${MY_PV}"
+
+src_install() {
+ local dest="/opt/${P}"
+ local ddest="${ED}${dest#/}"
+
+ # Not sure why they bundle this as it's commonly available and they
+ # only do so on x86_64. It's needed by libfontmanager.so. IcedTea
+ # also has an explicit dependency while Oracle seemingly dlopens it.
+ rm -vf lib/libfreetype.so || die
+
+ # Oracle and IcedTea have libjsoundalsa.so depending on
+ # libasound.so.2 but AdoptOpenJDK only has libjsound.so. Weird.
+ if ! use alsa ; then
+ rm -v lib/libjsound.* || die
+ fi
+
+ if ! use examples ; then
+ rm -vr demo/ || die
+ fi
+
+ if use headless-awt ; then
+ rm -v lib/lib*{[jx]awt,splashscreen}* || die
+ fi
+
+ if ! use source ; then
+ rm -v lib/src.zip || die
+ fi
+
+ dodir "${dest}"
+ cp -pPR * "${ddest}" || die
+
+ use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
+ java-vm_set-pax-markings "${ddest}"
+ java-vm_revdep-mask
+ java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
+}
+
+pkg_postinst() {
+ java-vm-2_pkg_postinst
+
+ if use gentoo-vm ; then
+ ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JDK"
+ ewarn "recognised by the system. This will almost certainly break things."
+ else
+ ewarn "The experimental gentoo-vm USE flag has not been enabled so this JDK"
+ ewarn "will not be recognised by the system. For example, simply calling"
+ ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
+ ewarn "fully supports Java 11. This JDK must therefore be invoked using its"
+ ewarn "absolute location under ${EPREFIX}/opt/${P}."
+ fi
+}
diff --git a/dev-java/openjdk-bin/openjdk-bin-8.212_p03.ebuild b/dev-java/openjdk-bin/openjdk-bin-8.212_p03.ebuild
new file mode 100644
index 000000000000..d214f0e0b459
--- /dev/null
+++ b/dev-java/openjdk-bin/openjdk-bin-8.212_p03.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eapi7-ver java-vm-2
+
+abi_uri() {
+ echo "${2-$1}? (
+ https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk${MY_PV}/OpenJDK8U-jdk_${1}_linux_hotspot_${MY_PV/-/}.tar.gz
+ )"
+}
+
+MY_PV=$(ver_rs 1 'u' 2 '-' ${PV//p/b})
+SLOT="$(ver_cut 1)"
+
+DESCRIPTION="Prebuilt Java JDK binaries provided by AdoptOpenJDK"
+HOMEPAGE="https://adoptopenjdk.net"
+SRC_URI="
+ $(abi_uri x64 amd64)
+ $(abi_uri ppc64le ppc64)
+"
+
+LICENSE="GPL-2-with-classpath-exception"
+KEYWORDS="~amd64 ~ppc64"
+
+IUSE="alsa cups doc examples +gentoo-vm headless-awt nsplugin selinux source +webstart"
+
+RDEPEND="
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ >=sys-libs/glibc-2.2.5:*
+ sys-libs/zlib
+ alsa? ( media-libs/alsa-lib )
+ cups? ( net-print/cups )
+ doc? ( dev-java/java-sdk-docs:1.${SLOT} )
+ selinux? ( sec-policy/selinux-java )
+ !headless-awt? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXtst
+ )"
+
+PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
+ nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )"
+
+RESTRICT="preserve-libs splitdebug"
+QA_PREBUILT="*"
+
+S="${WORKDIR}/jdk${MY_PV}"
+
+src_install() {
+ local dest="/opt/${P}"
+ local ddest="${ED}${dest#/}"
+
+ rm ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README || die
+
+ # this does not exist on arm64 hence -f
+ rm -fv jre/lib/*/libfreetype.so* || die
+
+ if ! use alsa ; then
+ rm -v jre/lib/*/libjsoundalsa.so* || die
+ fi
+
+ if ! use examples ; then
+ rm -vr sample || die
+ fi
+
+ if use headless-awt ; then
+ rm -fvr */jre/lib/*/lib*{[jx]awt,splashscreen}* \
+ {,jre/}bin/policytool bin/appletviewer || die
+ fi
+
+ if ! use source ; then
+ rm -v src.zip || die
+ fi
+
+ dodir "${dest}"
+ cp -pPR * "${ddest}" || die
+
+ use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
+ java-vm_set-pax-markings "${ddest}"
+ java-vm_revdep-mask
+ java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
+}
+
+pkg_postinst() {
+ java-vm-2_pkg_postinst
+
+ if use gentoo-vm ; then
+ ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JDK"
+ ewarn "recognised by the system. This will almost certainly break things."
+ else
+ ewarn "The experimental gentoo-vm USE flag has not been enabled so this JDK"
+ ewarn "will not be recognised by the system. For example, simply calling"
+ ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
+ ewarn "fully supports OpenJDK 8. This JDK must therefore be invoked using its"
+ ewarn "absolute location under ${EPREFIX}/opt/${P}."
+ fi
+}
diff --git a/dev-java/openjdk-jre-bin/Manifest b/dev-java/openjdk-jre-bin/Manifest
index d9d0ed15a238..25ed89d092a4 100644
--- a/dev-java/openjdk-jre-bin/Manifest
+++ b/dev-java/openjdk-jre-bin/Manifest
@@ -1,2 +1,4 @@
DIST OpenJDK11U-jre_x64_linux_hotspot_11.0.2_9.tar.gz 41525058 BLAKE2B da456e8415ef45d07968c12082f2351910284b47bac92a952d4962fbc4c63cb2fa006696b6b175e0d1073b1fca76cca61460465d0959afe80d2f5ce9006d9350 SHA512 96b527be34c49e6351bed0d000153c1bc9491cf89f8a7f90190feccd2984cce1e3d18747e108d476c4417f15947d436f20cd34fe88f8126edecf4a789d725b0a
+DIST OpenJDK11U-jre_x64_linux_hotspot_11.0.3_7.tar.gz 41732132 BLAKE2B 9d3bd543fec6eb6c30eabbbb3ca6073365c5b8900dff9af47cfba5569ecfc33a8e2562ed3f8cf4940b2a7d7c427e48164a94fce1f72c8e98fa7f0fc32d923237 SHA512 b7232a3c75a8c4e67f51bd95c8441026b2bfef29cc779768a5f2d300208dc569d672402e06a2d6c6f512450723bc0631c5a18cde80cbc1ec2028c123607df30f
DIST OpenJDK8U-jre_x64_linux_hotspot_8u202b08.tar.gz 40856726 BLAKE2B d9d4599989a0232bcc145aaf58b20dbfcedbe33adb2b3ee65b7e726dea350210f66eb81b321268a29d3234244c517642cfe908531242afb220509666e02c0617 SHA512 f9bb03cd0876f6b3b36d8ba821a14648b5ac2ec6dc6eefb95dc333aae77b55c940153cdd1715b21feaf7d7f2148bf8c272777c8afab911965e514f9792287962
+DIST OpenJDK8U-jre_x64_linux_hotspot_8u212b03.tar.gz 40871242 BLAKE2B 8a6eee7f7465cbccc575e44ab08d6a3d2cedc32954475ea71064a4b6d4379927a795225fed7394922bdaa2a425efb6966d6a0126a55a0fa0e68dc0eeb7a6e935 SHA512 3b0c560cce673fa0e9506c18c4a25b56e26c8ccd7874098f55c37f1a556387b4c2d3ba81ef0368cc666178028eef0fd7beac6307588628c8c8c051381a21366f
diff --git a/dev-java/openjdk-jre-bin/metadata.xml b/dev-java/openjdk-jre-bin/metadata.xml
index 1194887e1566..7a807f5dbca1 100644
--- a/dev-java/openjdk-jre-bin/metadata.xml
+++ b/dev-java/openjdk-jre-bin/metadata.xml
@@ -10,7 +10,8 @@
Java
- Java™ is the world's leading programming language and platform. The code for Java is open source and available at OpenJDK™.
+ Java™ is the world's leading programming language and platform.
+ The code for Java is open source and available at OpenJDK™.
AdoptOpenJDK provides prebuilt OpenJDK JRE binaries from a fully open source set of build scripts and infrastructure.
netdata/netdata
diff --git a/net-analyzer/netdata/netdata-1.14.0-r1.ebuild b/net-analyzer/netdata/netdata-1.14.0-r1.ebuild
new file mode 100644
index 000000000000..54d150969d3c
--- /dev/null
+++ b/net-analyzer/netdata/netdata-1.14.0-r1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+inherit autotools fcaps linux-info python-r1 systemd user
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/netdata/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/netdata/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Linux real time system monitoring, done right!"
+HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/"
+
+LICENSE="GPL-3+ MIT BSD"
+SLOT="0"
+IUSE="caps +compression cpu_flags_x86_sse2 cups ipmi mysql nfacct nodejs postgres +python tor xen"
+REQUIRED_USE="
+ mysql? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ tor? ( python )"
+
+# most unconditional dependencies are for plugins.d/charts.d.plugin:
+RDEPEND="
+ app-misc/jq
+ >=app-shells/bash-4:0
+ || (
+ net-analyzer/openbsd-netcat
+ net-analyzer/netcat
+ )
+ net-analyzer/tcpdump
+ net-analyzer/traceroute
+ net-misc/curl
+ net-misc/wget
+ sys-apps/util-linux
+ virtual/awk
+ caps? ( sys-libs/libcap )
+ cups? ( net-print/cups )
+ compression? ( sys-libs/zlib )
+ ipmi? ( sys-libs/freeipmi )
+ nfacct? (
+ net-firewall/nfacct
+ net-libs/libmnl
+ )
+ nodejs? ( net-libs/nodejs )
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ mysql? (
+ || (
+ dev-python/mysqlclient[${PYTHON_USEDEP}]
+ dev-python/mysql-python[${PYTHON_USEDEP}]
+ )
+ )
+ postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
+ tor? ( net-libs/stem[${PYTHON_USEDEP}] )
+ )
+ xen? (
+ app-emulation/xen-tools
+ dev-libs/yajl
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+: ${NETDATA_USER:=netdata}
+: ${NETDATA_GROUP:=netdata}
+
+FILECAPS=(
+ 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin'
+)
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 / ${PN}
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --localstatedir="${EPREFIX}"/var \
+ --with-user=${NETDATA_USER} \
+ $(use_enable cups plugin-cups) \
+ $(use_enable nfacct plugin-nfacct) \
+ $(use_enable ipmi plugin-freeipmi) \
+ $(use_enable xen plugin-xenstat) \
+ $(use_enable cpu_flags_x86_sse2 x86-sse) \
+ $(use_with compression zlib)
+}
+
+src_install() {
+ default
+
+ rm -rf "${D}/var/cache" || die
+
+ # Remove unneeded .keep files
+ find "${ED}" -name ".keep" -delete || die
+
+ fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata
+ keepdir /var/log/netdata
+ fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata
+ keepdir /var/lib/netdata
+ keepdir /var/lib/netdata/registry
+
+ fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN}
+
+ newinitd system/netdata-openrc ${PN}
+ systemd_dounit system/netdata.service
+ insinto /etc/netdata
+ doins system/netdata.conf
+}
diff --git a/net-analyzer/netdata/netdata-1.14.0.ebuild b/net-analyzer/netdata/netdata-1.14.0.ebuild
new file mode 100644
index 000000000000..59396a96cc0e
--- /dev/null
+++ b/net-analyzer/netdata/netdata-1.14.0.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+inherit autotools fcaps linux-info python-r1 systemd user
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/netdata/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/netdata/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Linux real time system monitoring, done right!"
+HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/"
+
+LICENSE="GPL-3+ MIT BSD"
+SLOT="0"
+IUSE="caps +compression cpu_flags_x86_sse2 ipmi mysql nfacct nodejs postgres +python tor"
+REQUIRED_USE="
+ mysql? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ tor? ( python )"
+
+# most unconditional dependencies are for plugins.d/charts.d.plugin:
+RDEPEND="
+ app-misc/jq
+ >=app-shells/bash-4:0
+ || (
+ net-analyzer/openbsd-netcat
+ net-analyzer/netcat
+ )
+ net-analyzer/tcpdump
+ net-analyzer/traceroute
+ net-misc/curl
+ net-misc/wget
+ sys-apps/util-linux
+ virtual/awk
+ caps? ( sys-libs/libcap )
+ compression? ( sys-libs/zlib )
+ ipmi? ( sys-libs/freeipmi )
+ nfacct? (
+ net-firewall/nfacct
+ net-libs/libmnl
+ )
+ nodejs? ( net-libs/nodejs )
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ mysql? (
+ || (
+ dev-python/mysqlclient[${PYTHON_USEDEP}]
+ dev-python/mysql-python[${PYTHON_USEDEP}]
+ )
+ )
+ postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
+ tor? ( net-libs/stem[${PYTHON_USEDEP}] )
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+: ${NETDATA_USER:=netdata}
+: ${NETDATA_GROUP:=netdata}
+
+FILECAPS=(
+ 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin'
+)
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 / ${PN}
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --localstatedir="${EPREFIX}"/var \
+ --with-user=${NETDATA_USER} \
+ $(use_enable nfacct plugin-nfacct) \
+ $(use_enable ipmi plugin-freeipmi) \
+ $(use_enable cpu_flags_x86_sse2 x86-sse) \
+ $(use_with compression zlib)
+}
+
+src_install() {
+ default
+
+ rm -rf "${D}/var/cache" || die
+
+ # Remove unneeded .keep files
+ find "${ED}" -name ".keep" -delete || die
+
+ fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata
+ keepdir /var/log/netdata
+ fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata
+ keepdir /var/lib/netdata
+ keepdir /var/lib/netdata/registry
+
+ fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN}
+
+ newinitd system/netdata-openrc ${PN}
+ systemd_dounit system/netdata.service
+ insinto /etc/netdata
+ doins system/netdata.conf
+}
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild
index c52e2322bd9a..54d150969d3c 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-9999.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/"
LICENSE="GPL-3+ MIT BSD"
SLOT="0"
-IUSE="caps +compression cpu_flags_x86_sse2 ipmi mysql nfacct nodejs postgres +python tor"
+IUSE="caps +compression cpu_flags_x86_sse2 cups ipmi mysql nfacct nodejs postgres +python tor xen"
REQUIRED_USE="
mysql? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -27,10 +27,10 @@ REQUIRED_USE="
# most unconditional dependencies are for plugins.d/charts.d.plugin:
RDEPEND="
+ app-misc/jq
>=app-shells/bash-4:0
|| (
net-analyzer/openbsd-netcat
- net-analyzer/netcat6
net-analyzer/netcat
)
net-analyzer/tcpdump
@@ -40,6 +40,7 @@ RDEPEND="
sys-apps/util-linux
virtual/awk
caps? ( sys-libs/libcap )
+ cups? ( net-print/cups )
compression? ( sys-libs/zlib )
ipmi? ( sys-libs/freeipmi )
nfacct? (
@@ -58,6 +59,10 @@ RDEPEND="
)
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
tor? ( net-libs/stem[${PYTHON_USEDEP}] )
+ )
+ xen? (
+ app-emulation/xen-tools
+ dev-libs/yajl
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -85,8 +90,10 @@ src_configure() {
econf \
--localstatedir="${EPREFIX}"/var \
--with-user=${NETDATA_USER} \
+ $(use_enable cups plugin-cups) \
$(use_enable nfacct plugin-nfacct) \
$(use_enable ipmi plugin-freeipmi) \
+ $(use_enable xen plugin-xenstat) \
$(use_enable cpu_flags_x86_sse2 x86-sse) \
$(use_with compression zlib)
}
diff --git a/net-analyzer/nodebrain/Manifest b/net-analyzer/nodebrain/Manifest
deleted file mode 100644
index ed0454b00d95..000000000000
--- a/net-analyzer/nodebrain/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nodebrain-0.9.04.tar.gz 2475665 BLAKE2B 04ca839dc862372717530127fc1ec66df2e06bf2bb5b368e5b427d0efc953629b98ef05e3a58ee5e506c1937dcd4e7e676bee32fe841547cbba07063be88e8ef SHA512 a6cbebef09569d2d086954fc06b7a0bbc2828a5041289fdb7b537bd75b354610f3cf28baded5fce9679d89ffea3e245ab59323a00d060e98819d367775fd5226
diff --git a/net-analyzer/nodebrain/files/nodebrain-0.8.14-include.patch b/net-analyzer/nodebrain/files/nodebrain-0.8.14-include.patch
deleted file mode 100644
index c34965bfe5e5..000000000000
--- a/net-analyzer/nodebrain/files/nodebrain-0.8.14-include.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/lib/nbbfi.c
-+++ b/lib/nbbfi.c
-@@ -197,6 +197,7 @@
- *=============================================================================
- */
- #include
-+#include /* isdigit() */
-
- /**************************************************************************
- * Index Routines
---- a/lib/nbkit.c
-+++ b/lib/nbkit.c
-@@ -51,6 +51,7 @@
- #include
- #include
- #include
-+#include /* system() */
-
- static int nbKitUsage(void){
- printf("Usage:\n");
---- a/module/webster/nb_webster.c
-+++ b/module/webster/nb_webster.c
-@@ -78,6 +78,7 @@
- */
- #include "config.h"
- #include
-+#include /* isalnum() */
-
- #if defined(WIN32)
-
diff --git a/net-analyzer/nodebrain/files/nodebrain-0.9.04-include.patch b/net-analyzer/nodebrain/files/nodebrain-0.9.04-include.patch
deleted file mode 100644
index 61d98a673375..000000000000
--- a/net-analyzer/nodebrain/files/nodebrain-0.9.04-include.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/lib/nbhash.c
-+++ b/lib/nbhash.c
-@@ -81,6 +81,7 @@
- */
- #include
- #include
-+#include
-
- struct TYPE *typeHash;
-
diff --git a/net-analyzer/nodebrain/metadata.xml b/net-analyzer/nodebrain/metadata.xml
deleted file mode 100644
index b1e688b96833..000000000000
--- a/net-analyzer/nodebrain/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
- netmon@gentoo.org
- Gentoo network monitoring and analysis project
-
-
- nodebrain
-
-
diff --git a/net-analyzer/nodebrain/nodebrain-0.9.04-r1.ebuild b/net-analyzer/nodebrain/nodebrain-0.9.04-r1.ebuild
deleted file mode 100644
index 8c76a34f5374..000000000000
--- a/net-analyzer/nodebrain/nodebrain-0.9.04-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils
-
-DESCRIPTION="Monitor and do event correlation"
-HOMEPAGE="http://nodebrain.sourceforge.net/"
-SRC_URI="mirror://sourceforge/nodebrain/nodebrain-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="static-libs"
-
-CDEPEND="
- dev-libs/libedit
-"
-DEPEND="
- ${CDEPEND}
- dev-lang/perl
- virtual/pkgconfig
- sys-apps/texinfo
-"
-RDEPEND="
- ${CDEPEND}
- !sys-boot/netboot
- !www-apps/nanoblogger
-"
-PATCHES=(
- "${FILESDIR}"/${PN}-0.8.14-include.patch
- "${FILESDIR}"/${PN}-0.9.04-include.patch
-)
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- --include=/usr/include
-}
-
-src_install() {
- default
-
- prune_libtool_files
-
- dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/
-}
diff --git a/net-analyzer/nodebrain/nodebrain-0.9.04.ebuild b/net-analyzer/nodebrain/nodebrain-0.9.04.ebuild
deleted file mode 100644
index 1169e2f71849..000000000000
--- a/net-analyzer/nodebrain/nodebrain-0.9.04.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils
-
-DESCRIPTION="Monitor and do event correlation"
-HOMEPAGE="http://nodebrain.sourceforge.net/"
-SRC_URI="mirror://sourceforge/nodebrain/nodebrain-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="static-libs"
-
-CDEPEND="dev-libs/libedit"
-DEPEND="
- ${CDEPEND}
- dev-lang/perl
- virtual/pkgconfig
- sys-apps/texinfo
-"
-RDEPEND="
- ${CDEPEND}
- !sys-boot/netboot
- !www-apps/nanoblogger
-"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.8.14-include.patch
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- --include=/usr/include
-}
-
-src_install() {
- default
- use static-libs || prune_libtool_files
- dodoc AUTHORS NEWS README THANKS sample/*
- dohtml html/*
-}
diff --git a/net-analyzer/nodebrain/nodebrain-9999.ebuild b/net-analyzer/nodebrain/nodebrain-9999.ebuild
deleted file mode 100644
index 36adf58b091f..000000000000
--- a/net-analyzer/nodebrain/nodebrain-9999.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools eutils git-r3
-
-DESCRIPTION="Monitor and do event correlation"
-HOMEPAGE="http://nodebrain.sourceforge.net/"
-EGIT_REPO_URI="https://github.com/trettevik/nodebrain-nb"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS=""
-IUSE="static-libs"
-
-CDEPEND="
- dev-libs/libedit
-"
-DEPEND="
- ${CDEPEND}
- dev-lang/perl
- virtual/pkgconfig
- sys-apps/texinfo
-"
-RDEPEND="
- ${CDEPEND}
- !sys-boot/netboot
- !www-apps/nanoblogger
-"
-PATCHES=(
- "${FILESDIR}"/${PN}-0.8.14-include.patch
- "${FILESDIR}"/${PN}-0.9.04-include.patch
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- --include=/usr/include
-}
-
-src_install() {
- default
-
- prune_libtool_files
-
- dodoc -r AUTHORS ChangeLog NEWS README THANKS sample/ html/
-}
diff --git a/net-analyzer/postal/Manifest b/net-analyzer/postal/Manifest
deleted file mode 100644
index 05862a38f1bd..000000000000
--- a/net-analyzer/postal/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST postal-0.72.tgz 106720 BLAKE2B 31374e36c0437dd7ebdf5e26ded159d9cfb22d4a97858de058b58ecebd2e31ae18ef9bdda5d61c06c89b1f05a903904ed9cc424918a66ead168be3af6786b994 SHA512 858d5a3ec452e868d6026d631d59260eab83e90c64ce185bf9c6cecd3494c591ba7cb1455f35a5f003acbbe33f4974669e6820750e4d4ce9432d72b350263c99
diff --git a/net-analyzer/postal/files/01_postal-0.70-gcc43.patch b/net-analyzer/postal/files/01_postal-0.70-gcc43.patch
deleted file mode 100644
index fe577603ad3d..000000000000
--- a/net-analyzer/postal/files/01_postal-0.70-gcc43.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- rabid.cpp.orig 2008-06-15 14:05:19.776258513 +0200
-+++ rabid.cpp 2008-06-15 14:05:47.927250506 +0200
-@@ -12,6 +12,8 @@
- #include
- #include "postal.h"
- #include "logit.h"
-+#include
-+
- #ifdef USE_GNUTLS
- #include
- #include
diff --git a/net-analyzer/postal/files/02_postal-0.72-nossl.patch b/net-analyzer/postal/files/02_postal-0.72-nossl.patch
deleted file mode 100644
index 238dbdbb783d..000000000000
--- a/net-analyzer/postal/files/02_postal-0.72-nossl.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -NrU5 postal-0.69.orig/configure.in postal-0.69/configure.in
---- configure.in 2008-04-09 03:08:28.000000000 +0200
-+++ configure.in 2008-04-23 22:37:41.000000000 +0200
-@@ -13,15 +13,28 @@
- else
- stripping="-s"
- fi
-
- AC_ARG_ENABLE(openssl,
-- [ --disable-openssl disables openssl support],
-- DISABLEOPENSSL=$opensslval, DISABLEOPENSSL=no)
-+ [ --disable-openssl disable openssl support],
-+ [ if test $enableval = yes; then
-+ DISABLEOPENSSL=no
-+ else
-+ DISABLEOPENSSL=yes
-+ fi ]
-+ ,
-+ [ DISABLEOPENSSL=no ])
-+
- AC_ARG_ENABLE(gnutls,
-- [ --disable-gnutls disables gnutls support],
-- DISABLEGNUTLS=$gnutlsval, DISABLEGNUTLS=no)
-+ [ --disable-gnutls disables gnutls support],
-+ [if test $enableval = yes; then
-+ DISABLEGNUTLS=no
-+ else
-+ DISABLEGNUTLS=yes
-+ fi]
-+ ,
-+ [ DISABLEGNUTLS=no ])
-
- dnl Checks for programs.
- AC_LANG_CPLUSPLUS
- AC_PROG_CC
- AC_PROG_CXX
-@@ -118,17 +131,17 @@
- crypt_ldflags=
- if [[ "$GNUTLS" = "no" ]]; then
- gnutls=""
- else
- gnutls="#define USE_GNUTLS"
-- crypt_ldflags="$extra_ldflags -lgnutls -lgcrypt"
-+ crypt_ldflags=" -lgnutls -lgcrypt"
- fi
- if [[ "$OPENSSL" = "no" ]]; then
- openssl=""
- else
- openssl="#define USE_OPENSSL"
-- crypt_ldflags="$extra_ldflags -lssl -lcrypto"
-+ crypt_ldflags=" -lssl -lcrypto"
- fi
-
- AC_SUBST(large_file)
- large_file=""
-
-diff -NrU5 postal-0.69.orig/Makefile.in postal-0.69/Makefile.in
---- Makefile.in 2008-04-10 03:19:34.000000000 +0200
-+++ Makefile.in 2008-04-23 22:37:13.000000000 +0200
-@@ -16,11 +16,11 @@
- INSTALL=@INSTALL@
-
- TESTEXE=ex-test
- BASEOBJS=userlist.o thread.o results.o address.o tcp.o cmd5.o mutex.o logit.o expand.o @extra_objs@
- LFLAGS=-lstdc++ @extra_ldflags@
--CRYPTLFLAGS=-lstdc++ @crypt_ldflags@
-+CRYPTLFLAGS=-lstdc++ @extra_ldflags@ @crypt_ldflags@
-
-
- ALLOBJS=$(BASEOBJS) smtp.o client.o basictcp.o bhmusers.o smtpserver.o
-
- postal: postal.cpp $(BASEOBJS) postal.h smtp.o
diff --git a/net-analyzer/postal/files/03_postal-0.70-c++0x-integrated.patch b/net-analyzer/postal/files/03_postal-0.70-c++0x-integrated.patch
deleted file mode 100644
index 448af31a8966..000000000000
--- a/net-analyzer/postal/files/03_postal-0.70-c++0x-integrated.patch
+++ /dev/null
@@ -1,270 +0,0 @@
-diff -NrU5 postal-0.69.orig/bhm.cpp postal-0.69/bhm.cpp
---- postal-0.69.orig/bhm.cpp 2008-04-23 22:39:01.000000000 +0200
-+++ postal-0.69/bhm.cpp 2008-04-24 01:31:54.000000000 +0200
-@@ -7,10 +7,11 @@
- #include
- #include
- #include
- #include
- #include
-+#include
- #include
- #include
- #include
- #include
- #include
-diff -NrU5 postal-0.69.orig/bhmusers.cpp postal-0.69/bhmusers.cpp
---- postal-0.69.orig/bhmusers.cpp 2008-04-10 03:36:27.000000000 +0200
-+++ postal-0.69/bhmusers.cpp 2008-04-24 00:04:07.000000000 +0200
-@@ -1,9 +1,10 @@
- #include "bhmusers.h"
- #include
- #include
- #include "expand.h"
-+#include
-
- BHMUsers::BHMUsers(const char *userListFile)
- {
- char buf[1024];
- FILE *fp = fopen(userListFile, "r");
-diff -NrU5 postal-0.69.orig/bhmusers.h postal-0.69/bhmusers.h
---- postal-0.69.orig/bhmusers.h 2006-09-28 17:20:28.000000000 +0200
-+++ postal-0.69/bhmusers.h 2008-04-24 00:14:05.000000000 +0200
-@@ -4,16 +4,21 @@
- using namespace std;
-
- #include
- #include "conf.h"
-
-+#if (defined HAVE_STDCXX_0X) || (__cplusplus >= 201103L)
-+#include
-+#include
-+#else
- #ifdef HAVE_EXT_HASH_MAP
- using namespace __gnu_cxx;
- #include
- #else
- #include
- #endif
-+#endif
-
- #include "postal.h"
-
- typedef enum { eNone = 0, eDefer, eReject, eBounce, eGrey } USER_SMTP_ACTION;
-
-@@ -21,10 +26,13 @@
- {
- USER_SMTP_ACTION action;
- int sync_time;
- } BHM_DATA;
-
-+#if (defined HAVE_STDCXX_0X) || (__cplusplus >= 201103L)
-+typedef unordered_map > NAME_MAP;
-+#else
- namespace __gnu_cxx
- {
- template<> struct hash< std::string >
- {
- size_t operator() ( const std::string &x ) const
-@@ -33,10 +41,11 @@
- }
- };
- }
-
- typedef hash_map > NAME_MAP;
-+#endif
-
- class BHMUsers
- {
- public:
- BHMUsers(const char *userListFile);
-diff -NrU5 postal-0.69.orig/configure.in postal-0.69/configure.in
---- postal-0.69.orig/configure.in 2008-04-23 22:39:01.000000000 +0200
-+++ postal-0.69/configure.in 2008-04-24 01:20:35.000000000 +0200
-@@ -155,6 +155,98 @@
-
- AC_CHECK_HEADERS(vector ext/hash_map)
-
- dnl Checks for library functions.
-
-+AC_DEFUN([AC_COMPILE_STDCXX_0X], [
-+ AC_CACHE_CHECK(if g++ supports C++0x features without additional flags,
-+ ac_cv_cxx_compile_cxx0x_native,
-+ [AC_LANG_SAVE
-+ AC_LANG_CPLUSPLUS
-+ AC_TRY_COMPILE([
-+ template
-+ struct check
-+ {
-+ static_assert(sizeof(int) <= sizeof(T), "not big enough");
-+ };
-+
-+ typedef check> right_angle_brackets;
-+
-+ int a;
-+ decltype(a) b;
-+
-+ typedef check check_type;
-+ check_type c;
-+ check_type&& cr = c;],,
-+ ac_cv_cxx_compile_cxx0x_native=yes, ac_cv_cxx_compile_cxx0x_native=no)
-+ AC_LANG_RESTORE
-+ ])
-+
-+ AC_CACHE_CHECK(if g++ supports C++0x features with -std=c++0x,
-+ ac_cv_cxx_compile_cxx0x_cxx,
-+ [AC_LANG_SAVE
-+ AC_LANG_CPLUSPLUS
-+ ac_save_CXXFLAGS="$CXXFLAGS"
-+ CXXFLAGS="$CXXFLAGS -std=c++0x"
-+ AC_TRY_COMPILE([
-+ template
-+ struct check
-+ {
-+ static_assert(sizeof(int) <= sizeof(T), "not big enough");
-+ };
-+
-+ typedef check> right_angle_brackets;
-+
-+ int a;
-+ decltype(a) b;
-+
-+ typedef check check_type;
-+ check_type c;
-+ check_type&& cr = c;],,
-+ ac_cv_cxx_compile_cxx0x_cxx=yes, ac_cv_cxx_compile_cxx0x_cxx=no)
-+ CXXFLAGS="$ac_save_CXXFLAGS"
-+ AC_LANG_RESTORE
-+ ])
-+
-+ AC_CACHE_CHECK(if g++ supports C++0x features with -std=gnu++0x,
-+ ac_cv_cxx_compile_cxx0x_gxx,
-+ [AC_LANG_SAVE
-+ AC_LANG_CPLUSPLUS
-+ ac_save_CXXFLAGS="$CXXFLAGS"
-+ CXXFLAGS="$CXXFLAGS -std=gnu++0x"
-+ AC_TRY_COMPILE([
-+ template
-+ struct check
-+ {
-+ static_assert(sizeof(int) <= sizeof(T), "not big enough");
-+ };
-+
-+ typedef check> right_angle_brackets;
-+
-+ int a;
-+ decltype(a) b;
-+
-+ typedef check check_type;
-+ check_type c;
-+ check_type&& cr = c;],,
-+ ac_cv_cxx_compile_cxx0x_gxx=yes, ac_cv_cxx_compile_cxx0x_gxx=no)
-+ CXXFLAGS="$ac_save_CXXFLAGS"
-+ AC_LANG_RESTORE
-+ ])
-+
-+ if test "$ac_cv_cxx_compile_cxx0x_native" = yes ||
-+ test "$ac_cv_cxx_compile_cxx0x_cxx" = yes ||
-+ test "$ac_cv_cxx_compile_cxx0x_gxx" = yes; then
-+ AC_DEFINE(HAVE_STDCXX_0X,,[Define if g++ supports C++0x features. ])
-+ fi
-+])
-+
-+AC_COMPILE_STDCXX_0X
-+
-+AC_SUBST(cstd)
-+cstd=
-+if test "$ac_cv_cxx_compile_cxx0x_cxx" = yes; then
-+ cstd=-std=c++0x
-+fi
-+
- AC_OUTPUT(Makefile postal.h port.h postal.spec sun/pkginfo)
-+
-diff -NrU5 postal-0.69.orig/Makefile.in postal-0.69/Makefile.in
---- postal-0.69.orig/Makefile.in 2008-04-23 22:39:01.000000000 +0200
-+++ postal-0.69/Makefile.in 2008-04-24 00:29:40.000000000 +0200
-@@ -8,12 +8,12 @@
- prefix=@prefix@
- eprefix=@exec_prefix@
- WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic
- WPLUS=-Woverloaded-virtual -ffor-scope
-
--CXX=@CXX@ $(CFLAGS) -O2 -g $(WFLAGS) $(WPLUS)
--CC=@CC@ $(CFLAGS) -O2 -g $(WFLAGS)
-+CXX=@CXX@ @cstd@ $(CFLAGS) $(WFLAGS) $(WPLUS)
-+CC=@CC@ $(CFLAGS) $(WFLAGS)
-
- INSTALL=@INSTALL@
-
- TESTEXE=ex-test
- BASEOBJS=userlist.o thread.o results.o address.o tcp.o cmd5.o mutex.o logit.o expand.o @extra_objs@
-diff -NrU5 postal-0.69.orig/postal.cpp postal-0.69/postal.cpp
---- postal-0.69.orig/postal.cpp 2007-01-14 05:40:23.000000000 +0100
-+++ postal-0.69/postal.cpp 2008-04-24 01:30:49.000000000 +0200
-@@ -6,10 +6,11 @@
- #include "smtp.h"
- #include
- #include
- #include
- #include
-+#include
- #include "postal.h"
- #include "logit.h"
- #ifdef USE_GNUTLS
- #include
- #include
-diff -NrU5 postal-0.69.orig/smtp.cpp postal-0.69/smtp.cpp
---- postal-0.69.orig/smtp.cpp 2008-04-19 00:01:39.000000000 +0200
-+++ postal-0.69/smtp.cpp 2008-04-24 00:14:49.000000000 +0200
-@@ -7,10 +7,11 @@
- #include
- #include "userlist.h"
- #include "logit.h"
- #include "results.h"
- #include
-+#include
-
- smtpData::smtpData()
- : m_quit("QUIT\r\n")
- , m_randomLetters("abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 1234567890 `~!@#$%^&*()-_=+[]{};:'\"|/?<>,")
- , m_randomLen(strlen(m_randomLetters))
-diff -NrU5 postal-0.69.orig/smtp.h postal-0.69/smtp.h
---- postal-0.69.orig/smtp.h 2008-04-19 00:01:23.000000000 +0200
-+++ postal-0.69/smtp.h 2008-04-24 00:18:03.000000000 +0200
-@@ -4,16 +4,20 @@
- using namespace std;
- #include
- #include
- #include
- #include "conf.h"
-+#if (defined HAVE_STDCXX_0X) || (__cplusplus >= 201103L)
-+#include
-+#else
- #ifdef HAVE_EXT_HASH_MAP
- using namespace __gnu_cxx;
- #include
- #else
- #include
- #endif
-+#endif
- #include "tcp.h"
- #include "mutex.h"
-
- class results;
-
-@@ -28,11 +32,15 @@
- {
- return (l1 == l2);
- }
- };
-
-+#if (defined HAVE_STDCXX_0X) || (__cplusplus >= 201103L)
-+typedef unordered_map, eqlng> NAME_MAP;
-+#else
- typedef hash_map, eqlng> NAME_MAP;
-+#endif
-
- class smtpData
- {
- public:
- smtpData();
diff --git a/net-analyzer/postal/files/04_postal-0.70-warnings.patch b/net-analyzer/postal/files/04_postal-0.70-warnings.patch
deleted file mode 100644
index 066cf972cdf7..000000000000
--- a/net-analyzer/postal/files/04_postal-0.70-warnings.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -NrU5 postal-0.69.orig/bhm.cpp postal-0.69/bhm.cpp
---- postal-0.69.orig/bhm.cpp 2008-04-23 01:47:25.000000000 +0200
-+++ postal-0.69/bhm.cpp 2008-04-23 02:10:17.000000000 +0200
-@@ -67,11 +67,11 @@
- Logit *debug;
- } thread_data;
-
- enum { eFree = 0, eUsed, eFinished };
-
--int check_sender(CPCCHAR addr)
-+int check_sender(CPCCHAR)
- {
- return 0;
- }
-
- int readCommand(base_tcp &t, char *buf, int bufSize, bool stripCR, int timeout = 60);
-
diff --git a/net-analyzer/postal/files/05_postal-0.70-openssl-1.patch b/net-analyzer/postal/files/05_postal-0.70-openssl-1.patch
deleted file mode 100644
index 5b5c054ac98c..000000000000
--- a/net-analyzer/postal/files/05_postal-0.70-openssl-1.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-http://bugs.gentoo.org/327937
-
---- basictcp.h
-+++ basictcp.h
-@@ -89,7 +89,11 @@
-
- #ifdef USE_SSL
- #ifdef USE_OPENSSL
-+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+ const SSL_METHOD *m_sslMeth;
-+ #else
- SSL_METHOD *m_sslMeth;
-+ #endif
- SSL_CTX* m_sslCtx;
- SSL *m_ssl;
- #else
---- tcp.h
-+++ tcp.h
-@@ -100,7 +100,11 @@
-
- #ifdef USE_SSL
- #ifdef USE_OPENSSL
-+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+ const SSL_METHOD *m_sslMeth;
-+ #else
- SSL_METHOD *m_sslMeth;
-+ #endif
- SSL_CTX* m_sslCtx;
- SSL *m_ssl;
- #else
diff --git a/net-analyzer/postal/files/06_postal-0.70-ldflags.patch b/net-analyzer/postal/files/06_postal-0.70-ldflags.patch
deleted file mode 100644
index 7bfb92de7f0d..000000000000
--- a/net-analyzer/postal/files/06_postal-0.70-ldflags.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- Makefile.in~ 2011-06-08 11:38:59.123333174 +0300
-+++ Makefile.in 2011-06-08 11:46:02.000000000 +0300
-@@ -24,19 +24,19 @@
- ALLOBJS=$(BASEOBJS) smtp.o client.o basictcp.o bhmusers.o smtpserver.o
-
- postal: postal.cpp $(BASEOBJS) postal.h smtp.o
-- $(CXX) postal.cpp $(BASEOBJS) smtp.o -o postal $(CRYPTLFLAGS)
-+ $(CXX) $(LDFLAGS) postal.cpp $(BASEOBJS) smtp.o -o postal $(CRYPTLFLAGS)
-
- rabid: rabid.cpp $(BASEOBJS) postal.h client.o
-- $(CXX) rabid.cpp $(BASEOBJS) client.o -o rabid $(CRYPTLFLAGS)
-+ $(CXX) $(LDFLAGS) rabid.cpp $(BASEOBJS) client.o -o rabid $(CRYPTLFLAGS)
-
- bhm: bhm.cpp userlist.o basictcp.o logit.o results.o mutex.o bhmusers.o postal.h
-- $(CXX) bhm.cpp userlist.o basictcp.o logit.o results.o mutex.o bhmusers.o -o bhm $(CRYPTLFLAGS)
-+ $(CXX) $(LDFLAGS) bhm.cpp userlist.o basictcp.o logit.o results.o mutex.o bhmusers.o -o bhm $(CRYPTLFLAGS)
-
- ex-test: ex-test.cpp expand.o
-- $(CXX) ex-test.cpp expand.o -o ex-test $(LFLAGS)
-+ $(CXX) $(LDFLAGS) ex-test.cpp expand.o -o ex-test $(LFLAGS)
-
- postal-list: postal-list.cpp expand.o
-- $(CXX) postal-list.cpp expand.o -o postal-list $(LFLAGS)
-+ $(CXX) $(LDFLAGS) postal-list.cpp expand.o -o postal-list $(LFLAGS)
-
- install-bin: $(EXE) $(SEXE)
- mkdir -p $(DESTDIR)$(eprefix)/sbin $(DESTDIR)$(eprefix)/bin
diff --git a/net-analyzer/postal/postal-0.72.ebuild b/net-analyzer/postal/postal-0.72.ebuild
deleted file mode 100644
index 82e1541dd2e7..000000000000
--- a/net-analyzer/postal/postal-0.72.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit autotools eutils
-
-DESCRIPTION="SMTP and POP mailserver benchmark. Supports SSL, randomized user accounts and more"
-HOMEPAGE="http://www.coker.com.au/postal/"
-SRC_URI="http://www.coker.com.au/postal/${P}.tgz"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
-IUSE="ssl gnutls"
-#ssl is an alias for openssl. If both ssl and gnutls are enabled, automagic will
-#enable only gnutls.
-DEPEND="ssl? (
- !gnutls? ( >=dev-libs/openssl-0.9.8g )
- gnutls? ( >=net-libs/gnutls-2.2.2 )
- )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}/01_${PN}-0.70-gcc43.patch"
- epatch "${FILESDIR}/02_${PN}-0.72-nossl.patch"
- epatch "${FILESDIR}/03_${PN}-0.70-c++0x-integrated.patch"
- epatch "${FILESDIR}/04_${PN}-0.70-warnings.patch"
- epatch "${FILESDIR}/05_${PN}-0.70-openssl-1.patch"
- epatch "${FILESDIR}/06_${PN}-0.70-ldflags.patch"
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-stripping \
- $(use_enable ssl openssl) \
- $(use_enable gnutls)
-}
diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 2c486a839804..6dd98931a73c 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1 @@
-DIST tcpreplay-4.3.1.tar.xz 746804 BLAKE2B c1feb541b8243b00b2fa6ee9742ced4ef47c58a58d3a95be88faa0fa4301da0cb962a620df724cd4526ea31e74a0e7d7161eb44afea37467a19976a20855e0e0 SHA512 2dbad1a88ed19db897cc1222883c02eb7f0808f64cafb3c3ef8f21c0cfcb14d3ebb92a8a01ea203ca128ed675d2e7dcdb30d0bce30eb79e729d9d45d309f9220
DIST tcpreplay-4.3.2.tar.xz 747268 BLAKE2B 27cad902785975f9c7fbfb8abef24ae95fbc8812e0a4fabd3b1ecf74bb9f0a99cdb0c37db72c433296d3cebba89d0bbc90e944195e585bf2d1c2d93ef234c4f6 SHA512 641dd636d9c5c30637d0103f8b21da3ce234f9e3ed7ab4d2b20d004fc4a14301672dcd678b2d5e0eb90d55a97bcb0c4c67f31c790a5aa3c509a92d1142c5b7b9
diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild b/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
deleted file mode 100644
index 3d0c5b4f1d7a..000000000000
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay"
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz -> ${P}.tar.xz"
-
-SLOT="0"
-KEYWORDS="amd64 ~arm ~sparc x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
- >=sys-devel/autogen-5.18.4[libopts]
- dev-libs/libdnet
- >=net-libs/libpcap-0.9
- tcpdump? ( net-analyzer/tcpdump )
- pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
- docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
- "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
- default
-
- sed -i \
- -e 's|#include |#include |g' \
- src/common/sendpacket.c || die
- sed -i \
- -e 's|@\([A-Z_]*\)@|$(\1)|g' \
- -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
- -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
- src/Makefile.am || die
-
- eautoreconf
-}
-
-src_configure() {
- # By default it uses static linking. Avoid that, bug 252940
- econf \
- $(use_enable debug) \
- $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
- $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
- --enable-dynamic-link \
- --enable-local-libopts \
- --enable-shared \
- --with-libdnet \
- --with-testnic2=lo \
- --with-testnic=lo
-}
-
-src_test() {
- if [[ ! ${EUID} -eq 0 ]]; then
- ewarn "Some tests were disabled due to FEATURES=userpriv"
- ewarn "To run all tests issue the following command as root:"
- ewarn " # make -C ${S}/test"
- emake -j1 -C test tcpprep || die "self test failed - see ${S}/test/test.log"
- else
- emake -j1 test || {
- ewarn "Note that some tests require eth0 iface to be up." ;
- die "self test failed - see ${S}/test/test.log" ; }
- fi
-}
diff --git a/net-analyzer/testssl/testssl-2.9.5_p7.ebuild b/net-analyzer/testssl/testssl-2.9.5_p7.ebuild
index ba5f437a519d..4398957f634b 100644
--- a/net-analyzer/testssl/testssl-2.9.5_p7.ebuild
+++ b/net-analyzer/testssl/testssl-2.9.5_p7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/drwetter/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.t
LICENSE="GPL-2 bundled-openssl? ( openssl )"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="bundled-openssl kerberos"
RDEPEND="
diff --git a/net-dialup/Manifest.gz b/net-dialup/Manifest.gz
index 7ec466dc3267..160ba37bfe80 100644
Binary files a/net-dialup/Manifest.gz and b/net-dialup/Manifest.gz differ
diff --git a/net-dialup/xl2tpd/Manifest b/net-dialup/xl2tpd/Manifest
index e9deade53323..efd75effbd72 100644
--- a/net-dialup/xl2tpd/Manifest
+++ b/net-dialup/xl2tpd/Manifest
@@ -1,4 +1,4 @@
DIST xl2tpd-1.3.10.tar.gz 510777 BLAKE2B 15ec09a6186d20facd4eceeca87a33a4676644a6976c2b69a61b288a2534c354bcc9b64eca4305aa7774d3b5fc29c97078478bebec7e81f8071865b29a97809e SHA512 304b8cd098608a866d32c65c55ba98a01e10abb473d8bff488c723fd1f6d4a66cf98c6d3044f7986a334739693767608c48999f873e95a51f0fa6c23cb61ecd4
DIST xl2tpd-1.3.11.tar.gz 510652 BLAKE2B c120ba0a2bb96a87334743319808e4a1dfb1b95140fc37df51c33e176bdefdac547ad27d38731bab9d94a939b9a3ca93404ef17c8076e16567a3ecc5b568fb47 SHA512 9fd478aa6b7e22867aa977aa0c22ba9d856e3b659aa0ffdcdb17aa0d8358cceab37da565eeb799590d65fc2914720715423e006f6bbe7ca742f09d7cced52cb7
DIST xl2tpd-1.3.12.tar.gz 513173 BLAKE2B a1f2e4d0e1af4402679eeec6589ca17b0422c664d37beae628511f988f6508ca22160d4657f8ff84bc5e5aac4d3e837c501b4d307964530044a792f2ecc599ab SHA512 e18f15ba038cd358fbad9dd7284c5f3c34273d9291bf8c66494c46d78150acfc1666cbf935fb5a66bd1f0220014f0b49fa0f7f55cb42de125e4123112c6eb00b
-DIST xl2tpd-1.3.6.tar.gz 553981 BLAKE2B 3e79534fe3eaa906cf09da93b7f6be2931e4c7fc8ff43dd9683ae846e1e2351c3bee81ac8853dee6c7e45ad8b60f8727edbd95d6dd30cc508288227b09da351c SHA512 868c65660e6a45fb8dc22b95542e9d6ca0dc8e5033cc9df04171a651ef273bc5d711a85f61d4a971d714089f7a10ee67460d8ab9f3c007fcffe0e11e81ae0bfd
+DIST xl2tpd-1.3.13.tar.gz 513958 BLAKE2B 66c2bcbb54191445f1a519d507b2ec67b48d9e994db09b8c6fc9980b03bf5aab09a2f6187170f0e8639bd8a323b8417bf6e5d0a80fd9e45f8adc310902b256ae SHA512 02e3502a75f41745c001fe1a34dd9900c3a77eea274e08f9361f7145ac24e9a663975efe85ef6aef7c6da1aa9f3369eeb5542ac26e90b9d59753158a17b69ee4
diff --git a/net-dialup/xl2tpd/metadata.xml b/net-dialup/xl2tpd/metadata.xml
index 3da1a1ee3824..8066f7a44b9e 100644
--- a/net-dialup/xl2tpd/metadata.xml
+++ b/net-dialup/xl2tpd/metadata.xml
@@ -12,6 +12,7 @@
xl2tpd is a fork of l2tpd Layer 2 Tunneling Protocol (L2TP) daemon that can be used to transfer frames of OSI layer 2 protocols through an IP tunnel. While it provides authentication via CHAP or PAP it does not provide encryption itself and should therefore be externally secured (via IPSEC).
Patch for host lookup retries, activated by redial feature
+ Enable kernel interface for PPPoL2TP
xelerance/xl2tpd
diff --git a/net-dialup/xl2tpd/xl2tpd-1.3.13.ebuild b/net-dialup/xl2tpd/xl2tpd-1.3.13.ebuild
new file mode 100644
index 000000000000..ff05839b9552
--- /dev/null
+++ b/net-dialup/xl2tpd/xl2tpd-1.3.13.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd toolchain-funcs
+
+DESCRIPTION="A modern version of the Layer 2 Tunneling Protocol (L2TP) daemon"
+HOMEPAGE="https://github.com/xelerance/xl2tpd"
+SRC_URI="https://github.com/xelerance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
+IUSE="+kernel"
+
+DEPEND="
+ net-libs/libpcap
+ >=sys-kernel/linux-headers-2.6"
+
+RDEPEND="
+ ${DEPEND}
+ net-dialup/ppp"
+
+DOCS=(CREDITS README.xl2tpd BUGS CHANGES TODO doc/README.patents)
+
+src_compile() {
+ tc-export CC
+ local OSFLAGS="-DLINUX"
+ use kernel && OSFLAGS+=" -DUSE_KERNEL"
+ emake OSFLAGS="$OSFLAGS"
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+
+ newinitd "${FILESDIR}"/xl2tpd-init-r1 xl2tpd
+
+ systemd_dounit "${FILESDIR}"/xl2tpd.service
+ systemd_dotmpfilesd "${FILESDIR}"/xl2tpd.conf
+
+ einstalldocs
+
+ insinto /etc/xl2tpd
+ newins doc/l2tpd.conf.sample xl2tpd.conf
+ insopts -m 0600
+ newins doc/l2tp-secrets.sample l2tp-secrets
+}
diff --git a/net-dialup/xl2tpd/xl2tpd-1.3.6.ebuild b/net-dialup/xl2tpd/xl2tpd-1.3.6.ebuild
deleted file mode 100644
index d341d3479b51..000000000000
--- a/net-dialup/xl2tpd/xl2tpd-1.3.6.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils systemd toolchain-funcs
-
-DESCRIPTION="A modern version of the Layer 2 Tunneling Protocol (L2TP) daemon"
-HOMEPAGE="http://www.xelerance.com/services/software/xl2tpd/"
-SRC_URI="https://github.com/xelerance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ppc64 ~x86"
-IUSE="dnsretry"
-
-DEPEND="net-libs/libpcap"
-RDEPEND="${DEPEND}
- net-dialup/ppp"
-DEPEND+=" >=sys-kernel/linux-headers-2.6.23"
-
-src_prepare() {
- sed -i Makefile -e 's| -O2||g' || die "sed Makefile"
- # The below patch is questionable. Why wasn't it submitted upstream? If it
- # ever breaks, it will just be removed. -darkside 20120914
- use dnsretry && epatch "${FILESDIR}/${PN}-dnsretry.patch"
-}
-
-src_compile() {
- tc-export CC
- export OSFLAGS="-DLINUX"
- emake
-}
-
-src_install() {
- emake PREFIX=/usr DESTDIR="${D}" install
- dodoc CREDITS README.xl2tpd BUGS CHANGES TODO doc/README.patents doc/rfc2661.txt
- insinto /etc/xl2tpd
- newins doc/l2tpd.conf.sample xl2tpd.conf
- newins doc/l2tp-secrets.sample l2tp-secrets
- fperms 0600 /etc/xl2tpd/l2tp-secrets
- newinitd "${FILESDIR}"/xl2tpd-init-r1 xl2tpd
- systemd_dounit "${FILESDIR}"/xl2tpd.service
- systemd_dotmpfilesd "${FILESDIR}"/xl2tpd.conf
-}
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz
index 195a68838a92..66a112c7100e 100644
Binary files a/net-dns/Manifest.gz and b/net-dns/Manifest.gz differ
diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest
index f48954925d59..65a72add02cf 100644
--- a/net-dns/ddclient/Manifest
+++ b/net-dns/ddclient/Manifest
@@ -1,2 +1 @@
-DIST ddclient-3.8.1.tar.gz 48600 BLAKE2B a945adcb42bd298422c71c0eea6bea36c6b266ce39e97ebfd833b29819a2f30f2651d7f7b17dbfc0720b6209d0c0ed94bf2673624777f07e6de83a7081471995 SHA512 d6722582dffe0c5a806176f24bd3d9117bc1210ea0137aa92138390be16e67d47b746777dc431282a664849c91626969a5e267777126bac03304c7aa34a9dad7
DIST ddclient-3.9.0.tar.gz 59018 BLAKE2B b9b58108d9f124fcd5a72cc57bfb0e6a5bc2e115edc27a1d5950a929670d67d5c703b09f51e7e82e977ccfb544d115da177b0ac8dc06a76a800aa207cde5a42d SHA512 ae314c96a37dd90256d6acf62f4a4523b72f540194131e351a032239b00b4520351f6549d3b20a9209fe49ccc6de7ce158ffa8635d341066ea71b789dc667438
diff --git a/net-dns/ddclient/ddclient-3.8.1-r5.ebuild b/net-dns/ddclient/ddclient-3.8.1-r5.ebuild
deleted file mode 100644
index f4c2cb5db010..000000000000
--- a/net-dns/ddclient/ddclient-3.8.1-r5.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-inherit eutils systemd user
-
-DESCRIPTION="Perl updater client for dynamic DNS services"
-HOMEPAGE="http://ddclient.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="hardened"
-
-RDEPEND=">=dev-lang/perl-5.1
- dev-perl/Digest-SHA1
- dev-perl/IO-Socket-SSL
- hardened? ( sys-apps/iproute2 )
-"
-
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
- # Remove pid line, because it is specified in /etc/init.d/ddclient
- ebegin "Removing PID setup from ${PN}.conf"
- if ! sed '/^pid/d' -i "sample-etc_${PN}.conf"; then
- eerror "Failed to remove pid from /etc/${PN}/${PN}.conf"
- fi
- eend $?
-
- use hardened && epatch "${FILESDIR}/iproute2.patch"
-
- epatch "${FILESDIR}/cmd-over-cfg.patch"
-}
-
-src_install() {
- dosbin ${PN}
- dodoc Change* COPYRIGHT README* RELEASENOTE sample*
-
- newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
- newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
- keepdir /var/cache/${PN}
- fowners -R ${PN}:${PN} /var/cache/${PN}
-
- insinto /etc/${PN}
- insopts -m 0600 -o ${PN} -g ${PN}
- newins sample-etc_${PN}.conf ${PN}.conf
- newins sample-etc_${PN}.conf ${PN}.conf.sample
- fowners -R ${PN}:${PN} /etc/${PN}
-}
diff --git a/net-dns/ddclient/ddclient-3.9.0-r1.ebuild b/net-dns/ddclient/ddclient-3.9.0-r1.ebuild
deleted file mode 100644
index 5176c0ebc346..000000000000
--- a/net-dns/ddclient/ddclient-3.9.0-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit systemd user
-
-DESCRIPTION="Perl client used to update dynamic DNS entries"
-HOMEPAGE="https://sourceforge.net/projects/ddclient/"
-SRC_URI="mirror://sourceforge/ddclient/${P}.tar.gz"
-
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="examples iproute2"
-
-RDEPEND="dev-lang/perl
- dev-perl/Data-Validate-IP
- dev-perl/Digest-SHA1
- dev-perl/IO-Socket-INET6
- dev-perl/IO-Socket-SSL
- virtual/perl-Digest-SHA
- virtual/perl-JSON-PP
- iproute2? ( sys-apps/iproute2 )"
-
-pkg_setup() {
- enewgroup ddclient
- enewuser ddclient -1 -1 -1 ddclient
-}
-
-src_prepare() {
- # Remove PID setting, to reliably setup the environment for the init script
- sed -e '/^pid/d' -i sample-etc_ddclient.conf || die
-
- # Remove windows executable
- if use examples; then
- rm sample-etc_dhcpc_dhcpcd-eth0.exe || die
- fi
-
- # Use sys-apps/iproute2 instead of sys-apps/net-tools
- use iproute2 && eapply "${FILESDIR}"/${P}-use_iproute2.patch
-
- default
-}
-
-src_install() {
- dobin ddclient
-
- insinto /etc/ddclient
- insopts -m 0600 -o ddclient -g ddclient
- newins sample-etc_ddclient.conf ddclient.conf
-
- newinitd "${FILESDIR}"/ddclient.initd-r5 ddclient
- systemd_newunit "${FILESDIR}"/ddclient.service-r1 ddclient.service
- systemd_newtmpfilesd "${FILESDIR}"/ddclient.tmpfiles ddclient.conf
-
- dodoc Change* README* RELEASENOTE TODO UPGRADE
-
- if use examples; then
- docinto examples
- dodoc sample-*
- fi
-}
diff --git a/net-dns/ddclient/files/cmd-over-cfg.patch b/net-dns/ddclient/files/cmd-over-cfg.patch
deleted file mode 100644
index 9033873fde74..000000000000
--- a/net-dns/ddclient/files/cmd-over-cfg.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ddclient.old 2011-11-13 10:14:59.957846596 -0500
-+++ ddclient 2011-11-13 10:18:33.864245944 -0500
-@@ -773,7 +773,7 @@
- foreach my $h (sort keys %config) {
- next if $config{$h}{'protocol'} ne lc($s);
- $examined{$h} = 1;
-- my $use = $config{$h}{'use'} || opt('use');
-+ my $use = opt('use') || $config{$h}{'use'};
- local $opt{$use} = $config{$h}{$use} if $config{$h}{$use};
- # bug #13: we should only do this once
- # use isn't enough, we have to save the origin to.
diff --git a/net-dns/ddclient/files/ddclient.confd-r1 b/net-dns/ddclient/files/ddclient.confd-r1
deleted file mode 100644
index 69ad0eeff87d..000000000000
--- a/net-dns/ddclient/files/ddclient.confd-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-# No need to specify a pid in /etc/ddclient/ddclient.conf
-#PIDFILE=/var/run/ddclient/ddclient.pid
diff --git a/net-dns/ddclient/files/ddclient.initd-r3 b/net-dns/ddclient/files/ddclient.initd-r3
deleted file mode 100644
index e0606a60b11c..000000000000
--- a/net-dns/ddclient/files/ddclient.initd-r3
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-if [ -d /run ] ; then
- PIDFILE=${PIDFILE:-/run/ddclient/ddclient.pid}
-else
- PIDFILE=${PIDFILE:-/var/run/ddclient/ddclient.pid}
-fi
-
-depend() {
- before cron
- need net
- use dns logger squid
-}
-
-checkconfig() {
- local conf="/etc/ddclient/ddclient.conf"
-
- if [ -e "${conf}" ] ; then
- if [ -n "$(find /etc/ddclient -maxdepth 1 -name ddclient.conf -perm +0044)" ] ; then
- eerror "${conf} must not be world or group readable. Try:"
- eerror " chmod 600 ${conf}"
- eerror " chown ddclient:ddclient ${conf}"
- return 1
- fi
- else
- eerror "${conf} is needed to run ddclient"
- eerror "There is a sample file in /etc/ddclient/"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- local piddir=$(dirname ${PIDFILE})
- if [ ! -d ${piddir} ] ; then
- ebegin "Making ${piddir}"
- mkdir -p ${piddir}
- eend $?
- ebegin "Changing permissions of ${piddir}"
- chown ddclient:ddclient ${piddir}
- eend $?
- fi
-
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --user ddclient --exec /usr/sbin/ddclient \
- --name ddclient --pidfile ${PIDFILE} -- -pid=${PIDFILE}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --signal USR1 --pidfile ${PIDFILE}
- eend $?
-}
diff --git a/net-dns/ddclient/files/ddclient.initd-r5 b/net-dns/ddclient/files/ddclient.initd-r5
deleted file mode 100644
index a2284a27c1ff..000000000000
--- a/net-dns/ddclient/files/ddclient.initd-r5
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-name="DDclient"
-pidfile="/run/ddclient/${RC_SVCNAME}.pid"
-
-command="/usr/bin/ddclient"
-command_args="-pid ${pidfile}"
-command_group="ddclient"
-command_user="ddclient"
-
-depend() {
- use dns logger
-}
-
-start_pre() {
- checkpath -f -m 0600 -o ${command_user}:${command_group} /etc/ddclient/ddclient.conf
- checkpath -d -m 0700 -o ${command_user}:${command_group} /run/ddclient
- checkpath -d -m 0700 -o ${command_user}:${command_group} /var/cache/ddclient
-}
diff --git a/net-dns/ddclient/files/ddclient.service b/net-dns/ddclient/files/ddclient.service
deleted file mode 100644
index e2d3608d44d4..000000000000
--- a/net-dns/ddclient/files/ddclient.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Dynamic DNS Update Client
-After=network.target
-ConditionPathExists=/etc/ddclient/ddclient.conf
-
-[Service]
-ExecStart=/usr/sbin/ddclient --foreground
-User=ddclient
-Group=ddclient
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-dns/ddclient/files/iproute2.patch b/net-dns/ddclient/files/iproute2.patch
deleted file mode 100644
index f81dd8c00d82..000000000000
--- a/net-dns/ddclient/files/iproute2.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -u a/ddclient b/ddclient
---- a/ddclient 2011-07-11 17:04:21.000000000 -0400
-+++ b/ddclient 2011-08-12 20:13:15.980466303 -0400
-@@ -588,7 +588,7 @@
- [ "ip", "=s", "-ip address : set the IP address to 'address'" ],
- "",
- [ "if", "=s", "-if interface : obtain IP address from 'interface'" ],
-- [ "if-skip", "=s", "-if-skip pattern : skip any IP addresses before 'pattern' in the output of ifconfig {if}" ],
-+ [ "if-skip", "=s", "-if-skip pattern : skip any IP addresses before 'pattern' in the output of ip addr show {if}" ],
- "",
- [ "web", "=s", "-web provider|url : obtain IP address from provider's IP checking page" ],
- [ "web-skip", "=s", "-web-skip pattern : skip any IP addresses before 'pattern' on the web provider|url" ],
-@@ -1316,7 +1316,7 @@
-
- {
- local $opt{'use'} = 'if';
-- foreach my $if (grep {/^[a-zA-Z]/} `ifconfig -a`) {
-+ foreach my $if (grep {/^[a-zA-Z]/} `ip addr show`) {
- $if =~ s/:?\s.*//is;
- local $opt{'if'} = $if;
- printf "use=if, if=%s address is %s\n", opt('if'), define(get_ip('if'), 'NOT FOUND');
-@@ -1937,7 +1937,7 @@
-
- } elsif ($use eq 'if') {
- $skip = opt('if-skip', $h) || '';
-- $reply = `ifconfig $arg 2> /dev/null`;
-+ $reply = `ip addr show $arg 2> /dev/null`;
- $reply = '' if $?;
-
- } elsif ($use eq 'cmd') {
diff --git a/net-dns/ddclient/metadata.xml b/net-dns/ddclient/metadata.xml
index 2d82a2acf9c1..a65cccd3f082 100644
--- a/net-dns/ddclient/metadata.xml
+++ b/net-dns/ddclient/metadata.xml
@@ -21,7 +21,6 @@
Install various example files, like for cron.
- Use iproute2 instead of ifconfig to grab an IP address
Use sys-apps/iproute2 instead of sys-apps/net-tools for interaction.
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index dccc263e41f1..c4c7313c1d55 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,4 +1,2 @@
-DIST knot-2.6.9.tar.xz 1126872 BLAKE2B c15b7e61ccad5417ce53f3d3895014931a2825835958735bdd9459634d9d9f39d6bb3681036772e6a510570a7f6a8afc8b0de5e77e67778831dc6415378889fe SHA512 80fcbef17c3e6685c09eb57e59001a5f298a083c18ce077dc2f2d1fadbe7c36e543c205c0820bc7971a8ed7547897aec408f51e1a9555a50dae82d047fac471b
-DIST knot-2.7.2.tar.xz 1148880 BLAKE2B bf3042d762d2b66f47dbd27a1c9ecd03d111259c7db82254c1175e660497fd8343c3f1cf1cc14e6068cb3d3618931b659888a7b97d7d6e4ba9d0e74c00540e31 SHA512 e09f8a38e975ff4f90db59db9ae8a6baaca9b0cbc9c2ecd37225febfe718b7c2038ae45481ed830dc66f2b70d8312266e2dc7cb54a0aa0fdc02c87ca42bac96d
-DIST knot-2.7.3.tar.xz 1146456 BLAKE2B d584db01b2354c259cf5e5cdfeb2dff677b04e76b68156a2c672fffe95ee8c6516f82b8e199d8ec8cacfcd93f15b370a25172826460b82c5964f38207c9818f2 SHA512 ba735eb06d99f8cb41619f44413f6450178ab249ef9ff282bae36e8e965cb421f082852bbf0ae5814e3e3148f27431fc1f2b4ed30e21bfd0cbea1be189bdadfd
-DIST knot-2.7.4.tar.xz 1148652 BLAKE2B 081a23a0429b4fec1feebbe417bc95fe24d11404a2a6b9e4e71d89f99bc9cf2a5ed2bdc3a0fd2727cc4d45629b71faefda179e68c4781f8b21c475a7b1fe8bdd SHA512 e5f60a23817503468b18eaea517c5936945b901f568c56cb1ca67a208cc6206ff103e9ca03f1bf05018d13a688f54580ae816a5d70510f28a98ae31116a3f674
+DIST knot-2.7.6.tar.xz 1151068 BLAKE2B aba7b9f89d98ddabe5596198b0767b6d88cab2278eda33bea2738bcc2f62bc3b7463ee517488f8d2efa40b11859b3aefaa212999968654e5e5580969a173ec8e SHA512 6b6a727d57337da01e2d44abec7fde4504d112604769b118fe6254b0317f149ed4e9fab321a04517eccedb08e409818d1817fc1136c27d1fd351538e6816022a
+DIST knot-2.8.0.tar.xz 1168900 BLAKE2B e6d54709ce0bbc5411918de337fd2eb1cb939bbaf1b0dec149b169c2a93c6c0f4719028e35ff9a07d940d5e30470a4661e847a83c73ba0baaf89a520d8ee4fc3 SHA512 0cf2840d908bbab3197bff82d37e4a754204a3b79efa7e982719bc19028519d3ff0b2177780dada54e1b070f5f7aa28dab7bbfcc2d2ea086817f3a29b746228e
diff --git a/net-dns/knot/knot-2.6.9.ebuild b/net-dns/knot/knot-2.6.9.ebuild
deleted file mode 100644
index a99e9462b6a7..000000000000
--- a/net-dns/knot/knot-2.6.9.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/"
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
- "+dnsproxy"
- "dnstap"
- "+noudp"
- "+onlinesign"
- "rosedb"
- "+rrl"
- "+stats"
- "+synthrecord"
- "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
- dev-db/lmdb
- dev-libs/libedit
- dev-libs/userspace-rcu:=
- dev-python/lmdb
- net-libs/gnutls
- caps? ( sys-libs/libcap-ng )
- dnstap? (
- dev-libs/fstrm
- dev-libs/protobuf-c
- )
- idn? (
- !libidn2? ( net-dns/libidn:* )
- libidn2? ( net-dns/libidn2 )
- )
- systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
- local u
- local my_conf=(
- --with-storage="${EPREFIX}/var/lib/${PN}"
- --with-rundir="${EPREFIX}/var/run/${PN}"
- $(use_enable fastparser)
- $(use_enable dnstap)
- $(use_enable doc documentation)
- $(use_enable utils utilities)
- --enable-systemd=$(usex systemd)
- $(use_with idn libidn)
- )
-
- for u in "${KNOT_MODULES[@]#+}"; do
- my_conf+=("$(use_with ${u} module-${u})")
- done
-
- econf "${my_conf[@]}"
-}
-
-src_compile() {
- default
-
- if use doc; then
- emake -C doc html
- HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
- fi
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- default
-
- rmdir "${D}var/run/${PN}" "${D}var/run/" || die
- keepdir /var/lib/${PN}
-
- newinitd "${FILESDIR}/knot.init" knot
- if use systemd; then
- systemd_newunit "${FILESDIR}/knot-1.service" knot.service
- fi
-
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- enewgroup knot 53
- enewuser knot 53 -1 /var/lib/knot knot
-}
diff --git a/net-dns/knot/knot-2.7.2.ebuild b/net-dns/knot/knot-2.7.2.ebuild
deleted file mode 100644
index 1312f7835d72..000000000000
--- a/net-dns/knot/knot-2.7.2.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/"
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
- "+cookies"
- "+dnsproxy"
- "dnstap"
- "geoip"
- "+noudp"
- "+onlinesign"
- "+rrl"
- "+stats"
- "+synthrecord"
- "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
- dev-db/lmdb
- dev-libs/libedit
- dev-libs/userspace-rcu:=
- dev-python/lmdb
- net-libs/gnutls
- caps? ( sys-libs/libcap-ng )
- dnstap? (
- dev-libs/fstrm
- dev-libs/protobuf-c
- )
- geoip? ( dev-libs/libmaxminddb )
- idn? (
- !libidn2? ( net-dns/libidn:* )
- libidn2? ( net-dns/libidn2 )
- )
- systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
- local u
- local my_conf=(
- --with-storage="${EPREFIX}/var/lib/${PN}"
- --with-rundir="${EPREFIX}/var/run/${PN}"
- $(use_enable fastparser)
- $(use_enable dnstap)
- $(use_enable doc documentation)
- $(use_enable utils utilities)
- --enable-systemd=$(usex systemd)
- $(use_with idn libidn)
- )
-
- for u in "${KNOT_MODULES[@]#+}"; do
- my_conf+=("$(use_with ${u} module-${u})")
- done
-
- econf "${my_conf[@]}"
-}
-
-src_compile() {
- default
-
- if use doc; then
- emake -C doc html
- HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
- fi
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- default
-
- rmdir "${D}var/run/${PN}" "${D}var/run/" || die
- keepdir /var/lib/${PN}
-
- newinitd "${FILESDIR}/knot.init" knot
- if use systemd; then
- systemd_newunit "${FILESDIR}/knot-1.service" knot.service
- fi
-
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- enewgroup knot 53
- enewuser knot 53 -1 /var/lib/knot knot
-}
diff --git a/net-dns/knot/knot-2.7.4.ebuild b/net-dns/knot/knot-2.7.6.ebuild
similarity index 82%
rename from net-dns/knot/knot-2.7.4.ebuild
rename to net-dns/knot/knot-2.7.6.ebuild
index ce8659e1fd17..5ccc7dcad7c8 100644
--- a/net-dns/knot/knot-2.7.4.ebuild
+++ b/net-dns/knot/knot-2.7.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,27 +26,28 @@ KNOT_MODULES=(
"+synthrecord"
"+whoami"
)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
RDEPEND="
dev-db/lmdb
dev-libs/libedit
dev-libs/userspace-rcu:=
dev-python/lmdb
- net-libs/gnutls
+ net-libs/gnutls:=
caps? ( sys-libs/libcap-ng )
dnstap? (
dev-libs/fstrm
- dev-libs/protobuf-c
+ dev-libs/protobuf-c:=
)
- geoip? ( dev-libs/libmaxminddb )
+ geoip? ( dev-libs/libmaxminddb:= )
idn? (
- !libidn2? ( net-dns/libidn:* )
- libidn2? ( net-dns/libidn2 )
+ !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+ libidn2? ( net-dns/libidn2:= )
)
- systemd? ( sys-apps/systemd )
+ systemd? ( sys-apps/systemd:= )
"
-BDEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
doc? ( dev-python/sphinx )
"
diff --git a/net-dns/knot/knot-2.7.3.ebuild b/net-dns/knot/knot-2.8.0.ebuild
similarity index 79%
rename from net-dns/knot/knot-2.7.3.ebuild
rename to net-dns/knot/knot-2.8.0.ebuild
index 1c1b445d8ccc..5ccc7dcad7c8 100644
--- a/net-dns/knot/knot-2.7.3.ebuild
+++ b/net-dns/knot/knot-2.8.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit systemd user
@@ -26,27 +26,28 @@ KNOT_MODULES=(
"+synthrecord"
"+whoami"
)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
RDEPEND="
dev-db/lmdb
dev-libs/libedit
dev-libs/userspace-rcu:=
dev-python/lmdb
- net-libs/gnutls
+ net-libs/gnutls:=
caps? ( sys-libs/libcap-ng )
dnstap? (
dev-libs/fstrm
- dev-libs/protobuf-c
+ dev-libs/protobuf-c:=
)
- geoip? ( dev-libs/libmaxminddb )
+ geoip? ( dev-libs/libmaxminddb:= )
idn? (
- !libidn2? ( net-dns/libidn:* )
- libidn2? ( net-dns/libidn2 )
+ !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+ libidn2? ( net-dns/libidn2:= )
)
- systemd? ( sys-apps/systemd )
+ systemd? ( sys-apps/systemd:= )
"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
doc? ( dev-python/sphinx )
"
@@ -89,7 +90,7 @@ src_test() {
src_install() {
default
- rmdir "${D}var/run/${PN}" "${D}var/run/" || die
+ rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
keepdir /var/lib/${PN}
newinitd "${FILESDIR}/knot.init" knot
diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml
index d03b90100dde..d14d98d83184 100644
--- a/net-dns/knot/metadata.xml
+++ b/net-dns/knot/metadata.xml
@@ -42,10 +42,6 @@
Enable the module for query access control
-
- Enable the module that staticaly override certain
- responses
-
Enable the response rate limiting module
diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest
index 21999ddc2441..c72c15a52c6b 100644
--- a/net-dns/libidn2/Manifest
+++ b/net-dns/libidn2/Manifest
@@ -1,3 +1,4 @@
DIST libidn2-2.0.4.tar.gz 2008524 BLAKE2B 7163e1eff498031c7433911533b34d993876b55d9b324aaef39c93db2cceee78dec4c8cfbf4d9dabd1dbbb03a8cbd65021f26a94758f57b32ef98dc869f744b6 SHA512 1e51bd4b8f8907531576291f1c2a8865d17429b4105418b4c98754eb982cd1cbb3adbeab4ec0c1c561d2dba11d876c7c09e5dc5b315c55a2c24986d7a2a3b4d2
DIST libidn2-2.0.5.tar.gz 2091929 BLAKE2B 1eb52ae7c9295bf4b5d6e36e6852ffb54b10663a0e3cea06df110bd7798fcb0d1b8e3b7169e4a11e800a23fc9f606167dcb7fc2d4a684e861d73a236de5c578c SHA512 9d040d60de40316788825d8720d509d5b8a82287415e09e17792c2f32fad99ca77f43e55888b9484db69426eaa0ece59e9671eee9cc46411afbdb0f81af31a79
DIST libidn2-2.1.1a.tar.gz 2122867 BLAKE2B 616bdf4c2c5095a29511db293fa908d4cac23f77e17bb6c60f8aa8c8a8a10f1b4e8b84b82406599fe0cc7122fd89c50ec252f1716198f72496800a19924fa09c SHA512 404a739e33d324f700ac8e8119de3feef0de778bbb11be09049cb64eab447cd101883f6d489cca1e88c230f58bcaf9758fe102e571b6501450aa750ec2a4a9c6
+DIST libunistring-0.9.10.tar.gz 3744814 BLAKE2B 3ddc55b8021c0f4822beb83b807bb21dbbf10bbb866747f64e060df3ab822a4143528855e1ce6a13144630bc8daa14f1fa830db77fb605e57cae21d46de804d6 SHA512 690082732fbbd47ab4ffbd6f21d85afece0f8e2ded24982f949f4ae52bf0a981b75ea9bc14ab289e0954cde07f31a7a4c2bb65615a8eb5b2bfa65720310b6fc9
diff --git a/net-dns/libidn2/libidn2-2.0.4.ebuild b/net-dns/libidn2/libidn2-2.0.4.ebuild
index 575241a6ca8b..bf10cc63fd6e 100644
--- a/net-dns/libidn2/libidn2-2.0.4.ebuild
+++ b/net-dns/libidn2/libidn2-2.0.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils flag-o-matic multilib-minimal
DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)"
-HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/jas/libidn2"
+HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/libidn/libidn2"
SRC_URI="
mirror://gnu/libidn/${P}.tar.gz
"
diff --git a/net-dns/libidn2/libidn2-2.0.5.ebuild b/net-dns/libidn2/libidn2-2.0.5.ebuild
index 7d53fcdaf7a8..96124bffc61e 100644
--- a/net-dns/libidn2/libidn2-2.0.5.ebuild
+++ b/net-dns/libidn2/libidn2-2.0.5.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils flag-o-matic multilib-minimal
DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)"
-HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/jas/libidn2"
+HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/libidn/libidn2"
SRC_URI="
mirror://gnu/libidn/${P}.tar.gz
"
diff --git a/net-dns/libidn2/libidn2-2.1.1a.ebuild b/net-dns/libidn2/libidn2-2.1.1a.ebuild
index fd3e3ad6d3bd..a9666effca64 100644
--- a/net-dns/libidn2/libidn2-2.1.1a.ebuild
+++ b/net-dns/libidn2/libidn2-2.1.1a.ebuild
@@ -5,7 +5,7 @@ EAPI=7
inherit multilib-minimal
DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)"
-HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/jas/libidn2"
+HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/libidn/libidn2"
SRC_URI="
mirror://gnu/libidn/${P}.tar.gz
"
diff --git a/net-dns/libidn2/libidn2-99999.ebuild b/net-dns/libidn2/libidn2-99999.ebuild
new file mode 100644
index 000000000000..5e05d730b6ad
--- /dev/null
+++ b/net-dns/libidn2/libidn2-99999.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools git-r3 multilib-minimal
+
+DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)"
+HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/libidn/libidn2"
+EGIT_REPO_URI="https://gitlab.com/libidn/libidn2.git/"
+SRC_URI="mirror://gnu/libunistring/libunistring-0.9.10.tar.gz"
+
+LICENSE="GPL-2+ LGPL-3+"
+SLOT="0"
+KEYWORDS=""
+IUSE="static-libs"
+
+RDEPEND="
+ dev-libs/libunistring[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-lang/perl
+ dev-util/gengetopt
+ sys-apps/help2man
+"
+S=${WORKDIR}/${P/a/}
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack ${A}
+}
+
+src_prepare() {
+ mv "${WORKDIR}"/libunistring-0.9.10 unistring || die
+
+ einfo "./bootstrap"
+ ./bootstrap --gnulib-srcdir=gnulib --no-bootstrap-sync --no-git --skip-po || die
+
+ default
+
+ eautoreconf
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ # Darwin ar chokes when TMPDIR doesn't exist (as done for some
+ # reason in the Makefile)
+ sed -i -e '/^TMPDIR = /d' Makefile.in || die
+ export TMPDIR="${T}"
+ fi
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --disable-doc \
+ --disable-gtk-doc
+}
+
+multilib_src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/net-firewall/Manifest.gz b/net-firewall/Manifest.gz
index 263e991683ca..9712f3680394 100644
Binary files a/net-firewall/Manifest.gz and b/net-firewall/Manifest.gz differ
diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest
index 7419c1e9478c..7547639c83b2 100644
--- a/net-firewall/firehol/Manifest
+++ b/net-firewall/firehol/Manifest
@@ -1,3 +1 @@
-DIST firehol-3.1.3.tar.xz 1476220 BLAKE2B 19ac9db805fc4452b447a45a7ed35c781bc8595f3ede0af7de0ff5a89ab50a9f8a634e0754869774d767b50d720019a5ac466e9d1726a75a34a283473b17a94b SHA512 6c75b57650d918cfc485f6eb01d69694acd5c7b487a10a566fc26b8d5e0cd6a6a9a09bd8d3219bf4e78aa4fe47f83e5ac399107a07770b787e1ccba3078c5f3f
-DIST firehol-3.1.4.tar.xz 1481320 BLAKE2B 0fabef4a853aece966a8f273cc82947a6e63ac44ccac2494d5d6a2f0916658a78cfe0c28cc2414e797411e4795216400b1fa95193a619f7e26fe545182a5fc44 SHA512 1a17b6e810274b346f66788c4c4736421583e6a4ed76df7a1d7f46dcb99e434460998c05755c8342941413d23c02e2ca0d0bf2123cb555a6c7513d24983a13ed
DIST firehol-3.1.6.tar.xz 1484424 BLAKE2B aea45aa424b7b43ed0576916f52a785601a21489263c1b5c6abbf3b2b97db80bf2a2420ae8176cd55e335ab93c18a8209a47f467dba80a63cf2c319b3e3e27d8 SHA512 5ffa7e59d3f10a6c7d3f5b5ef9d93f1b2138063374a10cb0c1ac4e75578d6cf7755e154b51febf546563ba003f100af13f89bca3843b66a8d22b8fc2da3fadfe
diff --git a/net-firewall/firehol/firehol-3.1.3-r1.ebuild b/net-firewall/firehol/firehol-3.1.3-r1.ebuild
deleted file mode 100644
index db92d61855d5..000000000000
--- a/net-firewall/firehol/firehol-3.1.3-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit linux-info
-
-DESCRIPTION="iptables firewall generator"
-HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol"
-SRC_URI="https://github.com/firehol/firehol/releases/download/v${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="doc ipv6 ipset"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
-
-RDEPEND="net-firewall/iptables
- sys-apps/iproute2[-minimal,ipv6?]
- net-misc/iputils[ipv6?]
- net-misc/iprange
- net-analyzer/traceroute
- virtual/modutils
- app-arch/gzip
- ipset? (
- net-firewall/ipset
- )"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
- local CONFIG_CHECK=" \
- ~IP_NF_FILTER \
- ~IP_NF_IPTABLES \
- ~IP_NF_MANGLE \
- ~IP_NF_TARGET_MASQUERADE
- ~IP_NF_TARGET_REDIRECT \
- ~IP_NF_TARGET_REJECT \
- ~NETFILTER_XT_MATCH_LIMIT \
- ~NETFILTER_XT_MATCH_OWNER \
- ~NETFILTER_XT_MATCH_STATE \
- ~NF_CONNTRACK \
- ~NF_CONNTRACK_IPV4 \
- ~NF_CONNTRACK_MARK \
- ~NF_NAT \
- ~NF_NAT_FTP \
- ~NF_NAT_IRC \
- "
- linux-info_pkg_setup
-}
-
-src_configure() {
- econf \
- --disable-vnetbuild \
- $(use_enable ipset update-ipsets) \
- $(use_enable doc) \
- $(use_enable ipv6)
-}
-
-src_install() {
- default
-
- newconfd "${FILESDIR}"/firehol.confd firehol
- newinitd "${FILESDIR}"/firehol.initd firehol
- newconfd "${FILESDIR}"/fireqos.confd fireqos
- newinitd "${FILESDIR}"/fireqos.initd fireqos
-}
diff --git a/net-firewall/firehol/firehol-3.1.3.ebuild b/net-firewall/firehol/firehol-3.1.3.ebuild
deleted file mode 100644
index 11a79fd5b628..000000000000
--- a/net-firewall/firehol/firehol-3.1.3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit linux-info
-
-DESCRIPTION="iptables firewall generator"
-HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol"
-SRC_URI="https://github.com/firehol/firehol/releases/download/v${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="doc ipv6"
-KEYWORDS="amd64 arm ppc ~x86"
-
-RDEPEND="net-firewall/iptables
- sys-apps/iproute2[-minimal,ipv6?]
- net-misc/iputils[ipv6?]
- net-misc/iprange
- net-analyzer/traceroute
- virtual/modutils
- app-arch/gzip"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
- local CONFIG_CHECK=" \
- ~IP_NF_FILTER \
- ~IP_NF_IPTABLES \
- ~IP_NF_MANGLE \
- ~IP_NF_TARGET_MASQUERADE
- ~IP_NF_TARGET_REDIRECT \
- ~IP_NF_TARGET_REJECT \
- ~NETFILTER_XT_MATCH_LIMIT \
- ~NETFILTER_XT_MATCH_OWNER \
- ~NETFILTER_XT_MATCH_STATE \
- ~NF_CONNTRACK \
- ~NF_CONNTRACK_IPV4 \
- ~NF_CONNTRACK_MARK \
- ~NF_NAT \
- ~NF_NAT_FTP \
- ~NF_NAT_IRC \
- "
- linux-info_pkg_setup
-}
-
-src_configure() {
- econf \
- --disable-vnetbuild \
- --disable-update-ipsets \
- $(use_enable doc) \
- $(use_enable ipv6)
-}
-
-src_install() {
- default
-
- newconfd "${FILESDIR}"/firehol.confd firehol
- newinitd "${FILESDIR}"/firehol.initd firehol
- newconfd "${FILESDIR}"/fireqos.confd fireqos
- newinitd "${FILESDIR}"/fireqos.initd fireqos
-}
diff --git a/net-firewall/firehol/firehol-3.1.4.ebuild b/net-firewall/firehol/firehol-3.1.4.ebuild
deleted file mode 100644
index d9c5fb2ca8de..000000000000
--- a/net-firewall/firehol/firehol-3.1.4.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit linux-info
-
-DESCRIPTION="iptables firewall generator"
-HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol"
-SRC_URI="https://github.com/firehol/firehol/releases/download/v${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="doc ipv6 ipset"
-KEYWORDS="amd64 arm ~ppc ~x86"
-
-RDEPEND="net-firewall/iptables
- sys-apps/iproute2[-minimal,ipv6?]
- net-misc/iputils[ipv6?]
- net-misc/iprange
- net-analyzer/traceroute
- virtual/modutils
- app-arch/gzip
- ipset? (
- net-firewall/ipset
- )"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
- local CONFIG_CHECK=" \
- ~IP_NF_FILTER \
- ~IP_NF_IPTABLES \
- ~IP_NF_MANGLE \
- ~IP_NF_TARGET_MASQUERADE
- ~IP_NF_TARGET_REDIRECT \
- ~IP_NF_TARGET_REJECT \
- ~NETFILTER_XT_MATCH_LIMIT \
- ~NETFILTER_XT_MATCH_OWNER \
- ~NETFILTER_XT_MATCH_STATE \
- ~NF_CONNTRACK \
- ~NF_CONNTRACK_IPV4 \
- ~NF_CONNTRACK_MARK \
- ~NF_NAT \
- ~NF_NAT_FTP \
- ~NF_NAT_IRC \
- "
- linux-info_pkg_setup
-}
-
-src_configure() {
- econf \
- --disable-vnetbuild \
- $(use_enable ipset update-ipsets) \
- $(use_enable doc) \
- $(use_enable ipv6)
-}
-
-src_install() {
- default
-
- newconfd "${FILESDIR}"/firehol.confd firehol
- newinitd "${FILESDIR}"/firehol.initd firehol
- newconfd "${FILESDIR}"/fireqos.confd fireqos
- newinitd "${FILESDIR}"/fireqos.initd fireqos
-}
diff --git a/net-ftp/Manifest.gz b/net-ftp/Manifest.gz
index d73477dcc78b..a574edac2420 100644
Binary files a/net-ftp/Manifest.gz and b/net-ftp/Manifest.gz differ
diff --git a/net-ftp/netkit-ftpd/Manifest b/net-ftp/netkit-ftpd/Manifest
deleted file mode 100644
index 5910590cd733..000000000000
--- a/net-ftp/netkit-ftpd/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST linux-ftpd-0.17-ssl.patch 36459 BLAKE2B 36db6fb984afa6350623ebb2af3913644e01a999e9aea17e2a064c9599fcca1d69c412d67fda8303e83049ea42b89eacb27dd4d5e794612d41a0eb7b409961d5 SHA512 f27dd2f9a50a2b3c38131c46cdb4420f81abfdbb7cd7e70d00e864da3e4562363d585a308e57b9abce7db64ede8d02e41710101e618f6c14489193776b2b1e71
-DIST linux-ftpd-0.17.tar.gz 46763 BLAKE2B b0370a6d96a666e4b58d3841c544e6f2c767c1b561fe53371b06d561332aa8418593d875a7f340df96a60e6d8e8d8bf08f38f296121de85f9c72914fa3cca3b9 SHA512 160191baa904b4c404473e2c1de23813de1b31cbb11a3c28ff64f9953aec8270b74d865a57d5aaa6d25cf404c8aeadff05348a9b32847a2a137ef4c998557d58
diff --git a/net-ftp/netkit-ftpd/files/ftp.xinetd b/net-ftp/netkit-ftpd/files/ftp.xinetd
deleted file mode 100644
index 1d486c3a45f6..000000000000
--- a/net-ftp/netkit-ftpd/files/ftp.xinetd
+++ /dev/null
@@ -1,12 +0,0 @@
-# default: off
-# description: The netkit ftp daemon with optional SSL support.
-
-service ftp
-{
- socket_type = stream
- protocol = tcp
- wait = no
- user = root
- server = /usr/bin/ftpd
- disable = yes
-}
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-CVE-2008-4247.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-CVE-2008-4247.patch
deleted file mode 100644
index e1b50c825bfc..000000000000
--- a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-CVE-2008-4247.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-http://bugs.gentoo.org/239047
-
---- linux-ftpd-0.17/ftpd/extern.h
-+++ linux-ftpd-0.17/ftpd/extern.h
-@@ -43,7 +43,7 @@ void dologout __P((int));
- void fatal __P((const char *));
- int ftpd_pclose __P((FILE *));
- FILE *ftpd_popen __P((char *, const char *));
--char *ftpd_getline __P((char *, int, FILE *));
-+int ftpd_getline __P((char *, int, FILE *));
- void ftpdlogwtmp __P((const char *, const char *, const char *));
- void lreply __P((int, const char *, ...));
- void makedir __P((char *));
---- linux-ftpd-0.17/ftpd/ftpcmd.y
-+++ linux-ftpd-0.17/ftpd/ftpcmd.y
-@@ -980,7 +980,7 @@ static struct tab *lookup(struct tab *p,
- /*
- * getline - a hacked up version of fgets to ignore TELNET escape codes.
- */
--char * ftpd_getline(char *s, int n, FILE *iop)
-+int ftpd_getline(char *s, int n, FILE *iop)
- {
- int c;
- register char *cs;
-@@ -995,7 +995,7 @@ char * ftpd_getline(char *s, int n, FILE
- if (debug)
- syslog(LOG_DEBUG, "command: %s", s);
- tmpline[0] = '\0';
-- return(s);
-+ return(0);
- }
- if (c == 0)
- tmpline[0] = '\0';
-@@ -1037,11 +1037,22 @@ char * ftpd_getline(char *s, int n, FILE
- }
- }
- *cs++ = c;
-- if (--n <= 0 || c == '\n')
-+ if (--n <= 0) {
-+ /*
-+ * If command doesn't fit into buffer, discard the
-+ * rest of the command and indicate truncation.
-+ * This prevents the command to be split up into
-+ * multiple commands.
-+ */
-+ while (c != '\n' && (c = getc(iop)) != EOF)
-+ ;
-+ return (-2);
-+ }
-+ if (c == '\n')
- break;
- }
- if (c == EOF && cs == s)
-- return (NULL);
-+ return (-1);
- *cs++ = '\0';
- if (debug) {
- if (!guest && strncasecmp("pass ", s, 5) == 0) {
-@@ -1061,7 +1072,7 @@ char * ftpd_getline(char *s, int n, FILE
- syslog(LOG_DEBUG, "command: %.*s", len, s);
- }
- }
-- return (s);
-+ return (0);
- }
-
- void toolong(int signo)
-@@ -1090,9 +1101,14 @@ static int yylex(void)
- case CMD:
- (void) signal(SIGALRM, toolong);
- (void) alarm((unsigned) timeout);
-- if (ftpd_getline(cbuf, sizeof(cbuf)-1, stdin)==NULL) {
-+ n = ftpd_getline(cbuf, sizeof(cbuf)-1, stdin);
-+ if (n == -1) {
- reply(221, "You could at least say goodbye.");
- dologout(0);
-+ } else if (n == -2) {
-+ reply(500, "Command too long.");
-+ alarm(0);
-+ continue;
- }
- (void) alarm(0);
- if ((cp = strchr(cbuf, '\r'))) {
---- linux-ftpd-0.17/ftpd/ftpd.c
-+++ linux-ftpd-0.17/ftpd/ftpd.c
-@@ -2210,6 +2210,7 @@ void dologout(int status)
- static void myoob(int signo)
- {
- char *cp;
-+ int ret;
- int save_errno = errno;
-
- (void)signo;
-@@ -2218,9 +2219,13 @@ static void myoob(int signo)
- if (!transflag)
- return;
- cp = tmpline;
-- if (ftpd_getline(cp, 7, stdin) == NULL) {
-+ ret = ftpd_getline(cp, 7, stdin);
-+ if (ret == -1) {
- reply(221, "You could at least say goodbye.");
- dologout(0);
-+ } else if (ret == -2) {
-+ /* Ignore truncated command */
-+ return;
- }
- upper(cp);
- if (strcmp(cp, "ABOR\r\n") == 0) {
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-build.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-build.patch
deleted file mode 100644
index 6df58378c93f..000000000000
--- a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-build.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- configure
-+++ configure
-@@ -114,40 +114,6 @@
- echo 'no'
- fi
-
--if [ x$DEBUG = x ]; then
-- echo -n "Checking if $CC accepts -O2... "
-- if (
-- $CC -O2 __conftest.c -o __conftest
-- ) >/dev/null 2>&1; then
-- echo 'yes'
-- CFLAGS="$CFLAGS -O2"
-- else
-- echo 'no'
-- echo -n "Checking if $CC accepts -O... "
-- if (
-- $CC -O __conftest.c -o __conftest
-- ) >/dev/null 2>&1; then
-- echo 'yes'
-- CFLAGS="$CFLAGS -O"
-- else
-- echo 'no'
-- fi
-- fi
--
--else
-- echo -n "Checking if $CC accepts -g... "
-- if (
-- $CC -g __conftest.c -o __conftest
-- ) >/dev/null 2>&1; then
-- echo 'yes'
-- CFLAGS="$CFLAGS -g"
-- else
-- echo 'no'
-- fi
--
--fi
--
--LDFLAGS=
- LIBS=
-
- rm -f __conftest*
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cleanup-ssl.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cleanup-ssl.patch
deleted file mode 100644
index e228eaceda5f..000000000000
--- a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cleanup-ssl.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- ftpd/ftpcmd.y
-+++ ftpd/ftpcmd.y
-@@ -109,6 +109,7 @@
- typedef struct ssl_st SSL;
- int SSL_write(SSL *ssl,const char *buf,int num);
- extern int do_ssl_start(void);
-+int ssl_getc(SSL *ssl_con);
- extern int ssl_secure_flag;
- extern int ssl_active_flag;
- extern SSL *ssl_con;
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cleanup.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cleanup.patch
deleted file mode 100644
index 73289adfba05..000000000000
--- a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cleanup.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- ftpd/logwtmp.c
-+++ ftpd/logwtmp.c
-@@ -43,6 +43,7 @@
- #include
- #include
- #include
-+#include
-
- #include
- #include
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cross.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cross.patch
deleted file mode 100644
index cb6ad986a914..000000000000
--- a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cross.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- configure.orig 2008-05-11 12:02:50.000000000 -0700
-+++ configure 2008-05-11 12:04:14.000000000 -0700
-@@ -93,7 +93,7 @@
- echo -n 'Checking if C compiler works... '
- if (
- $CC __conftest.c -o __conftest || exit 1
-- ./__conftest || exit 1
-+ [ -e __conftest ] || exit 1
- ) >/dev/null 2>&1; then
- echo 'yes'
- else
-@@ -169,13 +169,13 @@
- EOF
- if (
- $CC $CFLAGS __conftest.c -o __conftest || exit 1
-- ./__conftest || exit 1
-+ [ -e __conftest ] || exit 1
- ) >/dev/null 2>&1; then
- echo 'yes'
- else
- if (
- $CC $CFLAGS -D__USE_BSD_SIGNAL __conftest.c -o __conftest || exit 1
-- ./__conftest || exit 1
-+ [ -e ./__conftest ] || exit 1
- ) >/dev/null 2>&1; then
- echo '-D__USE_BSD_SIGNAL'
- CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL"
-@@ -311,7 +311,7 @@
- else
- if (
- $CC $CFLAGS -D_GNU_SOURCE __conftest.c -o __conftest || exit 1
-- ./__conftest || exit 1
-+ [ -e ./__conftest ] || exit 1
- ) >/dev/null 2>&1; then
- echo '-D_GNU_SOURCE'
- CFLAGS="$CFLAGS -D_GNU_SOURCE"
-@@ -342,7 +342,7 @@
- EOF
- if (
- $CC $CFLAGS __conftest.c $LIBBSD -o __conftest || exit 1
-- ./__conftest || exit 1
-+ [ -e ./__conftest ] || exit 1
- ) >/dev/null 2>&1; then
- echo 'ok'
- else
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-fclose-CVE-2007-6263.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-fclose-CVE-2007-6263.patch
deleted file mode 100644
index 5da61aee7343..000000000000
--- a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-fclose-CVE-2007-6263.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -u linux-ftpd-ssl-0.17.18+0.3/ftpd/ftpd.c linux-ftpd-ssl-0.17.18+0.3/ftpd/ftpd.c
---- linux-ftpd-ssl-0.17.18+0.3/ftpd/ftpd.c
-+++ linux-ftpd-ssl-0.17.18+0.3/ftpd/ftpd.c
-@@ -1729,7 +1729,7 @@
- static FILE * dataconn(const char *name, off_t size, const char *mode, int stou)
- {
- char sizebuf[32];
-- FILE *file;
-+ FILE *file = NULL;
- int retry = 0, tos;
-
- file_size = size;
-@@ -1822,7 +1822,10 @@
- ERR_error_string(ERR_get_error(),NULL));
- perror_reply(425, errbuf);
- /* abort time methinks ... */
-- fclose(file);
-+ if(file != NULL){
-+ fclose(file);
-+ file = NULL;
-+ }
- return NULL;
- } else {
- if (ssl_debug_flag) {
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-gcc41.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-gcc41.patch
deleted file mode 100644
index 5f516ce5d356..000000000000
--- a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-gcc41.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- linux-ftpd-0.17/ftpd/ftpcmd.y
-+++ linux-ftpd-0.17/ftpd/ftpcmd.y
-@@ -125,7 +125,14 @@
- char cbuf[512];
- char *fromname;
-
--struct tab;
-+struct tab {
-+ const char *name;
-+ short token;
-+ short state;
-+ short implemented; /* 1 if command is implemented */
-+ const char *help;
-+};
-+
- static int yylex __P((void));
- static void sizecmd __P((char *));
- static void help __P((struct tab *, char *));
-@@ -891,13 +898,6 @@
- #define SITECMD 7 /* SITE command */
- #define NSTR 8 /* Number followed by a string */
-
--struct tab {
-- const char *name;
-- short token;
-- short state;
-- short implemented; /* 1 if command is implemented */
-- const char *help;
--};
-
- struct tab cmdtab[] = { /* In order defined in RFC 765 */
- { "AUTH", AUTH, STR1, 1, " auth_type" },
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-setguid.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-setguid.patch
deleted file mode 100644
index f5d0cf75fcfd..000000000000
--- a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-setguid.patch
+++ /dev/null
@@ -1,66 +0,0 @@
---- linux-ftpd-0.17/ftpd/popen.c
-+++ linux-ftpd-0.17/ftpd/popen.c
-@@ -169,8 +169,13 @@
- * XXX: this doesn't seem right... and shouldn't
- * we initgroups, or at least setgroups(0,0)?
- */
-- setgid(getegid());
-- setuid(i);
-+
-+/*
-+ * PSz 25 Aug 06 Must check the return status of these setgid/setuid calls,
-+ * see http://www.bress.net/blog/archives/34-setuid-madness.html
-+ */
-+ if ( setgid(getegid()) != 0 ) _exit(1);
-+ if ( setuid(i) != 0 ) _exit(1);
-
- #ifndef __linux__
- /*
---- linux-ftpd-0.17/ftpd/ftpd.c
-+++ linux-ftpd-0.17/ftpd/ftpd.c
-@@ -1159,6 +1159,13 @@
- }
- strcpy(pw->pw_dir, "/");
- setenv("HOME", "/", 1);
-+ }
-+ /* PSz 25 Aug 06 chdir for real users done after setting UID */
-+ if (seteuid((uid_t)pw->pw_uid) < 0) {
-+ reply(550, "Can't set uid.");
-+ goto bad;
-+ }
-+ if (guest || dochroot) { /* do nothing, handled above */
- } else if (chdir(pw->pw_dir) < 0) {
- if (chdir("/") < 0) {
- reply(530, "User %s: can't change directory to %s.",
-@@ -1167,10 +1174,7 @@
- } else
- lreply(230, "No directory! Logging in with home=/");
- }
-- if (seteuid((uid_t)pw->pw_uid) < 0) {
-- reply(550, "Can't set uid.");
-- goto bad;
-- }
-+
- sigfillset(&allsigs);
- sigprocmask(SIG_UNBLOCK,&allsigs,NULL);
-
-@@ -1408,7 +1412,8 @@
- goto bad;
- sleep(tries);
- }
-- (void) seteuid((uid_t)pw->pw_uid);
-+/* PSz 25 Aug 06 Check return status */
-+ if (seteuid((uid_t)pw->pw_uid) != 0) _exit(1);
- sigfillset(&allsigs);
- sigprocmask (SIG_UNBLOCK, &allsigs, NULL);
-
-@@ -1440,7 +1445,8 @@
- bad:
- /* Return the real value of errno (close may change it) */
- t = errno;
-- (void) seteuid((uid_t)pw->pw_uid);
-+/* PSz 25 Aug 06 Check return status */
-+ if (seteuid((uid_t)pw->pw_uid) != 0) _exit(1);
- sigfillset (&allsigs);
- sigprocmask (SIG_UNBLOCK, &allsigs, NULL);
- (void) close(s);
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-shadowfix.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-shadowfix.patch
deleted file mode 100644
index 79a241ff9c51..000000000000
--- a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-shadowfix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- linux-ftpd-0.17/ftpd/Makefile
-+++ linux-ftpd-0.17-patched/ftpd/Makefile
-@@ -19,7 +19,11 @@
- all: ftpd
-
- %.o: %.c
-+ ifdef USE_SHADOW
-+ $(CC) $(CFLAGS) -DUSE_SHADOW -DHASSETPROCTITLE $< -c
-+ else
- $(CC) $(CFLAGS) -DHASSETPROCTITLE $< -c
-+ endif
-
- ftpcmd.c: %.c: %.y
- $(YACC) $<
---- linux-ftpd-0.17/support/Makefile
-+++ linux-ftpd-0.17-patched/support/Makefile
-@@ -5,7 +5,11 @@
- all: libsupport.a
-
- %.o: %.c
-+ ifdef USE_SHADOW
-+ $(CC) $(CFLAGS) -DUSE_SHADOW -DHASSETPROCTITLE $< -c
-+ else
- $(CC) $(CFLAGS) -DHASSETPROCTITLE $< -c
-+ endif
-
- libsupport.a: $(OBJS)
- ar -cruv $@ $^
diff --git a/net-ftp/netkit-ftpd/metadata.xml b/net-ftp/netkit-ftpd/metadata.xml
deleted file mode 100644
index 56c124413057..000000000000
--- a/net-ftp/netkit-ftpd/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- base-system@gentoo.org
- Gentoo Base System
-
-
diff --git a/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r9.ebuild b/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r9.ebuild
deleted file mode 100644
index f5466dcc5136..000000000000
--- a/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r9.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils ssl-cert toolchain-funcs
-
-MY_P="linux-ftpd-${PV}"
-DESCRIPTION="The netkit FTP server with optional SSL support"
-HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
-SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz
- mirror://gentoo/${MY_P}-ssl.patch"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ia64 ppc ~ppc64 s390 sh sparc x86"
-IUSE="libressl ssl"
-
-DEPEND="ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= ) )
-"
-RDEPEND="${DEPEND}
- virtual/inetd
- !www-servers/publicfile"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- default
-
- cd "${S}" || die
- if use ssl; then
- epatch "${DISTDIR}"/${MY_P}-ssl.patch
- epatch "${FILESDIR}"/${P}-cleanup-ssl.patch
- epatch "${FILESDIR}"/${P}-fclose-CVE-2007-6263.patch #199206
- fi
-
- epatch "${FILESDIR}"/${P}-cleanup.patch
- epatch "${FILESDIR}"/${P}-build.patch
- epatch "${FILESDIR}"/${P}-shadowfix.patch
- epatch "${FILESDIR}"/${P}-gcc41.patch
- epatch "${FILESDIR}"/${P}-setguid.patch
- epatch "${FILESDIR}"/${P}-cross.patch
- epatch "${FILESDIR}"/${P}-CVE-2008-4247.patch #239047
-}
-
-src_configure() {
- tc-export CC
- ./configure --prefix=/usr || die
-}
-
-src_compile() {
- emake
-}
-
-src_install() {
- dobin ftpd/ftpd
- doman ftpd/ftpd.8
- dodoc README ChangeLog
- insinto /etc/xinetd.d
- newins "${FILESDIR}"/ftp.xinetd ftp
-}
-
-pkg_postinst() {
- if use ssl; then
- install_cert /etc/ssl/certs/ftpd
- elog "In order to start the server with SSL support"
- elog "You need a certificate /etc/ssl/certs/ftpd.pem."
- elog "A temporary certificiate has been created."
- fi
-}
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.rc11 b/net-ftp/pure-ftpd/files/pure-ftpd.rc11
index cc17b5afa12d..35270ff33507 100644
--- a/net-ftp/pure-ftpd/files/pure-ftpd.rc11
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.rc11
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
ftpd_pidfile="/var/run/pure-ftpd.pid"
@@ -9,11 +9,12 @@ daemon="/usr/sbin/pure-ftpd"
script_daemon="/usr/sbin/pure-uploadscript"
depend() {
- need net
+ need localmount
+ use netmount
}
start_pre() {
- if [ -z "$IS_CONFIGURED" ] ; then
+ if [ -z "${IS_CONFIGURED}" ] ; then
eerror "You need to setup /etc/conf.d/pure-ftpd first!"
return 1
fi
@@ -21,7 +22,7 @@ start_pre() {
start() {
UPSCRIPT=""
- if [ -n "$UPLOADSCRIPT" ] ; then
+ if [ -n "${UPLOADSCRIPT}" ] ; then
UPSCRIPT="--uploadscript"
fi
@@ -42,11 +43,11 @@ start() {
--make-pidfile --background --exec /usr/sbin/pure-ftpd ${WAIT} \
-- $(echo ${FTPD_CONFIG} | sed 's@\([[:space:]]\+\|^\)-B\([[:space:]]\+\|$\)@\1@g')
result=$?
- if [ $result -ne 0 ] ; then
+ if [ ${result} -ne 0 ] ; then
eend 1 "Could not launch Pure-FTPd"
else
eend $result
- if [ -n "$UPLOADSCRIPT" ] ; then
+ if [ -n "${UPLOADSCRIPT}" ] ; then
ebegin "Starting Pure-FTPd upload script"
start-stop-daemon --start --quiet --make-pidfile \
--pidfile ${script_pidfile} \
@@ -58,7 +59,7 @@ start() {
}
stop() {
- if [ -n "$UPLOADSCRIPT" ] ; then
+ if [ -n "${UPLOADSCRIPT}" ] ; then
ebegin "Stopping Pure-FTPd upload script"
start-stop-daemon --stop --retry 20 --quiet \
--pidfile ${script_pidfile}
diff --git a/net-im/Manifest.gz b/net-im/Manifest.gz
index 792ee5d42736..54029e25a9f8 100644
Binary files a/net-im/Manifest.gz and b/net-im/Manifest.gz differ
diff --git a/net-im/ayttm/Manifest b/net-im/ayttm/Manifest
deleted file mode 100644
index 781aa4123356..000000000000
--- a/net-im/ayttm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ayttm-0.6.3.tar.bz2 1377010 BLAKE2B 692bac07386783f98a4e873b93f8c2a088fb954f39613ec47d151433e59b578f532f80d47b6dc7caab789ea06024a4a82d0f0c8264963d19c076e1b524495b19 SHA512 8480b9e6b6e1c45a3cdd16d991ebf7e12c400d282243f5f44715ba20d4db4523a0343fe49016f7dba3e1a23d963eef52fbb0823c27aedec0db33457319138270
diff --git a/net-im/ayttm/ayttm-0.6.3-r1.ebuild b/net-im/ayttm/ayttm-0.6.3-r1.ebuild
deleted file mode 100644
index 2f183105a741..000000000000
--- a/net-im/ayttm/ayttm-0.6.3-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils multilib
-
-DESCRIPTION="A multi-protocol instant messaging client"
-HOMEPAGE="http://ayttm.sourceforge.net/"
-SRC_URI="mirror://sourceforge/ayttm/${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="crypt icq irc xmpp lj msn nls oscar smtp xscreensaver yahoo"
-
-RDEPEND="app-text/enchant
- dev-libs/glib:2
- dev-libs/openssl:0=
- virtual/libiconv
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:2
- x11-libs/libX11
- x11-libs/libXpm
- x11-libs/pango
- crypt? ( app-crypt/gpgme )
- xscreensaver? ( x11-libs/libXScrnSaver )
- yahoo? ( net-libs/libyahoo2 )"
-DEPEND="${RDEPEND}
- sys-devel/bison
- sys-devel/flex
- nls? ( sys-devel/gettext )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-opt-xscreensaver.patch \
- "${FILESDIR}"/${P}-opt-webcam.patch
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable crypt aycryption) \
- --disable-esd \
- $(use_enable icq) \
- $(use_enable irc) \
- $(use_enable xmpp jabber) \
- $(use_enable lj) \
- $(use_enable msn) \
- $(use_enable nls) \
- $(use_enable oscar) \
- $(use_enable smtp) \
- $(use_enable xscreensaver) \
- $(use_enable yahoo) \
- --disable-webcam \
- --disable-arts \
- --enable-posix-dlopen \
- --disable-static
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc AUTHORS ChangeLog README README.LINUX TODO
- rm -f "${D}"/usr/$(get_libdir)/${PN}/*.la
-}
diff --git a/net-im/ayttm/files/ayttm-0.6.3-opt-webcam.patch b/net-im/ayttm/files/ayttm-0.6.3-opt-webcam.patch
deleted file mode 100644
index e805d90746d6..000000000000
--- a/net-im/ayttm/files/ayttm-0.6.3-opt-webcam.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Make the building of the webcam-related plugins optional.
-
-Patch by Kevin McCarthy
-
---- configure.ac
-+++ configure.ac
-@@ -436,6 +439,10 @@
- AC_MSG_WARN(You need gpgme to compile the aycryption module))
- fi
-
-+if test "$enable_webcam" != no; then
-+ OPTIONAL_PLUG_DIR="$OPTIONAL_PLUG_DIR image_filter"
-+fi
-+
- ###########################################################################
- # End Optional Modules
- ###########################################################################
---- modules/Makefile.am
-+++ modules/Makefile.am
-@@ -1,7 +1,7 @@
- DIST_SUBDIRS = aim-oscar irc jabber msn2 yahoo2 smtp importers \
- livejournal utility aycryption smileys image_filter
-
--SUBDIRS = @OPTIONAL_PLUG_DIR@ importers utility smileys image_filter
-+SUBDIRS = @OPTIONAL_PLUG_DIR@ importers utility smileys
-
- # Gets rid of the datarootdir warning
- datarootdir=@datarootdir@
diff --git a/net-im/ayttm/files/ayttm-0.6.3-opt-xscreensaver.patch b/net-im/ayttm/files/ayttm-0.6.3-opt-xscreensaver.patch
deleted file mode 100644
index 7c6f09f5117e..000000000000
--- a/net-im/ayttm/files/ayttm-0.6.3-opt-xscreensaver.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Add --enable-xscreensaver to configure for USE flag support
-
-Patch by Kevin McCarthy
-
---- configure.ac
-+++ configure.ac
-@@ -316,6 +316,9 @@
- #endif
- ])
-
-+AC_ARG_ENABLE(xscreensaver, AC_HELP_STRING([--enable-xscreensaver],
-+ [compile with X Screensaver]), [have_xss=$enableval], [have_xss=no] )
-+
- if test "$have_xss" = yes; then
- # Let's figure out what library it's in...
-
diff --git a/net-im/ayttm/metadata.xml b/net-im/ayttm/metadata.xml
deleted file mode 100644
index 5cbaca7524d5..000000000000
--- a/net-im/ayttm/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
- Ayttm is a multi-protocol instant messaging client with some novel features
- such as the ability to connect to livejournal.com and the ability to send
- short messages via RFC2821 SMTP.
-
-
- Enable Internet Relay Chat support
- Enable livejournal.com support
- Adds support for sending messages via RFC2821 SMTP
-
-
- ayttm
-
-
diff --git a/net-im/climm/Manifest b/net-im/climm/Manifest
deleted file mode 100644
index e109124e1bbb..000000000000
--- a/net-im/climm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST climm-0.7.1.tgz 1296303 BLAKE2B 8fe10eb05c4c2315295be2173e16b9492de20bd4a526c4fbdde4dcf3dc2d287392e9071e26bb7231ed26e808ba2d2893d6415266cb095040c5ffce3b13c36b47 SHA512 8ee8b716229b4181a3b2f7ff3323b4587e80200ca753347f670616da9f25e8fd7cae4da597435d6f71b3a104ad89f3cfe4fd3f9524e259feef220255b6f7d138
diff --git a/net-im/climm/climm-0.7.1.ebuild b/net-im/climm/climm-0.7.1.ebuild
deleted file mode 100644
index 02d797c7d539..000000000000
--- a/net-im/climm/climm-0.7.1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-DESCRIPTION="ICQ text-mode client with many features"
-HOMEPAGE="http://www.climm.org/"
-SRC_URI="http://www.climm.org/source/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="xmpp gnutls tcl ssl"
-
-# In case user don't need xmpp there is a choice gnutls/openssl. Since xmpp
-# requires gnutls then without explicit request to use gnutls (USE=gnutls)
-# for ssl we fall back on gnutls instead of openssl.
-REQUIRED_USE="xmpp? ( ssl gnutls )"
-
-RDEPEND="
- xmpp? (
- || (
- >=dev-libs/iksemel-1.4[ssl]
- >=dev-libs/iksemel-1.3[gnutls]
- )
- )
- ssl? (
- gnutls? (
- >=net-libs/gnutls-0.8.10
- dev-libs/libgcrypt:0
- )
- !gnutls? ( dev-libs/openssl )
- )
- tcl? ( dev-lang/tcl:0 )"
-DEPEND="${RDEPEND}
- ssl? ( gnutls? ( virtual/pkgconfig ) )"
-
-src_configure() {
- local myconf
- if use ssl; then
- if use gnutls; then
- einfo "Using gnutls"
- myconf="--enable-ssl=gnutls"
- else
- einfo "Using openSSL"
- myconf="--enable-ssl=openssl"
- fi
- else
- myconf="--disable-ssl"
- fi
-
- econf \
- $(use_enable xmpp) \
- --disable-otr \
- $(use_enable tcl) \
- ${myconf}
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc AUTHORS ChangeLog FAQ NEWS README TODO
-}
diff --git a/net-im/climm/metadata.xml b/net-im/climm/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/net-im/climm/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/net-im/gajim/gajim-1.0.3-r1.ebuild b/net-im/gajim/gajim-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..a59f5e9ad7f9
--- /dev/null
+++ b/net-im/gajim/gajim-1.0.3-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6} )
+PYTHON_REQ_USE="sqlite,xml"
+DISTUTILS_SINGLE_IMPL=1
+
+inherit gnome2-utils distutils-r1 versionator xdg-utils
+
+DESCRIPTION="Jabber client written in PyGTK"
+HOMEPAGE="https://www.gajim.org/"
+SRC_URI="https://www.gajim.org/downloads/$(get_version_component_range 1-2)/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+#KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~x86"
+IUSE="+crypt geolocation jingle keyring networkmanager remote rst +spell upnp
+ +webp"
+
+COMMON_DEPEND="
+ dev-libs/gobject-introspection[cairo,${PYTHON_USEDEP}]
+ >=x11-libs/gtk+-3.22:3[introspection]"
+DEPEND="${COMMON_DEPEND}
+ app-arch/unzip
+ >=dev-util/intltool-0.40.1
+ virtual/pkgconfig
+ >=sys-devel/gettext-0.17-r1"
+RDEPEND="${COMMON_DEPEND}
+ dev-python/idna[${PYTHON_USEDEP}]
+ dev-python/precis-i18n[${PYTHON_USEDEP}]
+ dev-python/pyasn1[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/pycurl[${PYTHON_USEDEP}]
+ dev-python/pygobject[cairo,${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
+ >=dev-python/python-nbxmpp-0.6.6[${PYTHON_USEDEP}]
+ x11-libs/libXScrnSaver
+ crypt? (
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ >=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}] )
+ geolocation? ( app-misc/geoclue[introspection] )
+ jingle? (
+ net-libs/farstream:0.2[introspection]
+ media-libs/gstreamer:1.0[introspection]
+ media-libs/gst-plugins-base:1.0[introspection]
+ media-libs/gst-plugins-ugly:1.0
+ )
+ keyring? (
+ app-crypt/libsecret[crypt,introspection]
+ dev-python/keyring[${PYTHON_USEDEP}]
+ )
+ networkmanager? ( net-misc/networkmanager[introspection] )
+ remote? (
+ >=dev-python/dbus-python-1.2.0[${PYTHON_USEDEP}]
+ sys-apps/dbus[X]
+ )
+ rst? ( dev-python/docutils[${PYTHON_USEDEP}] )
+ spell? (
+ app-text/gspell[introspection]
+ app-text/hunspell
+ )
+ upnp? ( net-libs/gupnp-igd[introspection] )
+ webp? ( dev-python/pillow[${PYTHON_USEDEP}] )"
+
+RESTRICT="test"
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
diff --git a/net-im/transwhat/transwhat-0.2.2-r1.ebuild b/net-im/transwhat/transwhat-0.2.2-r1.ebuild
index 3023b97715b4..9f27d93856f0 100644
--- a/net-im/transwhat/transwhat-0.2.2-r1.ebuild
+++ b/net-im/transwhat/transwhat-0.2.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/stv0g/transwhat/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
RDEPEND="
dev-python/e4u[${PYTHON_USEDEP}]
diff --git a/net-im/yowsup/yowsup-2.5.7-r2.ebuild b/net-im/yowsup/yowsup-2.5.7-r2.ebuild
index bc7978b6177e..3292dc0cf758 100644
--- a/net-im/yowsup/yowsup-2.5.7-r2.ebuild
+++ b/net-im/yowsup/yowsup-2.5.7-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/tgalal/yowsup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
RDEPEND="
dev-python/configargparse[${PYTHON_USEDEP}]
diff --git a/net-irc/Manifest.gz b/net-irc/Manifest.gz
index c8f85b381913..513a134dba75 100644
Binary files a/net-irc/Manifest.gz and b/net-irc/Manifest.gz differ
diff --git a/net-irc/bip/Manifest b/net-irc/bip/Manifest
deleted file mode 100644
index 459b616e7293..000000000000
--- a/net-irc/bip/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST bip-0.8.9.tar.gz 256711 BLAKE2B 2af396dccab45bdb0ac54f33290c58147b927974c3d00fbad00317358bdde64c538c1314bfe2513ae1e914cf68ace7e3f9a744f5939abdeb920e7cd6af35e532 SHA512 572adb6e0982d74a39b0380ef6af51ba7f55b880f78e110b93e09616e6345bb4a9a60475df644ec891cae368287d502ba00bbf734370ba50c57b29de6934c138
diff --git a/net-irc/bip/bip-0.8.9.ebuild b/net-irc/bip/bip-0.8.9.ebuild
deleted file mode 100644
index cc037d11faa5..000000000000
--- a/net-irc/bip/bip-0.8.9.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-inherit eutils
-
-DESCRIPTION="Multiuser IRC proxy with SSL support"
-HOMEPAGE="http://bip.milkypond.org/"
-SRC_URI="ftp://ftp.duckcorp.org/bip/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug freenode noctcp oidentd vim-syntax"
-
-COMMON_DEPEND="
- dev-libs/openssl:0
-"
-DEPEND="${COMMON_DEPEND}
- sys-devel/flex
- virtual/yacc
-"
-RDEPEND="${COMMON_DEPEND}
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
- oidentd? ( >=net-misc/oidentd-2.0 )
-"
-
-src_prepare() {
- if use noctcp; then
- sed -i -e '/irc_privmsg_check_ctcp(server, line);/s:^://:' src/irc.c || die
- fi
-
- if use freenode; then
- epatch "${FILESDIR}/${PN}-freenode.patch" || die
- fi
-
- sed -i -e "s/-Werror//" Makefile.in || die
-}
-
-src_configure() {
- econf \
- $(use_enable debug) \
- $(use_enable oidentd)
-}
-
-src_install() {
- dobin src/bip src/bipmkpw
-
- dodoc AUTHORS ChangeLog README NEWS TODO
- newdoc samples/bip.conf bip.conf.sample
- doman bip.1 bip.conf.5 bipmkpw.1
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins samples/bip.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/bip.vim
- fi
-}
-
-pkg_postinst() {
- elog 'The default configuration file is "~/.bip/bip.conf"'
- elog "You can find a sample configuration file in"
- elog "/usr/share/doc/${PF}/bip.conf.sample"
-}
diff --git a/net-irc/bip/files/bip-freenode.patch b/net-irc/bip/files/bip-freenode.patch
deleted file mode 100644
index 437da08f438d..000000000000
--- a/net-irc/bip/files/bip-freenode.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Freenode's ircd-seven uses a custom banlist type for mutes (+q).
-This patch makes bip handle +q the same way as +q.
-Without it, a user wouldn't get the banlist replies for mutes.
-
-diff --git a/src/irc.c b/src/irc.c
-index 556bf97..a5cc039 100644
---- a/src/irc.c
-+++ b/src/irc.c
-@@ -944,7 +947,8 @@ static int irc_cli_mode(struct link_client *ic, struct line *line)
-
- /* This is a wild guess and that sucks. */
- if (!irc_line_elem_equals(line, 0, "MODE") ||
-- strchr(irc_line_elem(line, 2), 'b') == NULL)
-+ (strchr(irc_line_elem(line, 2), 'b') == NULL &&
-+ strchr(irc_line_elem(line, 2), 'q') == NULL))
- return OK_COPY;
-
- ++ic->who_count;
diff --git a/net-irc/bip/files/bip.vim b/net-irc/bip/files/bip.vim
deleted file mode 100644
index 437d7f083633..000000000000
--- a/net-irc/bip/files/bip.vim
+++ /dev/null
@@ -1,4 +0,0 @@
-" Vim filetype detection file for bip config files
-"
-
-au BufNewFile,BufRead bip.conf set filetype=bip
diff --git a/net-irc/bip/metadata.xml b/net-irc/bip/metadata.xml
deleted file mode 100644
index e20cca0de70b..000000000000
--- a/net-irc/bip/metadata.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
- Bip is an IRC proxy, which means it keeps connected to your preferred
- IRC servers, can store the logs for you, and even send them back to your IRC
- client(s) upon connection. You may want to use bip to keep your logfiles (in a
- unique format and on a unique computer) whatever your client is, when you
- connect from multiple workstations, or when you simply want to have a playback
- of what was said while you were away.
-
-
- Enables freenode-specific functionality.
- Currently that is only support for mute lists (MODE #channel +q).
- Disable the automatic CTCP VERSION reply which is often
- exploited by malicious people to cause a DoS (reconnect due to flooding).
-
- Enable oidentd support
-
-
diff --git a/net-irc/epic4/Manifest b/net-irc/epic4/Manifest
deleted file mode 100644
index 1ebdc0be8fbc..000000000000
--- a/net-irc/epic4/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST epic4-2.10.1.tar.bz2 629722 BLAKE2B 9e28c053ce72eeeeb031c42cc2ebb838a8c5acf18764381d26906afa0ba4471c6241ff65b9f537b51054749698bf7ff9672d7f212cee1b19965a99bca47c29ef SHA512 382a0ad6d2778aba037ee1cf065ec7d2ea3827957010f9eea36072fbb8bf14cdba5baffa9a3ce7888305a2451ae61a4b5b5823336fc80b73997fe0d609918656
-DIST epic4-help-20050315.tar.gz 332502 BLAKE2B 6839c828883bf42545e0d54512377558ec031359a296c014152d8ee136063299d6dbf1e7143b8f32a1ee4d4250029206f6a8fdb3f07c295736cd83a3530e4886 SHA512 f59339d4f2c339cb4c3cbc0cce7db8fadbfe469884c16ab9add42e98eb318851e48ce8a04b4920d33c42afff8b39ec41186744eda0460af544c43fe14658e7e6
-DIST epic4-local.bz2 6530 BLAKE2B 3c4e32dc0f47e74ed750e0f12713b026f75137f8f0edfe28d05c2b527c3117edf834e604cb33f2e2569577c39a38c787437ab68ccc8d426e68b6637565ac78df SHA512 2f4bb0aee284ddedd95dd97b17bd1756fcc700ec07b2814d84f3185e215134600fdd0fadf7ecb1d490ebb449f5e9530fcb207ebfaec27cfce1f9570e73103cc1
diff --git a/net-irc/epic4/epic4-2.10.1.ebuild b/net-irc/epic4/epic4-2.10.1.ebuild
deleted file mode 100644
index fa6e98d50759..000000000000
--- a/net-irc/epic4/epic4-2.10.1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit autotools eutils flag-o-matic toolchain-funcs
-
-HELP_V="20050315"
-
-DESCRIPTION="Epic4 IRC Client"
-HOMEPAGE="http://epicsol.org/"
-SRC_URI="
- ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/${P}.tar.bz2
- ftp://prbh.org/pub/epic/EPIC4-PRODUCTION/epic4-help-${HELP_V}.tar.gz
- mirror://gentoo/epic4-local.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="ipv6 perl ssl"
-
-DEPEND="
- >=sys-libs/ncurses-5.2
- perl? ( dev-lang/perl )
- ssl? ( >=dev-libs/openssl-0.9.5:0 )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/epic-defaultserver.patch \
- "${FILESDIR}"/${P}-make-recursion.patch \
- "${FILESDIR}"/${P}-perl.patch
-
- eautoconf
-
- rm -f "${WORKDIR}"/help/Makefile || die
- ecvs_clean
-}
-
-src_configure() {
- replace-flags "-O?" "-O"
-
- # copied from alt overlay
- [[ ${CHOST} == *-interix* ]] && export ac_cv_func_getpgrp_void=yes
-
- econf \
- --libexecdir="${EPREFIX}"/usr/libexec/${PN} \
- $(use_with ipv6) \
- $(use_with perl) \
- $(use_with ssl)
-}
-
-src_compile() {
- emake CC="$(tc-getCC)"
-}
-
-src_install () {
- einstall \
- sharedir="${ED}"/usr/share \
- libexecdir="${ED}"/usr/libexec/${PN}
-
- dodoc BUG_FORM README KNOWNBUGS VOTES
-
- cd "${S}"/doc || die
- docinto doc
- dodoc \
- *.txt colors EPIC* IRCII_VERSIONS local_vars missing new-load \
- nicknames outputhelp SILLINESS TS4
-
- insinto /usr/share/epic
- doins -r "${WORKDIR}"/help
-}
-
-pkg_postinst() {
- if [ ! -f "${EROOT}"/usr/share/epic/script/local ]; then
- elog "/usr/share/epic/script/local does not exist, I will now"
- elog "create it. If you do not like the look/feel of this file, or"
- elog "if you'd prefer to use your own script, simply remove this"
- elog "file. If you want to prevent this file from being installed"
- elog "in the future, simply create an empty file with this name."
- cp "${WORKDIR}"/epic4-local "${EROOT}"/usr/share/epic/script/local
- elog
- elog "This provided local startup script adds a number of nifty"
- elog "features to Epic including tab completion, a comprehensive set"
- elog "of aliases, and channel-by-channel logging. To prevent"
- elog "unintentional conflicts with your own scripting, if either the"
- elog "~/.ircrc or ~/.epicrc script files exist, then the local script"
- elog "is *not* run. If you like the script but want to make careful"
- elog "additions (such as selecting your usual servers or setting your"
- elog "nickname), simply copy /usr/share/epic/script/local to ~/.ircrc"
- elog "and then add your additions to the copy."
- fi
-
- # Fix for bug 59075
- chmod 755 "${EROOT}"/usr/share/epic/help
-}
diff --git a/net-irc/epic4/files/epic-defaultserver.patch b/net-irc/epic4/files/epic-defaultserver.patch
deleted file mode 100644
index 1dbc2087cce9..000000000000
--- a/net-irc/epic4/files/epic-defaultserver.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur epic4-1.1.14.orig/include/config.h epic4-1.1.14/include/config.h
---- epic4-1.1.14.orig/include/config.h 2003-10-28 05:53:57.000000000 +0000
-+++ epic4-1.1.14/include/config.h 2004-01-03 13:49:53.083473288 +0000
-@@ -42,7 +42,7 @@
- * the client will NOT compile and work properly! Use the default here if
- * you dont have other servers to use.
- */
--#define DEFAULT_SERVER "localhost irc.efnet.net irc.undernet.org irc.dal.net"
-+#define DEFAULT_SERVER "localhost irc.freenode.net irc.efnet.net irc.undernet.org irc.dal.net"
-
- /*
- * The left and right brace characters ('{', '}') are special characters in
diff --git a/net-irc/epic4/files/epic4-2.10.1-make-recursion.patch b/net-irc/epic4/files/epic4-2.10.1-make-recursion.patch
deleted file mode 100644
index 68d7e4c460b6..000000000000
--- a/net-irc/epic4/files/epic4-2.10.1-make-recursion.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -210,6 +210,6 @@
- $(RM) Makefile source/Makefile include/sig.inc config.status config.cache config.log include/defs.h source/info.c.sh
-
- depend:
-- (cd source;make depend)
-+ (cd source;$(MAKE) depend)
-
- # This is the end of the file.
diff --git a/net-irc/epic4/files/epic4-2.10.1-perl.patch b/net-irc/epic4/files/epic4-2.10.1-perl.patch
deleted file mode 100644
index ce41d153abc6..000000000000
--- a/net-irc/epic4/files/epic4-2.10.1-perl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From: Nathan Phillip Brink
-Subject: Fix broken perl detection somewhat.
-
---- a/configure.in
-+++ b/configure.in
-@@ -636,25 +636,27 @@
- dnl
-
- AC_MSG_CHECKING(whether to support Perl)
--AC_ARG_WITH(perl,
--[ --with-perl[=PATH] Compile with perl support.],
--[ test -z "$withval" && withval=yes ],
--)
--test "xno" != "x$withval" && for base in $withval /usr/local /usr /
--do
-- FOUND=
-- for ext in so a dll ; do
-- test -r $base/lib/libperl.$ext && FOUND=1
-- test -r $base/libperl.$ext && FOUND=1
-- done
-- test -n "$FOUND" || continue
-- AC_MSG_RESULT(yes)
-- LIBS="$LIBS `perl -MExtUtils::Embed -e ldopts`"
-- PERLDOTOH="perl.o"
-- AC_DEFINE(PERL)
-- break
--done
--test -z "$PERLDOTOH" && AC_MSG_RESULT(no)
-+AC_ARG_WITH([perl],
-+ [AS_HELP_STRING([--with-perl[=PATH]], [Compile with perl support.])],
-+ [],
-+ [with_perl=maybe])
-+AS_IF([test "xno" != "x$with_perl"],
-+ [
-+ PERL_LIBS="`perl -MExtUtils::Embed -e ldopts`"
-+ AS_IF([test -n "$PERL_LIBS"],
-+ [
-+ AC_MSG_RESULT([yes])
-+ LIBS="$LIBS $PERL_LIBS"
-+ AC_DEFINE([PERL], [], [Define if perl support should be compiled])
-+ PERLDOTOH="perl.o"
-+ ],
-+ [
-+ AC_MSG_RESULT([no])
-+ AS_IF([test "x$with_perl" != "xmaybe"],
-+ [AC_MSG_ERROR([You specified --with-perl, but I was unable to find libperl])])
-+ ])
-+ ])
-+
- withval=''
-
- dnl ----------------------------------------------------------
-
-Diff finished. Thu Jun 30 22:15:26 2011
diff --git a/net-irc/epic4/metadata.xml b/net-irc/epic4/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/net-irc/epic4/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/net-irc/shadowircd/Manifest b/net-irc/shadowircd/Manifest
deleted file mode 100644
index 62e6e18fb83e..000000000000
--- a/net-irc/shadowircd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST shadowircd-6.3.3.tar.gz 1980432 BLAKE2B d9f443011668bf407624cb5da2a9f8396861e4c4c7e587bae35d7ac3bd9513a109865e56fd92efc1d022d773c10a36ba95cc2f1f763e06b74f46e300cb142b5a SHA512 f3638bee6d49c56738cf05dd7c67d93344ed5787eb8777589390dbc38a1481e9a28895bdd4534124dcc8dbe247f3e28e299fe0bc0bb89e4d974b4aff734701d4
diff --git a/net-irc/shadowircd/files/format-security.patch b/net-irc/shadowircd/files/format-security.patch
deleted file mode 100644
index bd6e26e28a59..000000000000
--- a/net-irc/shadowircd/files/format-security.patch
+++ /dev/null
@@ -1,384 +0,0 @@
-From 6055fe3ee3b7b932e2a21160251fff0f0c6bcc39 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky
-Date: Mon, 24 Jul 2017 10:39:43 -0400
-Subject: [PATCH 1/1] Supply trivial format strings to fix format-security
- warnings.
-
-This commit adds a trivial format string "%s" to a number of function
-calls that are otherwise missing them. This avoids GCC's
-format-security warnings, which cause compilation failures with
--Werror=format-security.
-
-Gentoo-Bug: 520620
----
- bandb/bandb.c | 2 +-
- modules/core/m_kill.c | 4 ++--
- modules/m_away.c | 4 ++--
- modules/m_challenge.c | 8 ++++----
- modules/m_info.c | 6 +++---
- modules/m_map.c | 4 ++--
- modules/m_oper.c | 6 +++---
- modules/m_stats.c | 22 +++++++++++-----------
- src/chmode.c | 4 ++--
- src/parse.c | 2 +-
- src/s_auth.c | 2 +-
- src/sslproc.c | 8 ++++----
- 12 files changed, 36 insertions(+), 36 deletions(-)
-
-diff --git a/bandb/bandb.c b/bandb/bandb.c
-index 33166b1..2d272a1 100644
---- a/bandb/bandb.c
-+++ b/bandb/bandb.c
-@@ -289,7 +289,7 @@ db_error_cb(const char *errstr)
- {
- char buf[256];
- rb_snprintf(buf, sizeof(buf), "! :%s", errstr);
-- rb_helper_write(bandb_helper, buf);
-+ rb_helper_write(bandb_helper, "%s", buf);
- rb_sleep(2 << 30, 0);
- exit(1);
- }
-diff --git a/modules/core/m_kill.c b/modules/core/m_kill.c
-index 80df7df..2fa91da 100644
---- a/modules/core/m_kill.c
-+++ b/modules/core/m_kill.c
-@@ -97,7 +97,7 @@ mo_kill(struct Client *client_p, struct Client *source_p, int parc, const char *
- if((target_p = get_history(user, (long) KILLCHASETIMELIMIT)) == NULL)
- {
- if (strchr(user, '.'))
-- sendto_one_numeric(source_p, ERR_CANTKILLSERVER, form_str(ERR_CANTKILLSERVER));
-+ sendto_one_numeric(source_p, ERR_CANTKILLSERVER, "%s", form_str(ERR_CANTKILLSERVER));
- else
- sendto_one_numeric(source_p, ERR_NOSUCHNICK,
- form_str(ERR_NOSUCHNICK), user);
-@@ -216,7 +216,7 @@ ms_kill(struct Client *client_p, struct Client *source_p, int parc, const char *
-
- if(IsServer(target_p) || IsMe(target_p))
- {
-- sendto_one_numeric(source_p, ERR_CANTKILLSERVER, form_str(ERR_CANTKILLSERVER));
-+ sendto_one_numeric(source_p, ERR_CANTKILLSERVER, "%s", form_str(ERR_CANTKILLSERVER));
- return 0;
- }
-
-diff --git a/modules/m_away.c b/modules/m_away.c
-index 557371e..13c4c39 100644
---- a/modules/m_away.c
-+++ b/modules/m_away.c
-@@ -85,7 +85,7 @@ m_away(struct Client *client_p, struct Client *source_p, int parc, const char *p
- free_away(source_p);
- }
- if(MyConnect(source_p))
-- sendto_one_numeric(source_p, RPL_UNAWAY, form_str(RPL_UNAWAY));
-+ sendto_one_numeric(source_p, RPL_UNAWAY, "%s", form_str(RPL_UNAWAY));
- return 0;
- }
-
-@@ -99,7 +99,7 @@ m_away(struct Client *client_p, struct Client *source_p, int parc, const char *p
- }
-
- if(MyConnect(source_p))
-- sendto_one_numeric(source_p, RPL_NOWAWAY, form_str(RPL_NOWAWAY));
-+ sendto_one_numeric(source_p, RPL_NOWAWAY, "%s", form_str(RPL_NOWAWAY));
-
- return 0;
- }
-diff --git a/modules/m_challenge.c b/modules/m_challenge.c
-index 2066095..b8514c4 100644
---- a/modules/m_challenge.c
-+++ b/modules/m_challenge.c
-@@ -172,7 +172,7 @@ m_challenge(struct Client *client_p, struct Client *source_p, int parc, const ch
-
- if(oper_p == NULL)
- {
-- sendto_one_numeric(source_p, ERR_NOOPERHOST, form_str(ERR_NOOPERHOST));
-+ sendto_one_numeric(source_p, ERR_NOOPERHOST, "%s", form_str(ERR_NOOPERHOST));
- ilog(L_FOPER, "FAILED OPER (%s) by (%s!%s@%s) (%s)",
- source_p->localClient->opername, source_p->name,
- source_p->username, source_p->host,
-@@ -203,7 +203,7 @@ m_challenge(struct Client *client_p, struct Client *source_p, int parc, const ch
-
- if(oper_p == NULL)
- {
-- sendto_one_numeric(source_p, ERR_NOOPERHOST, form_str(ERR_NOOPERHOST));
-+ sendto_one_numeric(source_p, ERR_NOOPERHOST, "%s", form_str(ERR_NOOPERHOST));
- ilog(L_FOPER, "FAILED OPER (%s) by (%s!%s@%s) (%s)",
- parv[1], source_p->name,
- source_p->username, source_p->host, source_p->sockhost);
-@@ -223,7 +223,7 @@ m_challenge(struct Client *client_p, struct Client *source_p, int parc, const ch
-
- if(IsOperConfNeedSSL(oper_p) && !IsSSLClient(source_p))
- {
-- sendto_one_numeric(source_p, ERR_NOOPERHOST, form_str(ERR_NOOPERHOST));
-+ sendto_one_numeric(source_p, ERR_NOOPERHOST, "%s", form_str(ERR_NOOPERHOST));
- ilog(L_FOPER, "FAILED CHALLENGE (%s) by (%s!%s@%s) (%s) -- requires SSL/TLS",
- parv[1], source_p->name, source_p->username, source_p->host,
- source_p->sockhost);
-@@ -241,7 +241,7 @@ m_challenge(struct Client *client_p, struct Client *source_p, int parc, const ch
- {
- if (source_p->certfp == NULL || strcasecmp(source_p->certfp, oper_p->certfp))
- {
-- sendto_one_numeric(source_p, ERR_NOOPERHOST, form_str(ERR_NOOPERHOST));
-+ sendto_one_numeric(source_p, ERR_NOOPERHOST, "%s", form_str(ERR_NOOPERHOST));
- ilog(L_FOPER, "FAILED OPER (%s) by (%s!%s@%s) (%s) -- client certificate fingerprint mismatch",
- parv[1], source_p->name,
- source_p->username, source_p->host, source_p->sockhost);
-diff --git a/modules/m_info.c b/modules/m_info.c
-index dd14294..bab156f 100644
---- a/modules/m_info.c
-+++ b/modules/m_info.c
-@@ -722,7 +722,7 @@ m_info(struct Client *client_p, struct Client *source_p, int parc, const char *p
- /* safe enough to give this on a local connect only */
- sendto_one(source_p, form_str(RPL_LOAD2HI),
- me.name, source_p->name, "INFO");
-- sendto_one_numeric(source_p, RPL_ENDOFINFO, form_str(RPL_ENDOFINFO));
-+ sendto_one_numeric(source_p, RPL_ENDOFINFO, "%s", form_str(RPL_ENDOFINFO));
- return 0;
- }
- else
-@@ -736,7 +736,7 @@ m_info(struct Client *client_p, struct Client *source_p, int parc, const char *p
- send_info_text(source_p);
- send_birthdate_online_time(source_p);
-
-- sendto_one_numeric(source_p, RPL_ENDOFINFO, form_str(RPL_ENDOFINFO));
-+ sendto_one_numeric(source_p, RPL_ENDOFINFO, "%s", form_str(RPL_ENDOFINFO));
- return 0;
- }
-
-@@ -761,7 +761,7 @@ mo_info(struct Client *client_p, struct Client *source_p, int parc, const char *
-
- send_birthdate_online_time(source_p);
-
-- sendto_one_numeric(source_p, RPL_ENDOFINFO, form_str(RPL_ENDOFINFO));
-+ sendto_one_numeric(source_p, RPL_ENDOFINFO, "%s", form_str(RPL_ENDOFINFO));
- }
-
- return 0;
-diff --git a/modules/m_map.c b/modules/m_map.c
-index 7a45140..baadc86 100644
---- a/modules/m_map.c
-+++ b/modules/m_map.c
-@@ -59,7 +59,7 @@ m_map(struct Client *client_p, struct Client *source_p, int parc, const char *pa
- }
-
- dump_map(client_p, &me, buf);
-- sendto_one_numeric(client_p, RPL_MAPEND, form_str(RPL_MAPEND));
-+ sendto_one_numeric(client_p, RPL_MAPEND, "%s", form_str(RPL_MAPEND));
- return 0;
- }
-
-@@ -71,7 +71,7 @@ mo_map(struct Client *client_p, struct Client *source_p, int parc, const char *p
- {
- dump_map(client_p, &me, buf);
- scache_send_missing(client_p);
-- sendto_one_numeric(client_p, RPL_MAPEND, form_str(RPL_MAPEND));
-+ sendto_one_numeric(client_p, RPL_MAPEND, "%s", form_str(RPL_MAPEND));
-
- return 0;
- }
-diff --git a/modules/m_oper.c b/modules/m_oper.c
-index b403b28..af1e008 100644
---- a/modules/m_oper.c
-+++ b/modules/m_oper.c
-@@ -83,7 +83,7 @@ m_oper(struct Client *client_p, struct Client *source_p, int parc, const char *p
-
- if(oper_p == NULL)
- {
-- sendto_one_numeric(source_p, ERR_NOOPERHOST, form_str(ERR_NOOPERHOST));
-+ sendto_one_numeric(source_p, ERR_NOOPERHOST, "%s", form_str(ERR_NOOPERHOST));
- ilog(L_FOPER, "FAILED OPER (%s) by (%s!%s@%s) (%s)",
- name, source_p->name,
- source_p->username, source_p->host, source_p->sockhost);
-@@ -100,7 +100,7 @@ m_oper(struct Client *client_p, struct Client *source_p, int parc, const char *p
-
- if(IsOperConfNeedSSL(oper_p) && !IsSSLClient(source_p))
- {
-- sendto_one_numeric(source_p, ERR_NOOPERHOST, form_str(ERR_NOOPERHOST));
-+ sendto_one_numeric(source_p, ERR_NOOPERHOST, "%s", form_str(ERR_NOOPERHOST));
- ilog(L_FOPER, "FAILED OPER (%s) by (%s!%s@%s) (%s) -- requires SSL/TLS",
- name, source_p->name,
- source_p->username, source_p->host, source_p->sockhost);
-@@ -118,7 +118,7 @@ m_oper(struct Client *client_p, struct Client *source_p, int parc, const char *p
- {
- if (source_p->certfp == NULL || strcasecmp(source_p->certfp, oper_p->certfp))
- {
-- sendto_one_numeric(source_p, ERR_NOOPERHOST, form_str(ERR_NOOPERHOST));
-+ sendto_one_numeric(source_p, ERR_NOOPERHOST, "%s", form_str(ERR_NOOPERHOST));
- ilog(L_FOPER, "FAILED OPER (%s) by (%s!%s@%s) (%s) -- client certificate fingerprint mismatch",
- name, source_p->name,
- source_p->username, source_p->host, source_p->sockhost);
-diff --git a/modules/m_stats.c b/modules/m_stats.c
-index dc826bc..51555b4 100644
---- a/modules/m_stats.c
-+++ b/modules/m_stats.c
-@@ -223,7 +223,7 @@ m_stats(struct Client *client_p, struct Client *source_p, int parc, const char *
- if(stats_cmd_table[i].need_oper && !IsOper(source_p))
- {
- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-- form_str (ERR_NOPRIVILEGES));
-+ "%s", form_str (ERR_NOPRIVILEGES));
- break;
- }
- if(stats_cmd_table[i].need_admin && !IsOperAdmin(source_p))
-@@ -285,7 +285,7 @@ stats_connect(struct Client *source_p)
- (ConfigServerHide.flatten_links && !IsExemptShide(source_p))) &&
- !IsOper(source_p))
- {
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str(ERR_NOPRIVILEGES));
- return;
- }
-@@ -487,7 +487,7 @@ stats_hubleaf(struct Client *source_p)
- (ConfigServerHide.flatten_links && !IsExemptShide(source_p))) &&
- !IsOper(source_p))
- {
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str (ERR_NOPRIVILEGES));
- return;
- }
-@@ -513,7 +513,7 @@ stats_auth (struct Client *source_p)
- {
- /* Oper only, if unopered, return ERR_NOPRIVS */
- if((ConfigFileEntry.stats_i_oper_only == 2) && !IsOper (source_p))
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str (ERR_NOPRIVILEGES));
-
- /* If unopered, Only return matching auth blocks */
-@@ -556,7 +556,7 @@ stats_tklines(struct Client *source_p)
- {
- /* Oper only, if unopered, return ERR_NOPRIVS */
- if((ConfigFileEntry.stats_k_oper_only == 2) && !IsOper (source_p))
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str (ERR_NOPRIVILEGES));
-
- /* If unopered, Only return matching klines */
-@@ -621,7 +621,7 @@ stats_klines(struct Client *source_p)
- {
- /* Oper only, if unopered, return ERR_NOPRIVS */
- if((ConfigFileEntry.stats_k_oper_only == 2) && !IsOper (source_p))
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str (ERR_NOPRIVILEGES));
-
- /* If unopered, Only return matching klines */
-@@ -689,7 +689,7 @@ stats_oper(struct Client *source_p)
-
- if(!IsOper(source_p) && ConfigFileEntry.stats_o_oper_only)
- {
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str (ERR_NOPRIVILEGES));
- return;
- }
-@@ -752,7 +752,7 @@ static void
- stats_ports (struct Client *source_p)
- {
- if(!IsOper (source_p) && ConfigFileEntry.stats_P_oper_only)
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str (ERR_NOPRIVILEGES));
- else
- show_ports (source_p);
-@@ -1063,7 +1063,7 @@ stats_servers (struct Client *source_p)
- if(ConfigServerHide.flatten_links && !IsOper(source_p) &&
- !IsExemptShide(source_p))
- {
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str (ERR_NOPRIVILEGES));
- return;
- }
-@@ -1137,7 +1137,7 @@ static void
- stats_class(struct Client *source_p)
- {
- if(ConfigFileEntry.stats_y_oper_only && !IsOper(source_p))
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str (ERR_NOPRIVILEGES));
- else
- report_classes(source_p);
-@@ -1411,7 +1411,7 @@ stats_servlinks (struct Client *source_p)
- if(ConfigServerHide.flatten_links && !IsOper (source_p) &&
- !IsExemptShide(source_p))
- {
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES,
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s",
- form_str (ERR_NOPRIVILEGES));
- return;
- }
-diff --git a/src/chmode.c b/src/chmode.c
-index 0a43199..cd649d3 100644
---- a/src/chmode.c
-+++ b/src/chmode.c
-@@ -644,7 +644,7 @@ chm_hidden(struct Client *source_p, struct Channel *chptr,
- if(!IsOper(source_p) && !IsServer(source_p))
- {
- if(!(*errors & SM_ERR_NOPRIVS))
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES, form_str(ERR_NOPRIVILEGES));
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s", form_str(ERR_NOPRIVILEGES));
- *errors |= SM_ERR_NOPRIVS;
- return;
- }
-@@ -734,7 +734,7 @@ chm_staff(struct Client *source_p, struct Channel *chptr,
- if(!IsOper(source_p) && !IsServer(source_p))
- {
- if(!(*errors & SM_ERR_NOPRIVS))
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES, form_str(ERR_NOPRIVILEGES));
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s", form_str(ERR_NOPRIVILEGES));
- *errors |= SM_ERR_NOPRIVS;
- return;
- }
-diff --git a/src/parse.c b/src/parse.c
-index a8ce091..9e17de4 100644
---- a/src/parse.c
-+++ b/src/parse.c
-@@ -719,7 +719,7 @@ static void do_alias(struct alias_entry *aptr, struct Client *source_p, char *te
- int
- m_not_oper(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
- {
-- sendto_one_numeric(source_p, ERR_NOPRIVILEGES, form_str(ERR_NOPRIVILEGES));
-+ sendto_one_numeric(source_p, ERR_NOPRIVILEGES, "%s", form_str(ERR_NOPRIVILEGES));
- return 0;
- }
-
-diff --git a/src/s_auth.c b/src/s_auth.c
-index 2644ff1..52e4633 100644
---- a/src/s_auth.c
-+++ b/src/s_auth.c
-@@ -116,7 +116,7 @@ typedef enum
- }
- ReportType;
-
--#define sendheader(c, r) sendto_one_notice(c, HeaderMessages[(r)])
-+#define sendheader(c, r) sendto_one_notice(c, "%s", HeaderMessages[(r)])
-
- static rb_dlink_list auth_poll_list;
- static rb_bh *auth_heap;
-diff --git a/src/sslproc.c b/src/sslproc.c
-index 11fadbb..51078fb 100644
---- a/src/sslproc.c
-+++ b/src/sslproc.c
-@@ -455,13 +455,13 @@ ssl_process_cmd_recv(ssl_ctl_t * ctl)
- break;
- case 'I':
- ssl_ok = 0;
-- ilog(L_MAIN, cannot_setup_ssl);
-- sendto_realops_snomask(SNO_GENERAL, L_ALL, cannot_setup_ssl);
-+ ilog(L_MAIN, "%s", cannot_setup_ssl);
-+ sendto_realops_snomask(SNO_GENERAL, L_ALL, "%s", cannot_setup_ssl);
- case 'U':
- zlib_ok = 0;
- ssl_ok = 0;
-- ilog(L_MAIN, no_ssl_or_zlib);
-- sendto_realops_snomask(SNO_GENERAL, L_ALL, no_ssl_or_zlib);
-+ ilog(L_MAIN, "%s", no_ssl_or_zlib);
-+ sendto_realops_snomask(SNO_GENERAL, L_ALL, "%s", no_ssl_or_zlib);
- ssl_killall();
- break;
- case 'z':
---
-2.13.0
-
diff --git a/net-irc/shadowircd/files/shadowircd.confd b/net-irc/shadowircd/files/shadowircd.confd
deleted file mode 100644
index 4712b525985d..000000000000
--- a/net-irc/shadowircd/files/shadowircd.confd
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Specify any extra options to pass to shadowircd
-SHADOWIRCD_OPTS=""
diff --git a/net-irc/shadowircd/files/shadowircd.initd-r1 b/net-irc/shadowircd/files/shadowircd.initd-r1
deleted file mode 100644
index 38ccab8b3f3f..000000000000
--- a/net-irc/shadowircd/files/shadowircd.initd-r1
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/bin/shadowircd-ircd"
-command_args="${SHADOWIRCD_OPTS}"
-command_user="shadowircd"
-extra_started_commands="reload"
-pidfile="/run/shadowircd/ircd.pid"
-
-depend() {
- use dns net
- provide ircd
-}
-
-start_pre() {
- ebegin "Creating /run/shadowircd for ${SVCNAME}"
- checkpath --directory --owner :shadowircd --mode 0770 /run/shadowircd
- eend $?
-}
-
-reload() {
- ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --signal HUP --pidfile "${pidfile}"
- eend $?
-}
diff --git a/net-irc/shadowircd/metadata.xml b/net-irc/shadowircd/metadata.xml
deleted file mode 100644
index d90bc3272748..000000000000
--- a/net-irc/shadowircd/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- Enable support/tweaks for large networks
-
-
- shadowircd/shadowircd
-
-
diff --git a/net-irc/shadowircd/shadowircd-6.3.3-r1.ebuild b/net-irc/shadowircd/shadowircd-6.3.3-r1.ebuild
deleted file mode 100644
index 56dcbf33ad86..000000000000
--- a/net-irc/shadowircd/shadowircd-6.3.3-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user
-
-DESCRIPTION="An IRCd based on charybdis that adds several useful features"
-HOMEPAGE="http://shadowircd.net"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug +ipv6 largenet ssl zlib"
-
-RDEPEND="ssl? ( dev-libs/openssl:0 )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
- virtual/yacc
- sys-devel/flex"
-
-S="${WORKDIR}/${PN}-${P}"
-
-PATCHES=( "${FILESDIR}/format-security.patch" )
-
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 "${EPREFIX}"/usr ${PN}
-}
-
-src_prepare() {
- default
-
- # Fill the example configuration file with proper paths.
- sed -i \
- -e "s:path =.*modules:path = \"$(get_libdir)/${PN}/modules:g" \
- -e "s:etc/:../etc/${PN}/:g" \
- -e "s:logs/:../var/log/shadowircd/:g" \
- -e "s:test\.\(cert\|key\):ssl.\1:g" \
- doc/example.conf \
- doc/reference.conf \
- || die
-}
-
-src_configure() {
- econf \
- ac_cv_prog_cc_g=no \
- --disable-gnutls \
- $(use_enable debug assert soft) \
- $(use_enable debug iodebug) \
- $(use_enable ipv6) \
- $(use_enable !largenet small-net) \
- $(use_enable ssl openssl) \
- $(use_enable zlib) \
- --with-program-prefix=shadowircd- \
- \
- --enable-fhs-paths \
- --sysconfdir="${EPREFIX}"/etc/${PN} \
- --libdir="${EPREFIX}"/usr/"$(get_libdir)"/${PN} \
- --with-logdir="${EPREFIX}"/var/log/${PN} \
- --with-moduledir="${EPREFIX}"/usr/"$(get_libdir)"/${PN}/modules \
- --with-rundir="${EPREFIX}"/run
-}
-
-src_install() {
- default
-
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-
- insinto etc/${PN}
- newins doc/reference.conf ircd.conf
-
- keepdir var/{lib,log}/${PN}
-
- # The runtime directory will be created by the init script, so we
- # kill this here to avoid a QA warning about it.
- rm -rf "${D}"/run || die
-
- # shadowircd needs writing to its state (bandb) and log directories
- fowners :shadowircd /var/{lib,log}/${PN}
- fperms 770 /var/{lib,log}/${PN}
-
- # ensure that shadowircd can access but not modify its configuration
- # while protecting it from others
- fowners :shadowircd /etc/${PN}{,/ircd.conf}
- fperms 750 /etc/${PN}
- fperms 640 /etc/${PN}/ircd.conf
-}
-
-pkg_postinst() {
- elog "All of the shadowircd binaries in PATH have been prefixed with"
- elog "'shadowircd-' to prevent file collisions."
-}
diff --git a/net-irc/unrealircd/unrealircd-4.2.2.ebuild b/net-irc/unrealircd/unrealircd-4.2.2.ebuild
index 97e3418dd68d..16789e1cf4b5 100644
--- a/net-irc/unrealircd/unrealircd-4.2.2.ebuild
+++ b/net-irc/unrealircd/unrealircd-4.2.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.unrealircd.org/${PN}$(ver_cut 1)/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~amd64-linux"
IUSE="class-nofakelag curl +extban-stacking libressl +operoverride operoverride-verify
+prefixaq showlistmodes shunnotices +usermod"
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz
index d539123b852d..4344976c0b14 100644
Binary files a/net-libs/Manifest.gz and b/net-libs/Manifest.gz differ
diff --git a/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild b/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild
index d1358a6ac3a1..4b76b6257c62 100644
--- a/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild
+++ b/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://brianstafford.info/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1 GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE="debug libressl ntlm ssl static-libs threads"
RDEPEND="
diff --git a/net-libs/nghttp2/Manifest b/net-libs/nghttp2/Manifest
index 8acfd1254889..ef443b885007 100644
--- a/net-libs/nghttp2/Manifest
+++ b/net-libs/nghttp2/Manifest
@@ -1,3 +1,4 @@
DIST nghttp2-1.33.0.tar.xz 1554776 BLAKE2B 1b995d6385188423acbcd7c8b3a626a622270bc3079972885a1f707a9cc4ebb053f7347930ce217d2cf4277eab0a3309accb8f9ff18bd8ccc55c86aefa6246c3 SHA512 eeb0bf64fea115444c685c8a01c1017ce96be18adf88ffcdecad067de7012ca61c6b2b6a627b18e2572bba7bd77ec56a3ca4b1109f7a4b21220e8e28687b5b74
-DIST nghttp2-1.36.0.tar.xz 1629020 BLAKE2B 7c116988c22801688c50d6d514ddb904920cc54d3c3d141137e6ed8b2182ef4e670f0a0fdebaeabfe0df8cdea4cfd1ee3fb083628f035201f104de6f3614dd25 SHA512 4e0d5c5cdb4f1b7e5f12790850237f36649af4aa9596033392725972e4e0e5a33bb78bd1aa0735e35e489b523b7e9a236a7b5847dfca69bd7583fcab36c13c76
DIST nghttp2-1.37.0.tar.xz 1628248 BLAKE2B ed5cdfda44b4e38a03d92352520eb765cc1da99080e0cd3e9d663efd5ef2ff219c6ccdbc16cfde001a8377afc796acef250913e1eb422ae2cac2eb95b8f98089 SHA512 67a4b9df3f7f0edad719011fa289d9aa9ef04f31ef3ccf826b861c8830ed24e0743a33b54ab66d198fec7edbf723852b38a2007b335d7f566f702f4b02297b0f
+DIST nghttp2-1.38.0-unbundle_http_parser.patch.xz 2616 BLAKE2B 3f15154d33f32c91aad87f23f56d761501e19e0b53b99d4df720f9e04d6d9c49a52118acbe3da87f8585c2b71b7b430ef60fc33465605f3bf9933635aabb924d SHA512 1b4377b34cf6428164011be9fc86efdd7ab8d3443edf197c45768beea0f843084a842c4cb2abc5179d6036ec99174557e06344ce67a07d98992de64d99faf3a6
+DIST nghttp2-1.38.0.tar.xz 1628356 BLAKE2B 0568d4ac5c1e5e6d7adf762815836502524d59fb55c623f344a8427638407a19447fe1a7753142aa205898f7bda6ebce8ef6f4d85edc6da98ffa98b83d4e363e SHA512 e432d52bcf77379ed5c10ceafb587ec8d66c56bb728cda56487b237cbab1d0073689624419ed306162dab3a51b91cfe0f59cb173b5d81346e2b6d0abd56635bc
diff --git a/net-libs/nghttp2/files/nghttp2-1.38.0-boost-1.70.0.patch b/net-libs/nghttp2/files/nghttp2-1.38.0-boost-1.70.0.patch
new file mode 100644
index 000000000000..cc1100a0b0ba
--- /dev/null
+++ b/net-libs/nghttp2/files/nghttp2-1.38.0-boost-1.70.0.patch
@@ -0,0 +1,50 @@
+From cbba1ebf8fcecb24392f0cc07b1235b17d0de9d8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Adam=20Go=C5=82=C4=99biowski?=
+Date: Thu, 18 Apr 2019 12:35:54 +0200
+Subject: [PATCH] asio: support boost-1.70
+
+In boost 1.70, deprecated get_io_context() has finally been removed.
+Introduce GET_IO_SERVICE macro that based on boost version uses
+old get_io_service() interface (boost < 1.70), or get_executor().context()
+for boost 1.70+.
+
+Commit based idea seen in monero-project/monero@17769db9462e5201befcb05f86ccbaeabf35caf8
+---
+ src/asio_server_connection.h | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/src/asio_server_connection.h b/src/asio_server_connection.h
+index 6be794060..56924c71a 100644
+--- a/src/asio_server_connection.h
++++ b/src/asio_server_connection.h
+@@ -51,6 +51,12 @@
+ #include "util.h"
+ #include "template.h"
+
++#if BOOST_VERSION >= 107000
++#define GET_IO_SERVICE(s) ((boost::asio::io_context&)(s).get_executor().context())
++#else
++#define GET_IO_SERVICE(s) ((s).get_io_service())
++#endif
++
+ namespace nghttp2 {
+
+ namespace asio_http2 {
+@@ -71,7 +77,7 @@ class connection : public std::enable_shared_from_this>,
+ SocketArgs &&... args)
+ : socket_(std::forward(args)...),
+ mux_(mux),
+- deadline_(socket_.get_io_service()),
++ deadline_(GET_IO_SERVICE(socket_)),
+ tls_handshake_timeout_(tls_handshake_timeout),
+ read_timeout_(read_timeout),
+ writing_(false),
+@@ -82,7 +88,7 @@ class connection : public std::enable_shared_from_this>,
+ boost::system::error_code ec;
+
+ handler_ = std::make_shared(
+- socket_.get_io_service(), socket_.lowest_layer().remote_endpoint(ec),
++ GET_IO_SERVICE(socket_), socket_.lowest_layer().remote_endpoint(ec),
+ [this]() { do_write(); }, mux_);
+ if (handler_->start() != 0) {
+ stop();
diff --git a/net-libs/nghttp2/nghttp2-1.37.0.ebuild b/net-libs/nghttp2/nghttp2-1.37.0.ebuild
index 20f89187f0fb..f27032d7957e 100644
--- a/net-libs/nghttp2/nghttp2-1.37.0.ebuild
+++ b/net-libs/nghttp2/nghttp2-1.37.0.ebuild
@@ -64,5 +64,7 @@ multilib_src_configure() {
}
multilib_src_install_all() {
- use static-libs || find "${ED%/}"/usr -name '*.la' -delete
+ if ! use static-libs ; then
+ find "${ED}"/usr -name '*.la' -delete || die
+ fi
}
diff --git a/net-libs/nghttp2/nghttp2-1.36.0.ebuild b/net-libs/nghttp2/nghttp2-1.38.0.ebuild
similarity index 72%
rename from net-libs/nghttp2/nghttp2-1.36.0.ebuild
rename to net-libs/nghttp2/nghttp2-1.38.0.ebuild
index 20f89187f0fb..23ae1e8d57ba 100644
--- a/net-libs/nghttp2/nghttp2-1.36.0.ebuild
+++ b/net-libs/nghttp2/nghttp2-1.38.0.ebuild
@@ -5,16 +5,19 @@
EAPI=7
-inherit multilib-minimal
+inherit autotools multilib-minimal
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git"
inherit git-r3
else
SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
fi
+# 675772
+SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${PN}-1.38.0-unbundle_http_parser.patch.xz"
+
DESCRIPTION="HTTP/2 C Library"
HOMEPAGE="https://nghttp2.org/"
@@ -30,8 +33,12 @@ RDEPEND="
cxx? (
${SSL_DEPEND}
dev-libs/boost:=[${MULTILIB_USEDEP},threads]
+ >=net-libs/http-parser-2.9.1:=[${MULTILIB_USEDEP}]
+ )
+ hpack-tools? (
+ >=dev-libs/jansson-2.5
+ >=net-libs/http-parser-2.9.1:=
)
- hpack-tools? ( >=dev-libs/jansson-2.5 )
jemalloc? ( dev-libs/jemalloc[${MULTILIB_USEDEP}] )
utils? (
${SSL_DEPEND}
@@ -44,13 +51,26 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
+PATCHES=(
+ "${WORKDIR}/${PN}-1.38.0-unbundle_http_parser.patch" # 675772
+ "${FILESDIR}/${P}-boost-1.70.0.patch" #683368
+)
+
+src_prepare() {
+ default
+ # Remove bundled stuff
+ rm -r third-party/http-parser || die
+ eautoreconf
+}
+
multilib_src_configure() {
local myeconfargs=(
--disable-examples
--disable-failmalloc
+ --disable-python-bindings
--disable-werror
+ --without-bundled-http_parser
--without-cython
- --disable-python-bindings
$(use_enable cxx asio-lib)
$(use_enable debug)
$(multilib_native_use_enable hpack-tools)
@@ -64,5 +84,7 @@ multilib_src_configure() {
}
multilib_src_install_all() {
- use static-libs || find "${ED%/}"/usr -name '*.la' -delete
+ if ! use static-libs ; then
+ find "${ED}"/usr -name '*.la' -delete || die
+ fi
}
diff --git a/net-libs/nghttp2/nghttp2-9999.ebuild b/net-libs/nghttp2/nghttp2-9999.ebuild
index e5d039fc7180..0950bfb1def2 100644
--- a/net-libs/nghttp2/nghttp2-9999.ebuild
+++ b/net-libs/nghttp2/nghttp2-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# TODO: Add python support.
@@ -69,5 +69,7 @@ multilib_src_configure() {
}
multilib_src_install_all() {
- use static-libs || find "${ED%/}"/usr -name '*.la' -delete
+ if ! use static-libs ; then
+ find "${ED}"/usr -name '*.la' -delete || die
+ fi
}
diff --git a/net-libs/serf/serf-1.3.9.ebuild b/net-libs/serf/serf-1.3.9.ebuild
index 66d367644854..f7c309597ac9 100644
--- a/net-libs/serf/serf-1.3.9.ebuild
+++ b/net-libs/serf/serf-1.3.9.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://apache/${PN}/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="kerberos static-libs libressl"
RESTRICT="test"
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.24.1.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.24.1.ebuild
index 5c4c67891ba9..88a7e7a9f99d 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.24.1.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.24.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz"
LICENSE="LGPL-2+ BSD"
SLOT="4/37" # soname version of libwebkit2gtk-4.0
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="aqua coverage doc +egl +geolocation gles2 gnome-keyring +gstreamer +introspection jpeg2k libnotify nsplugin +opengl spell wayland +webgl +X"
diff --git a/net-mail/Manifest.gz b/net-mail/Manifest.gz
index 2072a7d5f7c5..9b70a8a72d20 100644
Binary files a/net-mail/Manifest.gz and b/net-mail/Manifest.gz differ
diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest
index 04e2d3f047d2..b319ea6bed2c 100644
--- a/net-mail/dovecot/Manifest
+++ b/net-mail/dovecot/Manifest
@@ -1,16 +1,5 @@
-DIST dovecot-2.2-pigeonhole-0.4.21.tar.gz 1774887 BLAKE2B ebf2601e7b087d655713f985b72442496e36543ec32881d3bc84d2c6b132f58082aee6c5fae3747f756b72a3c9a2e11f78350bc34c398214de13dfc83cffdef1 SHA512 4751f449ede1b05173c706b414ebf9f7f670ff78589ce6f0b687c32c9abe6dae8b3064ed1b20e893d9ec0147b0139ce479e1d74ebe94747c33f2d8ca177912de
-DIST dovecot-2.2-pigeonhole-0.4.24.tar.gz 1808131 BLAKE2B e8a19b5c3b4876e71556e52ba6a984f6ed0abe93a222f692303fd41cd7a1e6e4e8fd0e5ab0821e9e179b595694752813689a07b428b2590582c3ca7dbb99a08f SHA512 2e21c95ece475ffcb78e5b5d4efa29e61471faf90b80b44a49963fb287de2784ebfb4c2b7ddfc66732fd073e9f02995d5950840336f6babe618b3d7d5166059f
-DIST dovecot-2.2-pigeonhole-0.4.9.tar.gz 1577127 BLAKE2B 7e6f11bf74d56887b640ab5ebffd6e2ad7878d47da808f81b2f21ab4de02495f6ca79453ab5867568afee7f2d9a0915601ceccf5c6a9581d38994c4d35f692e7 SHA512 9e7a18b43d59ed955b142d16696ca221822a547ea59ac70c1bb374eedb28b6ed99ea49f34ead1f9a16ded4573605e410a5cc8e038e1bdf5f943a65588b5d3af2
-DIST dovecot-2.2.19.tar.gz 5256627 BLAKE2B 0b7fe57ced1b1f7eb5e29e8d6723d237cc107752286995d8e5f6857f24b45ab40c4a38b03935b228e8530c3b254509124a7b6ce4e0a8a9be0ea87f0c529db935 SHA512 1b9d605a6a5862ade9d1ca634a9e0171b7c212ab025fc2059051c3795470685b66516fa9fbe5ad91d84388268ea15795f2dcd70ffdf81736ce4d80fd284835e9
-DIST dovecot-2.2.34.tar.gz 6181270 BLAKE2B dfdb1e6812574e79595202e830167400569adf61155aa5ddaae443e798c4a05ccec2acd2975e00e9e7ffc63ee1dcf7e4e2a9288b1e6e1e1427d1e89790a8fa13 SHA512 9f08a7116a08a08495aa0e7b4cb6b11a924ea61006970487946e338bc79bba7fd7619c345cbf278a74de285d548af04fc66eaaee508185b8b9d7335cf5612055
-DIST dovecot-2.2.36.tar.gz 6239707 BLAKE2B 702bb24265b5fefec9c484b3cca890fb1536ff94d1f2d6c99ee8c294ee4e38091eef5a727f0d4bd03700263286361f55747a22fa74def350710f9e49a4b10580 SHA512 327c50971e276f6013ca7f7bb59498ee88d76c9f8419bd18ee531cf10142214350fb81c6d64eaef73ee01765dd0fcf4142ab146ed67d9d7d86d5a58d41cf8db5
-DIST dovecot-2.3-pigeonhole-0.5.2.tar.gz 1814618 BLAKE2B b1187021673429bee1b45a1f657bea995e9881257919ff55bac63106d65963294ee2b3829167c6d50e351c4bc3c7e88a5ccfb757308d2500c5d4146246145074 SHA512 6bc24d9241f94db795a012346d9bc94b5cc7d7ce0175c03213c2b5d179d80dec95e9bdbd50bed628c8f9f7c51639e692ba5e429212a3b4a654c1e4764ac4f11c
-DIST dovecot-2.3-pigeonhole-0.5.3.tar.gz 1827329 BLAKE2B 0d484906022217b1082233e6a3a20c17bafc68b90ce1c5c956c714d111ffb9ab49a3794e199695bb61a1f3ad6bd46e56e63ee3c140cb01eaa7589ef7bd754b19 SHA512 8403b1976a915836ba875b96825446d46e0d8c7ff245ed1f2b014347fdc78a81f9ed6dbd05bd3b4f1f7072edc5e9a302201cdb375de44436adcbb83919f203f5
-DIST dovecot-2.3-pigeonhole-0.5.4.tar.gz 1831570 BLAKE2B d3e7dea3cdcc2b44476401046f6bd6a110a026d523ada2a898b5c99f509cfe37771dcfd31990139f5f4c1c6b405a9f27359cfd27a6e95525515a3aabb71538f8 SHA512 9c82cce7540f8ab66e2e370e0220c99048d6ac53ed680cd763e0b03d0200e2451cee4303ef97b87a16e7248e1c73b92ba91b47a2a20c75cb2cd62695a28046f3
+DIST dovecot-2.2-pigeonhole-0.4.24.1.tar.gz 1810959 BLAKE2B f24b28dc7422ea4f379e372adf33ebbf7cbb146d55b01dbf40580767a14adf695b0a2726f591c0c34436bd93a8b48ee8a8c4307fffc6b082d9c028ce93e29a0a SHA512 99af8a1f4588d821c7000133c5c173ab05640d3411b826a0978db2d60c9a59d5b330ca2d38aa25aa1163f6d1b669dc97b8303e2bceda554f67d0029d5d0b34fd
+DIST dovecot-2.2.36.3.tar.gz 6270735 BLAKE2B 90bd6f7cd3769040215f574bb368c1ad835041fff54273e2477be2d2e057c1700472b08a24ed3a7cad469bd39449d94986bc6801373bb97a63975ddbb54cefa5 SHA512 47611dbde7ee854ad323dcdb726757c7172376761fa774f28fce3f9d74ed590319d812f0555abed5f8178c326c3cb7661ac0b708ca5982914e255cec60f72e35
DIST dovecot-2.3-pigeonhole-0.5.5.tar.gz 1847487 BLAKE2B 9574388566778a4011ce6546021675ed9e07ba0d874dc4163e4cea10096f3bb8a434f198c3bb446b628ee18402afe94bd90b7123b3cf4d47e4095ddad12d9bfc SHA512 21519fc9b1152a947b64ce4251e1a4bdbe003b48233b1856a32696f9c1e29f730268c56eb38f9431bbfac345e6cd42e8c78c87d0702f39ebf20c6d326dcdbb94
-DIST dovecot-2.3.2.1.tar.gz 6797491 BLAKE2B 92b88fd0f0cb8ed6c418bf27c2e1fc4efe13f1ccfb4948ce5eed1a4e76a4e96f0d6770d9841026ec5a515310ebaa4b335063e3516de454db8ba06cc4ee5a00ec SHA512 c085a0d04925485423086736a3c7d919ad0ca9efeff005890382da5333edb68c7d23ccb89fbe2ac44f8f016fc993bf2c669e450794c3ab13463676cbb47c7bf7
-DIST dovecot-2.3.3.tar.gz 6851107 BLAKE2B 87d6e11c8ff59cfe0b49d3561c307535efb09296af617530a4d5a89b4fc12055d006d1b283a4de076f27d59deb64324b96f28620958ad85c38197710c5decdf7 SHA512 8666c4f92f7df883067540f85be9d03dbe6815b58a7f5de55b4292e986e9a2a1ef52c7e0c72dde2bc781fe40d57488b78a99b6b813745b8e4683f1a2fdc1f2ff
-DIST dovecot-2.3.4.1.tar.gz 6925073 BLAKE2B d8143bad01c107b68525d0cfc110e5bf4e3ffa0af49e7cafdfef263374e146a7ef6ed7107a7c5216c4b52da3640d7a9a80931c01d125d3852fa265171e4d4e09 SHA512 ff21aa0f0cae17dfa66617291688856727412defa48bad2b6be057cb509fbec1c2e134afbfee69929d06b8692a0fcbd8451671ba02860e1673ae1c9483c2c17e
-DIST dovecot-2.3.4.tar.gz 6924178 BLAKE2B 13e52a1b04036d58e68d762c9330dd5efedbf2421d658a8b657ca59e311b899a9b4a84fd754678ee67cd5b60f47b5a5ccd6a3fa08fafca7413c8b1e6ecd2fb51 SHA512 9e97eb08c319c417e8abcb430b3e6c87ed5aa820d6288656fdfd958ff34664f67202a66e4846763bfc85b309b116cea8012e49dab98b478c57974cc178a37a5a
DIST dovecot-2.3.5.1.tar.gz 6953150 BLAKE2B 04484325e7b87f78c0aa6e3c769bc921e9dc62562cd8705b99166b7291b794f434b088dcf6512bc21c96d8937475cafa4d49c6ac611cb07f74a0d20e15e185c7 SHA512 e87754461fb0b065acd0ff10dc955000a2fe5baffed69efaf328ce9268f90140e9de444bc68e0bd48b565c7622885a79b1f90ff3dd2335c0c2362d05d9e73e8a
-DIST dovecot-2.3.5.tar.gz 6970480 BLAKE2B 006f64ce87e3eff04f3df7689ba9caed0b6b4f83eef28ee8fc2bafcf4a90b0255bf3d0d5d6b32571de8eb339f720a4d7b6de7dd5e3bcf6d03ecc5d6fa679799c SHA512 10513c371aeadd52184daaf8dbb9a7559c6db55e34182bbb2c9539dae0897ddcc76f6fe2ce6a81c7ce0cb94c7f79438ae3bb0e7db8ed46615feb337b4078ecc6
+DIST dovecot-2.3.5.2.tar.gz 6953228 BLAKE2B d3634ca0621349ed82c552b416bd633497ce9e4bdd5df30c2e35da1ab70a5934e2dda2b88ac6bbebeebc23918d9dcfb7a0976b1b51fba5eefd14327b2b2ea734 SHA512 041ec1c33c6accb5c89d96d7ab2f7dd59795f496c17faea1906e7977983e4a387aa855a238376515c09532731634d9d42e6d6be22659062855241847ea0213d5
diff --git a/net-mail/dovecot/dovecot-2.2.19.ebuild b/net-mail/dovecot/dovecot-2.2.19.ebuild
deleted file mode 100644
index 0ce65014c0c1..000000000000
--- a/net-mail/dovecot/dovecot-2.2.19.ebuild
+++ /dev/null
@@ -1,305 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils multilib ssl-cert systemd user versionator
-
-MY_P="${P/_/.}"
-major_minor="$(get_version_component_range 1-2)"
-sieve_version="0.4.9"
-if [[ ${PV} == *_rc* ]] ; then
- rc_dir="rc/"
-else
- rc_dir=""
-fi
-SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz
- sieve? (
- https://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
- )
- managesieve? (
- https://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
- ) "
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="https://www.dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~sh"
-
-IUSE_DOVECOT_AUTH="kerberos ldap mysql pam postgres sqlite vpopmail"
-IUSE_DOVECOT_STORAGE="cydir imapc +maildir mbox mdbox pop3c sdbox"
-IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib"
-IUSE_DOVECOT_OTHER="caps doc ipv6 libressl lucene managesieve selinux sieve solr +ssl static-libs suid tcpd"
-
-IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_STORAGE} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}"
-
-DEPEND="bzip2? ( app-arch/bzip2 )
- caps? ( sys-libs/libcap )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- lucene? ( >=dev-cpp/clucene-2.3 )
- lzma? ( app-arch/xz-utils )
- lz4? ( app-arch/lz4 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
- selinux? ( sec-policy/selinux-dovecot )
- solr? ( net-misc/curl dev-libs/expat )
- sqlite? ( dev-db/sqlite:* )
- ssl? (
- !libressl? ( dev-libs/openssl:0 )
- libressl? ( dev-libs/libressl )
- )
- tcpd? ( sys-apps/tcp-wrappers )
- vpopmail? ( net-mail/vpopmail )
- zlib? ( sys-libs/zlib )
- virtual/libiconv
- dev-libs/icu:="
-
-RDEPEND="${DEPEND}
- net-mail/mailbase"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- if use managesieve && ! use sieve; then
- ewarn "managesieve USE flag selected but sieve USE flag unselected"
- ewarn "sieve USE flag will be turned on"
- fi
- # default internal user
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
- # default login user
- enewuser dovenull -1 -1 /dev/null
- # add "mail" group for suid'ing. Better security isolation.
- if use suid; then
- enewgroup mail
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-10-ssl.patch"
- epatch_user
-}
-
-src_configure() {
- local conf=""
-
- if use postgres || use mysql || use sqlite; then
- conf="${conf} --with-sql"
- fi
-
- local storages=""
- for storage in ${IUSE_DOVECOT_STORAGE//+/}; do
- use ${storage} && storages="${storage} ${storages}"
- done
- [ "${storages}" ] || storages="maildir"
-
- # turn valgrind tests off. Bug #340791
- VALGRIND=no econf \
- --localstatedir="${EPREFIX}/var" \
- --runstatedir="${EPREFIX}/run" \
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
- --without-stemmer \
- --with-storages="${storages}" \
- --disable-rpath \
- --with-icu \
- $( systemd_with_unitdir ) \
- $( use_with bzip2 bzlib ) \
- $( use_with caps libcap ) \
- $( use_with kerberos gssapi ) \
- $( use_with ldap ) \
- $( use_with lucene ) \
- $( use_with lz4 ) \
- $( use_with lzma ) \
- $( use_with mysql ) \
- $( use_with pam ) \
- $( use_with postgres pgsql ) \
- $( use_with sqlite ) \
- $( use_with solr ) \
- $( use_with ssl ) \
- $( use_with tcpd libwrap ) \
- $( use_with vpopmail ) \
- $( use_with zlib ) \
- $( use_enable static-libs static ) \
- ${conf}
-
- if use sieve || use managesieve ; then
- # The sieve plugin needs this file to be build to determine the plugin
- # directory and the list of libraries to link to.
- emake dovecot-config
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- econf \
- $( use_enable static-libs static ) \
- --localstatedir="${EPREFIX}/var" \
- --enable-shared \
- --with-dovecot="../${MY_P}" \
- $( use_with managesieve )
- fi
-}
-
-src_compile() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
- fi
-}
-
-src_test() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- default
- fi
-}
-
-src_install () {
- default
-
- # insecure:
- # use suid && fperms u+s /usr/libexec/dovecot/deliver
- # better:
- if use suid;then
- einfo "Changing perms to allow deliver to be suided"
- fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fi
-
- newinitd "${FILESDIR}"/dovecot.init-r4 dovecot
-
- rm -rf "${ED}"/usr/share/doc/dovecot
-
- dodoc AUTHORS NEWS README TODO
- dodoc doc/*.{txt,cnf,xml,sh}
- docinto example-config
- dodoc doc/example-config/*.{conf,ext}
- docinto example-config/conf.d
- dodoc doc/example-config/conf.d/*.{conf,ext}
- docinto wiki
- dodoc doc/wiki/*
- doman doc/man/*.{1,7}
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${ED}/etc/dovecot/dovecot.conf"
- local confd="${ED}/etc/dovecot/conf.d"
-
- insinto /etc/dovecot
- doins doc/example-config/*.{conf,ext}
- insinto /etc/dovecot/conf.d
- doins doc/example-config/conf.d/*.{conf,ext}
- fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
- rm -f "${confd}/../README"
-
- # .maildir is the Gentoo default
- local mail_location="maildir:~/.maildir"
- if ! use maildir; then
- if use mbox; then
- mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_privileged_group =|mail_privileged_group = mail|' \
- "${confd}/10-mail.conf" || die "sed failed"
- elif use mdbox ; then
- mail_location="mdbox:~/.mdbox"
- elif use sdbox ; then
- mail_location="sdbox:~/.sdbox"
- fi
- fi
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" \
- "${confd}/10-mail.conf" \
- || die "failed to update mail location settings in 10-mail.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${confd}/auth-system.conf.ext" \
- || die "failed to update PAM settings in auth-system.conf.ext"
- # mailbase does not provide a sieve pam file
- use managesieve && dosym imap /etc/pam.d/sieve
- sed -i -e \
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
- "${confd}/10-auth.conf" \
- || die "failed to update PAM settings in 10-auth.conf"
- fi
-
- # Disable ipv6 if necessary
- if ! use ipv6; then
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- if use ssl; then
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
- || die "ssl conf failed"
- sed -i -e 's:^ssl_cert =.*:ssl_cert = =dev-cpp/clucene-2.3 )
- lzma? ( app-arch/xz-utils )
- lz4? ( app-arch/lz4 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
- selinux? ( sec-policy/selinux-dovecot )
- solr? ( net-misc/curl dev-libs/expat )
- sqlite? ( dev-db/sqlite:* )
- ssl? (
- !libressl? ( dev-libs/openssl:0 )
- libressl? ( dev-libs/libressl )
- )
- tcpd? ( sys-apps/tcp-wrappers )
- textcat? ( app-text/libexttextcat )
- vpopmail? ( net-mail/vpopmail )
- zlib? ( sys-libs/zlib )
- virtual/libiconv
- dev-libs/icu:="
-
-RDEPEND="${DEPEND}
- net-mail/mailbase"
-
-# Dovecot does not support building without ssl. Force it for now
-REQUIRED_USE="ssl"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- if use managesieve && ! use sieve; then
- ewarn "managesieve USE flag selected but sieve USE flag unselected"
- ewarn "sieve USE flag will be turned on"
- fi
- # default internal user
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
- # default login user
- enewuser dovenull -1 -1 /dev/null
- # add "mail" group for suid'ing. Better security isolation.
- if use suid; then
- enewgroup mail
- fi
-}
-
-src_prepare() {
- eapply -p0 "${FILESDIR}/${PN}-10-ssl.patch"
- eapply_user
-}
-
-src_configure() {
- local conf=""
-
- if use postgres || use mysql || use sqlite; then
- conf="${conf} --with-sql"
- fi
-
- # turn valgrind tests off. Bug #340791
- VALGRIND=no econf \
- --localstatedir="${EPREFIX}/var" \
- --runstatedir="${EPREFIX}/run" \
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
- --without-stemmer \
- --disable-rpath \
- --with-icu \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
- $( use_with bzip2 bzlib ) \
- $( use_with caps libcap ) \
- $( use_with kerberos gssapi ) \
- $( use_with ldap ) \
- $( use_with lucene ) \
- $( use_with lz4 ) \
- $( use_with lzma ) \
- $( use_with mysql ) \
- $( use_with pam ) \
- $( use_with postgres pgsql ) \
- $( use_with sqlite ) \
- $( use_with solr ) \
- $( use_with ssl ) \
- $( use_with tcpd libwrap ) \
- $( use_with textcat ) \
- $( use_with vpopmail ) \
- $( use_with zlib ) \
- $( use_enable static-libs static ) \
- ${conf}
-
- if use sieve || use managesieve ; then
- # The sieve plugin needs this file to be build to determine the plugin
- # directory and the list of libraries to link to.
- emake dovecot-config
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- econf \
- $( use_enable static-libs static ) \
- --localstatedir="${EPREFIX}/var" \
- --enable-shared \
- --with-dovecot="../${MY_P}" \
- $( use_with managesieve )
- fi
-}
-
-src_compile() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
- fi
-}
-
-src_test() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- default
- fi
-}
-
-src_install () {
- default
-
- # insecure:
- # use suid && fperms u+s /usr/libexec/dovecot/deliver
- # better:
- if use suid;then
- einfo "Changing perms to allow deliver to be suided"
- fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fi
-
- newinitd "${FILESDIR}"/dovecot.init-r4 dovecot
-
- rm -rf "${ED}"/usr/share/doc/dovecot
-
- dodoc AUTHORS NEWS README TODO
- dodoc doc/*.{txt,cnf,xml,sh}
- docinto example-config
- dodoc doc/example-config/*.{conf,ext}
- docinto example-config/conf.d
- dodoc doc/example-config/conf.d/*.{conf,ext}
- docinto wiki
- dodoc doc/wiki/*
- doman doc/man/*.{1,7}
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${ED}/etc/dovecot/dovecot.conf"
- local confd="${ED}/etc/dovecot/conf.d"
-
- insinto /etc/dovecot
- doins doc/example-config/*.{conf,ext}
- insinto /etc/dovecot/conf.d
- doins doc/example-config/conf.d/*.{conf,ext}
- fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
- rm -f "${confd}/../README"
-
- # .maildir is the Gentoo default
- local mail_location="maildir:~/.maildir"
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" \
- "${confd}/10-mail.conf" \
- || die "failed to update mail location settings in 10-mail.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${confd}/auth-system.conf.ext" \
- || die "failed to update PAM settings in auth-system.conf.ext"
- # mailbase does not provide a sieve pam file
- use managesieve && dosym imap /etc/pam.d/sieve
- sed -i -e \
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
- "${confd}/10-auth.conf" \
- || die "failed to update PAM settings in 10-auth.conf"
- fi
-
- # Disable ipv6 if necessary
- if ! use ipv6; then
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- if use ssl; then
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
- || die "ssl conf failed"
- sed -i -e 's:^ssl_cert =.*:ssl_cert = =dev-cpp/clucene-2.3 )
lzma? ( app-arch/xz-utils )
lz4? ( app-arch/lz4 )
- mysql? ( virtual/mysql )
+ mysql? ( dev-db/mysql-connector-c:0= )
pam? ( virtual/pam )
postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
selinux? ( sec-policy/selinux-dovecot )
@@ -85,8 +83,7 @@ pkg_setup() {
src_prepare() {
default
# bug 657108
- # elibtoolize
- eautoreconf
+ elibtoolize
}
src_configure() {
@@ -98,20 +95,17 @@ src_configure() {
# turn valgrind tests off. Bug #340791
VALGRIND=no econf \
- --with-rundir="${EPREFIX}/run/dovecot" \
--with-statedir="${EPREFIX}/var/lib/dovecot" \
+ --with-rundir="${EPREFIX}/run/dovecot" \
--with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
--without-stemmer \
--disable-rpath \
- --without-libbsd \
--with-icu \
--with-ssl \
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
- $( use_with argon2 sodium ) \
$( use_with bzip2 bzlib ) \
$( use_with caps libcap ) \
$( use_with kerberos gssapi ) \
- $( use_with lua ) \
$( use_with ldap ) \
$( use_with lucene ) \
$( use_with lz4 ) \
@@ -135,7 +129,7 @@ src_configure() {
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
econf \
$( use_enable static-libs static ) \
- --localstatedir="${EPREFIX%/}/var" \
+ --localstatedir="${EPREFIX}/var" \
--enable-shared \
--with-dovecot="${S}" \
$( use_with managesieve )
@@ -283,7 +277,7 @@ src_install () {
pkg_postinst() {
# Let's not make a new certificate if we already have one
if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
+ -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
einfo "Creating SSL certificate"
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
install_cert /etc/ssl/dovecot/server
diff --git a/net-mail/dovecot/dovecot-2.2.36.ebuild b/net-mail/dovecot/dovecot-2.2.36.ebuild
deleted file mode 100644
index 86321f4a85d5..000000000000
--- a/net-mail/dovecot/dovecot-2.2.36.ebuild
+++ /dev/null
@@ -1,290 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit ssl-cert systemd user versionator
-
-MY_P="${P/_/.}"
-major_minor="$(get_version_component_range 1-2)"
-sieve_version="0.4.24"
-if [[ ${PV} == *_rc* ]] ; then
- rc_dir="rc/"
-else
- rc_dir=""
-fi
-SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz
- sieve? (
- https://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
- )
- managesieve? (
- https://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
- ) "
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="https://www.dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-IUSE_DOVECOT_AUTH="kerberos ldap mysql pam postgres sqlite vpopmail"
-IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib"
-IUSE_DOVECOT_OTHER="caps doc ipv6 libressl lucene managesieve selinux sieve solr +ssl static-libs suid tcpd textcat"
-
-IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_STORAGE} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}"
-
-DEPEND="bzip2? ( app-arch/bzip2 )
- caps? ( sys-libs/libcap )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- lucene? ( >=dev-cpp/clucene-2.3 )
- lzma? ( app-arch/xz-utils )
- lz4? ( app-arch/lz4 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
- selinux? ( sec-policy/selinux-dovecot )
- solr? ( net-misc/curl dev-libs/expat )
- sqlite? ( dev-db/sqlite:* )
- ssl? (
- !libressl? ( dev-libs/openssl:0 )
- libressl? ( dev-libs/libressl )
- )
- tcpd? ( sys-apps/tcp-wrappers )
- textcat? ( app-text/libexttextcat )
- vpopmail? ( net-mail/vpopmail )
- zlib? ( sys-libs/zlib )
- virtual/libiconv
- dev-libs/icu:="
-
-RDEPEND="${DEPEND}
- net-mail/mailbase"
-
-# Dovecot does not support building without ssl. Force it for now
-REQUIRED_USE="ssl"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- if use managesieve && ! use sieve; then
- ewarn "managesieve USE flag selected but sieve USE flag unselected"
- ewarn "sieve USE flag will be turned on"
- fi
- # default internal user
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
- # default login user
- enewuser dovenull -1 -1 /dev/null
- # add "mail" group for suid'ing. Better security isolation.
- if use suid; then
- enewgroup mail
- fi
-}
-
-src_prepare() {
- eapply -p0 "${FILESDIR}/${PN}-10-ssl.patch"
- eapply_user
-}
-
-src_configure() {
- local conf=""
-
- if use postgres || use mysql || use sqlite; then
- conf="${conf} --with-sql"
- fi
-
- # turn valgrind tests off. Bug #340791
- VALGRIND=no econf \
- --with-statedir="${EPREFIX}/var/lib/dovecot" \
- --with-rundir="${EPREFIX}/run/dovecot" \
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
- --without-stemmer \
- --disable-rpath \
- --with-icu \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
- $( use_with bzip2 bzlib ) \
- $( use_with caps libcap ) \
- $( use_with kerberos gssapi ) \
- $( use_with ldap ) \
- $( use_with lucene ) \
- $( use_with lz4 ) \
- $( use_with lzma ) \
- $( use_with mysql ) \
- $( use_with pam ) \
- $( use_with postgres pgsql ) \
- $( use_with sqlite ) \
- $( use_with solr ) \
- $( use_with ssl ) \
- $( use_with tcpd libwrap ) \
- $( use_with textcat ) \
- $( use_with vpopmail ) \
- $( use_with zlib ) \
- $( use_enable static-libs static ) \
- ${conf}
-
- if use sieve || use managesieve ; then
- # The sieve plugin needs this file to be build to determine the plugin
- # directory and the list of libraries to link to.
- emake dovecot-config
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- econf \
- $( use_enable static-libs static ) \
- --localstatedir="${EPREFIX}/var" \
- --enable-shared \
- --with-dovecot="../${MY_P}" \
- $( use_with managesieve )
- fi
-}
-
-src_compile() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
- fi
-}
-
-src_test() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- default
- fi
-}
-
-src_install () {
- default
-
- # insecure:
- # use suid && fperms u+s /usr/libexec/dovecot/deliver
- # better:
- if use suid;then
- einfo "Changing perms to allow deliver to be suided"
- fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fi
-
- newinitd "${FILESDIR}"/dovecot.init-r4 dovecot
-
- rm -rf "${ED}"/usr/share/doc/dovecot
-
- dodoc AUTHORS NEWS README TODO
- dodoc doc/*.{txt,cnf,xml,sh}
- docinto example-config
- dodoc doc/example-config/*.{conf,ext}
- docinto example-config/conf.d
- dodoc doc/example-config/conf.d/*.{conf,ext}
- docinto wiki
- dodoc doc/wiki/*
- doman doc/man/*.{1,7}
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${ED}/etc/dovecot/dovecot.conf"
- local confd="${ED}/etc/dovecot/conf.d"
-
- insinto /etc/dovecot
- doins doc/example-config/*.{conf,ext}
- insinto /etc/dovecot/conf.d
- doins doc/example-config/conf.d/*.{conf,ext}
- fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
- rm -f "${confd}/../README"
-
- # .maildir is the Gentoo default
- local mail_location="maildir:~/.maildir"
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" \
- "${confd}/10-mail.conf" \
- || die "failed to update mail location settings in 10-mail.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${confd}/auth-system.conf.ext" \
- || die "failed to update PAM settings in auth-system.conf.ext"
- # mailbase does not provide a sieve pam file
- use managesieve && dosym imap /etc/pam.d/sieve
- sed -i -e \
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
- "${confd}/10-auth.conf" \
- || die "failed to update PAM settings in 10-auth.conf"
- fi
-
- # Disable ipv6 if necessary
- if ! use ipv6; then
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- if use ssl; then
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
- || die "ssl conf failed"
- sed -i -e 's:^ssl_cert =.*:ssl_cert = =dev-cpp/clucene-2.3 )
- lzma? ( app-arch/xz-utils )
- lz4? ( app-arch/lz4 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
- selinux? ( sec-policy/selinux-dovecot )
- solr? ( net-misc/curl dev-libs/expat )
- sqlite? ( dev-db/sqlite:* )
- !libressl? ( dev-libs/openssl:0 )
- libressl? ( dev-libs/libressl )
- tcpd? ( sys-apps/tcp-wrappers )
- textcat? ( app-text/libexttextcat )
- vpopmail? ( net-mail/vpopmail )
- zlib? ( sys-libs/zlib )
- virtual/libiconv
- dev-libs/icu:="
-
-RDEPEND="${DEPEND}
- net-mail/mailbase"
-
-PATCHES=( "${FILESDIR}/${PN}-glibc226.patch" )
-
-pkg_setup() {
- if use managesieve && ! use sieve; then
- ewarn "managesieve USE flag selected but sieve USE flag unselected"
- ewarn "sieve USE flag will be turned on"
- fi
- # default internal user
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
- # default login user
- enewuser dovenull -1 -1 /dev/null
- # add "mail" group for suid'ing. Better security isolation.
- if use suid; then
- enewgroup mail
- fi
-}
-
-src_prepare() {
- default
- # bug 657108
- # elibtoolize
- eautoreconf
-}
-
-src_configure() {
- local conf=""
-
- if use postgres || use mysql || use sqlite; then
- conf="${conf} --with-sql"
- fi
-
- # turn valgrind tests off. Bug #340791
- VALGRIND=no econf \
- --with-rundir="${EPREFIX}/run/dovecot" \
- --with-statedir="${EPREFIX}/var/lib/dovecot" \
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
- --without-stemmer \
- --disable-rpath \
- --without-libbsd \
- --with-icu \
- --with-ssl \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
- $( use_with argon2 sodium ) \
- $( use_with bzip2 bzlib ) \
- $( use_with caps libcap ) \
- $( use_with kerberos gssapi ) \
- $( use_with lua ) \
- $( use_with ldap ) \
- $( use_with lucene ) \
- $( use_with lz4 ) \
- $( use_with lzma ) \
- $( use_with mysql ) \
- $( use_with pam ) \
- $( use_with postgres pgsql ) \
- $( use_with sqlite ) \
- $( use_with solr ) \
- $( use_with tcpd libwrap ) \
- $( use_with textcat ) \
- $( use_with vpopmail ) \
- $( use_with zlib ) \
- $( use_enable static-libs static ) \
- ${conf}
-
- if use sieve || use managesieve ; then
- # The sieve plugin needs this file to be build to determine the plugin
- # directory and the list of libraries to link to.
- emake dovecot-config
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- econf \
- $( use_enable static-libs static ) \
- --localstatedir="${EPREFIX%/}/var" \
- --enable-shared \
- --with-dovecot="${S}" \
- $( use_with managesieve )
- fi
-}
-
-src_compile() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
- fi
-}
-
-src_test() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- default
- fi
-}
-
-src_install () {
- default
-
- # insecure:
- # use suid && fperms u+s /usr/libexec/dovecot/deliver
- # better:
- if use suid;then
- einfo "Changing perms to allow deliver to be suided"
- fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fi
-
- newinitd "${FILESDIR}"/dovecot.init-r4 dovecot
-
- rm -rf "${ED}"/usr/share/doc/dovecot
-
- dodoc AUTHORS NEWS README TODO
- dodoc doc/*.{txt,cnf,xml,sh}
- docinto example-config
- dodoc doc/example-config/*.{conf,ext}
- docinto example-config/conf.d
- dodoc doc/example-config/conf.d/*.{conf,ext}
- docinto wiki
- dodoc doc/wiki/*
- doman doc/man/*.{1,7}
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${ED}/etc/dovecot/dovecot.conf"
- local confd="${ED}/etc/dovecot/conf.d"
-
- insinto /etc/dovecot
- doins doc/example-config/*.{conf,ext}
- insinto /etc/dovecot/conf.d
- doins doc/example-config/conf.d/*.{conf,ext}
- fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
- rm -f "${confd}/../README"
-
- # .maildir is the Gentoo default
- local mail_location="maildir:~/.maildir"
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" \
- "${confd}/10-mail.conf" \
- || die "failed to update mail location settings in 10-mail.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${confd}/auth-system.conf.ext" \
- || die "failed to update PAM settings in auth-system.conf.ext"
- # mailbase does not provide a sieve pam file
- use managesieve && dosym imap /etc/pam.d/sieve
- sed -i -e \
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
- "${confd}/10-auth.conf" \
- || die "failed to update PAM settings in 10-auth.conf"
- fi
-
- # Disable ipv6 if necessary
- if ! use ipv6; then
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
- || die "ssl conf failed"
- sed -i -e 's:^ssl_cert =.*:ssl_cert = =dev-cpp/clucene-2.3 )
- lzma? ( app-arch/xz-utils )
- lz4? ( app-arch/lz4 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
- selinux? ( sec-policy/selinux-dovecot )
- solr? ( net-misc/curl dev-libs/expat )
- sqlite? ( dev-db/sqlite:* )
- !libressl? ( dev-libs/openssl:0 )
- libressl? ( dev-libs/libressl )
- tcpd? ( sys-apps/tcp-wrappers )
- textcat? ( app-text/libexttextcat )
- vpopmail? ( net-mail/vpopmail )
- zlib? ( sys-libs/zlib )
- virtual/libiconv
- dev-libs/icu:="
-
-RDEPEND="${DEPEND}
- net-mail/mailbase"
-
-PATCHES=(
- "${FILESDIR}/${PN}-glibc228.patch"
- "${FILESDIR}/${PN}-userdb-passwd-fix.patch"
-)
-
-pkg_setup() {
- if use managesieve && ! use sieve; then
- ewarn "managesieve USE flag selected but sieve USE flag unselected"
- ewarn "sieve USE flag will be turned on"
- fi
- # default internal user
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
- # default login user
- enewuser dovenull -1 -1 /dev/null
- # add "mail" group for suid'ing. Better security isolation.
- if use suid; then
- enewgroup mail
- fi
-}
-
-src_prepare() {
- default
- # bug 657108
- # elibtoolize
- eautoreconf
-}
-
-src_configure() {
- local conf=""
-
- if use postgres || use mysql || use sqlite; then
- conf="${conf} --with-sql"
- fi
-
- # turn valgrind tests off. Bug #340791
- VALGRIND=no econf \
- --with-rundir="${EPREFIX}/run/dovecot" \
- --with-statedir="${EPREFIX}/var/lib/dovecot" \
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
- --without-stemmer \
- --disable-rpath \
- --without-libbsd \
- --with-icu \
- --with-ssl \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
- $( use_with argon2 sodium ) \
- $( use_with bzip2 bzlib ) \
- $( use_with caps libcap ) \
- $( use_with kerberos gssapi ) \
- $( use_with lua ) \
- $( use_with ldap ) \
- $( use_with lucene ) \
- $( use_with lz4 ) \
- $( use_with lzma ) \
- $( use_with mysql ) \
- $( use_with pam ) \
- $( use_with postgres pgsql ) \
- $( use_with sqlite ) \
- $( use_with solr ) \
- $( use_with tcpd libwrap ) \
- $( use_with textcat ) \
- $( use_with vpopmail ) \
- $( use_with zlib ) \
- $( use_enable static-libs static ) \
- ${conf}
-
- if use sieve || use managesieve ; then
- # The sieve plugin needs this file to be build to determine the plugin
- # directory and the list of libraries to link to.
- emake dovecot-config
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- econf \
- $( use_enable static-libs static ) \
- --localstatedir="${EPREFIX%/}/var" \
- --enable-shared \
- --with-dovecot="${S}" \
- $( use_with managesieve )
- fi
-}
-
-src_compile() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
- fi
-}
-
-src_test() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- default
- fi
-}
-
-src_install () {
- default
-
- # insecure:
- # use suid && fperms u+s /usr/libexec/dovecot/deliver
- # better:
- if use suid;then
- einfo "Changing perms to allow deliver to be suided"
- fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fi
-
- newinitd "${FILESDIR}"/dovecot.init-r5 dovecot
-
- rm -rf "${ED}"/usr/share/doc/dovecot
-
- dodoc AUTHORS NEWS README TODO
- dodoc doc/*.{txt,cnf,xml,sh}
- docinto example-config
- dodoc doc/example-config/*.{conf,ext}
- docinto example-config/conf.d
- dodoc doc/example-config/conf.d/*.{conf,ext}
- docinto wiki
- dodoc doc/wiki/*
- doman doc/man/*.{1,7}
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${ED}/etc/dovecot/dovecot.conf"
- local confd="${ED}/etc/dovecot/conf.d"
-
- insinto /etc/dovecot
- doins doc/example-config/*.{conf,ext}
- insinto /etc/dovecot/conf.d
- doins doc/example-config/conf.d/*.{conf,ext}
- fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
- rm -f "${confd}/../README"
-
- # .maildir is the Gentoo default
- local mail_location="maildir:~/.maildir"
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" \
- "${confd}/10-mail.conf" \
- || die "failed to update mail location settings in 10-mail.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${confd}/auth-system.conf.ext" \
- || die "failed to update PAM settings in auth-system.conf.ext"
- # mailbase does not provide a sieve pam file
- use managesieve && dosym imap /etc/pam.d/sieve
- sed -i -e \
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
- "${confd}/10-auth.conf" \
- || die "failed to update PAM settings in 10-auth.conf"
- fi
-
- # Disable ipv6 if necessary
- if ! use ipv6; then
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
- || die "ssl conf failed"
- sed -i -e 's:^ssl_cert =.*:ssl_cert = =dev-cpp/clucene-2.3 )
- lzma? ( app-arch/xz-utils )
- lz4? ( app-arch/lz4 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
- selinux? ( sec-policy/selinux-dovecot )
- solr? ( net-misc/curl dev-libs/expat )
- sqlite? ( dev-db/sqlite:* )
- !libressl? ( dev-libs/openssl:0 )
- libressl? ( dev-libs/libressl )
- tcpd? ( sys-apps/tcp-wrappers )
- textcat? ( app-text/libexttextcat )
- vpopmail? ( net-mail/vpopmail )
- zlib? ( sys-libs/zlib )
- virtual/libiconv
- dev-libs/icu:="
-
-RDEPEND="${DEPEND}
- net-mail/mailbase"
-
-PATCHES=( "${FILESDIR}/${PN}-glibc228.patch" )
-
-pkg_setup() {
- if use managesieve && ! use sieve; then
- ewarn "managesieve USE flag selected but sieve USE flag unselected"
- ewarn "sieve USE flag will be turned on"
- fi
- # default internal user
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
- # default login user
- enewuser dovenull -1 -1 /dev/null
- # add "mail" group for suid'ing. Better security isolation.
- if use suid; then
- enewgroup mail
- fi
-}
-
-src_prepare() {
- default
- # bug 657108
- # elibtoolize
- eautoreconf
-}
-
-src_configure() {
- local conf=""
-
- if use postgres || use mysql || use sqlite; then
- conf="${conf} --with-sql"
- fi
-
- # turn valgrind tests off. Bug #340791
- VALGRIND=no econf \
- --with-rundir="${EPREFIX}/run/dovecot" \
- --with-statedir="${EPREFIX}/var/lib/dovecot" \
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
- --without-stemmer \
- --disable-rpath \
- --without-libbsd \
- --with-icu \
- --with-ssl \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
- $( use_with argon2 sodium ) \
- $( use_with bzip2 bzlib ) \
- $( use_with caps libcap ) \
- $( use_with kerberos gssapi ) \
- $( use_with lua ) \
- $( use_with ldap ) \
- $( use_with lucene ) \
- $( use_with lz4 ) \
- $( use_with lzma ) \
- $( use_with mysql ) \
- $( use_with pam ) \
- $( use_with postgres pgsql ) \
- $( use_with sqlite ) \
- $( use_with solr ) \
- $( use_with tcpd libwrap ) \
- $( use_with textcat ) \
- $( use_with vpopmail ) \
- $( use_with zlib ) \
- $( use_enable static-libs static ) \
- ${conf}
-
- if use sieve || use managesieve ; then
- # The sieve plugin needs this file to be build to determine the plugin
- # directory and the list of libraries to link to.
- emake dovecot-config
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- econf \
- $( use_enable static-libs static ) \
- --localstatedir="${EPREFIX%/}/var" \
- --enable-shared \
- --with-dovecot="${S}" \
- $( use_with managesieve )
- fi
-}
-
-src_compile() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
- fi
-}
-
-src_test() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- default
- fi
-}
-
-src_install () {
- default
-
- # insecure:
- # use suid && fperms u+s /usr/libexec/dovecot/deliver
- # better:
- if use suid;then
- einfo "Changing perms to allow deliver to be suided"
- fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fi
-
- newinitd "${FILESDIR}"/dovecot.init-r5 dovecot
-
- rm -rf "${ED}"/usr/share/doc/dovecot
-
- dodoc AUTHORS NEWS README TODO
- dodoc doc/*.{txt,cnf,xml,sh}
- docinto example-config
- dodoc doc/example-config/*.{conf,ext}
- docinto example-config/conf.d
- dodoc doc/example-config/conf.d/*.{conf,ext}
- docinto wiki
- dodoc doc/wiki/*
- doman doc/man/*.{1,7}
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${ED}/etc/dovecot/dovecot.conf"
- local confd="${ED}/etc/dovecot/conf.d"
-
- insinto /etc/dovecot
- doins doc/example-config/*.{conf,ext}
- insinto /etc/dovecot/conf.d
- doins doc/example-config/conf.d/*.{conf,ext}
- fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
- rm -f "${confd}/../README"
-
- # .maildir is the Gentoo default
- local mail_location="maildir:~/.maildir"
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" \
- "${confd}/10-mail.conf" \
- || die "failed to update mail location settings in 10-mail.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${confd}/auth-system.conf.ext" \
- || die "failed to update PAM settings in auth-system.conf.ext"
- # mailbase does not provide a sieve pam file
- use managesieve && dosym imap /etc/pam.d/sieve
- sed -i -e \
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
- "${confd}/10-auth.conf" \
- || die "failed to update PAM settings in 10-auth.conf"
- fi
-
- # Disable ipv6 if necessary
- if ! use ipv6; then
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
- || die "ssl conf failed"
- sed -i -e 's:^ssl_cert =.*:ssl_cert = =dev-cpp/clucene-2.3 )
- lzma? ( app-arch/xz-utils )
- lz4? ( app-arch/lz4 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
- selinux? ( sec-policy/selinux-dovecot )
- solr? ( net-misc/curl dev-libs/expat )
- sqlite? ( dev-db/sqlite:* )
- !libressl? ( dev-libs/openssl:0 )
- libressl? ( dev-libs/libressl )
- tcpd? ( sys-apps/tcp-wrappers )
- textcat? ( app-text/libexttextcat )
- vpopmail? ( net-mail/vpopmail )
- zlib? ( sys-libs/zlib )
- virtual/libiconv
- dev-libs/icu:="
-
-RDEPEND="${DEPEND}
- net-mail/mailbase"
-
-PATCHES=(
- "${FILESDIR}/${PN}-userdb-passwd-fix.patch"
-)
-
-pkg_setup() {
- if use managesieve && ! use sieve; then
- ewarn "managesieve USE flag selected but sieve USE flag unselected"
- ewarn "sieve USE flag will be turned on"
- fi
- # default internal user
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
- # default login user
- enewuser dovenull -1 -1 /dev/null
- # add "mail" group for suid'ing. Better security isolation.
- if use suid; then
- enewgroup mail
- fi
-}
-
-src_prepare() {
- default
- # bug 657108
- # elibtoolize
- eautoreconf
-}
-
-src_configure() {
- local conf=""
-
- if use postgres || use mysql || use sqlite; then
- conf="${conf} --with-sql"
- fi
-
- # turn valgrind tests off. Bug #340791
- VALGRIND=no econf \
- --with-rundir="${EPREFIX}/run/dovecot" \
- --with-statedir="${EPREFIX}/var/lib/dovecot" \
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
- --without-stemmer \
- --disable-rpath \
- --without-libbsd \
- --with-icu \
- --with-ssl \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
- $( use_with argon2 sodium ) \
- $( use_with bzip2 bzlib ) \
- $( use_with caps libcap ) \
- $( use_with kerberos gssapi ) \
- $( use_with lua ) \
- $( use_with ldap ) \
- $( use_with lucene ) \
- $( use_with lz4 ) \
- $( use_with lzma ) \
- $( use_with mysql ) \
- $( use_with pam ) \
- $( use_with postgres pgsql ) \
- $( use_with sqlite ) \
- $( use_with solr ) \
- $( use_with tcpd libwrap ) \
- $( use_with textcat ) \
- $( use_with vpopmail ) \
- $( use_with zlib ) \
- $( use_enable static-libs static ) \
- ${conf}
-
- if use sieve || use managesieve ; then
- # The sieve plugin needs this file to be build to determine the plugin
- # directory and the list of libraries to link to.
- emake dovecot-config
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- econf \
- $( use_enable static-libs static ) \
- --localstatedir="${EPREFIX%/}/var" \
- --enable-shared \
- --with-dovecot="${S}" \
- $( use_with managesieve )
- fi
-}
-
-src_compile() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
- fi
-}
-
-src_test() {
- default
- if use sieve || use managesieve ; then
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
- default
- fi
-}
-
-src_install () {
- default
-
- # insecure:
- # use suid && fperms u+s /usr/libexec/dovecot/deliver
- # better:
- if use suid;then
- einfo "Changing perms to allow deliver to be suided"
- fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
- fi
-
- newinitd "${FILESDIR}"/dovecot.init-r6 dovecot
-
- rm -rf "${ED}"/usr/share/doc/dovecot
-
- dodoc AUTHORS NEWS README TODO
- dodoc doc/*.{txt,cnf,xml,sh}
- docinto example-config
- dodoc doc/example-config/*.{conf,ext}
- docinto example-config/conf.d
- dodoc doc/example-config/conf.d/*.{conf,ext}
- docinto wiki
- dodoc doc/wiki/*
- doman doc/man/*.{1,7}
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${ED}/etc/dovecot/dovecot.conf"
- local confd="${ED}/etc/dovecot/conf.d"
-
- insinto /etc/dovecot
- doins doc/example-config/*.{conf,ext}
- insinto /etc/dovecot/conf.d
- doins doc/example-config/conf.d/*.{conf,ext}
- fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
- rm -f "${confd}/../README"
-
- # .maildir is the Gentoo default
- local mail_location="maildir:~/.maildir"
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" \
- "${confd}/10-mail.conf" \
- || die "failed to update mail location settings in 10-mail.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${confd}/auth-system.conf.ext" \
- || die "failed to update PAM settings in auth-system.conf.ext"
- # mailbase does not provide a sieve pam file
- use managesieve && dosym imap /etc/pam.d/sieve
- sed -i -e \
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
- "${confd}/10-auth.conf" \
- || die "failed to update PAM settings in 10-auth.conf"
- fi
-
- # Disable ipv6 if necessary
- if ! use ipv6; then
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
- || die "ssl conf failed"
- sed -i -e 's:^ssl_cert =.*:ssl_cert =
-Date: Mon, 9 Jul 2018 11:33:23 +0300
-Subject: [PATCH] m4: Enable rquota only if rpc/rpc.h exists
-
-It's been removed in glibc 2.26
----
- m4/quota.m4 | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/m4/quota.m4 b/m4/quota.m4
-index 5840e3af89..0695b1e021 100644
---- a/m4/quota.m4
-+++ b/m4/quota.m4
-@@ -7,8 +7,10 @@ AC_DEFUN([DOVECOT_RPCGEN], [
-
- have_rquota=no
- if test -f /usr/include/rpcsvc/rquota.x && test -n "$RPCGEN"; then
-- AC_DEFINE(HAVE_RQUOTA,, [Define if you wish to retrieve quota of NFS mounted mailboxes])
-- have_rquota=yes
-+ AC_CHECK_HEADER([rpc/rpc.h], [
-+ AC_DEFINE(HAVE_RQUOTA,, [Define if you wish to retrieve quota of NFS mounted mailboxes])
-+ have_rquota=yes
-+ ])
- fi
- AM_CONDITIONAL(HAVE_RQUOTA, test "$have_rquota" = "yes")
- ])
-From 5803ae4bbd420def0072e1660ea7061c0e5dbcb9 Mon Sep 17 00:00:00 2001
-From: Timo Sirainen
-Date: Mon, 9 Jul 2018 11:39:59 +0300
-Subject: [PATCH] m4, quota: Support rquota using libtirpc
-
----
- m4/quota.m4 | 13 ++++++++++---
- src/plugins/quota/Makefile.am | 3 ++-
- 2 files changed, 12 insertions(+), 4 deletions(-)
-
-diff --git a/m4/quota.m4 b/m4/quota.m4
-index 0695b1e021..d75af447e1 100644
---- a/m4/quota.m4
-+++ b/m4/quota.m4
-@@ -7,18 +7,25 @@ AC_DEFUN([DOVECOT_RPCGEN], [
-
- have_rquota=no
- if test -f /usr/include/rpcsvc/rquota.x && test -n "$RPCGEN"; then
-- AC_CHECK_HEADER([rpc/rpc.h], [
-- AC_DEFINE(HAVE_RQUOTA,, [Define if you wish to retrieve quota of NFS mounted mailboxes])
-+ PKG_CHECK_MODULES(LIBTIRPC, libtirpc, [
- have_rquota=yes
-+ QUOTA_LIBS="$QUOTA_LIBS \$(LIBTIRPC_LIBS)"
-+ ], [
-+ AC_CHECK_HEADER([rpc/rpc.h], [
-+ have_rquota=yes
-+ ])
- ])
- fi
-+ if test "$have_rquota" = yes; then
-+ AC_DEFINE(HAVE_RQUOTA,, [Define if you wish to retrieve quota of NFS mounted mailboxes])
-+ fi
- AM_CONDITIONAL(HAVE_RQUOTA, test "$have_rquota" = "yes")
- ])
-
- AC_DEFUN([DOVECOT_QUOTA], [
- AC_SEARCH_LIBS(quota_open, quota, [
- AC_DEFINE(HAVE_QUOTA_OPEN,, [Define if you have quota_open()])
-- QUOTA_LIBS="-lquota"
-+ QUOTA_LIBS="$QUOTA_LIBS -lquota"
- ])
- AC_SUBST(QUOTA_LIBS)
- ])
-diff --git a/src/plugins/quota/Makefile.am b/src/plugins/quota/Makefile.am
-index f220d4f075..ffebc67404 100644
---- a/src/plugins/quota/Makefile.am
-+++ b/src/plugins/quota/Makefile.am
-@@ -19,7 +19,8 @@ AM_CPPFLAGS = \
- -I$(top_srcdir)/src/lib-storage/index/imapc \
- -I$(top_srcdir)/src/lib-storage/index/maildir \
- -I$(top_srcdir)/src/lib-program-client \
-- -I$(top_srcdir)/src/doveadm
-+ -I$(top_srcdir)/src/doveadm \
-+ $(LIBTIRPC_CFLAGS)
-
- NOPLUGIN_LDFLAGS =
- lib10_doveadm_quota_plugin_la_LDFLAGS = -module -avoid-version
diff --git a/net-mail/dovecot/files/dovecot-glibc228.patch b/net-mail/dovecot/files/dovecot-glibc228.patch
deleted file mode 100644
index 9549c12f6e8f..000000000000
--- a/net-mail/dovecot/files/dovecot-glibc228.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 63a74b9e8e0604486a15a879e7f1a27257322400 Mon Sep 17 00:00:00 2001
-From: Aki Tuomi
-Date: Wed, 8 Aug 2018 12:33:20 +0300
-Subject: [PATCH] auth: mycrypt - include crypt.h
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fixes crypt usage on glibc-2.28
-
-Reported by Reuben Farrelly
-Patch provided by Thore Bödecker
----
- configure.ac | 2 +-
- src/auth/mycrypt.c | 3 +++
- 2 files changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index dd545ebfdc..c5d8fae666 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -315,7 +315,7 @@ AC_CHECK_HEADERS(strings.h stdint.h unistd.h dirent.h malloc.h \
- quota.h sys/fs/quota_common.h \
- mntent.h sys/mnttab.h sys/event.h sys/time.h sys/mkdev.h linux/dqblk_xfs.h \
- xfs/xqm.h execinfo.h ucontext.h malloc_np.h sys/utsname.h sys/vmount.h \
-- sys/utsname.h glob.h linux/falloc.h ucred.h sys/ucred.h)
-+ sys/utsname.h glob.h linux/falloc.h ucred.h sys/ucred.h crypt.h)
-
- CC_CLANG
- AC_CC_PIE
-diff --git a/src/auth/mycrypt.c b/src/auth/mycrypt.c
-index c49fcf842e..0bd00bc238 100644
---- a/src/auth/mycrypt.c
-+++ b/src/auth/mycrypt.c
-@@ -14,6 +14,9 @@
- # define _XPG6 /* Some Solaris versions require this, some break with this */
- #endif
- #include
-+#ifdef HAVE_CRYPT_H
-+# include
-+#endif
-
- #include "mycrypt.h"
-
diff --git a/net-mail/dovecot/files/dovecot.init-r4 b/net-mail/dovecot/files/dovecot.init-r4
deleted file mode 100644
index 665aa0dc7333..000000000000
--- a/net-mail/dovecot/files/dovecot.init-r4
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-extra_started_commands="reload"
-
-depend() {
- need localmount
- before postfix
- after bootmisc ldap mysql ntp-client ntpd postgresql saslauthd slapd
- use logger net
-}
-
-checkconfig() {
- DOVECOT_INSTANCE=${SVCNAME##*.}
- if [ -n "${DOVECOT_INSTANCE}" -a "${SVCNAME}" != "dovecot" ]; then
- DOVECOT_CONF=/etc/dovecot/dovecot.${DOVECOT_INSTANCE}.conf
- else
- DOVECOT_CONF=/etc/dovecot/dovecot.conf
- fi
- if [ ! -e ${DOVECOT_CONF} ]; then
- eerror "You will need an ${DOVECOT_CONF} first"
- return 1
- fi
- if [ -x /usr/sbin/dovecot ]; then
- DOVECOT_BASEDIR=$(/usr/sbin/dovecot -c ${DOVECOT_CONF} -a | grep '^base_dir = ' | sed 's/^base_dir = //')
- else
- eerror "dovecot not executable"
- return 1
- fi
- DOVECOT_BASEDIR=${DOVECOT_BASEDIR:-/var/run/dovecot}
- DOVECOT_PIDFILE=${DOVECOT_BASEDIR}/master.pid
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --exec /usr/sbin/dovecot \
- --pidfile "${DOVECOT_PIDFILE}" -- -c "${DOVECOT_CONF}"
- eend $?
-}
-
-stop() {
- checkconfig || return 1
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --exec /usr/sbin/dovecot \
- --pidfile "${DOVECOT_PIDFILE}"
- eend $?
-}
-
-reload() {
- checkconfig || return 1
- ebegin "Reloading ${SVCNAME} configs and restarting auth/login processes"
- start-stop-daemon --signal HUP --exec /usr/sbin/dovecot \
- --pidfile "${DOVECOT_PIDFILE}"
- eend $?
-}
diff --git a/net-mail/dovecot/files/dovecot.init-r5 b/net-mail/dovecot/files/dovecot.init-r5
deleted file mode 100644
index 8a98603d4b42..000000000000
--- a/net-mail/dovecot/files/dovecot.init-r5
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-extra_started_commands="reload"
-
-depend() {
- need localmount
- before postfix
- after bootmisc ldap mysql ntp-client ntpd postgresql saslauthd slapd
- use logger net
-}
-
-checkconfig() {
- DOVECOT_INSTANCE=${SVCNAME##*.}
- if [ -n "${DOVECOT_INSTANCE}" -a "${SVCNAME}" != "dovecot" ]; then
- DOVECOT_CONF=/etc/dovecot/dovecot.${DOVECOT_INSTANCE}.conf
- else
- DOVECOT_CONF=/etc/dovecot/dovecot.conf
- fi
- if [ ! -e ${DOVECOT_CONF} ]; then
- eerror "You will need an ${DOVECOT_CONF} first"
- return 1
- fi
- if [ -x /usr/sbin/dovecot ]; then
- DOVECOT_BASEDIR=$(/usr/sbin/dovecot -c ${DOVECOT_CONF} config -h base_dir)
- else
- eerror "dovecot not executable"
- return 1
- fi
- DOVECOT_BASEDIR=${DOVECOT_BASEDIR:-/run/dovecot}
- DOVECOT_PIDFILE=${DOVECOT_BASEDIR}/master.pid
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --exec /usr/sbin/dovecot \
- --pidfile "${DOVECOT_PIDFILE}" -- -c "${DOVECOT_CONF}"
- eend $?
-}
-
-stop() {
- checkconfig || return 1
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --exec /usr/sbin/dovecot \
- --pidfile "${DOVECOT_PIDFILE}"
- eend $?
-}
-
-reload() {
- checkconfig || return 1
- ebegin "Reloading ${SVCNAME} configs and restarting auth/login processes"
- start-stop-daemon --signal HUP --exec /usr/sbin/dovecot \
- --pidfile "${DOVECOT_PIDFILE}"
- eend $?
-}
diff --git a/net-mail/dovecot/metadata.xml b/net-mail/dovecot/metadata.xml
index 496575228ba5..d8223dea238d 100644
--- a/net-mail/dovecot/metadata.xml
+++ b/net-mail/dovecot/metadata.xml
@@ -7,14 +7,9 @@
Add support for ARGON2 password schemes
- Add cydir storage support
Add managesieve protocol support
- Add mdbox storage support
- Add sdbox storage support
Add sieve support
Add vpopmail support
- Add imap client storage support
- Add pop3 client storage support
Add lucene full text search (FTS) support using dev-cpp/clucene
Add support for lzma (de)compression
Add support for lz4 (de)compression
diff --git a/net-mail/peephole/Manifest b/net-mail/peephole/Manifest
deleted file mode 100644
index 4ee6074a76ee..000000000000
--- a/net-mail/peephole/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST peephole-1.5.tar.gz 351492 BLAKE2B 713792ec5633c32fa88b39745b5cd3dddc07f6abf0cd8b6a703fbe56a1db3c1a69d9ba3cd2e17530f140e7eab97cc2307f4548d97e26145c3939ed17cd7fc924 SHA512 d60377029f21513cf8bb1c0fc5a3be0bceb57a11275ec089c235a140e069e1bb6837d9b046539c4641d154e0ba93c2803e26887c0f399e401744b1145aec3b3b
diff --git a/net-mail/peephole/files/peephole-1.4-gcc4.patch b/net-mail/peephole/files/peephole-1.4-gcc4.patch
deleted file mode 100644
index d73546da4b25..000000000000
--- a/net-mail/peephole/files/peephole-1.4-gcc4.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --exclude='*.lo' --exclude=.libs --exclude=.deps --exclude=libtool --exclude=Makefile --exclude='*.o' --exclude='*.la' --exclude='config*' -Nru peephole-1.4.vanilla/src/grammar/local/local.c peephole-1.4/src/grammar/local/local.c
---- peephole-1.4.vanilla/src/grammar/local/local.c 2006-02-03 14:23:46.000000000 +0100
-+++ peephole-1.4/src/grammar/local/local.c 2006-02-03 14:25:13.000000000 +0100
-@@ -25,8 +25,8 @@
- static struct wm_local *parse_local(char *path, char *name)
- {
- struct wm_config wmc = {
-- .wml NULL,
-- .path path
-+ NULL,
-+ path
- };
-
- char rc[80]; // FIXME: possible buffer overflow...
diff --git a/net-mail/peephole/metadata.xml b/net-mail/peephole/metadata.xml
deleted file mode 100644
index 6b81b92ee3f1..000000000000
--- a/net-mail/peephole/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
- peephole
-
-
diff --git a/net-mail/peephole/peephole-1.5.ebuild b/net-mail/peephole/peephole-1.5.ebuild
deleted file mode 100644
index cb0997b2f423..000000000000
--- a/net-mail/peephole/peephole-1.5.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="A daemon that polls your POP servers, checking if there are messages from specific people"
-HOMEPAGE="http://peephole.sourceforge.net/"
-SRC_URI="mirror://sourceforge/peephole/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ppc ~sparc x86"
-IUSE="static-libs"
-
-RDEPEND=">=dev-libs/openssl-0.9.7d-r1"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.4-gcc4.patch
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static)
-}
-
-pkg_postinst() {
- elog "Before you can use peephole you must copy"
- elog "/etc/skel/.peephole.providers and /etc/skel/.peepholerc"
- elog "to your home dir and edit them to suit your needs."
-}
diff --git a/net-mail/qpopper/Manifest b/net-mail/qpopper/Manifest
deleted file mode 100644
index 4b2650478e9c..000000000000
--- a/net-mail/qpopper/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST qpopper4.1.0.tar.gz 1239530 BLAKE2B a82d0ae8cbb5e606b8e0f7f4902b6920e14f404fa78860d4a7e92e0ab9ac354d518aab39f4a32c9b095c9396995e186bde2315d17d9496a7c0231cb1452e1439 SHA512 01e3ac13fa446bded84628a29a23849f623d5e5f85fdb77126cc4c2e20785c658fbc3d8a356eafd9f0ed2e879c6b4f6a754b6b685ea51b784c2cd0458c389c8b
diff --git a/net-mail/qpopper/files/qpopper-4.1-parallel-build.patch b/net-mail/qpopper/files/qpopper-4.1-parallel-build.patch
deleted file mode 100644
index 16b0c3aff88d..000000000000
--- a/net-mail/qpopper/files/qpopper-4.1-parallel-build.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-=== modified file 'popper/Makefile.in'
---- a/popper/Makefile.in 2011-09-11 13:29:01 +0000
-+++ b/popper/Makefile.in 2011-09-11 13:29:23 +0000
-@@ -212,7 +212,7 @@
- -I${common_srcdir} ${common_dir}/libcommon.a \
- ${LIBS} ${LDFLAGS}
-
--popauth: ${POPAUTHOBJS} ${MISSING_OBJS}
-+popauth: ${POPAUTHOBJS} ${MISSING_OBJS} common_library
- ${CC} -o popauth ${POPAUTHOBJS} ${NETWORK_LIBS} \
- ${DBM_LIBS} ${MISSING_OBJS} \
- ${common_dir}/libcommon.a
-
diff --git a/net-mail/qpopper/files/qpopper-4.1.0-glibc.patch b/net-mail/qpopper/files/qpopper-4.1.0-glibc.patch
deleted file mode 100644
index 53e2c6234f9f..000000000000
--- a/net-mail/qpopper/files/qpopper-4.1.0-glibc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-glibc-fix.diff:
---- qpopper4.1.0/popper/popper.h.orig 2011-05-30 21:13:40.000000000 +0200
-+++ qpopper4.1.0/popper/popper.h 2016-12-31 09:31:26.910604367 +0100
-@@ -313,7 +313,7 @@
- #if !( defined(BSD) && (BSD >= 199306) ) && !defined(__USE_BSD)
- extern int sys_nerr;
- # ifndef FREEBSD
-- extern char * sys_errlist[];
-+ extern const char * const sys_errlist[];
- # ifndef SYS_SIGLIST_DECLARED
- # ifndef __linux__
- extern char * sys_siglist[];
diff --git a/net-mail/qpopper/files/qpopper.conf b/net-mail/qpopper/files/qpopper.conf
deleted file mode 100644
index 8ce96875c520..000000000000
--- a/net-mail/qpopper/files/qpopper.conf
+++ /dev/null
@@ -1,679 +0,0 @@
-#---------------------------------------------------------------------
-# Sample Qpopper 4.0 configuration file.
-#
-# This file lists all Qpopper configuration file options. To use,
-# copy the desired setting to your own configuration file, remove
-# the leading '#' and set the desired value.
-#
-#---------------------------------------------------------------------
-
-
-
-# An integer value for the number of seconds to announce in
-# the CAPA response for the server's minimum login delay.
-#
-# Default:
-#
-# set announce-login-delay =
-
-
-# An integer value for the number of days to announce in
-# the CAPA response for the server's maximum message
-# retention period.
-#
-# Default:
-#
-# set announce-expire =
-
-
-# The full path to the bulletins directory.
-#
-# Default: /var/spool/bulls
-#
-# set bulldir = "/var/spool/bulls"
-
-
-# Set TRUE to permit sessions to continue even if the
-# bulletins database can't be accessed. This permits
-# users to get their mail, but they might not see some
-# bulletins for a while, or at all.
-#
-# Only valid when compiled with '--enable-bulldb'.
-#
-# Default: false.
-#
-# set bulldb-nonfatal = false
-
-
-# Sets the maximum number of attempts to lock the bulletins
-# database. You normally do not need to adjust this. This value
-# should only be changed if you know if your system has usleep(3C)
-# or not. On systems with usleep(3C), this can be a large value
-# (the default is 75). On systems without usleep(3C), this should
-# remain small (the default is 10).
-#
-# Only valid when compiled with '--enable-bulldb'.
-#
-# Default: 75 (10 on systems without usleep(3c)).
-#
-# set bulldb-max-tries = 75
-
-
-# Sets clear text handling options. Values are:
-# o 'default' Clear text passwords are permitted for all users,
-# except those in the APOP database
-# o 'never' Clear text passwords are never permitted
-# o 'always' Clear text passwords are always permitted
-# o 'local' Clear text passwords are permitted on the local
-# (127.*.*.*) loop back interface only
-# o 'tls' Clear text passwords are permitted when TLS/SSL
-# has been negotiated for the session
-# o 'ssl' Same as tls
-#
-# The 'tls' and 'ssl' values are only valid if '--with-openssl' or
-# '--with-sslplus' was used with ./configure.
-#
-# Default: default
-#
-# set clear-text-password = default
-
-
-# Reads additional run-time options from the specified file.
-#
-# Caution. There are no restrictions on which options may
-# appear in files specified with the '-f' command-line flag
-# or the 'config-file' configuration file option in files
-# chained from -f. Be certain that the file specified with
-# '-f' or in any files it chains to are not writable by
-# users.
-#
-# Default: none
-#
-# set config-file = /etc/mail/pop/qpopper.config
-
-
-# Enables debug logging. Output is in syslog. If this option is used,
-# it should be first, so that debug records are generated for subsequent
-# options.
-#
-# Only valid if ./configure was run with '--enable-debugging'
-#
-# Default: false
-#
-# set debug = false
-
-
-# Changes uppercase user names to lowercase. This permits users to
-# configure their clients with user names in UPPER or MiXeD case.
-# They can then login, assuming their actual user name is all
-# lowercase.
-#
-# Default: false
-#
-# set downcase-user = false
-
-
-# If '--with-drac' used with ./configure, this option specifies the DRAC
-# host.
-#
-# Default: localhost
-#
-# set drac-host = localhost
-
-
-# Enables Kerberos support.
-#
-# Only valid if ./configure run with '--enable-kerberos5'.
-#
-# Default: false
-#
-# set kerberos = false
-
-
-# Specifies the Kerberos service to use (same as the compile time
-# KERBEROS_SERVICE define). The default is rcmd, although the use of
-# pop is popular.
-#
-# Only valid if ./configure run with '--enable-kerberos5'.
-#
-# Default: rcmd
-#
-# set kerberos-service = "rcmd"
-
-
-# Checks if mail lock needs to be refreshed every this many messages.
-#
-# You normally do not need to adjust this. See "Performance" in the
-# Qpopper Administrator's Guide for more information.
-#
-# Default:
-#
-# set mail-lock-check =
-
-
-# Disables the reverse lookups on client IP addresses.
-#
-# Default: true
-#
-# set reverse-lookup = true
-
-
-# Enables server mode by default. See the Qpopper Administrator's
-# Guide for more information.
-#
-# Default: false
-#
-# set server-mode = false
-
-
-# Enables statistics logging. After each session ends, a statistics
-# record is written to the log. This record resembles the following
-# example: 'stats randy 0 0 1 385 randy.example.org 192.168.2.4' and
-# has the following meaning:
-# Username: 'randy'
-# Deleted messages: 0
-# Deleted octets: 0
-# Messages left on server: 1
-# Octets left on server: 385
-# Name of client machine: 'randy.example.org'
-# IP address of client machine: '192.168.2.4'
-#
-# Default: false
-#
-# set statistics = false
-
-
-# Sets the timeout for network reads. Qpopper terminates the
-# connection with the client if no input is received in this
-# many seconds. RFC 1939 states that this timeout must be
-# 600 seconds (10 minutes). However, ideal settings in some
-# cases are between 30 and 120 seconds. In other cases the 600
-# value is best, and sometimes a value in between is better.
-#
-# Default: 120
-#
-# set timeout = 120
-
-
-# Enables debug logging if '--enable-debugging' was used with
-# ./configure. All debug and standard log records are written to
-# the specified file. If this option is used, it should be first,
-# so that debug records are generated for subsequent options.
-#
-# If used without '--enable-debugging', redirects all log messages
-# to the specified file but does not enable debug logging.
-#
-# Default: none
-#
-# set tracefile =
-
-
-# Reads additional run-time options from a file named
-# '.qpopper-options' in the user's home directory, if present.
-#
-# This file is normally owned by the user.
-#
-# Default: false
-#
-# set user-options = false
-
-
-# Reads additional run-time options from a file named
-# 'username.qpopper-options' in the spool directory.
-#
-# This file should not be owned by nor writable by the user.
-#
-# Default: false
-#
-# set spool-options = false
-
-
-# When updating the spool at the end of a session, this option
-# instructs Qpopper to rename the temporary file to the spool instead
-# of copying it. This reduces I/O at session end by a third, but is
-# likely to break programs such as biff or the shell's mail check
-# feature. Use this option only if such programs are not used. It is
-# safest to only enable this option when users do not have shell
-# access to the mail server.
-#
-# See "Performance" in the Qpopper Administrator's Guide for more
-# information.
-#
-# Default: false
-#
-# set fast-update = false
-
-
-# When set, domains are trimmed from user names before use. For
-# example, if a user named 'maida' enters her login name in her POP
-# client as 'maida@example.org', Qpopper treats this as just 'maida'.
-#
-# Default: false
-#
-# set trim-domain = false
-
-
-# Specifies TLS/SSL support. The permitted values are:
-# o 'default' TLS/SSL is not supported
-# o 'none' Same as default
-# o 'stls' Enables support for the STLS command. This
-# permits TLS/SSL negotiations on the
-# standard (or any) port, allowing the same
-# port to be used by TLS/SSL and regular
-# clients.
-# o 'alternate-port' Enables alternate-port TLS/SSL. Some older
-# clients require this. (The usual port for
-# alternate-port TLS/SSL with pop is 995.)
-#
-# Only valid when '--with-openssl' or '--with-sslplus' used with
-# ./configure
-#
-# Default: default
-#
-# set tls-support = default
-
-
-# Specifies the permitted cipher suites. See the OpenSSL documentation
-# for syntax. You normally do not need to set this.
-#
-# Only valid when '--with-openssl' used with ./configure
-#
-# Default:
-#
-# set tls-cipher-list =
-
-
-# Restricts the version of TLS/SSL recognized in session negotiations.
-# You normally do not need to set this. Supported values are:
-# o 'default' (same as SSLv23)
-# o 'SSLv2' Forces Qpopper only to understand SSLv2 client hello
-# messages.
-# o 'SSLv3' Forces Qpopper only to understand SSLv3 client hello
-# messages. This especially means that it does not
-# understand SSLv2 client hello messages, which are
-# widely used for compatibility reasons.
-# o 'TLSv1' Forces Qpopper only to understand TLSv1 client hello
-# messages. This especially means that it does not
-# understand SSLv2 client hello messages, which are
-# widely used for compatibility reasons. It also does
-# not understand SSLv3 client hello messages.
-# o 'SSLv23' Allows Qpopper to understand SSLv2, SSLv3, and TLSv1
-# client hello messages. This is the best choice when
-# compatibility is a concern. This is the default
-# value.
-# o 'all' (same as SSLv23)
-#
-# Only valid when '--with-openssl' used with ./configure
-#
-# Default: default
-#
-# set tls-version = default
-
-
-# Specifies the file containing the server's TLS/SSL certificate and
-# encrypted private key.
-#
-# Only valid if '--with-sslplus' used with ./configure.
-#
-# Default: none
-#
-# set tls-identity-file =
-
-
-# Specifies the passphrase to decrypt the server's private key (in the
-# identify file).
-#
-# Only valid if '--with-sslplus' used with ./configure.
-#
-# Default: none
-#
-# set tls-passphrase =
-
-
-# Specifies the file which contains the server's TLS/SSL certificate.
-# This file may also contain the server's unencrypted private key.
-#
-# Only valid if '--with-openssl' used with ./configure
-#
-# Default: none
-#
-#
-# set tls-server-cert-file = /etc/mail/certs/cert.pem
-
-
-# Specifies a file which contains the server's TLS/SSL private key.
-# Note: This private key must not be encrypted.
-#
-# If the private key is contained in the same file as the certificate
-# (as specified with tls-server-cert-file), you do not need to set
-# this option.
-#
-# Only valid if '--with-openssl' used with ./configure
-#
-# Default: none
-#
-# set tls-private-key-file =
-
-
-# When set, Qpopper writes a log record at the end of a session
-# containing the elapsed time for the session authentication,
-# initialization. and cleanup.
-#
-# Default: false
-#
-# set timing = false
-
-
-# When set, Qpopper checks for old .user.pop files in old locations
-# when hash-spool or homedirmail is used. When reset, Qpopper skips
-# this check, which speeds things up.
-#
-# Default: true
-#
-# set check-old-spool-loc = true
-
-
-# When set, Qpopper checks for and creates if needed the hashed spool
-# directories. When reset, Qpopper doesn't check for or create the
-# hashed spool directories. Set to false if you precreate the
-# directories.
-#
-# Default: true
-#
-# set check-hash-dir = true
-
-
-# When set, Qpopper checks for expired passwords (if the platform
-# permits). When reset, Qpopper omits this check.
-#
-# Default: true
-#
-# set check-password-expired = true
-
-
-# Determines whether Qpopper updates the read/unread status of
-# messages (a feature relied on by some mail clients). Also
-# determines if Qpopper saves the message's unique identifier
-# (UID) in the spool.
-#
-# When reset, it forces the UID for every message to be
-# recalculated, using more CPU but potentially less I/O.
-#
-# See the "Performance" section of the Qpopper Administrator's Guide
-# for more information.
-#
-# Default: true
-#
-# set update-status-headers = true
-
-
-# Determines whether Qpopper enters update state when a session
-# aborts. Resetting this option causes Qpopper to ignore any
-# deletions if the session is aborted.
-#
-# Note that RFC 1939, section 6 prohibits the default behavior,
-# but experience showed that otherwise users on noisy lines were
-# often unable to delete their mail. Reset this option to inhibit
-# the default behavior, and obey RFC 1939, but watch for users who
-# download the same messages over and over, or whose spools fill up.
-#
-# Default: true
-#
-# set update-on-abort = true
-
-
-# When set, Qpopper automatically and unconditionally deletes messages
-# that have been downloaded using the RETR command (the normal command
-# for accessing messages).
-#
-# Caution: This option could result in lost mail. Be sure to
-# inform your users that the option is in effect before enabling.
-#
-# Default: false
-#
-# set auto-delete = false
-
-
-# When set, Qpopper shows bulletins to users by groups (the group name
-# is the second dot-separated element in each bulletin's name). See
-# "Using Bulletins" in the Qpopper Administrator's Guide for more
-# information. Use a group name of 'ALL' for all users.
-#
-# Default: false
-#
-# set group-bulletins = false
-
-
-# When set to a 1 or 2, the subdirectory for the mail spools is
-# determined from the user name by either (1) hashing the first four
-# characters or (2) by using directories equal to the first letter and
-# the second letter (if any). For example, if the spool directory is
-# '/var/mail', the spool file for user 'maida' would be:
-# '/var/mail/maida' hash-spool = 0
-# '/var/mail/o/maida' hash-spool = 1
-# '/var/mail/m/a/maida' hash-spool = 2
-#
-# See the "Performance" section of the Qpopper Administrator's Guide
-# for more information.
-#
-# Default: 0
-#
-# set hash-spool = 0
-
-
-# To have the user's home directory be the spool location, set this
-# option to be the correct file name for the spool.
-#
-# Default: none
-#
-# set home-dir-mail = ".mail"
-
-
-# When set, instructs Qpopper to generate message unique identifiers
-# (UIDs) using old (pre-3.x) style encoding. This is useful only if
-# you also set 'update-status-headers' to false, have existing users
-# with old (pre-3.x) spool files, and you want to keep the UIDs the
-# same.
-#
-# Default: false
-#
-# set old-style-uid = false
-
-
-# When set, Qpopper checks for and hides status messages created by
-# University of Washington software.
-#
-# Default: false
-#
-# set UW-kluge = false
-
-
-# When set, Qpopper keeps (does not delete) the '.user.pop' file (the
-# temporary drop file). Normally this file is deleted when the
-# session ends. Some sites like to retain it to determine the last
-# time a user has accessed his or her mail.
-#
-# Default: false
-#
-# set keep-temp-drop = false
-
-
-# When set, causes server mode to be on for users who are members of
-# the specified group. See the "Enabling Server Mode" and
-# "Performance" sections of the Qpopper Administrator's Guide for more
-# information.
-#
-# Default: none
-#
-# set group-server-mode =
-
-
-# When set, causes server mode to be off for users who are members of
-# the specified group. See the "Enabling Server Mode" and
-# "Performance" sections of the Qpopper Administrator's Guide for more
-# information.
-#
-# Default: none
-#
-# set group-no-server-mode =
-
-
-# Specifies a file that permits only users listed in the file to have
-# Qpopper access. The format is a list of user names, one per line.
-#
-# Default: none
-#
-# set auth-file =
-
-
-# Specifies a file that denies access to users listed in the file.
-# The format is a list of user names, one per line.
-#
-# Default: none
-#
-# set nonauth-file =
-
-
-# Set this option if you don't want Qpopper to display its version in
-# the POP protocol banner or CAPA IMPLEMENTATION response of
-# unauthenticated users.
-# Some sites believe this improves security since it avoids advertising
-# that an old version (perhaps with known vulnerabilities) is being
-# used. Others feel is makes the site more likely to be attacked,
-# since it also avoids advertising when running a secure version.
-#
-# Default: false
-#
-# set shy = false
-
-
-# Set this to the full path to sendmail or other such program used to
-# submit new messages. Qpopper uses this to implement XTND XMIT.
-#
-# The default is determined at compile time.
-#
-#
-# set mail-command = /usr/sbin/sendmail
-
-
-# Set this to the full path to the mail spool directory.
-#
-# The default is determined at compile time.
-#
-# set spool-dir = /var/spool/mail
-
-
-# If you do not want '.user.pop' (temporary drop files) to be in the
-# spool directory, set this to the full path to the directory to be
-# used for temp drop files. Note that use of /tmp is not recommended,
-# because a system reboot will wipe out the files. This could cause
-# lost mail.
-#
-# Default: spool directory
-#
-# set temp-dir =
-
-
-# The name of the temporary drop files. You should not normally set
-# this option.
-#
-# Default: ".%s.pop"
-#
-# set temp-name = ".%s.pop"
-
-
-# If you do not want user cache files to be in the same directory as
-# temporary drop files, set this to the full path to the directory for
-# cache files. Note that use of /tmp is not recommended, because a
-# system reboot wipes out the files.
-#
-# Default: temp-dir
-#
-# set cache-dir =
-
-
-# The name of the cache files. You should not normally set this
-# option.
-#
-# Default: ".%s.cache"
-#
-# set cache-name = ".%s.cache"
-
-
-# Specifies the maximum number of old bulletins seen by new users.
-#
-# Default: 1
-#
-# set max-bulletins = 1
-
-
-# When set, Qpopper uses a method of opening lock files that may work
-# over NFS. This has not been thoroughly tested, however.
-#
-# Default: false
-#
-# set no-atomic-open = false
-
-
-# Qpopper sends network output to client in small chunks (for example,
-# line-by-line when sending a message). By default, Qpopper
-# aggregates data to be sent to clients in large chunks. This may be
-# faster or slower, depending on specifics of both the client and
-# server hardware and networking stacks as wel as network elements in
-# between (such as routers). Also, some networking stacks do their
-# own aggregation.
-#
-# Under congested network conditions, larger packets increase the
-# incidence of lost packets and thus client or server timeouts,
-# leading to "POP timeout" or "EOF" errors.
-#
-# When TLS/SSL is in effect, smaller packets increase the overhead
-# needed to send data, which may result in worse performance.
-#
-# You can adjust the Qpopper behavior by setting this option. The
-# values are:
-# o 'default' Always send large chunks
-# o 'always' Same as 'default'
-# o 'never' Never aggregate data into large chunks
-# o 'tls' Only aggregate data into large chunks when TLS/SSL
-# has been negotiated for the session
-# o 'ssl' Same as 'tls'
-#
-# Default: default
-#
-# set chunky-writes = default
-
-
-# Specifies the log facility that Qpopper uses.
-#
-# Note that this does not apply to popauth, nor to the daemon in
-# standalone mode. These continue to use the compile-time default.
-#
-# Values are:
-# o 'mail' Qpopper logs to LOG_MAIL facility.
-# o 'local0' Qpopper logs to LOG_LOCAL0 facility.
-# o 'local1' Qpopper logs to LOG_LOCAL1 facility.
-# o 'local2' Qpopper logs to LOG_LOCAL2 facility.
-# o 'local3' Qpopper logs to LOG_LOCAL3 facility.
-# o 'local4' Qpopper logs to LOG_LOCAL4 facility.
-# o 'local5' Qpopper logs to LOG_LOCAL5 facility.
-# o 'local6' Qpopper logs to LOG_LOCAL6 facility.
-# o 'local7' Qpopper logs to LOG_LOCAL7 facility.
-#
-# Default: determined at compile time, usually LOG_LOCAL0 or
-# LOG_MAIL, depending on the operating system.
-#
-# set log-facility = local1
-
-
-# When set, Qpopper logs successful authentications using the
-# specified string. Within the string, an occurrence of '%0' is
-# replaced with the Qpopper version, '%1' with the user name, '%2'
-# with the user's host name, and '%3' with the user's IP address.
-#
-# Default: none, unless '--enable-log-login' used with ./configure,
-# in which case "(v%0) POP login by user /"%1/" at (%2) %3" is used.
-#
-# set log-login = "(v%0) POP login by user /"%1/" at (%2) %3"
-
-
diff --git a/net-mail/qpopper/files/qpopper.init.d b/net-mail/qpopper/files/qpopper.init.d
deleted file mode 100644
index 45e55148ac10..000000000000
--- a/net-mail/qpopper/files/qpopper.init.d
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting qpopper"
- start-stop-daemon --start --quiet --background \
- --exec /usr/sbin/popper -- -f /etc/qpopper.conf
- eend $?
-}
-
-stop() {
- ebegin "Stopping qpopper"
- start-stop-daemon --stop --quiet --exec /usr/sbin/popper
- eend $?
-}
diff --git a/net-mail/qpopper/files/qpopper.xinetd b/net-mail/qpopper/files/qpopper.xinetd
deleted file mode 100644
index 16cc899f42cc..000000000000
--- a/net-mail/qpopper/files/qpopper.xinetd
+++ /dev/null
@@ -1,16 +0,0 @@
-# default: off
-# description: The POP3 service allows remote users to access their mail \
-# using an POP3 client such as Netscape Communicator, mutt, \
-# or fetchmail.
-service pop-3
-{
- socket_type = stream
- wait = no
- user = root
- port = 110
- server = /usr/sbin/popper
- server_args = -f /etc/qpopper.conf
- log_on_success += USERID
- log_on_failure += USERID
- disable = yes
-}
diff --git a/net-mail/qpopper/metadata.xml b/net-mail/qpopper/metadata.xml
deleted file mode 100644
index caf9646ff227..000000000000
--- a/net-mail/qpopper/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
- Enables the pop.auth file in /etc/pop.auth
- Enables mail spool file is in home directory ~/Mailbox
-
-
diff --git a/net-mail/qpopper/qpopper-4.1.0.ebuild b/net-mail/qpopper/qpopper-4.1.0.ebuild
deleted file mode 100644
index 810e4e0da8c0..000000000000
--- a/net-mail/qpopper/qpopper-4.1.0.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit ssl-cert user
-
-MY_P=${PN}${PV}
-
-DESCRIPTION="A POP3 Server"
-HOMEPAGE="http://www.eudora.com/products/unsupported/qpopper/index.html"
-SRC_URI="ftp://ftp.qualcomm.com/eudora/servers/unix/popper/${MY_P}.tar.gz"
-
-LICENSE="qpopper GPL-2 ISOC-rfc"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug gdbm mailbox pam ssl xinetd apop"
-
-DEPEND="virtual/mta
- >=net-mail/mailbase-0.00-r8
- xinetd? ( virtual/inetd )
- gdbm? ( sys-libs/gdbm )
- pam? ( >=sys-libs/pam-0.72 )
- ssl? ( dev-libs/openssl:0 )
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.1-parallel-build.patch
- "${FILESDIR}"/${PN}-4.1.0-glibc.patch #532254
-)
-
-pkg_setup() {
- use apop && enewuser pop
-}
-
-src_prepare() {
- default
- # Test dirs are full of binary craft. Drop it.
- rm -rf ./mmangle/test || die
- sed -i -e 's:-o popauth:& ${LDFLAGS}:' popper/Makefile.in || die
-}
-
-src_configure() {
- econf \
- $(use_enable !xinetd standalone) \
- $(use_enable debug debugging) \
- $(use_with ssl openssl) \
- $(use_with gdbm) \
- $(use_with pam pam pop3) \
- $(use_enable apop apop /etc/pop.auth) \
- $(use_enable mailbox home-dir-mail Mailbox) \
- --disable-drac \
- --enable-shy \
- --enable-popuid=pop \
- --enable-log-login \
- --enable-specialauth \
- --enable-spool-dir=/var/spool/mail \
- --enable-log-facility=LOG_MAIL
-
- if ! use gdbm; then
- sed -i -e 's|#define HAVE_GDBM_H|//#define HAVE_GDBM_H|g' config.h || die "sed failed"
- fi
-}
-
-src_install() {
- if use apop; then
- dosbin popper/popauth
- fowners pop:root /usr/sbin/popauth
- fperms 4110 /usr/sbin/popauth
- doman man/popauth.8
- fi
-
- dosbin popper/popper
- doman man/popper.8
-
- insinto /etc
- doins "${FILESDIR}/qpopper.conf"
-
- if use ssl; then
- sed -i -e 's:^# \(set tls-server-cert-file\).*:\1 = /etc/mail/certs/cert.pem:' \
- -e 's:^# \(set tls-support\).*$:\1 = stls:'\
- "${D}/etc/qpopper.conf"
- fi
-
- if use xinetd; then
- insinto /etc/xinetd.d
- newins "${FILESDIR}/qpopper.xinetd" pop-3
- else
- newinitd "${FILESDIR}/qpopper.init.d" qpopper
- fi
-
- HTML_DOCS="doc/LMOS-FAQ.html"
- einstalldocs
- dodoc doc/{Release.Notes,Changes}
-
- docinto rfc
- dodoc doc/rfc*.txt
-
- insinto /usr/share/doc/${PF}
- doins GUIDE.pdf
-}
-
-pkg_postinst () {
- if use ssl; then
- install_cert /etc/mail/certs/cert
- chown root:mail /etc/mail/certs
- chmod 660 /etc/mail/certs
- fi
- if use apop; then
- elog "To authenticate the users with APOP "
- elog "you have to follow these steps:"
- elog ""
- elog "1) initialize the authentication database:"
- elog " # popauth -init"
- elog "2) new users can be added by root:"
- elog " # popauth -user "
- elog " or removed:"
- elog " # popauth -delete "
- elog " Other users can add themeselves or change their"
- elog " password with the command popauth"
- elog "3) scripts or other non-interactive processes can add or change"
- elog " the passwords with the following command:"
- elog " # popauth -user "
- elog ""
- fi
-}
diff --git a/net-mail/up-imapproxy/Manifest b/net-mail/up-imapproxy/Manifest
deleted file mode 100644
index bc2c36a35a85..000000000000
--- a/net-mail/up-imapproxy/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST squirrelmail-imap_proxy-1.2.7.tar.bz2 111651 BLAKE2B 5d09f12617905eec60ae2fca42895f7bb7111db052a8c6d16f73ef6d6e1fbdc9efc33ff61b0f447f450e02bc862a6f10d6d1878bafc004081e4dde16cb2977fa SHA512 4b341fe5ea13241983c780ad2487ad5bd97136652b095f54ccf8f61d0f0818236d0d6e1005d46811cf3bd15896160fb172a40ae805ccc3ce7d6fc984099d2b2e
diff --git a/net-mail/up-imapproxy/files/imapproxy.initd b/net-mail/up-imapproxy/files/imapproxy.initd
deleted file mode 100644
index a95389027452..000000000000
--- a/net-mail/up-imapproxy/files/imapproxy.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use logger
- need net
-}
-
-start() {
- ebegin "Starting up-imapproxy"
- start-stop-daemon --start --quiet --exec /usr/sbin/imapproxyd
- eend $?
-}
-
-stop() {
- ebegin "Stopping up-imapproxy"
- start-stop-daemon --stop --quiet --exec /usr/sbin/imapproxyd
- eend $?
-}
diff --git a/net-mail/up-imapproxy/files/imapproxyd.8 b/net-mail/up-imapproxy/files/imapproxyd.8
deleted file mode 100644
index 1c70d9525756..000000000000
--- a/net-mail/up-imapproxy/files/imapproxyd.8
+++ /dev/null
@@ -1,64 +0,0 @@
-.\" Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH IMAPPROXYD 8 "Mar 12, 2004" "Dave McMurtrie" "IMAP proxy daemon"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.SH NAME
-.B imapproxyd
-\- IMAP proxy daemon
-.SH SYNOPSIS
-.B imapproxyd
-.RI
-[
-.B -f
-.RI
- ]
-.RI
-[
-.B -p
-.RI
- ]
-.br
-.SH DESCRIPTION
-This manual page documents briefly the
-.B imapproxyd
-command.
-This manual page was written for the Debian distribution
-because the original program does not have a manual page.
-.PP
-UP-ImapProxy proxies IMAP transactions between an IMAP client and an IMAP
-server. The general idea is that the client should never know that it is
-not talking to the real IMAP server, but ImapProxy caches server connections.
-.PP
-ImapProxy was written to compensate for webmail clients that are unable to
-maintain persistent connections to an IMAP server. Most webmail clients
-need to log in to an IMAP server for nearly every single transaction; This
-behaviour can cause tragic performance problems on the IMAP server.
-ImapProxy tries to deal with this problem by leaving server connections
-open for a short time after a webmail client logs out. When the webmail
-client connects again, ImapProxy will determine if there is a cached
-connection available and reuse it if possible.
-.BR
-.SH FILES
-By default, UP-ImapProxy reads /etc/imapproxy.conf on startup.
-This can be changed by using the
-.I -f
-option
-.PP
-Unless foreground_mode has been enabled, UP-ImapProxy will write its PID to to
-a PID-file. It defaults to /var/run/imapproxy.pid, but can be overridden with
-the
-.I -p
-option
-.SH SEE ALSO
-.BR pimpstat (8),
-.br
-.SH AUTHOR
-This manual page was written by Jose Luis Tallon
-.nh
-,
-for the Debian GNU/Linux system (but may be used by others).
-
-
diff --git a/net-mail/up-imapproxy/files/pimpstat.8 b/net-mail/up-imapproxy/files/pimpstat.8
deleted file mode 100644
index 2466e7ce2780..000000000000
--- a/net-mail/up-imapproxy/files/pimpstat.8
+++ /dev/null
@@ -1,27 +0,0 @@
-.\" Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH PIMPSTATS 8 "Mar 12, 2004" "Dave McMurtrie" "IMAP proxy daemon"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.SH NAME
- pimpstat \- UP-ImapProxy statistics
-.SH SYNOPSIS
-.B pimpstat
-.RI [options]
-.br
-.SH DESCRIPTION
-This manual page documents briefly the
-.B pimpstat
-command.
-This manual page was written for the Debian distribution
-because the original program does not have a manual page.
-.SH SEE ALSO
-.BR imapproxyd (8),
-.br
-.SH AUTHOR
-This manual page was written by Jose Luis Tallon
-.nh
-,
-for the Debian GNU/Linux system (but may be used by others).
diff --git a/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-ldflags.patch b/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-ldflags.patch
deleted file mode 100644
index 4ba1b6b725e5..000000000000
--- a/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-ldflags.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit 98876519b581c0427b81d772f56b25ad3d0121df
-Author: Eray Aslan
-Date: Sun Jun 5 19:43:41 2011 +0300
-
- respect LDFLAGS
-
-diff --git a/Makefile.in b/Makefile.in
-index 1b235b8..8ac1e4f 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -70,7 +70,7 @@ $(XYD_BIN): $(XYD_OBJ)
- $(CC) -o $@ $(XYD_OBJ) $(LDFLAGS) $(XYD_LIB)
-
- $(TAT_BIN): $(TAT_OBJ)
-- $(CC) -o $@ $(TAT_OBJ) $(TAT_LIB)
-+ $(CC) -o $@ $(TAT_OBJ) $(LDFLAGS) $(TAT_LIB)
-
- clean:
- rm -f ./src/core $(XYD_OBJ) $(TAT_OBJ) $(XYD_BIN) $(TAT_BIN)
diff --git a/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch b/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch
deleted file mode 100644
index cbe19e8c0eb7..000000000000
--- a/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -121,12 +121,16 @@
- save_LIBS="$LIBS"
- LIB_CURSES=""
- AC_CHECK_LIB(curses, initscr, LIB_CURSES="-lcurses", [ curses_found=no ])
--if test "$curses_found" == no; then
-+if test "$curses_found" = no; then
- AC_CHECK_LIB(ncurses, initscr, LIB_CURSES="-lncurses",
- AC_ERROR([Can't compile without curses!!!]))
- fi
-
- LIBS="$save_LIBS"
-+
-+AC_SEARCH_LIBS(stdscr, tinfo curses ncurses, [LIB_CURSES="$LIB_CURSES $ac_cv_search_stdscr"],
-+ AC_MSG_ERROR([Cannot find a library providing stdscr]))
-+
- AC_SUBST(LIB_CURSES)
-
-
diff --git a/net-mail/up-imapproxy/metadata.xml b/net-mail/up-imapproxy/metadata.xml
deleted file mode 100644
index a02624b0c88b..000000000000
--- a/net-mail/up-imapproxy/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
- squirrelmail
-
-
diff --git a/net-mail/up-imapproxy/up-imapproxy-1.2.7.ebuild b/net-mail/up-imapproxy/up-imapproxy-1.2.7.ebuild
deleted file mode 100644
index accddba17434..000000000000
--- a/net-mail/up-imapproxy/up-imapproxy-1.2.7.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-WANT_AUTOCONF="2.1"
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="Proxy IMAP transactions between an IMAP client and an IMAP server"
-HOMEPAGE="http://www.imapproxy.org/"
-SRC_URI="mirror://sourceforge/squirrelmail/squirrelmail-imap_proxy-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="kerberos ssl +tcpd"
-
-RDEPEND="sys-libs/ncurses
- kerberos? ( virtual/krb5 )
- ssl? ( dev-libs/openssl )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-DEPEND="${RDEPEND}
- sys-apps/sed"
-
-S=${WORKDIR}/squirrelmail-imap_proxy-${PV}
-
-src_prepare() {
- epatch "${FILESDIR}/${P}"-ldflags.patch
- epatch "${FILESDIR}/${P}"-tinfo.patch
-
- sed -i \
- -e 's:in\.imapproxyd:imapproxyd:g' \
- README Makefile.in include/imapproxy.h || die
-
- #buffer oveflow
- #http://lists.andrew.cmu.edu/pipermail/imapproxy-info/2010-June/000874.html
- sed -i \
- -e "/define BUFSIZE/s/4096/8192/" \
- -e "/define MAXPASSWDLEN/s/64/8192/" \
- include/imapproxy.h
-
- eautoreconf
-}
-
-src_configure() {
- tc-export CC
- econf \
- $(use_with kerberos krb5) \
- $(use_with ssl openssl) \
- $(use_with tcpd libwrap)
-}
-
-src_install() {
- dosbin bin/imapproxyd bin/pimpstat
-
- insinto /etc
- doins scripts/imapproxy.conf
-
- newinitd "${FILESDIR}"/imapproxy.initd imapproxy
-
- dodoc ChangeLog README README.known_issues
- use ssl && dodoc README.ssl
-
- doman "${FILESDIR}"/*.8
-}
diff --git a/net-mail/uw-imap/Manifest b/net-mail/uw-imap/Manifest
deleted file mode 100644
index c721daa243da..000000000000
--- a/net-mail/uw-imap/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST imap-2007f.tar.Z 2793529 BLAKE2B f5b597551ef56d284180cd49cf6b7d01a63ee60bcb513a354bd7ec63428184b854e3ea666a9f3ce1f5b27699cf81d2f1d0e66e5cfc7fee93d723bb146d113ec7 SHA512 2c728deaf66d23158c61ae55ff94f05d2a1cf0168002760321ca30c6ee1c58c0a4c7bc14ece0097ea662df6c7c49be3b91c8e5e943724c9e2736800fa9298dae
diff --git a/net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch b/net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch
deleted file mode 100644
index 1400fc254c6d..000000000000
--- a/net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ruN src/osdep/unix/Makefile src/osdep/unix/Makefile
---- src/osdep/unix/Makefile 2005-01-29 22:43:25.739341544 +0000
-+++ src/osdep/unix/Makefile 2005-01-29 22:43:50.375596264 +0000
-@@ -912,6 +912,9 @@
- -DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" > OSCFLAGS
- echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
- echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE
-+ echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \
-+ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \
-+ >> ARCHIVE
- echo $(OS) > OSTYPE
- ./drivers $(EXTRADRIVERS) $(DEFAULTDRIVERS) dummy
- ./mkauths $(EXTRAAUTHENTICATORS) $(DEFAULTAUTHENTICATORS)
diff --git a/net-mail/uw-imap/files/uw-imap-ldflags.patch b/net-mail/uw-imap/files/uw-imap-ldflags.patch
deleted file mode 100644
index 41bd0925ed14..000000000000
--- a/net-mail/uw-imap/files/uw-imap-ldflags.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff --git a/Makefile b/Makefile
-index e6e4987..8acfe23 100644
---- a/Makefile
-+++ b/Makefile
-@@ -257,7 +257,7 @@ EXTRACFLAGS=
-
- # Extra linker flags (additional/alternative libraries, etc.)
-
--EXTRALDFLAGS=
-+EXTRALDFLAGS=${LDFLAGS}
-
-
- # Special make flags (e.g. to override make environment variables)
-diff --git a/src/mlock/Makefile b/src/mlock/Makefile
-index d425da8..9c3020b 100644
---- a/src/mlock/Makefile
-+++ b/src/mlock/Makefile
-@@ -36,7 +36,7 @@ CFLAGS = -O2 -pipe -march=core2
- all: mlock
-
- mlock: mlock.o
-- $(CC) $(CFLAGS) -o mlock mlock.o
-+ $(CC) $(CFLAGS) ${LDFLAGS} -o mlock mlock.o
-
- install: mlock
- chgrp mail mlock
-diff --git a/Makefile b/Makefile
-index 8acfe23..70f889d 100644
---- a/Makefile
-+++ b/Makefile
-@@ -698,7 +698,7 @@ rebuild:
- @echo Rebuilding c-client for `$(CAT) OSTYPE`...
- @$(TOUCH) SPECIALS
- $(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \
-- CFLAGS="`$(CAT) CFLAGS`" `$(CAT) SPECIALS`
-+ CFLAGS="`$(CAT) CFLAGS`" LDFLAGS=${LDFLAGS} `$(CAT) SPECIALS`
-
- rebuildclean:
- $(SH) -c '$(RM) rebuild || true'
-diff --git a/src/osdep/unix/Makefile b/src/osdep/unix/Makefile
-index ef1d059..a53318c 100644
---- a/src/osdep/unix/Makefile
-+++ b/src/osdep/unix/Makefile
-@@ -969,7 +969,7 @@ onceenv:
- -DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS
- echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
- echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE
-- echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \
-+ echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` `$(CAT) LDFLAGS` -shared \
- -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \
- >> ARCHIVE
- echo $(OS) > OSTYPE
diff --git a/net-mail/uw-imap/files/uw-imap.xinetd b/net-mail/uw-imap/files/uw-imap.xinetd
deleted file mode 100644
index 959a45573bc1..000000000000
--- a/net-mail/uw-imap/files/uw-imap.xinetd
+++ /dev/null
@@ -1,14 +0,0 @@
-# default: off
-# description: The IMAP service allows remote users to access their mail using \
-# an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
-# Communicator.
-service imap2
-{
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/imapd
- log_on_success += DURATION USERID
- log_on_failure += USERID
- disable = yes
-}
diff --git a/net-mail/uw-imap/files/uw-imaps.xinetd b/net-mail/uw-imap/files/uw-imaps.xinetd
deleted file mode 100644
index 8fb2f3500a78..000000000000
--- a/net-mail/uw-imap/files/uw-imaps.xinetd
+++ /dev/null
@@ -1,15 +0,0 @@
-# default: off
-# description: The IMAPS service allows remote users to access their mail \
-# using an IMAP client with SSL support such as Netscape \
-# Communicator or fetchmail.
-service imaps
-{
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/imapd
- log_on_success += DURATION USERID
- log_on_failure += USERID
- disable = yes
-}
-
diff --git a/net-mail/uw-imap/files/uw-ipop2.xinetd b/net-mail/uw-imap/files/uw-ipop2.xinetd
deleted file mode 100644
index 8a7ac2ae9b41..000000000000
--- a/net-mail/uw-imap/files/uw-ipop2.xinetd
+++ /dev/null
@@ -1,15 +0,0 @@
-# default: off
-# description: The POP2 service allows remote users to access their mail \
-# using an POP2 client such as fetchmail. In most cases, clients \
-# support POP3 instead of POP2, so enabling this service is rarely \
-# necessary.
-service pop-2
-{
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/ipop2d
- log_on_success += USERID
- log_on_failure += USERID
- disable = yes
-}
diff --git a/net-mail/uw-imap/files/uw-ipop3.xinetd b/net-mail/uw-imap/files/uw-ipop3.xinetd
deleted file mode 100644
index 60acaf219cf2..000000000000
--- a/net-mail/uw-imap/files/uw-ipop3.xinetd
+++ /dev/null
@@ -1,14 +0,0 @@
-# default: off
-# description: The POP3 service allows remote users to access their mail \
-# using an POP3 client such as Netscape Communicator, mutt, \
-# or fetchmail.
-service pop-3
-{
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/ipop3d
- log_on_success += USERID
- log_on_failure += USERID
- disable = yes
-}
diff --git a/net-mail/uw-imap/files/uw-ipop3s.xinetd b/net-mail/uw-imap/files/uw-ipop3s.xinetd
deleted file mode 100644
index a8b2ad19d971..000000000000
--- a/net-mail/uw-imap/files/uw-ipop3s.xinetd
+++ /dev/null
@@ -1,14 +0,0 @@
-# default: off
-# description: The POP3 service allows remote users to access their mail \
-# using an POP3 client such as Netscape Communicator, mutt, \
-# or fetchmail.
-service pop3s
-{
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/ipop3d
- log_on_success += USERID
- log_on_failure += USERID
- disable = yes
-}
diff --git a/net-mail/uw-imap/metadata.xml b/net-mail/uw-imap/metadata.xml
deleted file mode 100644
index 8bfae6399cb2..000000000000
--- a/net-mail/uw-imap/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
- Enables cleartext logins outside of SSL sessions
-
-
diff --git a/net-mail/uw-imap/uw-imap-2007f-r1.ebuild b/net-mail/uw-imap/uw-imap-2007f-r1.ebuild
deleted file mode 100644
index 79b47d6e4377..000000000000
--- a/net-mail/uw-imap/uw-imap-2007f-r1.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils flag-o-matic ssl-cert multilib
-
-MY_P="imap-${PV}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="UW server daemons for IMAP and POP network mail protocols"
-SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
-HOMEPAGE="http://www.washington.edu/imap/"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86"
-IUSE="ipv6 +ssl kerberos clearpasswd"
-
-DEPEND="!net-libs/c-client
- >=sys-libs/pam-0.72
- >=net-mail/mailbase-0.00-r8[pam]
- ssl? ( dev-libs/openssl )
- kerberos? ( app-crypt/mit-krb5 )"
-
-RDEPEND="${DEPEND}
- >=net-mail/uw-mailutils-${PV}
- sys-apps/xinetd"
-
-# get rid of old style virtual - bug 350792
-# all blockers really needed?
-RDEPEND="${RDEPEND}
- !net-mail/dovecot
- !mail-mta/courier
- !net-mail/courier-imap
- !net-mail/cyrus-imapd"
-
-REQUIRED_USE="!clearpasswd? ( ssl )"
-
-src_unpack() {
- unpack ${A}
- # Tarball packed with bad file perms
- chmod -R ug+w "${S}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-2004c-amd64-so-fix.patch
- epatch "${FILESDIR}/${PN}-ldflags.patch"
-
- # no interactive build
- sed -i -e "/read x; case/s/^/#/" Makefile || die
- sed -i -e "/make noip6/s/.*/\t@echo/" Makefile || die
-
- # Now we must make all the individual Makefiles use different CFLAGS,
- # otherwise they would all use -fPIC
- sed -i -e "s|\`cat \$C/CFLAGS\`|${CFLAGS}|g" src/dmail/Makefile \
- src/imapd/Makefile src/ipopd/Makefile src/mailutil/Makefile \
- src/mlock/Makefile src/mtest/Makefile src/tmail/Makefile \
- || die "sed failed patching Makefile FLAGS."
-
- # Now there is only c-client left, which should be built with -fPIC
- append-flags -fPIC
-
- sed -i \
- -e "s:BASECFLAGS=\".*\":BASECFLAGS=:g" \
- -e 's,SSLDIR=/usr/local/ssl,SSLDIR=/usr,g' \
- -e 's,SSLCERTS=$(SSLDIR)/certs,SSLCERTS=/etc/ssl/certs,g' \
- src/osdep/unix/Makefile || die
-
- sed -i \
- -e "s/CC=cc/CC=$(tc-getCC)/" \
- -e "s/ARRC=ar/ARRC=$(tc-getAR)/" \
- -e "s/RANLIB=ranlib/RANLIB=$(tc-getRANLIB)/" \
- src/osdep/unix/Makefile || die
-
- sed -i -e "s,GSSDIR=/usr/local,GSSDIR=/usr,g" \
- src/osdep/unix/Makefile.gss || die
-
- # Make the build system more multilib aware
- sed \
- -e "s:^SSLLIB=\$(SSLDIR)/lib:SSLLIB=\$(SSLDIR)/$(get_libdir):" \
- -e "s:^AFSLIB=\$(AFSDIR)/lib:AFSLIB=\$(AFSDIR)/$(get_libdir):" \
- -i src/osdep/unix/Makefile || die "Makefile sed fixing failed"
-}
-
-src_compile() {
- local mymake ipver ssltype target
- ipver="IP=4"
- target=lnp
- use ipv6 && ipver="IP=6"
- use kerberos && mymake="EXTRAAUTHENTICATORS=gss"
- use kernel_FreeBSD && target=bsf
- if use ssl ; then
- if use clearpasswd ; then
- ssltype=unix
- else
- ssltype=unix.nopwd
- fi
- else
- ssltype=none
- fi
-
- emake -j1 SSLTYPE=${ssltype} ${target} ${mymake} ${ipver} EXTRACFLAGS="${CFLAGS}" EXTRALDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
- dosbin imapd/imapd ipopd/ipop?d dmail/dmail tmail/tmail
- dobin mlock/mlock
-
- dolib.so c-client/libc-client.so.1.0.0
- dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so
- dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so.1
-
- insinto /usr/include/imap
- doins src/c-client/{c-client,flstring,mail,imap4r1,rfc822,misc,smtp,nntp,utf8,utf8aux}.h
- doins src/c-client/{env,fs,ftl,nl,tcp}.h
- doins src/osdep/unix/env_unix.h
- doins c-client/linkage.{c,h}
-
- dolib.a c-client/c-client.a
- dosym c-client.a /usr/$(get_libdir)/libc-client.a
-
- doman src/ipopd/ipopd.8 src/imapd/imapd.8
- doman src/dmail/dmail.1 src/tmail/tmail.1
- dodoc README docs/*.txt docs/CONFIG docs/RELNOTES
-
- docinto rfc
- dodoc docs/rfc/*.txt
-
- # install headers - bug #375393
- cp c-client/*.h "${D}"/usr/include/imap/ || die
- cp c-client/linkage.c "${D}"/usr/include/imap/ || die
- #exclude these dupes (can't do it before now due to symlink hell)
- rm "${D}"/usr/include/imap/os_*.h
-
- # gentoo config stuff
- insinto /etc/xinetd.d
- newins "${FILESDIR}"/uw-imap.xinetd imap
- newins "${FILESDIR}"/uw-ipop2.xinetd ipop2
- newins "${FILESDIR}"/uw-ipop3.xinetd ipop3
- newins "${FILESDIR}"/uw-ipop3s.xinetd ipop3s
- newins "${FILESDIR}"/uw-imaps.xinetd imaps
-}
-
-pkg_postinst() {
- if use ssl; then
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/certs/imapd.pem && \
- -e "${ROOT}"/etc/ssl/certs/imapd.key ]]; then
- einfo "Creating SSL certificate for IMAP"
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-UW-IMAP Server}"
- install_cert /etc/ssl/certs/imapd
- fi
- if ! [[ -e "${ROOT}"/etc/ssl/certs/ipop3d.pem && \
- -e "${ROOT}"/etc/ssl/certs/ipop3d.key ]]; then
- einfo "Creating SSL certificate for POP3"
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-UW-POP3 Server}"
- install_cert /etc/ssl/certs/ipop3d
- fi
- fi
-}
diff --git a/net-mail/uw-imap/uw-imap-2007f.ebuild b/net-mail/uw-imap/uw-imap-2007f.ebuild
deleted file mode 100644
index 064833e3216c..000000000000
--- a/net-mail/uw-imap/uw-imap-2007f.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils flag-o-matic ssl-cert
-
-MY_P="imap-${PV}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="UW server daemons for IMAP and POP network mail protocols"
-SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
-HOMEPAGE="http://www.washington.edu/imap/"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86"
-IUSE="ipv6 +ssl kerberos clearpasswd"
-
-DEPEND="!net-libs/c-client
- >=sys-libs/pam-0.72
- >=net-mail/mailbase-0.00-r8[pam]
- ssl? ( dev-libs/openssl )
- kerberos? ( app-crypt/mit-krb5 )"
-
-RDEPEND="${DEPEND}
- >=net-mail/uw-mailutils-${PV}
- sys-apps/xinetd"
-
-# get rid of old style virtual - bug 350792
-# all blockers really needed?
-RDEPEND="${RDEPEND}
- !net-mail/dovecot
- !mail-mta/courier
- !net-mail/courier-imap
- !net-mail/cyrus-imapd"
-
-REQUIRED_USE="!clearpasswd? ( ssl )"
-
-src_unpack() {
- unpack ${A}
- # Tarball packed with bad file perms
- chmod -R ug+w "${S}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-2004c-amd64-so-fix.patch
- epatch "${FILESDIR}/${PN}-ldflags.patch"
-
- # no interactive build
- sed -i -e "/read x; case/s/^/#/" Makefile || die
-
- # Now we must make all the individual Makefiles use different CFLAGS,
- # otherwise they would all use -fPIC
- sed -i -e "s|\`cat \$C/CFLAGS\`|${CFLAGS}|g" src/dmail/Makefile \
- src/imapd/Makefile src/ipopd/Makefile src/mailutil/Makefile \
- src/mlock/Makefile src/mtest/Makefile src/tmail/Makefile \
- || die "sed failed patching Makefile FLAGS."
-
- # Now there is only c-client left, which should be built with -fPIC
- append-flags -fPIC
-
- sed -i \
- -e "s:BASECFLAGS=\".*\":BASECFLAGS=:g" \
- -e 's,SSLDIR=/usr/local/ssl,SSLDIR=/usr,g' \
- -e 's,SSLCERTS=$(SSLDIR)/certs,SSLCERTS=/etc/ssl/certs,g' \
- src/osdep/unix/Makefile
-
- sed -i \
- -e "s/CC=cc/CC=$(tc-getCC)/" \
- -e "s/ARRC=ar/ARRC=$(tc-getAR)/" \
- -e "s/RANLIB=ranlib/RANLIB=$(tc-getRANLIB)/" \
- src/osdep/unix/Makefile
-
- sed -i -e "s,GSSDIR=/usr/local,GSSDIR=/usr,g" \
- src/osdep/unix/Makefile.gss
-
- # no interactive build
- sed -i -e "/make noip6/s/.*/\t@echo/" Makefile
-}
-
-src_compile() {
- local mymake ipver ssltype target
- ipver="IP=4"
- target=lnp
- use ipv6 && ipver="IP=6"
- use kerberos && mymake="EXTRAAUTHENTICATORS=gss"
- use kernel_FreeBSD && target=bsf
- if use ssl ; then
- if use clearpasswd ; then
- ssltype=unix
- else
- ssltype=unix.nopwd
- fi
- else
- ssltype=none
- fi
-
- emake -j1 SSLTYPE=${ssltype} ${target} ${mymake} ${ipver} EXTRACFLAGS="${CFLAGS}" EXTRALDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
- dosbin imapd/imapd ipopd/ipop?d dmail/dmail tmail/tmail
- dobin mlock/mlock
-
- dolib.so c-client/libc-client.so.1.0.0
- dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so
- dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so.1
-
- insinto /usr/include/imap
- doins src/c-client/{c-client,flstring,mail,imap4r1,rfc822,misc,smtp,nntp,utf8,utf8aux}.h
- doins src/c-client/{env,fs,ftl,nl,tcp}.h
- doins src/osdep/unix/env_unix.h
- doins c-client/linkage.{c,h}
-
- dolib.a c-client/c-client.a
- dosym c-client.a /usr/$(get_libdir)/libc-client.a
-
- doman src/ipopd/ipopd.8 src/imapd/imapd.8
- doman src/dmail/dmail.1 src/tmail/tmail.1
- dodoc README docs/*.txt docs/CONFIG docs/RELNOTES
-
- docinto rfc
- dodoc docs/rfc/*.txt
-
- # install headers - bug #375393
- cp c-client/*.h "${D}"/usr/include/imap/ || die
- cp c-client/linkage.c "${D}"/usr/include/imap/ || die
- #exclude these dupes (can't do it before now due to symlink hell)
- rm "${D}"/usr/include/imap/os_*.h
-
- # gentoo config stuff
- insinto /etc/xinetd.d
- newins "${FILESDIR}"/uw-imap.xinetd imap
- newins "${FILESDIR}"/uw-ipop2.xinetd ipop2
- newins "${FILESDIR}"/uw-ipop3.xinetd ipop3
- newins "${FILESDIR}"/uw-ipop3s.xinetd ipop3s
- newins "${FILESDIR}"/uw-imaps.xinetd imaps
-}
-
-pkg_postinst() {
- if use ssl; then
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/certs/imapd.pem && \
- -e "${ROOT}"/etc/ssl/certs/imapd.key ]]; then
- einfo "Creating SSL certificate for IMAP"
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-UW-IMAP Server}"
- install_cert /etc/ssl/certs/imapd
- fi
- if ! [[ -e "${ROOT}"/etc/ssl/certs/ipop3d.pem && \
- -e "${ROOT}"/etc/ssl/certs/ipop3d.key ]]; then
- einfo "Creating SSL certificate for POP3"
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-UW-POP3 Server}"
- install_cert /etc/ssl/certs/ipop3d
- fi
- fi
-}
diff --git a/net-mail/uw-mailutils/Manifest b/net-mail/uw-mailutils/Manifest
deleted file mode 100644
index c721daa243da..000000000000
--- a/net-mail/uw-mailutils/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST imap-2007f.tar.Z 2793529 BLAKE2B f5b597551ef56d284180cd49cf6b7d01a63ee60bcb513a354bd7ec63428184b854e3ea666a9f3ce1f5b27699cf81d2f1d0e66e5cfc7fee93d723bb146d113ec7 SHA512 2c728deaf66d23158c61ae55ff94f05d2a1cf0168002760321ca30c6ee1c58c0a4c7bc14ece0097ea662df6c7c49be3b91c8e5e943724c9e2736800fa9298dae
diff --git a/net-mail/uw-mailutils/files/uw-mailutils-2004g.patch b/net-mail/uw-mailutils/files/uw-mailutils-2004g.patch
deleted file mode 100644
index 320388357c1d..000000000000
--- a/net-mail/uw-mailutils/files/uw-mailutils-2004g.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- imap-2004g/Makefile 2005-04-30 22:50:20.000000000 +0200
-+++ imap-2004g-mailutil/Makefile 2005-10-06 13:21:14.000000000 +0200
-@@ -504,12 +504,7 @@
- $(TOOLS)/$@ "$(LN)" src/charset c-client
- $(TOOLS)/$@ "$(LN)" src/osdep/$(SYSTEM) c-client
- $(TOOLS)/$@ "$(LN)" src/mtest mtest
-- $(TOOLS)/$@ "$(LN)" src/ipopd ipopd
-- $(TOOLS)/$@ "$(LN)" src/imapd imapd
- $(TOOLS)/$@ "$(LN)" src/mailutil mailutil
-- $(TOOLS)/$@ "$(LN)" src/mlock mlock
-- $(TOOLS)/$@ "$(LN)" src/dmail dmail
-- $(TOOLS)/$@ "$(LN)" src/tmail tmail
- $(LN) $(TOOLS)/$@ .
-
- build: OSTYPE rebuild rebuildclean bundled
-@@ -540,13 +535,8 @@
- bundled:
- @echo Building bundled tools...
- $(CD) mtest;$(MAKE)
-- $(CD) ipopd;$(MAKE)
-- $(CD) imapd;$(MAKE)
- $(CD) mailutil;$(MAKE)
- @$(SH) -c '(test -f /usr/include/sysexits.h ) || make sysexitwarn'
-- $(CD) mlock;$(MAKE) || true
-- $(CD) dmail;$(MAKE) || true
-- $(CD) tmail;$(MAKE) || true
-
-
- sysexitwarn:
-@@ -559,7 +549,7 @@
-
- clean:
- @echo Removing old processed sources and binaries...
-- $(SH) -c '$(RM) an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true'
-+ $(SH) -c '$(RM) an ua OSTYPE SPECIALS c-client mtest mailutil || true'
- $(CD) tools;$(MAKE) clean
-
-
diff --git a/net-mail/uw-mailutils/files/uw-mailutils-ssl.patch b/net-mail/uw-mailutils/files/uw-mailutils-ssl.patch
deleted file mode 100644
index 0214030e3ffa..000000000000
--- a/net-mail/uw-mailutils/files/uw-mailutils-ssl.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- imap-2007e/src/osdep/unix/Makefile 2009-07-05 10:00:54.000000000 +0300
-+++ imap-2007e/src/osdep/unix/Makefile 2009-07-05 10:04:42.000000000 +0300
-@@ -54,8 +54,8 @@
-
- # Extended flags needed for SSL. You may need to modify.
-
--SSLDIR=/usr/local/ssl
--SSLCERTS=$(SSLDIR)/certs
-+SSLDIR=/usr
-+SSLCERTS=/etc/ssl/certs
- SSLKEYS=$(SSLCERTS)
- SSLINCLUDE=$(SSLDIR)/include
- SSLLIB=$(SSLDIR)/lib
diff --git a/net-mail/uw-mailutils/metadata.xml b/net-mail/uw-mailutils/metadata.xml
deleted file mode 100644
index 38a99ababf02..000000000000
--- a/net-mail/uw-mailutils/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
- Mail utilities common to University of Washington software packages.
-
-
diff --git a/net-mail/uw-mailutils/uw-mailutils-2007f.ebuild b/net-mail/uw-mailutils/uw-mailutils-2007f.ebuild
deleted file mode 100644
index 6939dbfc754f..000000000000
--- a/net-mail/uw-mailutils/uw-mailutils-2007f.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils flag-o-matic
-
-MY_P="imap-${PV}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Mail utilities from the UW"
-HOMEPAGE="http://www.washington.edu/imap/"
-SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86 ~x86-fbsd"
-IUSE="pam ssl"
-
-DEPEND="pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )"
-RDEPEND="${DEPEND}
- !ai_next) {
+- if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2,
+- sizeof(ntop2), NULL, 0, NI_NUMERICHOST) == 0 &&
+- (strcmp(ntop, ntop2) == 0))
+- break;
+- }
+- freeaddrinfo(aitop);
+- /* If we reached the end of the list, the address was not there. */
+- if (ai == NULL) {
+- /* Address not found for the host name. */
+- logit("Address %.100s maps to %.600s, but this does not "
+- "map back to the address.", ntop, name);
+- return strdup(ntop);
+- }
+- return strdup(name);
+-}
+-
+-/*
+- * Return the canonical name of the host in the other side of the current
+- * connection. The host name is cached, so it is efficient to call this
+- * several times.
+- */
+-
+-const char *
+-auth_get_canonical_hostname(struct ssh *ssh, int use_dns)
+-{
+- static char *dnsname;
+-
+- if (!use_dns)
+- return ssh_remote_ipaddr(ssh);
+- else if (dnsname != NULL)
+- return dnsname;
+- else {
+- dnsname = remote_hostname(ssh);
+- return dnsname;
+- }
+-}
+-
+ /*
+ * Runs command in a subprocess with a minimal environment.
+ * Returns pid on success, 0 on failure.
+diff --git a/canohost.c b/canohost.c
+index f71a0856..3e162d8c 100644
+--- a/canohost.c
++++ b/canohost.c
+@@ -202,3 +202,117 @@ get_local_port(int sock)
+ {
+ return get_sock_port(sock, 1);
+ }
++
++/*
++ * Returns the remote DNS hostname as a string. The returned string must not
++ * be freed. NB. this will usually trigger a DNS query the first time it is
++ * called.
++ * This function does additional checks on the hostname to mitigate some
++ * attacks on legacy rhosts-style authentication.
++ * XXX is RhostsRSAAuthentication vulnerable to these?
++ * XXX Can we remove these checks? (or if not, remove RhostsRSAAuthentication?)
++ */
++
++static char *
++remote_hostname(struct ssh *ssh)
++{
++ struct sockaddr_storage from;
++ socklen_t fromlen;
++ struct addrinfo hints, *ai, *aitop;
++ char name[NI_MAXHOST], ntop2[NI_MAXHOST];
++ const char *ntop = ssh_remote_ipaddr(ssh);
++
++ /* Get IP address of client. */
++ fromlen = sizeof(from);
++ memset(&from, 0, sizeof(from));
++ if (getpeername(ssh_packet_get_connection_in(ssh),
++ (struct sockaddr *)&from, &fromlen) < 0) {
++ debug("getpeername failed: %.100s", strerror(errno));
++ return strdup(ntop);
++ }
++
++ ipv64_normalise_mapped(&from, &fromlen);
++ if (from.ss_family == AF_INET6)
++ fromlen = sizeof(struct sockaddr_in6);
++
++ debug3("Trying to reverse map address %.100s.", ntop);
++ /* Map the IP address to a host name. */
++ if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
++ NULL, 0, NI_NAMEREQD) != 0) {
++ /* Host name not found. Use ip address. */
++ return strdup(ntop);
++ }
++
++ /*
++ * if reverse lookup result looks like a numeric hostname,
++ * someone is trying to trick us by PTR record like following:
++ * 1.1.1.10.in-addr.arpa. IN PTR 2.3.4.5
++ */
++ memset(&hints, 0, sizeof(hints));
++ hints.ai_socktype = SOCK_DGRAM; /*dummy*/
++ hints.ai_flags = AI_NUMERICHOST;
++ if (getaddrinfo(name, NULL, &hints, &ai) == 0) {
++ logit("Nasty PTR record \"%s\" is set up for %s, ignoring",
++ name, ntop);
++ freeaddrinfo(ai);
++ return strdup(ntop);
++ }
++
++ /* Names are stored in lowercase. */
++ lowercase(name);
++
++ /*
++ * Map it back to an IP address and check that the given
++ * address actually is an address of this host. This is
++ * necessary because anyone with access to a name server can
++ * define arbitrary names for an IP address. Mapping from
++ * name to IP address can be trusted better (but can still be
++ * fooled if the intruder has access to the name server of
++ * the domain).
++ */
++ memset(&hints, 0, sizeof(hints));
++ hints.ai_family = from.ss_family;
++ hints.ai_socktype = SOCK_STREAM;
++ if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
++ logit("reverse mapping checking getaddrinfo for %.700s "
++ "[%s] failed.", name, ntop);
++ return strdup(ntop);
++ }
++ /* Look for the address from the list of addresses. */
++ for (ai = aitop; ai; ai = ai->ai_next) {
++ if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2,
++ sizeof(ntop2), NULL, 0, NI_NUMERICHOST) == 0 &&
++ (strcmp(ntop, ntop2) == 0))
++ break;
++ }
++ freeaddrinfo(aitop);
++ /* If we reached the end of the list, the address was not there. */
++ if (ai == NULL) {
++ /* Address not found for the host name. */
++ logit("Address %.100s maps to %.600s, but this does not "
++ "map back to the address.", ntop, name);
++ return strdup(ntop);
++ }
++ return strdup(name);
++}
++
++/*
++ * Return the canonical name of the host in the other side of the current
++ * connection. The host name is cached, so it is efficient to call this
++ * several times.
++ */
++
++const char *
++auth_get_canonical_hostname(struct ssh *ssh, int use_dns)
++{
++ static char *dnsname;
++
++ if (!use_dns)
++ return ssh_remote_ipaddr(ssh);
++ else if (dnsname != NULL)
++ return dnsname;
++ else {
++ dnsname = remote_hostname(ssh);
++ return dnsname;
++ }
++}
+diff --git a/readconf.c b/readconf.c
+index 71a5c795..2a8c6990 100644
+--- a/readconf.c
++++ b/readconf.c
+@@ -163,6 +163,7 @@ typedef enum {
+ oClearAllForwardings, oNoHostAuthenticationForLocalhost,
+ oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout,
+ oAddressFamily, oGssAuthentication, oGssDelegateCreds,
++ oGssTrustDns,
+ oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly,
+ oSendEnv, oSetEnv, oControlPath, oControlMaster, oControlPersist,
+ oHashKnownHosts,
+@@ -204,9 +205,11 @@ static struct {
+ #if defined(GSSAPI)
+ { "gssapiauthentication", oGssAuthentication },
+ { "gssapidelegatecredentials", oGssDelegateCreds },
++ { "gssapitrustdns", oGssTrustDns },
+ # else
+ { "gssapiauthentication", oUnsupported },
+ { "gssapidelegatecredentials", oUnsupported },
++ { "gssapitrustdns", oUnsupported },
+ #endif
+ #ifdef ENABLE_PKCS11
+ { "pkcs11provider", oPKCS11Provider },
+@@ -993,6 +996,10 @@ parse_time:
+ intptr = &options->gss_deleg_creds;
+ goto parse_flag;
+
++ case oGssTrustDns:
++ intptr = &options->gss_trust_dns;
++ goto parse_flag;
++
+ case oBatchMode:
+ intptr = &options->batch_mode;
+ goto parse_flag;
+@@ -1875,6 +1882,7 @@ initialize_options(Options * options)
+ options->challenge_response_authentication = -1;
+ options->gss_authentication = -1;
+ options->gss_deleg_creds = -1;
++ options->gss_trust_dns = -1;
+ options->password_authentication = -1;
+ options->kbd_interactive_authentication = -1;
+ options->kbd_interactive_devices = NULL;
+@@ -2023,6 +2031,8 @@ fill_default_options(Options * options)
+ options->gss_authentication = 0;
+ if (options->gss_deleg_creds == -1)
+ options->gss_deleg_creds = 0;
++ if (options->gss_trust_dns == -1)
++ options->gss_trust_dns = 0;
+ if (options->password_authentication == -1)
+ options->password_authentication = 1;
+ if (options->kbd_interactive_authentication == -1)
+diff --git a/readconf.h b/readconf.h
+index 69c24700..2758b633 100644
+--- a/readconf.h
++++ b/readconf.h
+@@ -45,6 +45,7 @@ typedef struct {
+ /* Try S/Key or TIS, authentication. */
+ int gss_authentication; /* Try GSS authentication */
+ int gss_deleg_creds; /* Delegate GSS credentials */
++ int gss_trust_dns; /* Trust DNS for GSS canonicalization */
+ int password_authentication; /* Try password
+ * authentication. */
+ int kbd_interactive_authentication; /* Try keyboard-interactive auth. */
+diff --git a/ssh_config.5 b/ssh_config.5
+index b7566782..64897e4e 100644
+--- a/ssh_config.5
++++ b/ssh_config.5
+@@ -758,6 +758,16 @@ The default is
+ Forward (delegate) credentials to the server.
+ The default is
+ .Cm no .
++Note that this option applies to protocol version 2 connections using GSSAPI.
++.It Cm GSSAPITrustDns
++Set to
++.Dq yes to indicate that the DNS is trusted to securely canonicalize
++the name of the host being connected to. If
++.Dq no, the hostname entered on the
++command line will be passed untouched to the GSSAPI library.
++The default is
++.Dq no .
++This option only applies to protocol version 2 connections using GSSAPI.
+ .It Cm HashKnownHosts
+ Indicates that
+ .Xr ssh 1
+diff --git a/sshconnect2.c b/sshconnect2.c
+index dffee90b..a25a32b9 100644
+--- a/sshconnect2.c
++++ b/sshconnect2.c
+@@ -698,6 +698,13 @@ userauth_gssapi(struct ssh *ssh)
+ OM_uint32 min;
+ int r, ok = 0;
+ gss_OID mech = NULL;
++ const char *gss_host;
++
++ if (options.gss_trust_dns) {
++ extern const char *auth_get_canonical_hostname(struct ssh *ssh, int use_dns);
++ gss_host = auth_get_canonical_hostname(ssh, 1);
++ } else
++ gss_host = authctxt->host;
+
+ /* Try one GSSAPI method at a time, rather than sending them all at
+ * once. */
+@@ -712,7 +719,7 @@ userauth_gssapi(struct ssh *ssh)
+ elements[authctxt->mech_tried];
+ /* My DER encoding requires length<128 */
+ if (mech->length < 128 && ssh_gssapi_check_mechanism(&gssctxt,
+- mech, authctxt->host)) {
++ mech, gss_host)) {
+ ok = 1; /* Mechanism works */
+ } else {
+ authctxt->mech_tried++;
diff --git a/net-misc/openssh/files/openssh-8.0_p1-X509-12.0-tests.patch b/net-misc/openssh/files/openssh-8.0_p1-X509-12.0-tests.patch
new file mode 100644
index 000000000000..9766b1594ea0
--- /dev/null
+++ b/net-misc/openssh/files/openssh-8.0_p1-X509-12.0-tests.patch
@@ -0,0 +1,12 @@
+diff -ur openssh-7.9p1.orig/openbsd-compat/regress/Makefile.in openssh-7.9p1/openbsd-compat/regress/Makefile.in
+--- openssh-7.9p1.orig/openbsd-compat/regress/Makefile.in 2018-10-16 17:01:20.000000000 -0700
++++ openssh-7.9p1/openbsd-compat/regress/Makefile.in 2018-12-19 11:03:14.421028691 -0800
+@@ -7,7 +7,7 @@
+ CC=@CC@
+ LD=@LD@
+ CFLAGS=@CFLAGS@
+-CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
++CPPFLAGS=-I. -I.. -I$(srcdir) -I../.. @CPPFLAGS@ @DEFS@
+ EXEEXT=@EXEEXT@
+ LIBCOMPAT=../libopenbsd-compat.a
+ LIBS=@LIBS@
diff --git a/net-misc/openssh/files/openssh-8.0_p1-X509-dont-make-piddir-12.0.patch b/net-misc/openssh/files/openssh-8.0_p1-X509-dont-make-piddir-12.0.patch
new file mode 100644
index 000000000000..aac98fef35df
--- /dev/null
+++ b/net-misc/openssh/files/openssh-8.0_p1-X509-dont-make-piddir-12.0.patch
@@ -0,0 +1,16 @@
+--- a/openssh-8.0p1+x509-12.0.diff 2019-04-18 14:53:26.850768799 -0700
++++ b/openssh-8.0p1+x509-12.0.diff 2019-04-18 14:56:48.870364519 -0700
+@@ -33578,12 +33578,11 @@
+
+ install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key check-config
+ install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf
+-@@ -334,6 +352,8 @@
++@@ -334,6 +352,7 @@
+ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5
+ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8
+ $(MKDIR_P) $(DESTDIR)$(libexecdir)
+ + $(MKDIR_P) $(DESTDIR)$(sshcadir)
+-+ $(MKDIR_P) $(DESTDIR)$(piddir)
+ $(MKDIR_P) -m 0755 $(DESTDIR)$(PRIVSEP_PATH)
+ $(INSTALL) -m 0755 $(STRIP_OPT) ssh$(EXEEXT) $(DESTDIR)$(bindir)/ssh$(EXEEXT)
+ $(INSTALL) -m 0755 $(STRIP_OPT) scp$(EXEEXT) $(DESTDIR)$(bindir)/scp$(EXEEXT)
diff --git a/net-misc/openssh/files/openssh-8.0_p1-X509-glue-12.0.patch b/net-misc/openssh/files/openssh-8.0_p1-X509-glue-12.0.patch
new file mode 100644
index 000000000000..1667e13850cf
--- /dev/null
+++ b/net-misc/openssh/files/openssh-8.0_p1-X509-glue-12.0.patch
@@ -0,0 +1,19 @@
+--- a/openssh-8.0p1+x509-12.0.diff 2019-04-18 14:53:02.804935946 -0700
++++ b/openssh-8.0p1+x509-12.0.diff 2019-04-18 14:53:26.850768799 -0700
+@@ -75925,16 +75925,6 @@
+ + return mbtowc(NULL, s, n);
+ +}
+ +#endif
+-diff -ruN openssh-8.0p1/version.h openssh-8.0p1+x509-12.0/version.h
+---- openssh-8.0p1/version.h 2019-04-18 01:52:57.000000000 +0300
+-+++ openssh-8.0p1+x509-12.0/version.h 2019-04-18 19:07:00.000000000 +0300
+-@@ -2,5 +2,4 @@
+-
+- #define SSH_VERSION "OpenSSH_8.0"
+-
+--#define SSH_PORTABLE "p1"
+--#define SSH_RELEASE SSH_VERSION SSH_PORTABLE
+-+#define SSH_RELEASE PACKAGE_STRING ", " SSH_VERSION "p1"
+ diff -ruN openssh-8.0p1/version.m4 openssh-8.0p1+x509-12.0/version.m4
+ --- openssh-8.0p1/version.m4 1970-01-01 02:00:00.000000000 +0200
+ +++ openssh-8.0p1+x509-12.0/version.m4 2019-04-18 19:07:00.000000000 +0300
diff --git a/net-misc/openssh/files/openssh-8.0_p1-hpn-X509-glue.patch b/net-misc/openssh/files/openssh-8.0_p1-hpn-X509-glue.patch
new file mode 100644
index 000000000000..2a9d3bd2f331
--- /dev/null
+++ b/net-misc/openssh/files/openssh-8.0_p1-hpn-X509-glue.patch
@@ -0,0 +1,114 @@
+--- a/openssh-7_8_P1-hpn-DynWinNoneSwitch-14.16.diff 2019-04-18 17:07:59.413376785 -0700
++++ b/openssh-7_8_P1-hpn-DynWinNoneSwitch-14.16.diff 2019-04-18 20:05:12.622588051 -0700
+@@ -382,7 +382,7 @@
+ @@ -822,6 +822,10 @@ kex_choose_conf(struct ssh *ssh)
+ int nenc, nmac, ncomp;
+ u_int mode, ctos, need, dh_need, authlen;
+- int r, first_kex_follows;
++ int r, first_kex_follows = 0;
+ + int auth_flag;
+ +
+ + auth_flag = packet_authentication_state(ssh);
+@@ -441,6 +441,39 @@
+ int ssh_packet_get_state(struct ssh *, struct sshbuf *);
+ int ssh_packet_set_state(struct ssh *, struct sshbuf *);
+
++diff --git a/packet.c b/packet.c
++index dcf35e6..9433f08 100644
++--- a/packet.c
+++++ b/packet.c
++@@ -920,6 +920,14 @@ ssh_set_newkeys(struct ssh *ssh, int mode)
++ return 0;
++ }
++
+++/* this supports the forced rekeying required for the NONE cipher */
+++int rekey_requested = 0;
+++void
+++packet_request_rekeying(void)
+++{
+++ rekey_requested = 1;
+++}
+++
++ #define MAX_PACKETS (1U<<31)
++ static int
++ ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len)
++@@ -946,6 +954,13 @@ ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len)
++ if (state->p_send.packets == 0 && state->p_read.packets == 0)
++ return 0;
++
+++ /* used to force rekeying when called for by the none
+++ * cipher switch and aes-mt-ctr methods -cjr */
+++ if (rekey_requested == 1) {
+++ rekey_requested = 0;
+++ return 1;
+++ }
+++
++ /* Time-based rekeying */
++ if (state->rekey_interval != 0 &&
++ (int64_t)state->rekey_time + state->rekey_interval <= monotime())
+ diff --git a/readconf.c b/readconf.c
+ index db5f2d5..33f18c9 100644
+ --- a/readconf.c
+@@ -453,10 +486,9 @@
+
+ /* Format of the configuration file:
+
+-@@ -166,6 +167,8 @@ typedef enum {
++@@ -166,5 +167,7 @@ typedef enum {
+ oTunnel, oTunnelDevice,
+ oLocalCommand, oPermitLocalCommand, oRemoteCommand,
+- oDisableMTAES,
+ + oTcpRcvBufPoll, oTcpRcvBuf, oHPNDisabled, oHPNBufferSize,
+ + oNoneEnabled, oNoneSwitch,
+ oVisualHostKey,
+@@ -592,10 +624,9 @@
+ int ip_qos_interactive; /* IP ToS/DSCP/class for interactive */
+ int ip_qos_bulk; /* IP ToS/DSCP/class for bulk traffic */
+ SyslogFacility log_facility; /* Facility for system logging. */
+-@@ -111,7 +115,10 @@ typedef struct {
++@@ -111,6 +115,9 @@ typedef struct {
+ int enable_ssh_keysign;
+ int64_t rekey_limit;
+- int disable_multithreaded; /*disable multithreaded aes-ctr*/
+ + int none_switch; /* Use none cipher */
+ + int none_enabled; /* Allow none to be used */
+ int rekey_interval;
+@@ -650,10 +681,8 @@
+
+ /* Portable-specific options */
+ if (options->use_pam == -1)
+-@@ -391,6 +400,43 @@ fill_default_server_options(ServerOptions *options)
++@@ -391,4 +400,41 @@ fill_default_server_options(ServerOptions *options)
+ options->permit_tun = SSH_TUNMODE_NO;
+- if (options->disable_multithreaded == -1)
+- options->disable_multithreaded = 0;
+ + if (options->none_enabled == -1)
+ + options->none_enabled = 0;
+ + if (options->hpn_disabled == -1)
+@@ -1095,9 +1124,9 @@
+ + fprintf(stderr, "NONE cipher switch disabled when a TTY is allocated\n");
+ + }
+ + }
++ debug("Authentication succeeded (%s).", authctxt.method->name);
++ }
+
+- #ifdef WITH_OPENSSL
+- if (options.disable_multithreaded == 0) {
+ diff --git a/sshd.c b/sshd.c
+ index a738c3a..b32dbe0 100644
+ --- a/sshd.c
+@@ -1181,14 +1210,3 @@
+ # Example of overriding settings on a per-user basis
+ #Match User anoncvs
+ # X11Forwarding no
+-diff --git a/version.h b/version.h
+-index f1bbf00..21a70c2 100644
+---- a/version.h
+-+++ b/version.h
+-@@ -3,4 +3,5 @@
+- #define SSH_VERSION "OpenSSH_7.8"
+-
+- #define SSH_PORTABLE "p1"
+--#define SSH_RELEASE SSH_VERSION SSH_PORTABLE
+-+#define SSH_RELEASE SSH_VERSION SSH_PORTABLE SSH_HPN
+-+
diff --git a/net-misc/openssh/files/openssh-8.0_p1-hpn-glue.patch b/net-misc/openssh/files/openssh-8.0_p1-hpn-glue.patch
new file mode 100644
index 000000000000..adbfa87af68b
--- /dev/null
+++ b/net-misc/openssh/files/openssh-8.0_p1-hpn-glue.patch
@@ -0,0 +1,194 @@
+diff -ur --exclude '.*.un*' a/openssh-7_8_P1-hpn-AES-CTR-14.16.diff b/openssh-7_8_P1-hpn-AES-CTR-14.16.diff
+--- a/openssh-7_8_P1-hpn-AES-CTR-14.16.diff 2019-04-18 15:07:06.748067368 -0700
++++ b/openssh-7_8_P1-hpn-AES-CTR-14.16.diff 2019-04-18 19:42:26.689298696 -0700
+@@ -998,7 +998,7 @@
+ + * so we repoint the define to the multithreaded evp. To start the threads we
+ + * then force a rekey
+ + */
+-+ const void *cc = ssh_packet_get_send_context(active_state);
+++ const void *cc = ssh_packet_get_send_context(ssh);
+ +
+ + /* only do this for the ctr cipher. otherwise gcm mode breaks. Don't know why though */
+ + if (strstr(cipher_ctx_name(cc), "ctr")) {
+@@ -1028,7 +1028,7 @@
+ + * so we repoint the define to the multithreaded evp. To start the threads we
+ + * then force a rekey
+ + */
+-+ const void *cc = ssh_packet_get_send_context(active_state);
+++ const void *cc = ssh_packet_get_send_context(ssh);
+ +
+ + /* only rekey if necessary. If we don't do this gcm mode cipher breaks */
+ + if (strstr(cipher_ctx_name(cc), "ctr")) {
+diff -ur --exclude '.*.un*' a/openssh-7_8_P1-hpn-DynWinNoneSwitch-14.16.diff b/openssh-7_8_P1-hpn-DynWinNoneSwitch-14.16.diff
+--- a/openssh-7_8_P1-hpn-DynWinNoneSwitch-14.16.diff 2019-04-18 15:07:11.289035776 -0700
++++ b/openssh-7_8_P1-hpn-DynWinNoneSwitch-14.16.diff 2019-04-18 17:07:59.413376785 -0700
+@@ -162,24 +162,24 @@
+ }
+
+ +static int
+-+channel_tcpwinsz(void)
+++channel_tcpwinsz(struct ssh *ssh)
+ +{
+ + u_int32_t tcpwinsz = 0;
+ + socklen_t optsz = sizeof(tcpwinsz);
+ + int ret = -1;
+ +
+ + /* if we aren't on a socket return 128KB */
+-+ if (!packet_connection_is_on_socket())
+++ if (!ssh_packet_connection_is_on_socket(ssh))
+ + return 128 * 1024;
+ +
+-+ ret = getsockopt(packet_get_connection_in(),
+++ ret = getsockopt(ssh_packet_get_connection_in(ssh),
+ + SOL_SOCKET, SO_RCVBUF, &tcpwinsz, &optsz);
+ + /* return no more than SSHBUF_SIZE_MAX (currently 256MB) */
+ + if ((ret == 0) && tcpwinsz > SSHBUF_SIZE_MAX)
+ + tcpwinsz = SSHBUF_SIZE_MAX;
+ +
+ + debug2("tcpwinsz: tcp connection %d, Receive window: %d",
+-+ packet_get_connection_in(), tcpwinsz);
+++ ssh_packet_get_connection_in(ssh), tcpwinsz);
+ + return tcpwinsz;
+ +}
+ +
+@@ -191,7 +191,7 @@
+ c->local_window < c->local_window_max/2) &&
+ c->local_consumed > 0) {
+ + u_int addition = 0;
+-+ u_int32_t tcpwinsz = channel_tcpwinsz();
+++ u_int32_t tcpwinsz = channel_tcpwinsz(ssh);
+ + /* adjust max window size if we are in a dynamic environment */
+ + if (c->dynamic_window && (tcpwinsz > c->local_window_max)) {
+ + /* grow the window somewhat aggressively to maintain pressure */
+@@ -409,18 +409,10 @@
+ index dcf35e6..da4ced0 100644
+ --- a/packet.c
+ +++ b/packet.c
+-@@ -920,6 +920,24 @@ ssh_set_newkeys(struct ssh *ssh, int mode)
++@@ -920,6 +920,16 @@ ssh_set_newkeys(struct ssh *ssh, int mode)
+ return 0;
+ }
+
+-+/* this supports the forced rekeying required for the NONE cipher */
+-+int rekey_requested = 0;
+-+void
+-+packet_request_rekeying(void)
+-+{
+-+ rekey_requested = 1;
+-+}
+-+
+ +/* used to determine if pre or post auth when rekeying for aes-ctr
+ + * and none cipher switch */
+ +int
+@@ -434,20 +426,6 @@
+ #define MAX_PACKETS (1U<<31)
+ static int
+ ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len)
+-@@ -946,6 +964,13 @@ ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len)
+- if (state->p_send.packets == 0 && state->p_read.packets == 0)
+- return 0;
+-
+-+ /* used to force rekeying when called for by the none
+-+ * cipher switch methods -cjr */
+-+ if (rekey_requested == 1) {
+-+ rekey_requested = 0;
+-+ return 1;
+-+ }
+-+
+- /* Time-based rekeying */
+- if (state->rekey_interval != 0 &&
+- (int64_t)state->rekey_time + state->rekey_interval <= monotime())
+ diff --git a/packet.h b/packet.h
+ index 170203c..f4d9df2 100644
+ --- a/packet.h
+@@ -476,9 +454,9 @@
+ /* Format of the configuration file:
+
+ @@ -166,6 +167,8 @@ typedef enum {
+- oHashKnownHosts,
+ oTunnel, oTunnelDevice,
+ oLocalCommand, oPermitLocalCommand, oRemoteCommand,
++ oDisableMTAES,
+ + oTcpRcvBufPoll, oTcpRcvBuf, oHPNDisabled, oHPNBufferSize,
+ + oNoneEnabled, oNoneSwitch,
+ oVisualHostKey,
+@@ -615,9 +593,9 @@
+ int ip_qos_bulk; /* IP ToS/DSCP/class for bulk traffic */
+ SyslogFacility log_facility; /* Facility for system logging. */
+ @@ -111,7 +115,10 @@ typedef struct {
+-
+ int enable_ssh_keysign;
+ int64_t rekey_limit;
++ int disable_multithreaded; /*disable multithreaded aes-ctr*/
+ + int none_switch; /* Use none cipher */
+ + int none_enabled; /* Allow none to be used */
+ int rekey_interval;
+@@ -673,9 +651,9 @@
+ /* Portable-specific options */
+ if (options->use_pam == -1)
+ @@ -391,6 +400,43 @@ fill_default_server_options(ServerOptions *options)
+- }
+- if (options->permit_tun == -1)
+ options->permit_tun = SSH_TUNMODE_NO;
++ if (options->disable_multithreaded == -1)
++ options->disable_multithreaded = 0;
+ + if (options->none_enabled == -1)
+ + options->none_enabled = 0;
+ + if (options->hpn_disabled == -1)
+@@ -1092,7 +1070,7 @@
+ xxx_host = host;
+ xxx_hostaddr = hostaddr;
+
+-@@ -412,6 +423,28 @@ ssh_userauth2(const char *local_user, const char *server_user, char *host,
++@@ -412,6 +423,27 @@ ssh_userauth2(const char *local_user, const char *server_user, char *host,
+
+ if (!authctxt.success)
+ fatal("Authentication failed.");
+@@ -1108,7 +1086,7 @@
+ + memcpy(&myproposal, &myproposal_default, sizeof(myproposal));
+ + myproposal[PROPOSAL_ENC_ALGS_STOC] = "none";
+ + myproposal[PROPOSAL_ENC_ALGS_CTOS] = "none";
+-+ kex_prop2buf(active_state->kex->my, myproposal);
+++ kex_prop2buf(ssh->kex->my, myproposal);
+ + packet_request_rekeying();
+ + fprintf(stderr, "WARNING: ENABLED NONE CIPHER\n");
+ + } else {
+@@ -1117,23 +1095,13 @@
+ + fprintf(stderr, "NONE cipher switch disabled when a TTY is allocated\n");
+ + }
+ + }
+-+
+- debug("Authentication succeeded (%s).", authctxt.method->name);
+- }
+
++ #ifdef WITH_OPENSSL
++ if (options.disable_multithreaded == 0) {
+ diff --git a/sshd.c b/sshd.c
+ index a738c3a..b32dbe0 100644
+ --- a/sshd.c
+ +++ b/sshd.c
+-@@ -373,7 +373,7 @@ sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out)
+- char remote_version[256]; /* Must be at least as big as buf. */
+-
+- xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s\r\n",
+-- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION,
+-+ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE,
+- *options.version_addendum == '\0' ? "" : " ",
+- options.version_addendum);
+-
+ @@ -1037,6 +1037,8 @@ listen_on_addrs(struct listenaddr *la)
+ int ret, listen_sock;
+ struct addrinfo *ai;
+@@ -1217,11 +1185,10 @@
+ index f1bbf00..21a70c2 100644
+ --- a/version.h
+ +++ b/version.h
+-@@ -3,4 +3,6 @@
++@@ -3,4 +3,5 @@
+ #define SSH_VERSION "OpenSSH_7.8"
+
+ #define SSH_PORTABLE "p1"
+ -#define SSH_RELEASE SSH_VERSION SSH_PORTABLE
+-+#define SSH_HPN "-hpn14v16"
+ +#define SSH_RELEASE SSH_VERSION SSH_PORTABLE SSH_HPN
+ +
diff --git a/net-misc/openssh/files/openssh-8.0_p1-hpn-version.patch b/net-misc/openssh/files/openssh-8.0_p1-hpn-version.patch
new file mode 100644
index 000000000000..37905ce6afca
--- /dev/null
+++ b/net-misc/openssh/files/openssh-8.0_p1-hpn-version.patch
@@ -0,0 +1,13 @@
+diff --git a/kex.c b/kex.c
+index 34808b5c..88d7ccac 100644
+--- a/kex.c
++++ b/kex.c
+@@ -1126,7 +1126,7 @@ kex_exchange_identification(struct ssh *ssh, int timeout_ms,
+ if (version_addendum != NULL && *version_addendum == '\0')
+ version_addendum = NULL;
+ if ((r = sshbuf_putf(our_version, "SSH-%d.%d-%.100s%s%s\r\n",
+- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION,
++ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE,
+ version_addendum == NULL ? "" : " ",
+ version_addendum == NULL ? "" : version_addendum)) != 0) {
+ error("%s: sshbuf_putf: %s", __func__, ssh_err(r));
diff --git a/net-misc/openssh/files/openssh-8.0_p1-tests.patch b/net-misc/openssh/files/openssh-8.0_p1-tests.patch
new file mode 100644
index 000000000000..6b2ae489d0e8
--- /dev/null
+++ b/net-misc/openssh/files/openssh-8.0_p1-tests.patch
@@ -0,0 +1,43 @@
+diff --git a/openbsd-compat/regress/utimensattest.c b/openbsd-compat/regress/utimensattest.c
+index a7bc7634..46f79db2 100644
+--- a/openbsd-compat/regress/utimensattest.c
++++ b/openbsd-compat/regress/utimensattest.c
+@@ -23,6 +23,7 @@
+ #include
+ #include
+ #include
++#include
+
+ #define TMPFILE "utimensat.tmp"
+ #define TMPFILE2 "utimensat.tmp2"
+@@ -88,8 +89,30 @@ main(void)
+ if (symlink(TMPFILE2, TMPFILE) == -1)
+ fail("symlink", 0, 0);
+
++#ifdef __linux__
++ /*
++ * The semantics of the original test are wrong on Linux
++ * From the man page for utimensat():
++ * AT_SYMLINK_NOFOLLOW
++ * If pathname specifies a symbolic link, then update the
++ * timestamps of the link, rather than the file to which it refers.
++ *
++ * So the call will succeed, and update the times on the symlink.
++ */
++ if (utimensat(AT_FDCWD, TMPFILE, ts, AT_SYMLINK_NOFOLLOW) != -1) {
++ if (fstatat(AT_FDCWD, TMPFILE, &sb, 0) == -1)
++ fail("could not follow and stat symlink", 0, 0);
++
++ if (sb.st_atim.tv_sec == ts[0].tv_sec
++ && sb.st_atim.tv_nsec == ts[0].tv_nsec
++ && sb.st_mtim.tv_nsec == ts[1].tv_sec
++ && sb.st_mtim.tv_nsec == ts[1].tv_nsec)
++ fail("utimensat followed symlink", 0, 0);
++ }
++#else /* __linux__ */
+ if (utimensat(AT_FDCWD, TMPFILE, ts, AT_SYMLINK_NOFOLLOW) != -1)
+ fail("utimensat followed symlink", 0, 0);
++#endif /* __linux__ */
+
+ if (!(unlink(TMPFILE) == 0 && unlink(TMPFILE2) == 0))
+ fail("unlink", 0, 0);
diff --git a/net-misc/openssh/openssh-8.0_p1.ebuild b/net-misc/openssh/openssh-8.0_p1.ebuild
new file mode 100644
index 000000000000..20540fe239f0
--- /dev/null
+++ b/net-misc/openssh/openssh-8.0_p1.ebuild
@@ -0,0 +1,461 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user flag-o-matic multilib autotools pam systemd
+
+# Make it more portable between straight releases
+# and _p? releases.
+PARCH=${P/_}
+#HPN_PV="${PV^^}"
+HPN_PV="7.8_P1"
+
+HPN_VER="14.16"
+HPN_PATCHES=(
+ ${PN}-${HPN_PV/./_}-hpn-DynWinNoneSwitch-${HPN_VER}.diff
+ ${PN}-${HPN_PV/./_}-hpn-AES-CTR-${HPN_VER}.diff
+)
+
+SCTP_VER="1.2" SCTP_PATCH="${PARCH}-sctp-${SCTP_VER}.patch.xz"
+X509_VER="12.0" X509_PATCH="${PARCH}+x509-${X509_VER}.diff.gz"
+
+PATCH_SET="openssh-7.9p1-patches-1.0"
+
+DESCRIPTION="Port of OpenBSD's free SSH release"
+HOMEPAGE="https://www.openssh.com/"
+SRC_URI="mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz
+ ${SCTP_PATCH:+sctp? ( https://dev.gentoo.org/~whissi/dist/openssh/${SCTP_PATCH} )}
+ ${HPN_VER:+hpn? ( $(printf "mirror://sourceforge/hpnssh/HPN-SSH%%20${HPN_VER/./v}%%20${HPN_PV/_P/p}/%s\n" "${HPN_PATCHES[@]}") )}
+ ${X509_PATCH:+X509? ( https://roumenpetrov.info/openssh/x509-${X509_VER}/${X509_PATCH} )}
+ "
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+# Probably want to drop ssl defaulting to on in a future version.
+IUSE="abi_mips_n32 audit bindist debug hpn kerberos kernel_linux ldns libedit libressl livecd pam +pie sctp selinux +ssl static test X X509"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="ldns? ( ssl )
+ pie? ( !static )
+ static? ( !kerberos !pam )
+ X509? ( !sctp ssl )
+ test? ( ssl )"
+
+LIB_DEPEND="
+ audit? ( sys-process/audit[static-libs(+)] )
+ ldns? (
+ net-libs/ldns[static-libs(+)]
+ !bindist? ( net-libs/ldns[ecdsa,ssl(+)] )
+ bindist? ( net-libs/ldns[-ecdsa,ssl(+)] )
+ )
+ libedit? ( dev-libs/libedit:=[static-libs(+)] )
+ sctp? ( net-misc/lksctp-tools[static-libs(+)] )
+ selinux? ( >=sys-libs/libselinux-1.28[static-libs(+)] )
+ ssl? (
+ !libressl? (
+ || (
+ (
+ >=dev-libs/openssl-1.0.1:0[bindist=]
+ =dev-libs/openssl-1.1.0g:0[bindist=]
+ )
+ dev-libs/openssl:0=[static-libs(+)]
+ )
+ libressl? ( dev-libs/libressl:0=[static-libs(+)] )
+ )
+ >=sys-libs/zlib-1.2.3:=[static-libs(+)]"
+RDEPEND="
+ !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ pam? ( virtual/pam )
+ kerberos? ( virtual/krb5 )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )
+ virtual/pkgconfig
+ virtual/os-headers
+ sys-devel/autoconf"
+RDEPEND="${RDEPEND}
+ pam? ( >=sys-auth/pambase-20081028 )
+ userland_GNU? ( virtual/shadow )
+ X? ( x11-apps/xauth )"
+
+S="${WORKDIR}/${PARCH}"
+
+pkg_pretend() {
+ # this sucks, but i'd rather have people unable to `emerge -u openssh`
+ # than not be able to log in to their server any more
+ maybe_fail() { [[ -z ${!2} ]] && echo "$1" ; }
+ local fail="
+ $(use hpn && maybe_fail hpn HPN_VER)
+ $(use sctp && maybe_fail sctp SCTP_PATCH)
+ $(use X509 && maybe_fail X509 X509_PATCH)
+ "
+ fail=$(echo ${fail})
+ if [[ -n ${fail} ]] ; then
+ eerror "Sorry, but this version does not yet support features"
+ eerror "that you requested: ${fail}"
+ eerror "Please mask ${PF} for now and check back later:"
+ eerror " # echo '=${CATEGORY}/${PF}' >> /etc/portage/package.mask"
+ die "booooo"
+ fi
+
+ # Make sure people who are using tcp wrappers are notified of its removal. #531156
+ if grep -qs '^ *sshd *:' "${EROOT%/}"/etc/hosts.{allow,deny} ; then
+ ewarn "Sorry, but openssh no longer supports tcp-wrappers, and it seems like"
+ ewarn "you're trying to use it. Update your ${EROOT}etc/hosts.{allow,deny} please."
+ fi
+}
+
+src_prepare() {
+ sed -i \
+ -e "/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:${EPREFIX%/}/usr/bin/xauth:" \
+ pathnames.h || die
+
+ # don't break .ssh/authorized_keys2 for fun
+ sed -i '/^AuthorizedKeysFile/s:^:#:' sshd_config || die
+
+ eapply "${FILESDIR}"/${PN}-7.9_p1-include-stdlib.patch
+ eapply "${FILESDIR}"/${PN}-8.0_p1-GSSAPI-dns.patch #165444 integrated into gsskex
+ eapply "${FILESDIR}"/${PN}-6.7_p1-openssl-ignore-status.patch
+ eapply "${FILESDIR}"/${PN}-7.5_p1-disable-conch-interop-tests.patch
+ eapply "${FILESDIR}"/${PN}-8.0_p1-tests.patch
+
+ [[ -d ${WORKDIR}/patches ]] && eapply "${WORKDIR}"/patches
+
+ local PATCHSET_VERSION_MACROS=()
+
+ if use X509 ; then
+ pushd "${WORKDIR}" || die
+ eapply "${FILESDIR}/${P}-X509-glue-${X509_VER}.patch"
+ eapply "${FILESDIR}/${P}-X509-dont-make-piddir-${X509_VER}.patch"
+ popd || die
+
+ eapply "${WORKDIR}"/${X509_PATCH%.*}
+ eapply "${FILESDIR}"/${P}-X509-${X509_VER}-tests.patch
+
+ # We need to patch package version or any X.509 sshd will reject our ssh client
+ # with "userauth_pubkey: could not parse key: string is too large [preauth]"
+ # error
+ einfo "Patching package version for X.509 patch set ..."
+ sed -i \
+ -e "s/^AC_INIT(\[OpenSSH\], \[Portable\]/AC_INIT([OpenSSH], [${X509_VER}]/" \
+ "${S}"/configure.ac || die "Failed to patch package version for X.509 patch"
+
+ einfo "Patching version.h to expose X.509 patch set ..."
+ sed -i \
+ -e "/^#define SSH_PORTABLE.*/a #define SSH_X509 \"-PKIXSSH-${X509_VER}\"" \
+ "${S}"/version.h || die "Failed to sed-in X.509 patch version"
+ PATCHSET_VERSION_MACROS+=( 'SSH_X509' )
+ fi
+
+ if use sctp ; then
+ eapply "${WORKDIR}"/${SCTP_PATCH%.*}
+
+ einfo "Patching version.h to expose SCTP patch set ..."
+ sed -i \
+ -e "/^#define SSH_PORTABLE/a #define SSH_SCTP \"-sctp-${SCTP_VER}\"" \
+ "${S}"/version.h || die "Failed to sed-in SCTP patch version"
+ PATCHSET_VERSION_MACROS+=( 'SSH_SCTP' )
+
+ einfo "Disabling know failing test (cfgparse) caused by SCTP patch ..."
+ sed -i \
+ -e "/\t\tcfgparse \\\/d" \
+ "${S}"/regress/Makefile || die "Failed to disable known failing test (cfgparse) caused by SCTP patch"
+ fi
+
+ if use hpn ; then
+ local hpn_patchdir="${T}/${P}-hpn${HPN_VER}"
+ mkdir "${hpn_patchdir}"
+ cp $(printf -- "${DISTDIR}/%s\n" "${HPN_PATCHES[@]}") "${hpn_patchdir}"
+ pushd "${hpn_patchdir}"
+ eapply "${FILESDIR}"/${PN}-8.0_p1-hpn-glue.patch
+ if use X509; then
+ einfo "Will disable MT AES cipher due to incompatbility caused by X509 patch set"
+ # X509 and AES-CTR-MT don't get along, let's just drop it
+ rm openssh-${HPN_PV//./_}-hpn-AES-CTR-${HPN_VER}.diff || die
+ eapply "${FILESDIR}"/${PN}-8.0_p1-hpn-X509-glue.patch
+ fi
+ use sctp && eapply "${FILESDIR}"/${PN}-7.9_p1-hpn-sctp-glue.patch
+ popd
+
+ eapply "${hpn_patchdir}"
+
+ if ! use X509; then
+ eapply "${FILESDIR}/openssh-7.9_p1-hpn-openssl-1.1.patch"
+ eapply "${FILESDIR}/openssh-8.0_p1-hpn-version.patch"
+ fi
+
+ einfo "Patching Makefile.in for HPN patch set ..."
+ sed -i \
+ -e "/^LIBS=/ s/\$/ -lpthread/" \
+ "${S}"/Makefile.in || die "Failed to patch Makefile.in"
+
+ einfo "Patching version.h to expose HPN patch set ..."
+ sed -i \
+ -e "/^#define SSH_PORTABLE/a #define SSH_HPN \"-hpn${HPN_VER//./v}\"" \
+ "${S}"/version.h || die "Failed to sed-in HPN patch version"
+ PATCHSET_VERSION_MACROS+=( 'SSH_HPN' )
+
+ if [[ -n "${HPN_DISABLE_MTAES}" ]] ; then
+ einfo "Disabling known non-working MT AES cipher per default ..."
+
+ cat > "${T}"/disable_mtaes.conf <<- EOF
+
+ # HPN's Multi-Threaded AES CTR cipher is currently known to be broken
+ # and therefore disabled per default.
+ DisableMTAES yes
+ EOF
+ sed -i \
+ -e "/^#HPNDisabled.*/r ${T}/disable_mtaes.conf" \
+ "${S}"/sshd_config || die "Failed to disabled MT AES ciphers in sshd_config"
+
+ sed -i \
+ -e "/AcceptEnv.*_XXX_TEST$/a \\\tDisableMTAES\t\tyes" \
+ "${S}"/regress/test-exec.sh || die "Failed to disable MT AES ciphers in test config"
+ fi
+ fi
+
+ if use X509 || use sctp || use hpn ; then
+ einfo "Patching sshconnect.c to use SSH_RELEASE in send_client_banner() ..."
+ sed -i \
+ -e "s/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE/" \
+ "${S}"/sshconnect.c || die "Failed to patch send_client_banner() to use SSH_RELEASE (sshconnect.c)"
+
+ einfo "Patching sshd.c to use SSH_RELEASE in sshd_exchange_identification() ..."
+ sed -i \
+ -e "s/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE/" \
+ "${S}"/sshd.c || die "Failed to patch sshd_exchange_identification() to use SSH_RELEASE (sshd.c)"
+
+ einfo "Patching version.h to add our patch sets to SSH_RELEASE ..."
+ sed -i \
+ -e "s/^#define SSH_RELEASE.*/#define SSH_RELEASE SSH_VERSION SSH_PORTABLE ${PATCHSET_VERSION_MACROS[*]}/" \
+ "${S}"/version.h || die "Failed to patch SSH_RELEASE (version.h)"
+ fi
+
+ sed -i \
+ -e "/#UseLogin no/d" \
+ "${S}"/sshd_config || die "Failed to remove removed UseLogin option (sshd_config)"
+
+ eapply_user #473004
+
+ tc-export PKG_CONFIG
+ local sed_args=(
+ -e "s:-lcrypto:$(${PKG_CONFIG} --libs openssl):"
+ # Disable PATH reset, trust what portage gives us #254615
+ -e 's:^PATH=/:#PATH=/:'
+ # Disable fortify flags ... our gcc does this for us
+ -e 's:-D_FORTIFY_SOURCE=2::'
+ )
+
+ # The -ftrapv flag ICEs on hppa #505182
+ use hppa && sed_args+=(
+ -e '/CFLAGS/s:-ftrapv:-fdisable-this-test:'
+ -e '/OSSH_CHECK_CFLAG_LINK.*-ftrapv/d'
+ )
+ # _XOPEN_SOURCE causes header conflicts on Solaris
+ [[ ${CHOST} == *-solaris* ]] && sed_args+=(
+ -e 's/-D_XOPEN_SOURCE//'
+ )
+ sed -i "${sed_args[@]}" configure{.ac,} || die
+
+ eautoreconf
+}
+
+src_configure() {
+ addwrite /dev/ptmx
+
+ use debug && append-cppflags -DSANDBOX_SECCOMP_FILTER_DEBUG
+ use static && append-ldflags -static
+
+ local myconf=(
+ --with-ldflags="${LDFLAGS}"
+ --disable-strip
+ --with-pid-dir="${EPREFIX}"$(usex kernel_linux '' '/var')/run
+ --sysconfdir="${EPREFIX%/}"/etc/ssh
+ --libexecdir="${EPREFIX%/}"/usr/$(get_libdir)/misc
+ --datadir="${EPREFIX%/}"/usr/share/openssh
+ --with-privsep-path="${EPREFIX%/}"/var/empty
+ --with-privsep-user=sshd
+ $(use_with audit audit linux)
+ $(use_with kerberos kerberos5 "${EPREFIX%/}"/usr)
+ # We apply the sctp patch conditionally, so can't pass --without-sctp
+ # unconditionally else we get unknown flag warnings.
+ $(use sctp && use_with sctp)
+ $(use_with ldns ldns "${EPREFIX%/}"/usr)
+ $(use_with libedit)
+ $(use_with pam)
+ $(use_with pie)
+ $(use_with selinux)
+ $(use_with ssl openssl)
+ $(use_with ssl md5-passwords)
+ $(use_with ssl ssl-engine)
+ $(use_with !elibc_Cygwin hardening) #659210
+ )
+
+ # stackprotect is broken on musl x86
+ use elibc_musl && use x86 && myconf+=( --without-stackprotect )
+
+ # The seccomp sandbox is broken on x32, so use the older method for now. #553748
+ use amd64 && [[ ${ABI} == "x32" ]] && myconf+=( --with-sandbox=rlimit )
+
+ econf "${myconf[@]}"
+}
+
+src_test() {
+ local t skipped=() failed=() passed=()
+ local tests=( interop-tests compat-tests )
+
+ local shell=$(egetshell "${UID}")
+ if [[ ${shell} == */nologin ]] || [[ ${shell} == */false ]] ; then
+ elog "Running the full OpenSSH testsuite requires a usable shell for the 'portage'"
+ elog "user, so we will run a subset only."
+ skipped+=( tests )
+ else
+ tests+=( tests )
+ fi
+
+ # It will also attempt to write to the homedir .ssh.
+ local sshhome=${T}/homedir
+ mkdir -p "${sshhome}"/.ssh
+ for t in "${tests[@]}" ; do
+ # Some tests read from stdin ...
+ HOMEDIR="${sshhome}" HOME="${sshhome}" SUDO="" \
+ emake -k -j1 ${t} > "${ED%/}"/etc/ssh/sshd_config
+
+ # Allow client to pass locale environment variables. #367017
+ AcceptEnv ${locale_vars[*]}
+
+ # Allow client to pass COLORTERM to match TERM. #658540
+ AcceptEnv COLORTERM
+ EOF
+
+ # Then the client config.
+ cat <<-EOF >> "${ED%/}"/etc/ssh/ssh_config
+
+ # Send locale environment variables. #367017
+ SendEnv ${locale_vars[*]}
+
+ # Send COLORTERM to match TERM. #658540
+ SendEnv COLORTERM
+ EOF
+
+ if use pam ; then
+ sed -i \
+ -e "/^#UsePAM /s:.*:UsePAM yes:" \
+ -e "/^#PasswordAuthentication /s:.*:PasswordAuthentication no:" \
+ -e "/^#PrintMotd /s:.*:PrintMotd no:" \
+ -e "/^#PrintLastLog /s:.*:PrintLastLog no:" \
+ "${ED%/}"/etc/ssh/sshd_config || die
+ fi
+
+ if use livecd ; then
+ sed -i \
+ -e '/^#PermitRootLogin/c# Allow root login with password on livecds.\nPermitRootLogin Yes' \
+ "${ED%/}"/etc/ssh/sshd_config || die
+ fi
+}
+
+src_install() {
+ emake install-nokeys DESTDIR="${D}"
+ fperms 600 /etc/ssh/sshd_config
+ dobin contrib/ssh-copy-id
+ newinitd "${FILESDIR}"/sshd-r1.initd sshd
+ newconfd "${FILESDIR}"/sshd-r1.confd sshd
+
+ newpamd "${FILESDIR}"/sshd.pam_include.2 sshd
+
+ tweak_ssh_configs
+
+ doman contrib/ssh-copy-id.1
+ dodoc CREDITS OVERVIEW README* TODO sshd_config
+ use hpn && dodoc HPN-README
+ use X509 || dodoc ChangeLog
+
+ diropts -m 0700
+ dodir /etc/skel/.ssh
+
+ keepdir /var/empty
+
+ systemd_dounit "${FILESDIR}"/sshd.{service,socket}
+ systemd_newunit "${FILESDIR}"/sshd_at.service 'sshd@.service'
+}
+
+pkg_preinst() {
+ enewgroup sshd 22
+ enewuser sshd 22 -1 /var/empty sshd
+}
+
+pkg_postinst() {
+ if has_version "<${CATEGORY}/${PN}-5.8_p1" ; then
+ elog "Starting with openssh-5.8p1, the server will default to a newer key"
+ elog "algorithm (ECDSA). You are encouraged to manually update your stored"
+ elog "keys list as servers update theirs. See ssh-keyscan(1) for more info."
+ fi
+ if has_version "<${CATEGORY}/${PN}-7.0_p1" ; then
+ elog "Starting with openssh-6.7, support for USE=tcpd has been dropped by upstream."
+ elog "Make sure to update any configs that you might have. Note that xinetd might"
+ elog "be an alternative for you as it supports USE=tcpd."
+ fi
+ if has_version "<${CATEGORY}/${PN}-7.1_p1" ; then #557388 #555518
+ elog "Starting with openssh-7.0, support for ssh-dss keys were disabled due to their"
+ elog "weak sizes. If you rely on these key types, you can re-enable the key types by"
+ elog "adding to your sshd_config or ~/.ssh/config files:"
+ elog " PubkeyAcceptedKeyTypes=+ssh-dss"
+ elog "You should however generate new keys using rsa or ed25519."
+
+ elog "Starting with openssh-7.0, the default for PermitRootLogin changed from 'yes'"
+ elog "to 'prohibit-password'. That means password auth for root users no longer works"
+ elog "out of the box. If you need this, please update your sshd_config explicitly."
+ fi
+ if has_version "<${CATEGORY}/${PN}-7.6_p1" ; then
+ elog "Starting with openssh-7.6p1, openssh upstream has removed ssh1 support entirely."
+ elog "Furthermore, rsa keys with less than 1024 bits will be refused."
+ fi
+ if has_version "<${CATEGORY}/${PN}-7.7_p1" ; then
+ elog "Starting with openssh-7.7p1, we no longer patch openssh to provide LDAP functionality."
+ elog "Install sys-auth/ssh-ldap-pubkey and use OpenSSH's \"AuthorizedKeysCommand\" option"
+ elog "if you need to authenticate against LDAP."
+ elog "See https://wiki.gentoo.org/wiki/SSH/LDAP_migration for more details."
+ fi
+ if ! use ssl && has_version "${CATEGORY}/${PN}[ssl]" ; then
+ elog "Be aware that by disabling openssl support in openssh, the server and clients"
+ elog "no longer support dss/rsa/ecdsa keys. You will need to generate ed25519 keys"
+ elog "and update all clients/servers that utilize them."
+ fi
+
+ if use hpn && [[ -n "${HPN_DISABLE_MTAES}" ]] ; then
+ elog ""
+ elog "HPN's multi-threaded AES CTR cipher is currently known to be broken"
+ elog "and therefore disabled at runtime per default."
+ elog "Make sure your sshd_config is up to date and contains"
+ elog ""
+ elog " DisableMTAES yes"
+ elog ""
+ elog "Otherwise you maybe unable to connect to this sshd using any AES CTR cipher."
+ elog ""
+ fi
+}
diff --git a/net-misc/socat/files/socat-9999-stddef_h.patch b/net-misc/socat/files/socat-9999-stddef_h.patch
new file mode 100644
index 000000000000..802b578d4a29
--- /dev/null
+++ b/net-misc/socat/files/socat-9999-stddef_h.patch
@@ -0,0 +1,38 @@
+When disabling OpenSSL support, nestlex.c still needs stddef.h which is
+magically included through the OpenSSL headers otherwise.
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -61,7 +61,7 @@
+ AC_CHECK_HEADERS(inttypes.h)
+ AC_HEADER_SYS_WAIT
+ AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/param.h sys/ioctl.h sys/time.h syslog.h unistd.h)
+-AC_CHECK_HEADERS(pwd.h grp.h stdint.h sys/types.h poll.h sys/poll.h sys/socket.h sys/uio.h sys/stat.h netdb.h sys/un.h)
++AC_CHECK_HEADERS(pwd.h grp.h stddef.h stdint.h sys/types.h poll.h sys/poll.h sys/socket.h sys/uio.h sys/stat.h netdb.h sys/un.h)
+ AC_CHECK_HEADERS(pty.h)
+ AC_CHECK_HEADERS(netinet/in.h netinet/in_systm.h)
+ AC_CHECK_HEADERS(netinet/ip.h, [], [], [AC_INCLUDES_DEFAULT
+--- a/config.h.in
++++ b/config.h.in
+@@ -189,6 +189,9 @@
+ /* Define if you have the header file. */
+ #undef HAVE_GRP_H
+
++/* Define if you have the header file. */
++#undef HAVE_STDDEF_H
++
+ /* Define if you have the header file. */
+ #undef HAVE_STDINT_H
+
+--- a/sysincludes.h
++++ b/sysincludes.h
+@@ -51,6 +51,9 @@
+ #if HAVE_SYS_TIME_H
+ #include /* select(); OpenBSD: struct timespec */
+ #endif
++#if HAVE_STDDEF_H
++#include
++#endif
+ #if HAVE_STDINT_H
+ #include /* uint8_t */
+ #endif
diff --git a/net-misc/socat/socat-9999.ebuild b/net-misc/socat/socat-9999.ebuild
index dab9093e8760..dfc7752ca396 100644
--- a/net-misc/socat/socat-9999.ebuild
+++ b/net-misc/socat/socat-9999.ebuild
@@ -34,8 +34,7 @@ DOCS=(
)
PATCHES=(
- "${FILESDIR}"/${PN}-1.7.3.0-filan-build.patch
- "${FILESDIR}"/${PN}-1.7.3.1-stddef_h.patch
+ "${FILESDIR}"/${PN}-9999-stddef_h.patch
)
pkg_setup() {
diff --git a/net-misc/sslwrap/Manifest b/net-misc/sslwrap/Manifest
deleted file mode 100644
index 8566a8764407..000000000000
--- a/net-misc/sslwrap/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sslwrap-2.0.6.tar.gz 21170 BLAKE2B ccebd7e10ba54eee80fca77da07864694ba4c087393420b310b51dae772df8165032d86562a3f68b1be471ae7e34e186ee35e67423a09e6b57e83c8787608cc8 SHA512 627c25bdf45245f9b3e8d03272fc46a0ef8d1c356e2b7990898b07267c2bbb28efd13d5ca97d330ce7369eedd2d20b5fa781f2e1a00ac732407e06d0b3a8890d
diff --git a/net-misc/sslwrap/files/sslwrap-2.0.6-build.patch b/net-misc/sslwrap/files/sslwrap-2.0.6-build.patch
deleted file mode 100644
index a797c00b152c..000000000000
--- a/net-misc/sslwrap/files/sslwrap-2.0.6-build.patch
+++ /dev/null
@@ -1,147 +0,0 @@
-http://bugs.gentoo.org/34151
-http://bugs.gentoo.org/146828
-http://bugs.gentoo.org/335001
-
---- apps.h
-+++ apps.h
-@@ -65,9 +65,9 @@
- #include "../e_os.h"
- #endif
-
--#include OPENSSL"buffer.h"
--#include OPENSSL"bio.h"
--#include OPENSSL"crypto.h"
-+#include "openssl/buffer.h"
-+#include "openssl/bio.h"
-+#include "openssl/crypto.h"
- /*#include "progs.h"*/
-
- #ifdef WIN16
---- Makefile
-+++ Makefile
-@@ -1,28 +1,9 @@
--
- SRC = s_server.c s_socket.c s_cb.c
--
--# For Solaris2.6
--#EXTLIBS = -lxnet
--
--# Debug/Optimizations
--#OPT = -g
--OPT = -O2
--
--# Define
-+LIBS = `pkg-config --libs openssl`
- OPENSSL="\"openssl/\""
--#OPENSSL=""
-
--all :
-- gcc -o sslwrap ${SRC} ${OPT} -DFLAT_INC -DOPENSSL=${OPENSSL} \
-- -L/usr/local/ssl/lib -lssl -lcrypto \
-- -I/usr/local/ssl/include \
-- ${EXTLIBS}
-+all:
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o sslwrap ${SRC} -DFLAT_INC -DOPENSSL=${OPENSSL} ${LIBS}
-
- clean:
- rm -f sslwrap *.o *~
--
--
--
--
--
--
---- s_cb.c
-+++ s_cb.c
-@@ -63,9 +63,9 @@
- #include "apps.h"
- #undef NON_MAIN
- #undef USE_SOCKETS
--#include OPENSSL"err.h"
--#include OPENSSL"x509.h"
--#include OPENSSL"ssl.h"
-+#include "openssl/err.h"
-+#include "openssl/x509.h"
-+#include "openssl/ssl.h"
- #include "s_apps.h"
-
- int verify_depth=0;
---- s_server.c
-+++ s_server.c
-@@ -121,14 +117,14 @@
- #ifdef WIN16
- #define APPS_WIN16
- #endif
--#include OPENSSL"lhash.h"
--#include OPENSSL"bn.h"
-+#include "openssl/lhash.h"
-+#include "openssl/bn.h"
- #define USE_SOCKETS
- #include "apps.h"
--#include OPENSSL"err.h"
--#include OPENSSL"pem.h"
--#include OPENSSL"x509.h"
--#include OPENSSL"ssl.h"
-+#include "err.h"
-+#include "openssl/pem.h"
-+#include "openssl/x509.h"
-+#include "openssl/ssl.h"
- #include "s_apps.h"
-
- #ifndef NOPROTO
-@@ -468,7 +464,7 @@
-
- if (bugs) SSL_CTX_set_options(ctx,SSL_OP_ALL);
- if (hack) SSL_CTX_set_options(ctx,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG);
-- if (hack) SSL_CTX_set_options(ctx,SSL_OP_NON_EXPORT_FIRST);
-+ if (hack) SSL_CTX_set_options(ctx,SSL_OP_CIPHER_SERVER_PREFERENCE);
-
- if (state) SSL_CTX_set_info_callback(ctx,apps_ssl_info_callback);
-
-@@ -622,7 +618,7 @@
- #endif /*NO_EXEC*/
- }
-
-- if ((buf=malloc(BUFSIZZ)) == NULL)
-+ if ((buf=CRYPTO_malloc(BUFSIZZ,__FILE__,__LINE__)) == NULL)
- {
- BIO_printf(bio_err,"out of memory\n");
- goto err;
-@@ -729,7 +725,7 @@
- if (buf != NULL)
- {
- memset(buf,0,BUFSIZZ);
-- free(buf);
-+ CRYPTO_free(buf);
- }
-
- return(ret);
---- s_socket.c
-+++ s_socket.c
-@@ -67,7 +67,7 @@
- #undef USE_SOCKETS
- #undef NON_MAIN
- #include "s_apps.h"
--#include OPENSSL"ssl.h"
-+#include "openssl/ssl.h"
-
- #ifndef NOPROTO
- static struct hostent *GetHostByName(char *name);
-@@ -305,7 +305,7 @@
- return(0);
- }
- i=(*cb)(name,sock, sock);
-- if (name != NULL) free(name);
-+ if (name != NULL) CRYPTO_free(name);
- SHUTDOWN(sock);
- if (i < 0)
- {
-@@ -410,7 +410,7 @@
- }
- else
- {
-- if ((*host=(char *)malloc(strlen(h1->h_name)+1)) == NULL)
-+ if ((*host=(char *)CRYPTO_malloc(strlen(h1->h_name)+1,__FILE__,__LINE__)) == NULL)
- {
- perror("Malloc");
- return(0);
diff --git a/net-misc/sslwrap/metadata.xml b/net-misc/sslwrap/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/net-misc/sslwrap/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/net-misc/sslwrap/sslwrap-2.0.6-r2.ebuild b/net-misc/sslwrap/sslwrap-2.0.6-r2.ebuild
deleted file mode 100644
index 609997604369..000000000000
--- a/net-misc/sslwrap/sslwrap-2.0.6-r2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils toolchain-funcs
-
-DESCRIPTION="TSL/SSL - Port Wrapper"
-HOMEPAGE="http://www.rickk.com/sslwrap/index.htm"
-SRC_URI="http://www.rickk.com/${PN}/${PN}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="SSLeay"
-SLOT="0"
-KEYWORDS="~amd64 x86"
-IUSE=""
-
-RDEPEND="dev-libs/openssl:0"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${PN}${PV//.}
-
-pkg_setup() {
- tc-export CC
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-build.patch
-}
-
-src_install() {
- dosbin ${PN}
- dodoc README
- dohtml -r .
-}
diff --git a/net-misc/stone/Manifest b/net-misc/stone/Manifest
deleted file mode 100644
index 52c68a4564ec..000000000000
--- a/net-misc/stone/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST stone-2.3e.tar.gz 92587 BLAKE2B 3e87bb38ac111803bc8a3157be27b6645d8876033ae4c8b62a0167c2fc57f051b1deb2589387a8da1c5d68b0377fc2c120237d9d552ab8d693c41e842539bb0d SHA512 a0cccc123222c4fb4c1b2f031fc4d039f39e77691adc9f1df367d99bef8524738265350d1056c926c5f216236d2db25f31d14e9bec297b1bb4ea17e217c4983b
diff --git a/net-misc/stone/files/stone-2.3e-makefile.patch b/net-misc/stone/files/stone-2.3e-makefile.patch
deleted file mode 100644
index 5df2b6868a24..000000000000
--- a/net-misc/stone/files/stone-2.3e-makefile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.orig 2013-02-20 17:45:36.000000000 +0400
-+++ Makefile 2013-02-20 17:47:19.323650328 +0400
-@@ -19,8 +19,6 @@
- # -DWINDOWS Windows95/98/NT
- # -DNT_SERVICE WindowsNT/2000 native service
-
--CFLAGS= # -g
--
- SSL= /usr/local/ssl
- SSL_FLAGS= -DUSE_SSL
- SSL_LIBS= -lssl -lcrypto
-@@ -60,7 +58,7 @@
- @echo "*** md5c.c is contained in RFC1321"
-
- stone: stone.c
-- $(CC) $(CFLAGS) $(FLAGS) -o $@ $? $(LIBS)
-+ $(CC) $(CFLAGS) $(FLAGS) ${LDFLAGS} -o $@ $? $(LIBS)
-
- pop_stone: $(POP_LIBS)
- $(MAKE) FLAGS="$(POP_FLAGS)" LIBS="$(POP_LIBS)" $(TARGET)
diff --git a/net-misc/stone/files/stone.man b/net-misc/stone/files/stone.man
deleted file mode 100644
index fa10c6eef18f..000000000000
--- a/net-misc/stone/files/stone.man
+++ /dev/null
@@ -1,464 +0,0 @@
-.\" Roff format skeleton provided by Taketo Kabe
-.TH stone 1 "version 2.3"
-.
-.SH NAME
-stone \- Simple Repeater
-.
-.SH SYNOPSIS
-.B "stone [-C \fIfile\fP] [-P \fIcommand\fP] [-Q \fIoptions\fP] [-N] [-d] [-p] [-n]"
-.br
-.B " [-u \fImax\fP] [-f \fIn\fP] [-l] [-L \fIfile\fP] [-a \fIfile\fP] [-i \fIfile\fP]"
-.br
-.B " [-X \fIn\fP] [-T \fIn\fP] [-r]"
-.br
-.B " [-x \fIport\fP[,\fIport\fP][-\fIport\fP]... \fIxhost\fP... --]"
-.br
-.B " [-s \fIsend\fP \fIexpect\fP... --]"
-.br
-.B " [-b [\fIvar\fP=\fIval\fP]... \fIn\fP \fImaster\fP:\fIport\fP \fIbackup\fP:\fIport\fP]"
-.br
-.B " [-B \fIhost\fP:\fIport\fP \fIhost1\fP:\fIport1\fP... --]"
-.br
-.B " [-I \fIhost\fP]"
-.br
-.B " [-o \fIn\fP] [-g \fIn\fP] [-t \fIdir\fP] [-D] [-c \fIdir\fP]"
-.br
-.B " [-q \fISSL\fP] [-z \fISSL\fP]"
-.br
-.B " [-M install \fIname\fP] [-M remove \fIname\fP]"
-.br
-.B " \fIst\fP [-- \fIst\fP]..."
-.
-.SH DESCRIPTION
-\fBStone\fP is a TCP & UDP repeater in the application layer. It repeats TCP
-and UDP from inside to outside of a firewall, or from outside to inside.
-.P
-\fBStone\fP has following features:
-.
-.TP
-.B 1. Stone supports Win32.
-Formerly, UNIX machines are used as firewalls, but recently
-WindowsNT machines are used, too. You can easily run \fBstone\fP on
-WindowsNT and Windows95. Of course, available on Linux,
-FreeBSD, BSD/OS, SunOS, Solaris, HP-UX and so on.
-.
-.TP
-.B 2. Simple.
-\fBStone\fP's source code is only 8000 lines long (written in C
-language), so you can minimize the risk of security
-holes.
-.
-.TP
-.B 3. Stone supports SSL.
-Using OpenSSL (\fIhttp://www.openssl.org/\fP), \fBstone\fP can
-encrypt/decrypt. Client verifications, and server verifications
-are also supported. \fBStone\fP can send a substring of the subject
-of the certificate to the destination.
-.
-.TP
-.B 4. Stone is a http proxy.
-\fBStone\fP can also be a tiny http proxy.
-.
-.TP
-.B 5. POP -> APOP conversion.
-With \fBstone\fP and a mailer that does not support APOP, you can
-access to an APOP server.
-.
-.TP
-.B 6. Stone supports IPv6.
-\fBStone\fP can convert IP and IPv6 each other. With \fBstone\fP, you can
-use IP-only software on IPv6 network.
-.
-.SH OPTIONS
-If the \fB-C\fP \fIfile\fP flag is used, the program read these
-options and \fIst\fPs from the configuration file \fIfile\fP.
-If the \fB-P\fP \fIcommand\fP flag is used, the program executes
-specified pre-processor to read the configuration file. \fB-Q\fP \fIoptions\fP
-can be used to pass options to the pre-processor. If the \fB-N\fP
-flag is used, \fBstone\fP will terminate after parsing options
-and configuration file without opening the ports.
-.P
-If the \fB-d\fP flag is used, then increase the debug level. If
-the \fB-p\fP flag is used, data repeated by \fBstone\fP are dumped. If
-the \fB-n\fP is used, IP addresses and service port numbers are
-shown instead of host names and service names.
-.P
-If the \fB-u\fP \fImax\fP flag (\fImax\fP is integer) is used, the
-program memorize \fImax\fP UDP sources simultaneously. The default value
-is 100. If the
-\fB-f\fP \fIn\fP flag (\fIn\fP is integer) is used, the program spawn
-\fIn\fP child processes. The default behavior is not to spawn any child processes.
-.P
-If the \fB-l\fP flag is used, the program sends error messages to
-the syslog instead of stderr. If the \fB-L\fP \fIfile\fP (\fIfile\fP
-is a file name) flag is used, the program writes error messages
-to the file. If the \fB-a\fP \fIfile\fP flag is used, the program
-writes accounting to the file. If the \fB-i\fP \fIfile\fP flag is
-used, the program writes its process ID to the file.
-.P
-The \fB-X\fP \fIn\fP flag alters the buffer size of the repeater.
-The default value is 1000 bytes. If
-the \fB-T\fP \fIn\fP is used, the timeout of TCP sessions can be
-specified to \fIn\fP sec. Default: 600 (10 min). The \fB-r\fP flag is
-used, SO_REUSEADDR is set on the socket of \fIst\fP .
-.P
-Using the \fB-x\fP \fIport\fP[,\fIport\fP][-\fIport\fP]... \fIxhost\fP... \fB--\FP flag,
-the http proxy (described later) can only connect to
-\fIxhost\fP:\fIport\fP. If more than one \fB-x\fP ... \fB--\fI flags are
-designated, the posterior one whose \fIport\fP list matches the
-connecting port. If the \fB-x\fP \fB--\fP is used, prior \fB-x\fP flags
-are ignored.
-.P
-The \fB-b\fP \fIn\fP \fImaster\fP:\fIport\fP \fIbackup\fP:\fIport\fP flag designates
-the backup destination for \fImaster\fP:\fIport\fP. The program checks
-every \fIn\fP seconds whether \fImaster\fP:\fIport\fP is connectable, using
-the health check script defined by \fB-s\fP flag described below.
-If not, the backup is used instead. Alternative \fIhost\fP can be
-checked, using host=\fIhost\fP and alternative \fIport\fP, using
-port=\fIport\fP.
-.P
-The \fB-s\fP \fIsend\fP \fIexpect\fP... \fB--\fP flag defines the health check
-script. Sending \fIsend\fP, then checks whether the response match
-the regular expression \fIexpect\fP.
-.P
-The \fB-B\fP \fIhost\fP:\fIport\fP \fIhost1\fP:\fIport1\fP... \fB--\fP is for the
-destination group. If the destination of \fIst\fP is \fIhost\fP:\fIport\fP,
-the program chooses a destination randomly from the group. The
-destination \fIhost\fP:\fIport\fP that is designated by \fB-b\fP flag and
-turned out unhealthy, is excluded from the group.
-.P
-The \fB-I\fP \fIhost\fP designates the interface used as the source
-address of the connection to the desctination.
-.P
-If the \fB-o\fP \fIn\fP or \fB-g\fP \fIn\fP flag is used, the program set
-its uid or gid to \fIn\fP respectively. If the \fB-t\fP \fIdir\fP
-flag (\fIdir\fP is a directory) is used, the program change its
-root to the directory. If the \fB-D\fP flas is used, \fBstone\fP runs
-as a daemon. The \fB-c\fP \fIdir\fP flag designates the
-directory for core dump.
-.P
-The \fB-M\fP install \fIname\fP and the \fB-M\fP remove \fIname\fP flags are
-for NT service. \fIname\fP is the service name. Start the
-service using the command: net start \fIname\fP. To install \fBstone\fP
-service as the name \fIrepeater\fP, for example:
-.P
-.RS
-C:\\>\fBstone -M install \fIrepeater\fB -C \fIC:\\stone.cfg\fR
-.br
-C:\\>\fBnet start \fIrepeater\fR
-.RE
-.P
-The \fB-q\fP \FISSL\FP and the \fB-z\fP \FISSL\FP flags are for SSL
-encryption. The \fB-q\fP \FISSL\FP is for the client mode, that is,
-when \fBstone\fP connects to the other SSL server as a SSL client.
-The \fB-z\fP \FISSL\FP if for the server mode, that is, when other SSL
-clients connect to the \fBstone\fP.
-.P
-\FISSL\FP is one of the following.
-.P
-.PD 0
-.IP default 15
-reset SSL options to the default.
-Using multiple \fIst\fP, different SSL options can
-be designated for each \fIst\fP.
-.IP verbose
-verbose mode.
-.IP verify
-require SSL certificate to the peer.
-.IP verify,once
-request a client certificate on the initial TLS/SSL
-handshake. (\fB-z\fP only)
-.IP verify,ifany
-The certificate returned (if any) is checked. (\fB-z\fP only)
-.IP verify,none
-never request SSL certificate to the peer.
-.IP crl_check
-lookup CRLs.
-.IP crl_check_all
-lookup CRLs for whole chain.
-.IP uniq
-if the serial number of peer's SSL certificate
-is different from the previous session, deny it.
-.IP re\fIn\fP=\fIregex\fP
-The certificate of the peer must satisfy the
-\fIregex\fP. \fIn\fP is the depth. re0 means the subject
-of the certificate, and re1 means the issure.
-The maximum of \fIn\fP is 9.
-.IP depth=\fIn\fP
-The maximum of the certificate chain.
-If the peer's certificate exceeds \fIn\fP, the
-verification fails. The maximum of \fIn\fP is 9.
-.IP tls1
-Just use TLSv1 protocol.
-.IP ssl3
-Just use SSLv3 protocol.
-.IP ssl2
-Just use SSLv2 protocol.
-.IP no_tls1
-Turn off TLSv1 protocol.
-.IP no_ssl3
-Turn off SSLv3 protocol.
-.IP no_ssl2
-Turn off SSLv2 protocol.
-.IP bugs
-Switch on all SSL implementation bug workarounds.
-.IP serverpref
-Use server's cipher preferences (only SSLv2).
-.IP sid_ctx=\fIstr\fP
-Set session ID context.
-.IP passfile=\fIfile\fP
-The filename of the file containing password of the key
-.IP key=\fIfile\fP
-The filename of the secret key of the certificate.
-.IP cert=\fIfile\fP
-The filename of the certificate.
-.IP CAfile=\fIfile\fP
-The filename of the certificate of the CA.
-.IP CApath=\fIdir\fP
-The directory of the certificate files.
-.IP pfx=\fIfile\fP
-The filename of the PKCS#12 bag.
-.IP cipher=\fIlist\fP
-The list of ciphers.
-.IP lb\fIn\fP=\fIm\fP
-change the destination according to the
-certificate of the peer. The number calculated
-from the matched string to the \fIn\fPth ( ... ) in
-the ``regex'' of SSL options (mod \fIm\fP) is used
-to select the destination from the destination
-group defined by \fB-B\fP flag.
-.PD
-.P
-\fIst\fP is one of the following. Multiple \fIst\fP can be
-designated, separated by \fB--\fP.
-.P
-.PD 0
-.IP (1)
-\fIhost\fP:\fIport\fP \fIsport\fP [\fIxhost\fP...]
-.IP (2)
-\fIhost\fP:\fIport\fP \fIshost\fP:\fIsport\fP [\fIxhost\fP...]
-.IP (3)
-proxy \fIsport\fP [\fIxhost\fP...]
-.IP (4)
-\fIhost\fP:\fIport\fP/http \fIrequest\fP [\fIxhost\fP...]
-.IP (5)
-\fIhost\fP:\fIport\fP/proxy \fIheader\fP [\fIxhost\fP...]
-.IP (6)
-health \fIsport\fP [\fIxhost\fP...]
-.PD
-.P
-The program repeats the connection on port \fIsport\fP to the
-other machine \fIhost\fP port \fIport\fP. If the machine, on
-which the program runs, has two or more interfaces, type (2) can
-be used to repeat the connection on the specified interface
-\fIshost\fP. You can also specify path name that begins with
-``/'' or ``./'', instead of \fIhost\fP:\fIport\fP so that the
-program handles a unix domain socket.
-.P
-Type (3) is a http proxy. Specify the machine, on which the
-program runs, and port \fIsport\fP in the http proxy settings of
-your WWW browser.
-Extentions can be added to the ``proxy'' like \fIxhost\fP/\fIext\fP.
-\fIext\fP is:
-.P
-.IP v4only
-limit the destination within IP addresses.
-.IP v6only
-limit the destination within IPv6 addresses.
-.P
-Type (4) relays stream over http request. \fIrequest\fP is the
-request specified in HTTP 1.0. In the \fIrequest\fP, \ is
-the escape character, and the following substitution occurs.
-.PP
-.RS 8
-.PD 0
-.IP \\\\n 8
-newline (0x0A)
-.IP \\\\r
-return (0x0D)
-.IP \\\\t
-tab (0x09)
-.IP \\\\\\\\
-\ itself (0x5C)
-.IP \\\\a
-the IP address of the client connecting to the \fBstone\fP.
-.IP \\\\A
-\fIIP address of the client\fP:\fIport number\fP
-.IP \\\\0
-the serial number of peer's SSL certificate.
-.IP "\\\\1 - \\\\9"
-the matched string in the ``regex'' of SSL options.
-.IP \\\\?1\fIthen\fP\\\\:\fIelse\fP\\\\/
-if \1 (\2 - \9 in a similar way) is not null,
-\fIthen\fP, otherwise \fIelse\fP.
-.PD
-.RE
-.P
-Type (5) repeats http request with \fIheader\fP in the top of
-request headers. The above escapes can be also used.
-.P
-Type (6) designates the port that other programs can check
-whether the \fBstone\fP runs `healthy' or not. Following commands are
-available to check the \fBstone\fP.
-.P
-.RS 8
-.PD 0
-.IP "HELO \fIany string\fP" 24
-returns the status of the \fBstone\fP
-.IP "LIMIT \fIvar\fP \fIn\fP"
-check the value of \fIvar\fP is
-less than \fIn\fP
-.PD
-.RE
-.P
-\fIvar\fP is one of the following:
-.P
-.RS 8
-.PD 0
-.IP PAIR 16
-the number of ``pair''
-.IP CONN
-the number of ``conn''
-.IP ESTABLISHED
-seconds passed since the last conn established
-.IP READWRITE
-seconds passed since the last read/write
-.IP ASYNC
-the number of threads
-.PD
-.RE
-.P
-The response of the \fBstone\fP is 2xx when normal, or 5xx when
-abnormal on the top of line.
-.P
-If the \fIxhost\fP are used, only machines or its IP addresses
-listed in \fIxhost\fP separated by space character can
-connect to the program and to be repeated.
-.P
-Extentions can be added to the \fIxhost\fP like
-\fIxhost\fP/\fIex\fP,\fIex\fP.... \fIex\fP is:
-.IP \fIm\fP
-You can designate the length of prefix bits of the
-netmask, so that only machines on specified. In the
-case of class C network 192.168.1.0, for example, use
-``192.168.1.0/24''.
-.IP v4
-\fIxhost\fP is resolved as the IP address.
-.IP v6
-\fIxhost\fP is resolved as the IPv6 address.
-.IP p\fIm\fP
-the data repeated by the program are dumped, only if it
-was connected by the machines specified by \fIxhost\fP. \fIm\fP
-is the dump mode, equivalent to the number of \fB-p\fP
-options.
-.P
-Use ``!'' instead of ``\fIxhost\fP'', to deny machines by following
-\fIxhost\fP.
-.P
-Extentions can be added to the \fIport\fP like
-\fIport\fP/\fIext\fP,\fIext\fP.... \fIext\fP is:
-.IP udp
-repeats UDP instead of TCP.
-.IP ssl
-forwards with encryption.
-.IP v6
-connects to the destination using IPv6.
-.IP base
-forwards with MIME base64 encoding.
-.P
-Extentions can be added to the \fIsport\fP like
-\fIsport\fP/\fIext\fP,\fIext\fP.... \fIext\fP is:
-.IP udp
-repeats UDP instead of TCP.
-.IP apop
-converts POP to APOP. The conversion is derived from
-the RSA Data Security, Inc. MD5 Message-Digest Algorithm.
-.IP ssl
-forwards with decryption.
-.IP v6
-accepts connection using IPv6. If \fIshost\fP is omitted
-like (1), IP is also acceptable.
-.IP v6only
-accepts connection using IPv6 only. Even if \fIshost\fP is
-omitted like (1), IP is not acceptable.
-.IP base
-forwards with MIME base64 decoding.
-.IP http
-relays stream over http.
-.IP ident
-identifies the owner of the incoming connection
-on the peer using ident protocol (RFC1413).
-.SH EXAMPLES
-.PD 0
-.IP \fIouter\fP\^:
-a machine in the outside of the firewall
-.IP \fIinner\fP\^:
-a machine in the inside of the firewall
-.IP \fIfwall\fP\^:
-the firewall on which the \fBstone\fP is executed
-.PD
-.TP
-\fBstone \fIouter\fB:telnet 10023\fR
-Repeats the telnet protocol to \fIouter\fP.
-Run telnet fwall 10023 on \fIinner\fR.
-.TP
-\fBstone \fIouter\fB:domain/udp domain/udp\fR
-Repeats the DNS query to \fIouter\fP.
-Run \fBnslookup -\fP \fIfwall\fP on \fIinner\fP.
-.TP
-\fBstone \fIouter\fB:ntp/udp ntp/udp\fR
-Repeats the NTP to \fIouter\fP.
-Run \fBntpdate \fIfwall\fR on \fIinner\fP.
-.TP
-\fBstone localhost:http 443/ssl\fR
-Make WWW server that supports https.
-Access \fBhttps://\fIfwall\fB/\fR using a WWW browser.
-.TP
-\fBstone localhost:telnet 10023/ssl\fR
-Make telnet server that supports SSL.
-Run \fBSSLtelnet -z ssl \fIfwall\fB 10023\fR on \fIinner\fP.
-.TP
-\fBstone proxy 8080\fR
-http proxy
-.TP
-\fBstone\fP \fIouter\fB:110/apop 110\fR
-connect to \fIinner\fP:pop using a mailer that does not
-support APOP.
-.PP
-Where \fIfwall\fP is a http proxy (port 8080):
-.TP
-\fBstone \fIfwall\fB:8080/http 10023 'POST http://\fIouter\fB:8023 HTTP/1.0'\fR
-.br
-.ns
-.TP
-\fBstone localhost:telnet 8023/http
-.nf
-Run \fBstone\fPs on \fIinner\fP and \fIouter\fP respectively.
-Relays stream over http.
-.TP
-\fBstone \fIfwall\fB:8080/proxy 9080 \'Proxy-Authorization: Basic \fIc2VuZ29rdTpoaXJvYWtp\fB\'\fR
-for browser that does not support proxy authorization.
-.fi
-.
-.SH HOMEPAGE
-The official homepage of \fBstone\fP is:
-.br
-\fIhttp://www.gcd.org/sengoku/stone/\fP
-.
-.SH COPYRIGHT
-All rights about this program \fBstone\fP are reserved by the
-original author, Hiroaki Sengoku. The program is free software;
-you can redistribute it and/or modify it under the terms of the
-\fIGNU IGeneral Public License (GPL)\fP. Furthermore you can link it
-with openssl.
-.
-.SH NO WARRANTY
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY.
-.
-.SH AUTHOR
-.nf
-Hiroaki Sengoku
-sengoku@gcd.org
-http://www.gcd.org/sengoku/
-.fi
diff --git a/net-misc/stone/metadata.xml b/net-misc/stone/metadata.xml
deleted file mode 100644
index fde75b04e631..000000000000
--- a/net-misc/stone/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-Stone is a TCP/IP packet repeater in the application layer. It repeats TCP and UDP packets from inside to outside of a firewall, or from outside to inside.
-
diff --git a/net-misc/stone/stone-2.3e-r1.ebuild b/net-misc/stone/stone-2.3e-r1.ebuild
deleted file mode 100644
index 6e1111841a3d..000000000000
--- a/net-misc/stone/stone-2.3e-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="A simple TCP/IP packet repeater"
-HOMEPAGE="http://www.gcd.org/sengoku/stone/"
-SRC_URI="http://www.gcd.org/sengoku/stone/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
-IUSE="ssl"
-
-DEPEND="ssl? ( dev-libs/openssl )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-2.3d-2.3.2.7"
-
-PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) # bug #337879
-
-src_prepare() {
- tc-export CC
- append-cflags "-D_GNU_SOURCE"
-
- epatch "${PATCHES[@]}"
- epatch_user
-}
-
-src_compile() {
- local myargs
- if use ssl ; then
- myargs="SSL=/usr linux-ssl"
- else
- myargs="linux"
- fi
- emake ${myargs}
-}
-
-src_install() {
- dobin stone
- newman "${FILESDIR}/${PN}.man" "${PN}.1"
- dodoc README*
-}
diff --git a/net-misc/tn5250/Manifest b/net-misc/tn5250/Manifest
deleted file mode 100644
index 0f173d6e4315..000000000000
--- a/net-misc/tn5250/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST tn5250-0.17.4.tar.gz 648452 BLAKE2B 9e4d2d2b3148d063eecfc57f32daa1936d9f829a219952c9eb666e3f128c42f5ac611c4ccf12cdd533b3758459ce7f2f4e7c8fe74090042cb796067a7f6afe14 SHA512 7c41bc47658f792fe7c6c6186d93095ac2eca67868070d84502bcff7de0cbc97afea1bd9987d2dbc5a340a444fdf1fbff81c7b844f5c205ec603f24c5e6c0804
diff --git a/net-misc/tn5250/files/tn5250-0.17.4-disable-sslv2-and-sslv3.patch b/net-misc/tn5250/files/tn5250-0.17.4-disable-sslv2-and-sslv3.patch
deleted file mode 100644
index 9c8d04f55851..000000000000
--- a/net-misc/tn5250/files/tn5250-0.17.4-disable-sslv2-and-sslv3.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 1acfebd966e8804e6573cbe9287b8b6f028a646c Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky
-Date: Tue, 23 Aug 2016 18:13:47 -0400
-Subject: [PATCH 1/1] sslstream.c: ignore the user's choice of ssl_method.
-
-The SSLv2 and SSLv3 protocols are insecure, and people have begun to
-operate without them. LibreSSL, for example, does not have them
-enabled, and it is possible to build OpenSSL in the same manner.
-
-If SSLv[23] are disabled, the user would not be able to choose "ssl2"
-or "ssl3" as his "ssl_method", an option that was undocumented
-anywhere. Therefore there is not much lost, and some security to gain,
-by removing the option completely. This commit does that, and uses the
-automatic protocol choice that is capable of negotiating TLSv1,
-TLSv1.1 and TLSv1.2.
-
-Gentoo-Bug: 591940
----
- lib5250/sslstream.c | 26 ++++++++++----------------
- 1 file changed, 10 insertions(+), 16 deletions(-)
-
-diff --git a/lib5250/sslstream.c b/lib5250/sslstream.c
-index 7181566..2f91d1a 100644
---- a/lib5250/sslstream.c
-+++ b/lib5250/sslstream.c
-@@ -362,22 +362,16 @@ int tn5250_ssl_stream_init (Tn5250Stream *This)
-
- /* which SSL method do we use? */
-
-- strcpy(methstr,"auto");
-- if (This->config!=NULL && tn5250_config_get (This->config, "ssl_method")) {
-- strncpy(methstr, tn5250_config_get (This->config, "ssl_method"), 4);
-- methstr[4] = '\0';
-- }
--
-- if (!strcmp(methstr, "ssl2")) {
-- meth = SSLv2_client_method();
-- TN5250_LOG(("SSL Method = SSLv2_client_method()\n"));
-- } else if (!strcmp(methstr, "ssl3")) {
-- meth = SSLv3_client_method();
-- TN5250_LOG(("SSL Method = SSLv3_client_method()\n"));
-- } else {
-- meth = SSLv23_client_method();
-- TN5250_LOG(("SSL Method = SSLv23_client_method()\n"));
-- }
-+ /* Ignore the user's choice of ssl_method (which isn't documented
-+ * anyway...) if it was either "ssl2" or "ssl3". Both are insecure,
-+ * and this is only safe supported method left.
-+ *
-+ * This is a Gentoo-specific modification that lets us build
-+ * against LibreSSL and newer OpenSSL with its insecure protocols
-+ * disabled.
-+ */
-+ meth = SSLv23_client_method();
-+ TN5250_LOG(("SSL Method = SSLv23_client_method()\n"));
-
- /* create a new SSL context */
-
---
-2.7.3
-
diff --git a/net-misc/tn5250/files/tn5250-0.17.4-duplicate-definition.patch b/net-misc/tn5250/files/tn5250-0.17.4-duplicate-definition.patch
deleted file mode 100644
index 39b3ccb45552..000000000000
--- a/net-misc/tn5250/files/tn5250-0.17.4-duplicate-definition.patch
+++ /dev/null
@@ -1,115 +0,0 @@
-From 66e1a2f80091e9ee9b99156ae23e5faaf9f24fe0 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Dan=20Hor=C3=A1k?=
-Date: Mon, 20 Feb 2017 15:06:36 +0100
-Subject: [PATCH 3/4] remove duplicate definition for tn3270_ssl_stream_init()
-
----
- lib5250/sslstream.c | 93 -----------------------------------------------------
- 1 file changed, 93 deletions(-)
-
-diff --git a/lib5250/sslstream.c b/lib5250/sslstream.c
-index f4353a9..86d38cf 100644
---- a/lib5250/sslstream.c
-+++ b/lib5250/sslstream.c
-@@ -477,99 +477,6 @@ int tn5250_ssl_stream_init (Tn5250Stream *This)
- return 0; /* Ok */
- }
-
--/****f* lib5250/tn3270_ssl_stream_init
-- * NAME
-- * tn3270_ssl_stream_init
-- * SYNOPSIS
-- * ret = tn3270_ssl_stream_init (This);
-- * INPUTS
-- * Tn5250Stream * This -
-- * DESCRIPTION
-- * DOCUMENT ME!!!
-- *****/
--int tn3270_ssl_stream_init (Tn5250Stream *This)
--{
-- int len;
--
--/* initialize SSL library */
--
-- SSL_load_error_strings();
-- SSL_library_init();
--
--/* create a new SSL context */
--
-- This->ssl_context = SSL_CTX_new(SSLv23_client_method());
-- if (This->ssl_context==NULL) {
-- DUMP_ERR_STACK ();
-- return -1;
-- }
--
--/* if a certificate authority file is defined, load it into this context */
--
-- if (This->config!=NULL && tn5250_config_get (This->config, "ssl_ca_file")) {
-- if (SSL_CTX_load_verify_locations(This->ssl_context,
-- tn5250_config_get (This->config, "ssl_ca_file"), NULL)<1) {
-- DUMP_ERR_STACK ();
-- return -1;
-- }
-- }
--
--/* if a certificate authority file is defined, load it into this context */
--
-- if (This->config!=NULL && tn5250_config_get (This->config, "ssl_ca_file")) {
-- if (SSL_CTX_load_verify_locations(This->ssl_context,
-- tn5250_config_get (This->config, "ssl_ca_file"), NULL)<1) {
-- DUMP_ERR_STACK ();
-- return -1;
-- }
-- }
--
-- This->userdata = NULL;
--
--/* if a PEM passphrase is defined, set things up so that it can be used */
--
-- if (This->config!=NULL && tn5250_config_get (This->config,"ssl_pem_pass")){
-- TN5250_LOG(("SSL: Setting password callback\n"));
-- len = strlen(tn5250_config_get (This->config, "ssl_pem_pass"));
-- This->userdata = malloc(len+1);
-- strncpy(This->userdata,
-- tn5250_config_get (This->config, "ssl_pem_pass"), len);
-- SSL_CTX_set_default_passwd_cb(This->ssl_context,
-- (pem_password_cb *)ssl_stream_passwd_cb);
-- SSL_CTX_set_default_passwd_cb_userdata(This->ssl_context, (void *)This);
--
-- }
--
--/* If a certificate file has been defined, load it into this context as well */
--
-- if (This->config!=NULL && tn5250_config_get (This->config, "ssl_cert_file")){
-- TN5250_LOG(("SSL: Loading certificates from certificate file\n"));
-- if (SSL_CTX_use_certificate_file(This->ssl_context,
-- tn5250_config_get (This->config, "ssl_cert_file"),
-- SSL_FILETYPE_PEM) <= 0) {
-- DUMP_ERR_STACK ();
-- return -1;
-- }
-- TN5250_LOG(("SSL: Loading private keys from certificate file\n"));
-- if (SSL_CTX_use_PrivateKey_file(This->ssl_context,
-- tn5250_config_get (This->config, "ssl_cert_file"),
-- SSL_FILETYPE_PEM) <= 0) {
-- DUMP_ERR_STACK ();
-- return -1;
-- }
-- }
--
-- This->ssl_handle = NULL;
-- This->connect = ssl_stream_connect;
-- This->accept = ssl_stream_accept;
-- This->disconnect = ssl_stream_disconnect;
-- This->handle_receive = ssl_stream_handle_receive;
-- This->send_packet = tn3270_ssl_stream_send_packet;
-- This->destroy = ssl_stream_destroy;
-- This->streamtype = TN3270E_STREAM;
-- return 0; /* Ok */
--}
--
- /****i* lib5250/ssl_stream_connect
- * NAME
- * ssl_stream_connect
---
-2.7.4
diff --git a/net-misc/tn5250/files/tn5250-0.17.4-fix-Wformat-security-warnings.patch b/net-misc/tn5250/files/tn5250-0.17.4-fix-Wformat-security-warnings.patch
deleted file mode 100644
index 4927bce546f2..000000000000
--- a/net-misc/tn5250/files/tn5250-0.17.4-fix-Wformat-security-warnings.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 1bc9cac45be4bac46f58e325779bdb8c7b7bf502 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky
-Date: Tue, 23 Aug 2016 20:20:15 -0400
-Subject: [PATCH 1/1] Fix format-security warnings.
-
-Newer versions of GCC have the ability to warn you (or throw errors)
-about insecure format strings. Generally this is due to an omitted
-format string in the printf family of functions, and a few of those
-issues existed in the code base. They were all fixed by adding a
-trivial "%s" format string. The project now builds with
--Werror=format-security.
----
- curses/cursesterm.c | 4 ++--
- lib5250/sslstream.c | 2 +-
- lib5250/telnetstr.c | 2 +-
- 3 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/curses/cursesterm.c b/curses/cursesterm.c
-index bf20f05..3032966 100644
---- a/curses/cursesterm.c
-+++ b/curses/cursesterm.c
-@@ -640,9 +640,9 @@ static void curses_terminal_update(Tn5250Terminal * This, Tn5250Display *display
- if(This->data->is_xterm) {
- if (This->data->font_132!=NULL) {
- if (tn5250_display_width (display)>100)
-- printf(This->data->font_132);
-+ printf("%s", This->data->font_132);
- else
-- printf(This->data->font_80);
-+ printf("%s", This->data->font_80);
- }
- printf ("\x1b[8;%d;%dt", tn5250_display_height (display)+1,
- tn5250_display_width (display));
-diff --git a/lib5250/sslstream.c b/lib5250/sslstream.c
-index 2f91d1a..7f3009e 100644
---- a/lib5250/sslstream.c
-+++ b/lib5250/sslstream.c
-@@ -307,7 +307,7 @@ static void ssl_log_SB_buf(unsigned char *buf, int len)
-
- if (!tn5250_logfile)
- return;
-- fprintf(tn5250_logfile,ssl_getTelOpt(type=*buf++));
-+ fprintf(tn5250_logfile,"%s",ssl_getTelOpt(type=*buf++));
- switch (c=*buf++) {
- case IS:
- fputs("",tn5250_logfile);
-diff --git a/lib5250/telnetstr.c b/lib5250/telnetstr.c
-index 9ad2624..cf1576f 100644
---- a/lib5250/telnetstr.c
-+++ b/lib5250/telnetstr.c
-@@ -282,7 +282,7 @@ static void log_SB_buf(unsigned char *buf, int len)
-
- if (!tn5250_logfile)
- return;
-- fprintf(tn5250_logfile,getTelOpt(type=*buf++));
-+ fprintf(tn5250_logfile,"%s",getTelOpt(type=*buf++));
- switch (c=*buf++) {
- case IS:
- fputs("",tn5250_logfile);
---
-2.7.3
-
diff --git a/net-misc/tn5250/files/tn5250-0.17.4-openssl11.patch b/net-misc/tn5250/files/tn5250-0.17.4-openssl11.patch
deleted file mode 100644
index 8c6d0fde1c70..000000000000
--- a/net-misc/tn5250/files/tn5250-0.17.4-openssl11.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 5922e57bb5ea78ff35f82a60f1721d533cc0584a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Dan=20Hor=C3=A1k?=
-Date: Mon, 20 Feb 2017 15:37:51 +0100
-Subject: [PATCH 4/4] port to OpenSSL 1.1
-
-- check for better functions in configure
-- update SSL initialization call
----
- configure.ac | 8 ++++----
- lib5250/sslstream.c | 2 +-
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 4ba0007..8a16cff 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -152,13 +152,13 @@ dnl ** happily, we don't have to hunt for them thanks to ldconfig!
- dnl **
- if test -n $sslincludedir; then
- CPPFLAGS="$CPPFLAGS $sslincludedir"
-- AC_CHECK_LIB(crypto,CRYPTO_num_locks)
-- if test "$ac_cv_lib_crypto_CRYPTO_num_locks" != "yes"
-+ AC_CHECK_LIB(crypto,OPENSSL_init)
-+ if test "$ac_cv_lib_crypto_OPENSSL_init" != "yes"
- then
- AC_MSG_ERROR([** Unable to find OpenSSL libraries!])
- fi
-- AC_CHECK_LIB(ssl,SSL_library_init)
-- if test "$ac_cv_lib_ssl_SSL_library_init" != "yes"
-+ AC_CHECK_LIB(ssl,OPENSSL_init_ssl)
-+ if test "$ac_cv_lib_ssl_OPENSSL_init_ssl" != "yes"
- then
- AC_MSG_ERROR([** Unable to find OpenSSL libraries!])
- fi
-diff --git a/lib5250/sslstream.c b/lib5250/sslstream.c
-index 86d38cf..3c0f390 100644
---- a/lib5250/sslstream.c
-+++ b/lib5250/sslstream.c
-@@ -368,7 +368,7 @@ int tn5250_ssl_stream_init (Tn5250Stream *This)
- /* initialize SSL library */
-
- SSL_load_error_strings();
-- SSL_library_init();
-+ OPENSSL_init_ssl(0, NULL);
-
- /* which SSL method do we use? */
-
---
-2.7.4
diff --git a/net-misc/tn5250/files/tn5250-0.17.4-tinfo.patch b/net-misc/tn5250/files/tn5250-0.17.4-tinfo.patch
deleted file mode 100644
index 46469c4def8e..000000000000
--- a/net-misc/tn5250/files/tn5250-0.17.4-tinfo.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -64,6 +64,7 @@
- AC_MSG_ERROR([** You need a curses-compatible library installed.])
- fi
- fi
-+ AC_SEARCH_LIBS(stdscr, tinfo, [CURSES_LIB="$CURSES_LIB -ltinfo"])
- AC_SUBST([CURSES_LIB])
- if test "$ac_cv_use_old_keys" != "yes";
- then
diff --git a/net-misc/tn5250/files/tn5250-0.17.4-whoami.patch b/net-misc/tn5250/files/tn5250-0.17.4-whoami.patch
deleted file mode 100644
index fbcece25af27..000000000000
--- a/net-misc/tn5250/files/tn5250-0.17.4-whoami.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/linux/Makefile.am
-+++ b/linux/Makefile.am
-@@ -18,10 +18,6 @@
- if [ "$$(uname -s)" = "Linux" ]; then \
- if which tic >/dev/null 2>&1 ; then \
- if [ "`whoami`" = "root" ]; then \
-- rm -f /usr/share/terminfo/x/xterm-5250 ; \
-- rm -f /usr/share/terminfo/5/5250 ; \
-- rm -f /usr/lib/terminfo/x/xterm-5250 ; \
-- rm -f /usr/lib/terminfo/5/5250 ; \
- good=yes ; \
- tic $(srcdir)/5250.terminfo || good=no ; \
- else \
diff --git a/net-misc/tn5250/metadata.xml b/net-misc/tn5250/metadata.xml
deleted file mode 100644
index 46bc7afa2da1..000000000000
--- a/net-misc/tn5250/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
- tn5250
-
-
diff --git a/net-misc/tn5250/tn5250-0.17.4-r1.ebuild b/net-misc/tn5250/tn5250-0.17.4-r1.ebuild
deleted file mode 100644
index 5ae73def9bfd..000000000000
--- a/net-misc/tn5250/tn5250-0.17.4-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils
-
-DESCRIPTION="Telnet client for the IBM AS/400 that emulates 5250 terminals and printers"
-HOMEPAGE="http://tn5250.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
-IUSE="X libressl ssl"
-
-RDEPEND="
- sys-libs/ncurses:=
- ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )
-"
-
-DEPEND="${RDEPEND}
- X? ( x11-libs/libXt )
-"
-
-src_prepare() {
- default
- # Next, the Makefile for the terminfo settings tries to remove
- # some files it doesn't have access to. We can just remove those
- # lines.
- cd "${S}/linux"
- sed -i \
- -e "/rm -f \/usr\/.*\/terminfo.*5250/d" Makefile.in \
- || die "sed Makefile.in failed"
- cd "${S}"
-}
-
-src_configure() {
- econf \
- --disable-static \
- --without-python \
- $(use_with X x) \
- $(use_with ssl)
-}
-
-src_install() {
- # The TERMINFO variable needs to be defined for the install
- # to work, because the install calls "tic." man tic for
- # details.
- dodir /usr/share/terminfo
- emake DESTDIR="${D}" \
- TERMINFO="${D}/usr/share/terminfo" install
-
- einstalldocs
- prune_libtool_files
-}
diff --git a/net-misc/tn5250/tn5250-0.17.4-r2.ebuild b/net-misc/tn5250/tn5250-0.17.4-r2.ebuild
deleted file mode 100644
index f3cfbf0f6174..000000000000
--- a/net-misc/tn5250/tn5250-0.17.4-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools ltprune
-
-DESCRIPTION="IBM AS/400 telnet client which emulates 5250 terminals/printers"
-HOMEPAGE="http://tn5250.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="libressl ssl static-libs"
-
-RDEPEND="
- sys-libs/ncurses:=
- ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )
-"
-
-DEPEND="
- ${RDEPEND}
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.17.4-disable-sslv2-and-sslv3.patch
- "${FILESDIR}"/${PN}-0.17.4-fix-Wformat-security-warnings.patch
- "${FILESDIR}"/${PN}-0.17.4-tinfo.patch
- "${FILESDIR}"/${PN}-0.17.4-whoami.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- $(use_with ssl) \
- --without-python
-}
-
-src_install() {
- # The TERMINFO variable needs to be defined for the install
- # to work, because the install calls "tic." man tic for
- # details.
- dodir /usr/share/terminfo
- emake DESTDIR="${D}" TERMINFO="${D}/usr/share/terminfo" install
-
- einstalldocs
- prune_libtool_files
-}
diff --git a/net-misc/tn5250/tn5250-0.17.4-r3.ebuild b/net-misc/tn5250/tn5250-0.17.4-r3.ebuild
deleted file mode 100644
index b28b5cc3723d..000000000000
--- a/net-misc/tn5250/tn5250-0.17.4-r3.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools
-
-DESCRIPTION="IBM AS/400 telnet client which emulates 5250 terminals/printers"
-HOMEPAGE="http://tn5250.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="libressl ssl"
-
-RDEPEND="
- sys-libs/ncurses:0=
- ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )
-"
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.17.4-disable-sslv2-and-sslv3.patch
- "${FILESDIR}"/${PN}-0.17.4-fix-Wformat-security-warnings.patch
- "${FILESDIR}"/${PN}-0.17.4-tinfo.patch
- "${FILESDIR}"/${PN}-0.17.4-whoami.patch
- "${FILESDIR}"/${PN}-0.17.4-duplicate-definition.patch
-)
-
-src_prepare() {
- default
- if has_version ">=dev-libs/openssl-1.1.1"; then
- eapply "${FILESDIR}"/${PN}-0.17.4-openssl11.patch
- fi
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_with ssl) \
- --disable-static \
- --without-python
-}
-
-src_install() {
- # The TERMINFO variable needs to be defined for the install
- # to work, because the install calls "tic." man tic for
- # details.
- dodir /usr/share/terminfo
- emake DESTDIR="${D}" TERMINFO="${D}/usr/share/terminfo" install
-
- einstalldocs
- find "${D}" -name '*.la' -delete || die
-}
diff --git a/net-news/Manifest.gz b/net-news/Manifest.gz
index 7651b7053661..284ee5894291 100644
Binary files a/net-news/Manifest.gz and b/net-news/Manifest.gz differ
diff --git a/net-news/quiterss/quiterss-0.18.12.ebuild b/net-news/quiterss/quiterss-0.18.12.ebuild
index dabec7dd1cbc..9eaebe56fd69 100644
--- a/net-news/quiterss/quiterss-0.18.12.ebuild
+++ b/net-news/quiterss/quiterss-0.18.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -34,6 +34,7 @@ RDEPEND="
dev-qt/qtxml:5
"
DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
virtual/pkgconfig
"
diff --git a/net-news/quiterss/quiterss-9999.ebuild b/net-news/quiterss/quiterss-9999.ebuild
index 790e3416fe61..d0cd80e0c3ba 100644
--- a/net-news/quiterss/quiterss-9999.ebuild
+++ b/net-news/quiterss/quiterss-9999.ebuild
@@ -21,6 +21,7 @@ SLOT="0"
IUSE=""
BDEPEND="
+ dev-qt/linguist-tools:5
virtual/pkgconfig
"
DEPEND="
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index 1c467fb3fb5a..cd349ae4356e 100644
Binary files a/net-p2p/Manifest.gz and b/net-p2p/Manifest.gz differ
diff --git a/net-p2p/go-ipfs-bin/Manifest b/net-p2p/go-ipfs-bin/Manifest
index 191bb1709f6a..d9f57fb27c20 100644
--- a/net-p2p/go-ipfs-bin/Manifest
+++ b/net-p2p/go-ipfs-bin/Manifest
@@ -1,8 +1,12 @@
DIST go-ipfs-bin-0.4.18.bash 20753 BLAKE2B c34d29a48cf249b7a646a8a7b6015b9c4a4a5d8656187ec5984b0dfb741a8ca7b2f2d0a10bc0288aa862679c6d52145936b46497936565ba7cdb2ba847fda5b8 SHA512 acd3bdb689964aa5e15965bfea3cd1267f54a2014c05f49f4e536902cbdab3e22038f4f5db5ecc273c147135b265fcb82a41db22bfc3fd8f6ddc8ae43fd053ea
DIST go-ipfs-bin-0.4.19.bash 20753 BLAKE2B c34d29a48cf249b7a646a8a7b6015b9c4a4a5d8656187ec5984b0dfb741a8ca7b2f2d0a10bc0288aa862679c6d52145936b46497936565ba7cdb2ba847fda5b8 SHA512 acd3bdb689964aa5e15965bfea3cd1267f54a2014c05f49f4e536902cbdab3e22038f4f5db5ecc273c147135b265fcb82a41db22bfc3fd8f6ddc8ae43fd053ea
+DIST go-ipfs-bin-0.4.20.bash 20753 BLAKE2B c34d29a48cf249b7a646a8a7b6015b9c4a4a5d8656187ec5984b0dfb741a8ca7b2f2d0a10bc0288aa862679c6d52145936b46497936565ba7cdb2ba847fda5b8 SHA512 acd3bdb689964aa5e15965bfea3cd1267f54a2014c05f49f4e536902cbdab3e22038f4f5db5ecc273c147135b265fcb82a41db22bfc3fd8f6ddc8ae43fd053ea
DIST go-ipfs_v0.4.18_linux-386.tar.gz 11128726 BLAKE2B 2f1289bb0aa93d0d03585bb90f577f91c8db922ba7905aab90c6e6b7804b7fab5c52b861aa0cdd927de8ea0b6e20f22f1c42c390628cd2e660fbaecd55b04d24 SHA512 7fff0da87827dcef7c84f959f4cfdc0b5e43e82c636b77fd600d4f62d7b78b8f1660ea346caa5eaf2d791ab275f41c0f83d606e4b36f29f3284a1851a82fbce5
DIST go-ipfs_v0.4.18_linux-amd64.tar.gz 13791729 BLAKE2B 777d20792d089216010574798245e0eac0a5ec46549aef3ec4162c289d1d4fec1b381d8fba39ad2a57d88fcbeee5cdd1bd8509fa8883dd946fb452c4266f95de SHA512 ef5b44a0aaed604890c83322ca02228061204085b87b20dd173edfe6b6631fc7a54724d2e00202488c86886992a0d409f43e09f022cdf8b1138f8419cf7614b0
DIST go-ipfs_v0.4.18_linux-arm.tar.gz 10933477 BLAKE2B b846926b33c78a6d089717689993c6a9c9b6ae03b32f184c2a74ecc1a9c290e7b29a9e35f2e7691e504e86c6f6229d86bbf956d90d939decb91a22fe04f74504 SHA512 c60cf427109c9c08a73a8270fe9d2792932894cfd68c1a90ec159733d121c5c12647e4b8ab2ed24865c9a4b7f8cb94db9dbe47667e48b5525b39f0c3a0acf085
DIST go-ipfs_v0.4.19_linux-386.tar.gz 11313754 BLAKE2B ac45961d7af003b28668c208be8e5d4457f28284a9b2ce21d9958a52204212fa08c4a8077382913027b0e79cfd8a230227494ca7897d25ee4900f9747039d6af SHA512 9fc7b467098613786788d41c04257b119d124a03279439c16c6a541d5057ce769b295eae16a42b10561f42f5eb982221dc2beacec42d56e517566115e72124da
DIST go-ipfs_v0.4.19_linux-amd64.tar.gz 14068171 BLAKE2B e108fcbeeca0823a90df049c870501406ec68d5750d300d5e50fb8f8b2e8c3a1cbdceecc76687cfa9ca0185e7661ad5fb91bf0f33cdef1e1e7c4fc5e0c25dd6c SHA512 66d930bef0196c70f25cb207c00da6e36f6c2c17ff0e785f45d360e710502c233aeeeaaa5ee0bfc984919d42225c74c6474e5e5ce5c8cd6993580903fa8ec0c4
DIST go-ipfs_v0.4.19_linux-arm.tar.gz 11118746 BLAKE2B 08ea24e8367d22577798636faec3ecdacb2dad9dd635f727a129b875ab02d1b37712b20ce6a387046a7be753032b437aa1feb8fab79aff99140c543652f3d7c6 SHA512 00084c0ecdf2d78e792519dbfcc7f62897283d5d81e7df90745ac41091dabaf44674a62c0ebc6a63bfea9bed97f98ed1dde260d8eb05f4bef2f4d35d3ebe9f5b
+DIST go-ipfs_v0.4.20_linux-386.tar.gz 18312554 BLAKE2B 0da4c23635f4451f4a4156f492fb380a538108b1dd834bbfb35ae1d77543e3d2fb9823431228c5cf6fe6aa6318062dcc4c22e4e3c8775c16ac2b5e876ecfafe3 SHA512 675ab88affa3871ea6ca9cf14150f6ad262ca1c7120ab2dbf15259693754f5372de3958ae9265ac800b21e53f495356dc45f1a67fb01548468dabb6e5d8befd4
+DIST go-ipfs_v0.4.20_linux-amd64.tar.gz 20120151 BLAKE2B 3e363fbf244d4d848dbf5e0e13a78804401ea1b3b205683e8ea6d8b2409557b0575bb23149013ebac231523bb7f6278220715f8e20032d0bbb7a420f94e664b5 SHA512 a8a2ec9c04a7aec576f8b86997d5310b77eca2b78df9c269ac9ef478d786277550f09e410e392ede333eb652e8ed136bb58a22f2b3198c94a61649c7a5525b68
+DIST go-ipfs_v0.4.20_linux-arm.tar.gz 17668228 BLAKE2B f900ecdbc580e86a476d1d5d64fa54be7856429a33b9fc98d8d8141431be0df2776726c64d81218903c51f648f1ab5256d23daf82e260f4e714c7e4bb169380f SHA512 feb608db7fc9750ca155d008992a93bb5e9e1f53504d224aeb474465c5811ada182770c4a5465331f9d6b2c3472201bb53a1243c0de844f94db4751569db3021
diff --git a/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.20.ebuild b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.20.ebuild
new file mode 100644
index 000000000000..d19ef9ab7104
--- /dev/null
+++ b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.20.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 systemd user
+
+DESCRIPTION="Main implementation of IPFS"
+HOMEPAGE="https://ipfs.io/"
+SRC_URI="amd64? ( https://dist.ipfs.io/go-ipfs/v${PV}/go-ipfs_v${PV}_linux-amd64.tar.gz )
+ x86? ( https://dist.ipfs.io/go-ipfs/v${PV}/go-ipfs_v${PV}_linux-386.tar.gz )
+ arm? ( https://dist.ipfs.io/go-ipfs/v${PV}/go-ipfs_v${PV}_linux-arm.tar.gz )
+
+ https://raw.githubusercontent.com/ipfs/go-ipfs/v${PV}/misc/completion/ipfs-completion.bash -> ${P}.bash"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~x86"
+
+RDEPEND="sys-fs/fuse"
+S="${WORKDIR}/go-ipfs"
+
+QA_PREBUILT="/usr/bin/ipfs"
+
+src_install() {
+ dobin ipfs
+
+ systemd_dounit "${FILESDIR}/ipfs.service"
+ newinitd "${FILESDIR}/ipfs.init" ipfs
+ newconfd "${FILESDIR}/ipfs.confd" ipfs
+
+ newbashcomp "${DISTDIR}/${P}.bash" "ipfs"
+ keepdir /var/log/ipfs
+}
+
+pkg_preinst() {
+ enewgroup ipfs
+ enewuser ipfs "" "" /var/lib/ipfs ipfs
+
+ fowners -R ipfs:ipfs /var/log/ipfs
+}
+
+pkg_postinst() {
+ elog 'To be able to use the ipfs service you will need to create the ipfs repository'
+ elog '(eg: su -s /bin/sh -c "ipfs init -e" ipfs)'
+ elog 'or change IPFS_PATH of /etc/conf.d/ipfs with another with proper permissions.'
+}
diff --git a/net-print/Manifest.gz b/net-print/Manifest.gz
index d87a36585af5..bddaec188950 100644
Binary files a/net-print/Manifest.gz and b/net-print/Manifest.gz differ
diff --git a/net-print/lprng/Manifest b/net-print/lprng/Manifest
deleted file mode 100644
index 0bd5a98433bd..000000000000
--- a/net-print/lprng/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST LPRng-3.8.35.tgz 12512453 BLAKE2B 82c23aa092ef5d9d946bc363c406aeaa9ef9cd566cb7ce353d0e7734ceab5fdd6129e6e1f9617d5e56481d93b3e30331a7dd128c5daff3e3609c67a022394d65 SHA512 ddebf23087b6c98c89369af26a2e46194c01243490ae47b025afde8ffcf0b1c05b9689702296c1a8aa38c2c38934df094d8cc7e922ab1ac27f51ce19f3676771
diff --git a/net-print/lprng/files/lprng-3.8.27-certs.diff b/net-print/lprng/files/lprng-3.8.27-certs.diff
deleted file mode 100644
index 13b9051aea0c..000000000000
--- a/net-print/lprng/files/lprng-3.8.27-certs.diff
+++ /dev/null
@@ -1,38 +0,0 @@
---- LPRng-3.8.27/src/lprng_certs.orig 2004-12-20 00:29:21.000000000 +0100
-+++ LPRng-3.8.27/src/lprng_certs.sh 2004-12-20 00:33:49.000000000 +0100
-@@ -320,7 +320,9 @@
- # set default values
-
-
--CFG=/tmp/$$.sslcfg
-+TMPDIR=`mktemp -d -t lprng.XXXXXX` || { echo "$0: Cannot create temporary directory!" >&2 ; exit 1; }
-+trap "/bin/rm -rf ${TMPDIR}" 0 1 2 3 13 15
-+CFG=$TMPDIR/sslcfg
-
- OPENSSL=/usr/bin/openssl
- CA_KEY=//etc/lprng/ssl.ca/ca.key
-@@ -508,14 +510,14 @@
- shift
- if [ "$1" = "" ] ; then usage; fi;
- if [ ! -f "$1" ] ; then useage; fi;
-- sed -n -e '/BEGIN.*PRIVATE KEY/,/END.*PRIVATE KEY/p' $1 >/tmp/$$.key
-- sed -e '/BEGIN.*PRIVATE KEY/,/END.*PRIVATE KEY/d' $1 >/tmp/$$.crt
-- STEP="" encrypt /tmp/$$.key
-+ sed -n -e '/BEGIN.*PRIVATE KEY/,/END.*PRIVATE KEY/p' $1 >$TMPDIR/key
-+ sed -e '/BEGIN.*PRIVATE KEY/,/END.*PRIVATE KEY/d' $1 >$TMPDIR/crt
-+ STEP="" encrypt $TMPDIR/key
- status=$?
- echo STATUS $status
- if [ $status = 0 ] ; then
- mv $1 $1.orig
-- cat /tmp/$$.crt /tmp/$$.key >$1
-+ cat $TMPDIR/crt $TMPDIR/key >$1
- fi
- ;;
-
-@@ -845,5 +847,4 @@
- exit 1
- ;;
- esac
--rm -f ${CFG}
- exit $RET
diff --git a/net-print/lprng/files/lprng-3.8.28-krb.diff b/net-print/lprng/files/lprng-3.8.28-krb.diff
deleted file mode 100644
index 76381e560d06..000000000000
--- a/net-print/lprng/files/lprng-3.8.28-krb.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- LPRng-3.8.28/src/common/krb5_auth.c.org 2004-09-24 22:19:57.000000000 +0200
-+++ LPRng-3.8.28/src/common/krb5_auth.c 2006-10-13 09:19:44.000000000 +0200
-@@ -922,7 +922,7 @@
- nstored = 0;
- }
-
-- if ((cc = Read_fd_len_timeout(transfer_timeout, fd, len_buf, 4)) != 4) {
-+ if ((cc = Read_fd_len_timeout(transfer_timeout, fd, (char*)len_buf, 4)) != 4) {
- /* XXX can't read enough, pipe must have closed */
- return(0);
- }
diff --git a/net-print/lprng/files/lprng-3.8.28-make.diff b/net-print/lprng/files/lprng-3.8.28-make.diff
deleted file mode 100644
index 66c742dd994f..000000000000
--- a/net-print/lprng/files/lprng-3.8.28-make.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- LPRng-3.8.28/Makefile.in.orig 2004-09-24 22:19:52.000000000 +0200
-+++ LPRng-3.8.28/Makefile.in 2006-06-27 09:26:13.000000000 +0200
-@@ -42,7 +42,7 @@
- LPD_CONF_PATH=\"@LPD_CONF_PATH@\"
- PRINTCAP_PATH=\"@PRINTCAP_PATH@\"
- LPD_PATH=\"@LPD_DIR@/lpd\"
--SHELL="@SHELL@"
-+SHELL=@SHELL@
- LOCKFILE=\"@LOCKFILE@\"
- CONFIG_SUBDIR="@CONFIG_SUBDIR@"
- PSHOWALL="@PSHOWALL@"
diff --git a/net-print/lprng/files/lprng-init b/net-print/lprng/files/lprng-init
deleted file mode 100644
index 115c8adf3ed7..000000000000
--- a/net-print/lprng/files/lprng-init
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -e /etc/lprng/lpd.conf ] ; then
- eerror "You need an /etc/lprng/lpd.conf file first"
- eerror "There is a sample in /usr/share/doc/LPRng"
- return 1
- fi
- if [ ! -e /etc/lprng/printcap ] ; then
- eerror "You need an /etc/lprng/printcap file first"
- eerror "There is a sample in /usr/share/doc/LPRng"
- return 1
- fi
- if [ ! -e /etc/lprng/lpd.perms ] ; then
- eerror "You need an /etc/lprng/lpd.perms file first"
- eerror "There is a sample in /usr/share/doc/LPRng"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting lpd"
- start-stop-daemon --start --pidfile "/var/run/lpd.515" --quiet --exec /usr/sbin/lpd
- eend $?
-}
-
-stop() {
- ebegin "Stopping lpd"
- start-stop-daemon --stop --pidfile "/var/run/lpd.515" --quiet --exec /usr/sbin/lpd
- eend $?
-}
diff --git a/net-print/lprng/files/printcap b/net-print/lprng/files/printcap
deleted file mode 100644
index c851e8e2e826..000000000000
--- a/net-print/lprng/files/printcap
+++ /dev/null
@@ -1,23 +0,0 @@
-# /etc/printcap: printer capability database.
-#
-# You can use the filter entries df, tf, cf, gf etc. for your
-# own filters. See the printcap(5) manpage for more details.
-
-lp|Generic dot-matrix printer entry
- :lp=/dev/lp1
- :sd=/var/spool/lpd/lp
- :af=/var/log/lp-acct
- :lf=/var/log/lp-errs
- :pl#66
- :pw#80
- :pc#150
- :mx#0
- :sh
-
-# rlp|Remote printer entry
-# :lp=
-# :rm=remotehost
-# :rp=remoteprinter
-# :sd=/var/spool/lpd/remote
-# :mx#0
-# :sh
diff --git a/net-print/lprng/lprng-3.8.35-r3.ebuild b/net-print/lprng/lprng-3.8.35-r3.ebuild
deleted file mode 100644
index 7867f643f4c9..000000000000
--- a/net-print/lprng/lprng-3.8.35-r3.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils flag-o-matic
-
-MY_PN=LPRng
-DESCRIPTION="Extended implementation of the Berkeley LPR print spooler"
-HOMEPAGE="http://www.lprng.com/"
-SRC_URI="ftp://ftp.lprng.com/pub/${MY_PN}/${MY_PN}/${MY_PN}-${PV}.tgz"
-
-LICENSE="|| ( GPL-2 Artistic )"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86"
-IUSE="foomaticdb kerberos nls ssl"
-
-RDEPEND="sys-process/procps
- ssl? ( dev-libs/openssl )
- foomaticdb? ( net-print/cups-filters[foomatic]
- net-print/foomatic-db )
- !>=net-print/cups-1.6.2-r4[-lprng-compat]
- !
-
-
-
- mgorny@gentoo.org
- Michał Górny
-
-
- printing@gentoo.org
- Gentoo Printing Project
-
-
- Add support for the foomatic printing
- driver database
-
-
diff --git a/net-print/magicfilter/Manifest b/net-print/magicfilter/Manifest
deleted file mode 100644
index a5235bed9637..000000000000
--- a/net-print/magicfilter/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST magicfilter-2.3.h.tar.gz 161929 BLAKE2B 4333c66962c2b9325635a997b438e9267a3ed1d439bdada9505f2288dbc68f960e8b93c47357929122f55a1f76d6d60a3ef9e4a919c85c0036d41cdf1ce833ed SHA512 7808cfe4944eb5a5a4ad457e3ce9b42556fb09b60223763d0808e5b7c502aafbfe4ff66ebbf73830839eda76d0fa1e840ac9013f61bdce9aa2265c11e8b103dc
diff --git a/net-print/magicfilter/files/magicfilter-2.3d-glibc-2.10.patch b/net-print/magicfilter/files/magicfilter-2.3d-glibc-2.10.patch
deleted file mode 100644
index eea064501cad..000000000000
--- a/net-print/magicfilter/files/magicfilter-2.3d-glibc-2.10.patch
+++ /dev/null
@@ -1,100 +0,0 @@
---- fe.c
-+++ fe.c
-@@ -128,7 +128,7 @@
-
- /* read rules
- */
-- while ( (r = getline(f)) != 0) {
-+ while ( (r = get_line(f)) != 0) {
- rulecount++;
- if (tail) {
- tail->next = r;
---- getline.c
-+++ getline.c
-@@ -27,7 +27,7 @@
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
- /*
-- * getline() picks up a magicfilter rule line and passes it back to magicfilter
-+ * get_line() picks up a magicfilter rule line and passes it back to magicfilter
- *
- * rules are:
- *
-@@ -172,10 +172,10 @@
-
-
- /*
-- * getline() gets a rule off the input stream
-+ * get_line() gets a rule off the input stream
- */
- struct rule *
--getline(FILE *input)
-+get_line(FILE *input)
- {
- static char *bfr = 0; /* a buffer for reading lines into */
- static int buflen = 0; /* size of that buffer */
-@@ -189,13 +189,13 @@
- /* initialize the line buffer the first time in
- */
- if ( (bfr = malloc(buflen=80)) == 0) {
-- perror("getline::malloc");
-+ perror("get_line::malloc");
- exit(1);
- }
- }
-
- if ( (r = calloc(1, sizeof *r)) == 0) {
-- perror("getline::calloc");
-+ perror("get_line::calloc");
- exit(1);
- }
-
-@@ -240,7 +240,7 @@
- }
-
- if ( (r->pattern = strdup(q)) == 0) {
-- perror("getline::strdup");
-+ perror("get_line::strdup");
- exit(1);
- }
-
-@@ -289,7 +289,7 @@
-
- if (hint)
- if ( (r->hint = strdup(hint)) == 0) {
-- perror("getline::strdup");
-+ perror("get_line::strdup");
- exit(1);
- }
-
-@@ -302,11 +302,11 @@
- while ( (q = getarg(&p)) != 0) {
- r->argv = realloc(r->argv, (3 + r->argc) * sizeof r->argv[0]);
- if (r->argv == 0) {
-- perror("getline::realloc");
-+ perror("get_line::realloc");
- exit(1);
- }
- if ( (r->argv[r->argc++] = strdup(q)) == 0) {
-- perror("getline::strdup");
-+ perror("get_line::strdup");
- exit(1);
- }
- }
-@@ -330,4 +330,4 @@
- }
- ++ruleno;
- return r;
--} /* getline */
-+} /* get_line */
---- rule.h
-+++ rule.h
-@@ -55,7 +55,7 @@
- struct rule *next; /* next rule in the chain */
- } ;
-
--extern struct rule *getline(FILE *);
-+extern struct rule *get_line(FILE *);
- extern struct rule *rules;
- char * action_p(enum rule_action);
-
diff --git a/net-print/magicfilter/files/magicfilter-2.3h-configure.patch b/net-print/magicfilter/files/magicfilter-2.3h-configure.patch
deleted file mode 100644
index 0d89b4d04eb5..000000000000
--- a/net-print/magicfilter/files/magicfilter-2.3h-configure.patch
+++ /dev/null
@@ -1,59 +0,0 @@
---- configure.sh
-+++ configure.sh
-@@ -423,44 +423,12 @@ EOF
- TLOGN " ($AC_CC)"
- if [ $status -eq 0 ]; then
- TLOG " ok"
--
-- # check that the CFLAGS and LDFLAGS aren't bogus
--
-- unset AC_CFLAGS AC_LDFLAGS
--
-- if [ "$CFLAGS" ]; then
-- test "$CFLAGS" && echo "validating CFLAGS=${CFLAGS}"
-- if $AC_CC $CFLAGS -o /tmp/ngc$$.o /tmp/ngc$$.c ; then
-- AC_CFLAGS=${CFLAGS:-"-g"}
-- test "$CFLAGS" && echo "CFLAGS=\"${CFLAGS}\" are okay"
-- elif [ "$CFLAGS" ]; then
-- echo "ignoring bogus CFLAGS=\"${CFLAGS}\""
-- fi
-- else
-- AC_CFLAGS=-g
-- fi
-- if [ "$LDFLAGS" ]; then
-- test "$LDFLAGS" && echo "validating LDFLAGS=${LDFLAGS}"
-- if $AC_CC $LDFLAGS -o /tmp/ngc$$ /tmp/ngc$$.o; then
-- AC_LDFLAGS=${LDFLAGS:-"-g"}
-- test "$LDFLAGS" && TLOG "LDFLAGS=\"${LDFLAGS}\" are okay"
-- elif [ "$LDFLAGS" ]; then
-- TLOG "ignoring bogus LDFLAGS=\"${LDFLAGS}\""
-- fi
-- else
-- AC_LDFLAGS=${CFLAGS:-"-g"}
-- fi
-- AC_SUB 'CFLAGS' "$AC_CFLAGS"
-- AC_SUB 'LDFLAGS' "$AC_LDFLAGS"
-- else
-- AC_SUB 'CFLAGS' ''
-- AC_SUB 'LDFLAGS' ''
-- AC_FAIL " does not compile code properly"
- fi
-
-- AC_SUB 'CC' "$AC_CC"
-+ AC_SUB 'CFLAGS' "$CFLAGS"
-+ AC_SUB 'LDFLAGS' "$LDFLAGS"
-
-- rm -f /tmp/ngc$$ /tmp/ngc$$.c /tmp/ngc$$.o
-+ AC_SUB 'CC' "$AC_CC"
-
- return $status
- }
-@@ -896,7 +864,7 @@ AC_PROG_INSTALL () {
- fi
-
- AC_SUB 'INSTALL' "$PROG_INSTALL"
-- AC_SUB 'INSTALL_PROGRAM' "$PROG_INSTALL -s -m 755"
-+ AC_SUB 'INSTALL_PROGRAM' "$PROG_INSTALL -m 755"
- AC_SUB 'INSTALL_DATA' "$PROG_INSTALL -m 444"
-
- # finally build a little directory installer
diff --git a/net-print/magicfilter/files/magicfilter-2.3h-makefile.patch b/net-print/magicfilter/files/magicfilter-2.3h-makefile.patch
deleted file mode 100644
index 59c2cc15af91..000000000000
--- a/net-print/magicfilter/files/magicfilter-2.3h-makefile.patch
+++ /dev/null
@@ -1,75 +0,0 @@
---- Makefile.in
-+++ Makefile.in
-@@ -17,7 +17,7 @@ libmagic @LIBMAGIC@:
- @MAKE_MAGIC@ all
-
- textonly: contrib/textonly.c
-- $(CC) $(CFLAGS) -o textonly $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o textonly $<
-
- mpp: magic.m4 mkmpp
- @srcdir@/mkmpp magic.m4
-@@ -43,47 +43,46 @@ magic.c: magic.m4 mkmagic config.h
- cfmagic: file/magic
- @MAKE_MAGIC@ magic
-
--commoninstall: textonly @CFMAGIC@
-- @INSTALL_DIR@ $(prefix)/@exedir@
-- @INSTALL_DIR@ $(prefix)/@mandir@/man8
-- @INSTALL_DIR@ $(prefix)/@mandir@/man5
-- @INSTALL_DIR@ $(prefix)/@filterdir@
-- @INSTALL_MAGIC@ -m 444 file/magic $(prefix)/@MAGIC@
-- @INSTALL_PROGRAM@ -m 511 textonly $(prefix)/@filterdir@
-+commoninstall: textonly
-+ @INSTALL_DIR@ $(DESTDIR)$(prefix)/@exedir@
-+ @INSTALL_DIR@ $(DESTDIR)$(prefix)/@mandir@/man8
-+ @INSTALL_DIR@ $(DESTDIR)$(prefix)/@mandir@/man5
-+ @INSTALL_DIR@ $(DESTDIR)$(prefix)/@filterdir@
-+ @INSTALL_PROGRAM@ textonly $(DESTDIR)$(prefix)/@filterdir@
-
- install: @DO_WHAT@
-
- install-bin-t: traditional commoninstall
-- @INSTALL_PROGRAM@ -m 511 traditional $(prefix)/@exedir@/magicfilter-t
-+ @INSTALL_PROGRAM@ traditional $(DESTDIR)$(prefix)/@exedir@/magicfilter-t
-
- install-bin: magicfilter commoninstall
-- @INSTALL_PROGRAM@ -m 511 magicfilter $(prefix)/@exedir@
-+ @INSTALL_PROGRAM@ magicfilter $(DESTDIR)$(prefix)/@exedir@
-
- install-data-t: traditional commoninstall
- @srcdir@/mkmpp
- for x in @srcdir@/filters/*.def;do \
-- ./mpp @exedir@/magicfilter-t $$x > $(prefix)/@filterdir@/`basename $$x .def`-filter; \
-- chmod +x $(prefix)/@filterdir@/`basename $$x .def`-filter; \
-+ ./mpp @exedir@/magicfilter-t $$x > $(DESTDIR)$(prefix)/@filterdir@/`basename $$x .def`-filter; \
-+ chmod +x $(DESTDIR)$(prefix)/@filterdir@/`basename $$x .def`-filter; \
- done
- @rm -f mpp
-
- install-data: magicfilter commoninstall
- for x in @srcdir@/filters/*.def;do \
-- sed -e 's,@MAGIC''FILTER@,@exedir@/magicfilter,' < $$x > $(prefix)/@filterdir@/`basename $$x .def`; \
-- chmod +x $(prefix)/@filterdir@/`basename $$x .def`; \
-+ sed -e 's,@MAGIC''FILTER@,@exedir@/magicfilter,' < $$x > $(DESTDIR)$(prefix)/@filterdir@/`basename $$x .def`; \
-+ chmod +x $(DESTDIR)$(prefix)/@filterdir@/`basename $$x .def`; \
- done
-
- install-man: VERSION commoninstall
- @SED@ -n -e 's/&PROGRAM&/magicfilter/g' -e 's/^MAN //p' -e @LPD_OPTS@ < magicfilter.8templ > $$$$; \
-- @INSTALL_DATA@ -m 444 $$$$ $(prefix)/@mandir@/man8/magicfilter.8; \
-+ @INSTALL_DATA@ $$$$ $(DESTDIR)$(prefix)/@mandir@/man8/magicfilter.8; \
- rm -f $$$$
-- @INSTALL_DATA@ -m 444 magicfilter.5 $(prefix)/@mandir@/man5
-+ @INSTALL_DATA@ magicfilter.5 $(DESTDIR)$(prefix)/@mandir@/man5
-
- install-man-t: VERSION commoninstall
- @SED@ -n -e 's/&PROGRAM&/magicfilter-t/g' -e 's/^MAN //p' -e 's/^TRAD//p' -e @LPD_OPTS@ < magicfilter.8templ > $$$$; \
-- @INSTALL_DATA@ -m 444 $$$$ $(prefix)/@mandir@/man8/magicfilter-t.8; \
-+ @INSTALL_DATA@ $$$$ $(DESTDIR)$(prefix)/@mandir@/man8/magicfilter-t.8; \
- rm -f $$$$
-- @INSTALL_DATA@ -m 444 magicfilter-t.5 $(prefix)/@mandir@/man5
-+ @INSTALL_DATA@ magicfilter-t.5 $(DESTDIR)$(prefix)/@mandir@/man5
-
- install-traditional: install-man-t install-bin-t install-data-t
-
diff --git a/net-print/magicfilter/magicfilter-2.3h.ebuild b/net-print/magicfilter/magicfilter-2.3h.ebuild
deleted file mode 100644
index 91663b6db45f..000000000000
--- a/net-print/magicfilter/magicfilter-2.3h.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs
-
-MY_P=${PN}-2.3.h
-
-DESCRIPTION="Customizable, extensible automatic printer filter"
-HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/magicfilter/"
-SRC_URI="http://www.pell.portland.or.us/~orc/Code/magicfilter/${MY_P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="lprng-failsafe"
-
-DEPEND="app-text/ghostscript-gpl"
-RDEPEND="${DEPEND}
- lprng-failsafe? ( net-print/lprng )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-2.3d-glibc-2.10.patch \
- "${FILESDIR}"/${PN}-2.3h-configure.patch \
- "${FILESDIR}"/${PN}-2.3h-makefile.patch
-}
-
-src_configure() {
- local myconf
- use lprng-failsafe && myconf="--with-lprng"
-
- tc-export CC
- export AC_CPP_PROG="$(tc-getCPP)"
-
- ./configure.sh \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --filterdir=/usr/share/magicfilter/filters \
- ${myconf} || die
-}
diff --git a/net-print/magicfilter/metadata.xml b/net-print/magicfilter/metadata.xml
deleted file mode 100644
index 3f641021f132..000000000000
--- a/net-print/magicfilter/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
- printing@gentoo.org
- Gentoo Printing Project
-
-
- Refuse options for compability with certain LPRng versions.
-
-
diff --git a/net-proxy/Manifest.gz b/net-proxy/Manifest.gz
index cff50e913c73..3bc1c308c7d3 100644
Binary files a/net-proxy/Manifest.gz and b/net-proxy/Manifest.gz differ
diff --git a/net-proxy/ufdbguard/Manifest b/net-proxy/ufdbguard/Manifest
deleted file mode 100644
index e66ae91e33bb..000000000000
--- a/net-proxy/ufdbguard/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST ufdbGuard-1.32.4.tar.gz 2499206 BLAKE2B 02070298cecdb93e189054d129235f391b7de94d1476f61b55cb7c1a38362b55817dfda1805d593a8939421889084135c3dfa7c3e72699d46667ad7263123aef SHA512 189cb67c533ab71ba1d3292a376d746e0565a3bf5de17f4407c5892ee24c20cd2574752bdcb08be19621a93114cc69a89767c581d531027ecbf6487ef3119d91
-DIST ufdbguard-1.32.4-manual.pdf 642626 BLAKE2B 335effd8443b005e4df067778bdbbd9fe2e4442009a8f59de70dec87aa265e3f134bed36006864bcea7381179d67619eeab6eb932815e3feb91e45fc492b3a89 SHA512 98444689c07da3ce9937675b45607ea88fc5a10c65051746cd821650788ec21cbc836a043a486de51813b85d836e255bb3a64a62252808dfe93310e6e169fdb1
diff --git a/net-proxy/ufdbguard/files/ufdb.confd b/net-proxy/ufdbguard/files/ufdb.confd
deleted file mode 100644
index 08c7e5f1a8fa..000000000000
--- a/net-proxy/ufdbguard/files/ufdb.confd
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- sh -*-
-
-# Tables to re-generate when starting or reloading ufdbguard
-UFDB_GT="alwaysallow alwaysdeny"
-
-# Options passed to ufdbGenTable when generating the tables listed in
-# UFDB_GT
-GENTABLE_OPTIONS="-W"
-
-# User under which to run ufdbguard; it should be the same as the
-# proxy server you're using, so by default it is squid.
-UFDB_USER="squid"
-
-# Options to pass to ufdbguardd; see /usr/libexec/ufdbguard/ufdbguardd
-# -h for a brief list.
-UFDB_OPTS=""
-
-# Options used by the modified ufdbUpdate script in Gentoo
-DOWNLOAD_USER=""
-DOWNLOAD_PASSWORD=""
diff --git a/net-proxy/ufdbguard/files/ufdb.initd b/net-proxy/ufdbguard/files/ufdb.initd
deleted file mode 100644
index e55c0e7d1a1e..000000000000
--- a/net-proxy/ufdbguard/files/ufdb.initd
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# reconfig is what the upstream documentation suggests, so let's
-# provide it for compatibility.
-extra_started_commands="reload reconfig"
-
-depend() {
- need net
- before squid
- use logger
-}
-
-get_config() {
- awk '$1 == "'$1'" { print $2 }' "/etc/ufdbGuard.conf"
-}
-
-gentables() {
- local dbhome=$(get_config dbhome)
-
- for gt in ${UFDB_GT} ; do
- [ -f "${dbhome}/${gt}/domains" ] || continue
-
- urls=
- [ -f "${dbhome}/${gt}/urls" ] && urls="${dbhome}/${gt}/urls"
-
- ebegin "Generating domainlist ${gt}"
- ufdbGenTable ${GENTABLE_OPTIONS} -t "${gt}" -d "${dbhome}/${gt}/domains" ${urls:+-u "${urls}"}
- eend $?
- done
-}
-
-start() {
- gentables
-
- local logdir=$(get_config logdir)
-
- if [ ! -d "${logdir}" ] ; then
- mkdir -p ${logdir}
- chown -R ${UFDB_USER} ${logdir}
- fi
-
- if [ ! -d /var/run/ufdbguardd ] ; then
- mkdir -p /var/run/ufdbguard
- chown -R ${UFDB_USER} /var/run/ufdbguard
- fi
-
- ebegin "Starting ufdbGuard"
- start-stop-daemon --start \
- --user ${UFDB_USER} \
- --wait 1500 \
- --exec /usr/libexec/ufdbguard/ufdbguardd \
- --pidfile /var/run/ufdbguard/ufdbguardd.pid -- \
- -c /etc/ufdbGuard.conf ${UFDB_OPTS}
- eend $? "Failed to start ufdbGuard"
-}
-
-stop() {
- ebegin "Stopping ufdbGuard"
- start-stop-daemon --stop \
- --exec /usr/libexec/ufdbguard/ufdbguardd \
- --pidfile /var/run/ufdbguard/ufdbguardd.pid
- eend $? "Failed to stop ufdbGuard"
-}
-
-reload() {
- if ! [ -f /var/run/ufdbguard/ufdbguardd.pid ]; then
- eerror "Unable to find PID file for ufdbguardd, was it just started?"
- return 1
- fi
-
- gentables
-
- ebegin "Reloading ufdbGuard"
- kill -HUP "$(cat /var/run/ufdbguard/ufdbguardd.pid)"
- eend $? "Failed to reload ufdbGuard"
-}
-
-reconfig() {
- reload
-}
diff --git a/net-proxy/ufdbguard/files/ufdb.initd.2 b/net-proxy/ufdbguard/files/ufdb.initd.2
deleted file mode 100644
index 44a7f59026e0..000000000000
--- a/net-proxy/ufdbguard/files/ufdb.initd.2
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# reconfig is what the upstream documentation suggests, so let's
-# provide it for compatibility.
-extra_started_commands="reload reconfig"
-
-: ${configfile:=/etc/ufdbGuard.conf}
-
-pidfile=/var/run/ufdbguard/ufdbguardd.pid
-command=/usr/libexec/ufdbguard/ufdbguardd
-command_arguments="-c ${configfile} ${FUDB_OPTS}"
-
-start_stop_daemon_args="--user ${UFDB_USER} --wait 1500"
-
-name="ufdbGuard Daemon"
-
-depend() {
- need localmount
- before squid
- use logger
-}
-
-get_config() {
- # Okay this sounds silly, but it is important because the settings
- # in ufdbGuard are quoted, so this unquotes them.
- eval echo $(awk '$1 == "'$1'" { print $2 }' "${configfile}")
-}
-
-gentables() {
- local dbhome=$(get_config dbhome)
-
- for gt in ${UFDB_GT} ; do
- [ -f "${dbhome}/${gt}/domains" ] || continue
-
- urls=
- [ -f "${dbhome}/${gt}/urls" ] && urls="${dbhome}/${gt}/urls"
-
- ebegin "Generating domainlist ${gt}"
- ufdbGenTable ${GENTABLE_OPTIONS} -t "${gt}" -d "${dbhome}/${gt}/domains" ${urls:+-u "${urls}"}
- eend $?
- done
-}
-
-start_pre() {
- gentables
-
- checkpath -d -m 0755 -o ${UFDB_USER} $(get_config logdir) "$(dirname "${pidfile}")"
-}
-
-reload() {
- if ! [ -f ${pidfile} ]; then
- eerror "Unable to find PID file for ufdbguardd, was it just started?"
- return 1
- fi
-
- gentables
-
- ebegin "Reloading ufdbGuard"
- kill -HUP "$(cat ${pidfile})"
- eend $? "Failed to reload ufdbGuard"
-}
-
-reconfig() {
- reload
-}
diff --git a/net-proxy/ufdbguard/files/ufdbUpdate.cron b/net-proxy/ufdbguard/files/ufdbUpdate.cron
deleted file mode 100644
index f9147648c8b7..000000000000
--- a/net-proxy/ufdbguard/files/ufdbUpdate.cron
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# cron.daily file to update the ufdb database
-
-# Avoid doing anything if no download user is set in the configuration
-# file
-( . /etc/conf.d/ufdb ; [ -z "${DOWNLOAD_USER}" ]; ) && exit
-
-/usr/sbin/ufdbUpdate
-
-/etc/init.d/squid rotate
diff --git a/net-proxy/ufdbguard/files/ufdbguard-1.24-gentoo.patch b/net-proxy/ufdbguard/files/ufdbguard-1.24-gentoo.patch
deleted file mode 100644
index 63da98175a0e..000000000000
--- a/net-proxy/ufdbguard/files/ufdbguard-1.24-gentoo.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: ufdbGuard-1.24/src/ufdbUpdate.in
-===================================================================
---- ufdbGuard-1.24.orig/src/ufdbUpdate.in
-+++ ufdbGuard-1.24/src/ufdbUpdate.in
-@@ -39,6 +39,8 @@ WGET_COMMAND="@WGET@"
- NOTIFY_UFDBGUARDD="yes" # send HUP signal to ufdbguardd
- SYSLOG_FACILITY="local6" # errors/warnings in system log have this facility name
-
-+source /etc/conf.d/ufdb
-+
- # end of user settings.
- # DO NOT EDIT ANYTHING BELOW THIS LINE. ########################################
-
diff --git a/net-proxy/ufdbguard/metadata.xml b/net-proxy/ufdbguard/metadata.xml
deleted file mode 100644
index 3914a0ffa999..000000000000
--- a/net-proxy/ufdbguard/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- The fastest URL filter with 25,000 URL verifications/sec to filter
- unwanted web content. ufdbGuard is a redirector for the Squid
- internet proxy.
-
-
-
- Build, install and start the provided mini-http daemon with the
- redirect CGI integrated. Since there is no way to tell ufdbguard
- to not start it, this is a build-time option.
-
-
- Download and install the ufdbguard reference manual in PDF.
-
-
-
- ufdbguard
-
-
diff --git a/net-proxy/ufdbguard/ufdbguard-1.32.4.ebuild b/net-proxy/ufdbguard/ufdbguard-1.32.4.ebuild
deleted file mode 100644
index 49efe94f7e60..000000000000
--- a/net-proxy/ufdbguard/ufdbguard-1.32.4.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils flag-o-matic user
-
-MY_P="ufdbGuard-${PV}"
-
-DESCRIPTION="ufdbGuard is a redirector for the Squid internet proxy"
-HOMEPAGE="http://www.urlfilterdb.com/en/products/ufdbguard.html"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
- doc? ( mirror://sourceforge/${PN}/${PV/\.?/}/ReferenceManual.pdf -> ${P}-manual.pdf )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +httpd"
-
-COMMON_DEPEND="
- app-arch/bzip2
- dev-libs/openssl:0=
- net-misc/wget
-"
-DEPEND="${COMMON_DEPEND}
- sys-devel/bison
- sys-devel/flex
-"
-RDEPEND="${COMMON_DEPEND}
- sys-apps/openrc
-"
-
-DOCS=( CHANGELOG README src/sampleufdbGuard.conf )
-
-PATCHES=( "${FILESDIR}"/${PN}-1.24-gentoo.patch )
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- enewgroup squid
- enewuser squid -1 -1 /var/cache/squid squid
-}
-
-src_configure() {
- # better safe than sorry, the code has a number of possible
- # breakage, and at least one certain breakage.
- append-flags -fno-strict-aliasing
-
- econf \
- --with-ufdb-user=squid \
- --with-ufdb-config="${EPREFIX}"/etc \
- --with-ufdb-bindir="${EPREFIX}"/usr/libexec/ufdbguard \
- --with-ufdb-logdir="${EPREFIX}"/var/log/ufdbguard \
- --with-ufdb-dbhome="${EPREFIX}"/usr/share/ufdbguard/blacklists \
- --with-ufdb-images_dir="${EPREFIX}"/usr/share/ufdbguard/images
-}
-
-src_install() {
- einstalldocs
- doman doc/*.1
-
- dobin src/ufdbAnalyse src/ufdbGenTable src/ufdbGrab \
- src/ufdbConvertDB
- dosbin src/ufdbUpdate
-
- exeinto /usr/libexec/ufdbguard
- doexe src/mtserver/ufdbguardd src/mtserver/ufdbgclient
-
- if use httpd; then
- exeinto /usr/libexec/ufdbguard
- doexe src/ufdbhttpd
- fi
-
- keepdir /usr/share/ufdbguard/blacklists
-
- insinto /etc
- doins src/ufdbGuard.conf
-
- insinto /usr/share/ufdbguard/images
- doins -r src/images/.
-
- newconfd "${FILESDIR}"/ufdb.confd ufdb
- newinitd "${FILESDIR}"/ufdb.initd.2 ufdb
-
- exeinto /etc/cron.daily
- newexe "${FILESDIR}"/ufdbUpdate.cron ufdbUpdate
-
- use doc && newdoc "${DISTDIR}"/${P}-manual.pdf ReferenceManual.pdf
-}
-
-pkg_postinst() {
- elog "The default location for the blacklist database has been"
- elog "moved to ${EROOT%/}/usr/share/ufdbguard/blacklists."
- elog ""
- elog "The configuration file is no longer configurable in the"
- elog "service file, and now resides at ${EROOT%/}/etc/ufdbGuard.conf ."
- elog ""
- elog "The service script has been renamed from ufdbguad to simply"
- elog "${EROOT%/}/etc/init.d/ufdb, to follow the official documentation, and"
- elog "it gained a reload option with a reconfig alias."
- elog ""
- elog "You can configure the username and password parameters for"
- elog "ufdbUpdate, to fetch the blacklist database provided by"
- elog "URLfilterDB, directly in ${EROOT%/}/etc/conf.d/ufdb without touching"
- elog "the script itself."
- elog ""
- elog "To enable ufdbguard in squid, you should add this to your"
- elog "squid.conf:"
- elog ""
- elog " url_rewrite_program ${EROOT%/}/usr/libexec/ufdbguard/ufdbgclient -l ${EROOT%/}/var/log/ufdbguard"
- elog " url_rewrite_children 64"
- elog ""
- if ! use httpd; then
- elog "You chose to not install the lightweight http daemon that"
- elog "comes with ufdbguard."
- else
- elog "The ufdb service will start both the ufdbguardd daemon and"
- elog "the ufdbhttpd http daemon to provide a local redirect CGI."
- elog "If you don't want this to happen, disable the httpd USE flag."
- fi
- if use doc; then
- elog ""
- elog "The reference manual has been installed as"
- elog " ${EROOT%/}/usr/share/doc/${PF}/ReferenceManual.pdf"
- fi
-}
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz
index ba2c609d7e0c..818d81857225 100644
Binary files a/net-wireless/Manifest.gz and b/net-wireless/Manifest.gz differ
diff --git a/net-wireless/bluez/bluez-5.50-r2.ebuild b/net-wireless/bluez/bluez-5.50-r2.ebuild
index 57d3306b4bad..99d6d794a165 100644
--- a/net-wireless/bluez/bluez-5.50-r2.ebuild
+++ b/net-wireless/bluez/bluez-5.50-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0/3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 x86"
IUSE="alsa btpclient cups doc debug deprecated extra-tools experimental +mesh +obex +readline selinux systemd test test-programs +udev user-session"
# Since this release all remaining extra-tools need readline support, but this could
diff --git a/net-wireless/gnome-bluetooth/Manifest b/net-wireless/gnome-bluetooth/Manifest
index fa6ba8bc1a50..c1827ae2fea1 100644
--- a/net-wireless/gnome-bluetooth/Manifest
+++ b/net-wireless/gnome-bluetooth/Manifest
@@ -1,2 +1 @@
-DIST gnome-bluetooth-3.20.1.tar.xz 615880 BLAKE2B 4b578bc7d1bf1d700f57117202e5f6461e1ace972f6922425a012eb1bcf96c7e511222a1dbd344469e0db96142d4da99face54e07d7359e28e20234d7766a70c SHA512 945dde99c6531e369702dea22e60f5b05759d751b16b091fc67c256e949cee8153f60ac7ad616c086366a0141b263b068fad28bab4b50b84356d59b4e464d88a
DIST gnome-bluetooth-3.28.2.tar.xz 349456 BLAKE2B 24a8adbbd37a6a7338a10bb84fd113c3a65bb9c5ef277c9df082f10f52b9d9dc2bc3ff6182993fd85fb5f5f8269a965f0aba864f73ed8595a700a51e59242fc1 SHA512 03f66f8c5c195b10cf2c13dc93191b9f2f79adae099ddb8037ef1277731f37b8f0a42b603e8aacbe2fb108be6abf7a77a823d86d5fac62a42a53e3498d53d87e
diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild
deleted file mode 100644
index 6777d42e513e..000000000000
--- a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit gnome2 udev user
-
-DESCRIPTION="Bluetooth graphical utilities integrated with GNOME"
-HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth"
-
-LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+"
-SLOT="2/13" # subslot = libgnome-bluetooth soname version
-IUSE="debug +introspection"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.38:2
- media-libs/libcanberra[gtk3]
- >=x11-libs/gtk+-3.12:3[introspection?]
- x11-libs/libnotify
- virtual/udev
- introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
-"
-RDEPEND="${COMMON_DEPEND}
- >=net-wireless/bluez-5
-"
-DEPEND="${COMMON_DEPEND}
- !net-wireless/bluez-gnome
- app-text/docbook-xml-dtd:4.1.2
- dev-libs/libxml2:2
- dev-util/gdbus-codegen
- dev-util/glib-utils
- >=dev-util/gtk-doc-am-1.9
- >=dev-util/intltool-0.40.0
- virtual/libudev
- virtual/pkgconfig
- x11-base/xorg-proto
-"
-# eautoreconf needs:
-# gnome-base/gnome-common
-
-pkg_setup() {
- enewgroup plugdev
-}
-
-src_prepare() {
- # Regenerate gdbus-codegen files to allow using any glib version; bug #436236
- # https://bugzilla.gnome.org/show_bug.cgi?id=758096
- rm -v lib/bluetooth-client-glue.{c,h} || die
- gnome2_src_prepare
-}
-
-src_configure() {
- gnome2_src_configure \
- $(usex debug --enable-debug=yes ' ') \
- $(use_enable introspection) \
- --enable-documentation \
- --disable-desktop-update \
- --disable-icon-update \
- --disable-static
-}
-
-src_install() {
- gnome2_src_install
- udev_dorules "${FILESDIR}"/61-${PN}.rules
-}
-
-pkg_postinst() {
- gnome2_pkg_postinst
- if ! has_version sys-auth/consolekit[acl] && ! has_version sys-apps/systemd[acl] ; then
- elog "Don't forget to add yourself to the plugdev group "
- elog "if you want to be able to control bluetooth transmitter."
- fi
-}
diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild
index 1bffc8c5dfe5..9cbfd6f8efd0 100644
--- a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild
+++ b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth"
LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+"
SLOT="2/13" # subslot = libgnome-bluetooth soname version
IUSE="gtk-doc +introspection"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
COMMON_DEPEND="
>=x11-libs/gtk+-3.12:3[introspection?]
diff --git a/net-wireless/gqrx-scanner/Manifest b/net-wireless/gqrx-scanner/Manifest
new file mode 100644
index 000000000000..cfc2ea77ba04
--- /dev/null
+++ b/net-wireless/gqrx-scanner/Manifest
@@ -0,0 +1 @@
+DIST gqrx-scanner-1.0.1_p20190329.tar.gz 16009 BLAKE2B 7e94fa825aa7cb90ae184b228bca9dcf52a3facbe5c7d19768a4b3ee4ac082e356118e07fc6dd69435e108576b4748dacc9e71b3a35d0f6215b1afcc94e874d2 SHA512 95365398a66c32137644b4e622c7ee1a7ac8687a29c9b6196ba21d0a55c555be146745924cb490cb5bd8fcdba22543a33c00b716de7642c91e0990397ed172a8
diff --git a/net-wireless/gqrx-scanner/gqrx-scanner-1.0.1_p20190329.ebuild b/net-wireless/gqrx-scanner/gqrx-scanner-1.0.1_p20190329.ebuild
new file mode 100644
index 000000000000..15f408d91077
--- /dev/null
+++ b/net-wireless/gqrx-scanner/gqrx-scanner-1.0.1_p20190329.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="frequency scanner for Gqrx Software Defined Radio receiver"
+HOMEPAGE="https://github.com/neural75/gqrx-scanner"
+COMMIT="46c09462c5e296fe1ee9c9ffe1fa6dd69e2ae128"
+SRC_URI="https://github.com/neural75/gqrx-scanner/archive/46c09462c5e296fe1ee9c9ffe1fa6dd69e2ae128.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+PDEPEND="net-wireless/gqrx"
diff --git a/net-wireless/gqrx-scanner/metadata.xml b/net-wireless/gqrx-scanner/metadata.xml
new file mode 100644
index 000000000000..20b49dabcf5e
--- /dev/null
+++ b/net-wireless/gqrx-scanner/metadata.xml
@@ -0,0 +1,15 @@
+
+
+
+
+ zerochaos@gentoo.org
+ Rick Farina
+
+
+ radio@gentoo.org
+ Radio
+
+
+ neural75/gqrx-scanner
+
+
diff --git a/profiles/Manifest.gz b/profiles/Manifest.gz
index 0d7f1239ec91..eb9ea70d5022 100644
Binary files a/profiles/Manifest.gz and b/profiles/Manifest.gz differ
diff --git a/profiles/arch/arm64/package.use.stable.mask b/profiles/arch/arm64/package.use.stable.mask
index 0eff8d1d274e..c40c70e99e31 100644
--- a/profiles/arch/arm64/package.use.stable.mask
+++ b/profiles/arch/arm64/package.use.stable.mask
@@ -69,7 +69,7 @@ app-text/xmlto latex
dev-libs/apr-util freetds odbc
sys-apps/man-pages l10n_fr
sys-apps/systemd cryptsetup policykit qrcode
-sys-auth/pambase consolekit pam_krb5 pam_ssh passwdqc
+sys-auth/pambase pam_krb5 pam_ssh passwdqc
sys-block/thin-provisioning-tools test
sys-devel/distcc gssapi
sys-devel/gettext cvs
diff --git a/profiles/arch/arm64/parent b/profiles/arch/arm64/parent
index 7663f5297bb4..eb001c6e8ab8 100644
--- a/profiles/arch/arm64/parent
+++ b/profiles/arch/arm64/parent
@@ -1,2 +1 @@
-../../features/multilib
../base
diff --git a/profiles/arch/arm64/use.stable.mask b/profiles/arch/arm64/use.stable.mask
index 6dd9e7e3b0ec..6b4e46c27d93 100644
--- a/profiles/arch/arm64/use.stable.mask
+++ b/profiles/arch/arm64/use.stable.mask
@@ -4,6 +4,10 @@
# This file requires eapi 5 or later. New entries go on top.
# Please use the same syntax as in use.mask
+# Andreas Sturmlechner (20 Apr 2019)
+# sys-auth/consolekit will not be stabilised anymore.
+consolekit
+
# Andreas Sturmlechner (31 Mar 2019)
# sys-auth/elogind not stable yet. bug #682158
elogind
diff --git a/profiles/arch/sparc/package.use.mask b/profiles/arch/sparc/package.use.mask
index 263ceeae41a8..3ade1e5e389a 100644
--- a/profiles/arch/sparc/package.use.mask
+++ b/profiles/arch/sparc/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sergei Trofimovich (20 Apr 2019)
+# No ffmpeg keywords on sparc
+media-sound/dir2ogg aac wma
+
# Sergei Trofimovich (28 Sep 2018)
# No stable nftables yet. Let new iptables stabilization
# to pick nftables up. Meanwhile keep old iptables off
diff --git a/profiles/package.mask b/profiles/package.mask
index 3178c8dfda71..a4b01f85877e 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -29,6 +29,84 @@
#--- END OF EXAMPLES ---
+# David Seifert (20 Apr 2019)
+# Completely broken build system, massive maintenance
+# burden, no new release since 2014.
+# Removal in 30 days. Bug #671432.
+sci-biology/cufflinks
+
+# James Le Cuirot (20 Apr 2019)
+# Ancient and long dead upstream. Use app-emulation/fs-uae
+# instead. Removal in 30 days. Bugs #432092, #602966.
+app-emulation/uae
+app-emulation/e-uae
+
+# Miroslav Šulc (19 Apr 2019)
+# Depends on >=virtual/{jdk,jre}-11 which is masked
+=www-servers/tomcat-9.0.19
+
+# David Seifert (19 Apr 2019)
+# Fails to build with >=dev-libs/boost-1.70 due to Boost.Signals1
+# removal. No development, no maintenance, no homepage.
+# Removal in 30 days. Bug #683762.
+sci-biology/blossoc
+sci-biology/snpfile
+
+# Georgy Yakovlev (18 Apr 2019)
+# This version is provided for testing of the upcoming 0.8.0 release.
+# It is not recommended for use, it contains known bugs.
+# This version supports TRIM.
+=sys-fs/zfs-kmod-0.8.0_rc*
+=sys-fs/zfs-0.8.0_rc*
+
+# Michał Górny (18 Apr 2019)
+# Unmaintained. Fails to build. Last bumped in 2016, and no new
+# releases since. Still depends on dead app-text/htmltidy (#671442).
+# No reverse dependencies.
+# Removal in 30 days. Bug #672886.
+dev-libs/xqilla
+
+# Michał Górny (18 Apr 2019)
+# Another NIH all-in-one library with no reverse dependencies. Last
+# bumped in 2015, with a broken patch. Nobody reported this until
+# tinderbox catched it, indicating that nobody is using this package.
+# Removal in 30 days. Bug #652632.
+dev-cpp/rudiments
+
+# Michał Górny (18 Apr 2019)
+# Unmaintained. The current version does not build with modern versions
+# of dev-libs/boost. It is multiple releases behind upstream (1900
+# commits according to GitHub). With the pace of upstream development,
+# it really needs a dedicated maintainer.
+# Removal in 30 days. Bug #629984.
+dev-libs/quantlib
+
+# Michał Górny (18 Apr 2019)
+# The packages are unmaintained. GCCXML and pyplusplus were last bumped
+# to snapshots from 2013 (pygccxml was bumped in 2016). GCCXML bundles
+# old GCC sources (4.8, most likely). In the meantime, upstream has
+# discontinued it in favor of CastXML (which uses clang). GCCXML fails
+# tests (#629986), so does pyplusplus (#656348). No reverse
+# dependencies outside the three packages.
+# Removal in 30 days. Bug #683748.
+dev-cpp/gccxml
+dev-python/pygccxml
+dev-python/pyplusplus
+
+# Michał Górny (18 Apr 2019)
+# Diverged too far from upstream Portage, and I don't have time anymore
+# to update or rebase it. The most significant features were merged
+# back upstream, some more are waiting, the rest is customization
+# and some aggressive QA bits. Use sys-apps/portage instead.
+# Removal in 30 days. Bug #683744.
+sys-apps/portage-mgorny
+
+# Michał Górny (18 Apr 2019)
+# All current versions of SystemRescueCD contain vulnerable packages.
+# Bug #683724.
+app-admin/systemrescuecd-x86
+sys-boot/systemrescuecd-x86-grub
+
# Georgy Yakovlev (17 Apr 2019)
# The Oracle JDK License has changed for releases starting April 16, 2019
# While it may be fine to use for some usecases it's not comepletely clear
@@ -309,13 +387,6 @@ xfce-extra/xfce4-netspeed-plugin
dev-lang/ruby:2.3
dev-ruby/did_you_mean:1
-# Andreas K. Hüttel (06 Apr 2019)
-# Preparations for the Perl 5.28.2 version bump.
-# DO NOT USE, work in progress.
-=dev-lang/perl-5.28.2*
-=virtual/perl-Module-CoreList-5.201.904.190
-=virtual/perl-Storable-3.80.100_rc
-
# Zac Medico (04 Apr 2019)
# Ebuild is not needed since consumers use EGO_VENDOR.
# Removal in 30 days. Bug #656972.
@@ -508,108 +579,6 @@ net-vpn/aiccu
# Removal in 30 days. Bug #681230.
net-misc/sjphone
-# Michał Górny (21 Mar 2019)
-# Upstream EOL-ed Python 3.4 on 2019-03-19. The last release fails
-# to build against openssl-1.1+.
-# Removal in 30 days. Bug #673960.
-=dev-lang/python-3.4*
-
-# Andreas Sturmlechner (21 Mar 2019)
-# Replaced by split packages: kde-apps/dolphin-plugins-bazaar,
-# -dropbox, -git, -mercurial, -subversion. Masked for removal in 30 days.
-kde-apps/dolphin-plugins
-
-# Michał Górny (21 Mar 2019)
-# Not really maintained anymore. Last upstream release is from 2015.
-# Fails to build against modern versions of app-crypt/mit-krb5, may have
-# more hidden issues. It is probably time to move to net-print/cups.
-# net-print/magicfilter is the only reverse dependency (from 2011).
-# Removal in 30 days. Bug #496922.
-net-print/lprng
-net-print/magicfilter
-
-# Michał Górny (21 Mar 2019)
-# Fails to build on modern systems. Really bad quality ebuild (#670524)
-# with a growing pile of patches. The current version dates back
-# to 2003. The homepage is dead. No reverse dependencies.
-# Removal in 30 days. Bug #542924.
-dev-libs/libmcal
-
-# Michał Górny (21 Mar 2019)
-# Library with no maintainer and no reverse dependencies. Fails
-# to build with sandbox violations.
-# Removal in 30 days. Bug #676190.
-x11-libs/hippo-canvas
-
-# Michał Górny (21 Mar 2019)
-# The following packages are unmaintained and fail to build against
-# openssl-1.1+.
-#
-# app-crypt/keynote: #675010, last updated upstream in 2000
-# dev-util/skipfish: #675124, last upstream commit in 2012
-# dev-util/wsta: #674004, no fix upstream, also #631610, #674526
-# games-util/gtkevemon: #675988, upstream API shut down
-# mail-client/nail: #676008, last commit in 2010, also #508480
-# mail-client/nmh: #676938, needs bump, 2014, also #676938, #680596
-# mail-filter/libdkim: #674892, no revdeps, last release in 2010
-# net-analyzer/bro: #675014, needs bump, current version is from 2015
-# net-analyzer/ffp: #674244, dead homepage, current version added 2005
-# net-analyzer/nodebrain: #674796, last commits in 2015
-# net-analyzer/postal: #677478, last release in 2012
-# net-ftp/netkit-ftpd: #676000, last rel in 2000, also #236290, #540330
-# net-im/ayttm: #676242, last commits in 2011 (+ one secfix in 2015)
-# net-im/climm: #674160, dead homepage, last commits in 2010
-# net-irc/bip: #674240, may need new snapshot, current ver is from 2013
-# net-irc/epic4: #677734, needs bump, current is from 2009, also #613120
-# net-irc/shadowircd: #674528, dead homepage, last commits in 2012
-# net-mail/peephole: #675012, last release from 2006
-# net-mail/qpopper: #674896, discontinued, from 2011, also #541996
-# net-mail/up-imapproxy: #674234, last commits in 2016, also #643898
-# net-mail/uw-imap: #678606, last upstream release in 2011
-# net-mail/uw-mailutils: #674174, same as uw-imap
-# net-misc/sslwrap: #674524, last updated upstream in 2000
-# net-misc/stone: #675612, needs new snapshot, current ver is from 2008
-# net-misc/tn5250: #678684, last commits in 2012
-# net-proxy/ufdbguard: #677482, needs bump, current ver is from 2016
-# sys-apps/nca: #676240, last updated upstream in 2004
-# x11-plugins/wmpeople: revdep of net-mail/peephole, from 2004
-#
-# Removal in 30 days.
-app-crypt/keynote
-dev-util/skipfish
-dev-util/wsta
-games-util/gtkevemon
-mail-client/nail
-mail-client/nmh
-mail-filter/libdkim
-net-analyzer/bro
-net-analyzer/ffp
-net-analyzer/nodebrain
-net-analyzer/postal
-net-ftp/netkit-ftpd
-net-im/ayttm
-net-im/climm
-net-irc/bip
-net-irc/epic4
-net-irc/shadowircd
-net-mail/peephole
-net-mail/qpopper
-net-mail/up-imapproxy
-net-mail/uw-imap
-net-mail/uw-mailutils
-net-misc/sslwrap
-net-misc/stone
-net-misc/tn5250
-net-proxy/ufdbguard
-sys-apps/nca
-x11-plugins/wmpeople
-
-# Michał Górny (21 Mar 2019)
-# Last release in 2010. No reverse dependencies. No maintainer.
-# Apparently bundles libraries.
-# Removal in 30 days. Bug #252500.
-dev-util/synopsis
-
# Miroslav Šulc (19 Mar 2019)
# Depends on >=virtual/{jdk,jre}-11 which is masked
=www-servers/tomcat-9.0.17
@@ -658,10 +627,6 @@ x11-drivers/xf86-video-voodoo
# Mask experimental software
=mail-mta/postfix-3.5*
-# Miroslav Šulc (10 Feb 2019)
-# Depends on >=virtual/{jdk,jre}-11 which is masked
-=www-servers/tomcat-9.0.16
-
# Dennis Lamm (29 Jan 2019)
# Depends on >=app-text/enchant-2.0.0 which is masked
=gnome-extra/gtkhtml-4.10.0-r1
diff --git a/profiles/updates/2Q-2015 b/profiles/updates/2Q-2015
index dd014353f564..d3eed44521b6 100644
--- a/profiles/updates/2Q-2015
+++ b/profiles/updates/2Q-2015
@@ -22,7 +22,6 @@ move kde-base/bovo kde-apps/bovo
move kde-base/cantor kde-apps/cantor
move kde-base/cervisia kde-apps/cervisia
move kde-base/dolphin kde-apps/dolphin
-move kde-base/dolphin-plugins kde-apps/dolphin-plugins
move kde-base/dragon kde-apps/dragon
move kde-base/ffmpegthumbs kde-apps/ffmpegthumbs
move kde-base/filelight kde-apps/filelight
diff --git a/profiles/updates/3Q-2015 b/profiles/updates/3Q-2015
index 8a00564db4aa..404e8df9827e 100644
--- a/profiles/updates/3Q-2015
+++ b/profiles/updates/3Q-2015
@@ -19,4 +19,3 @@ slotmove =dev-dotnet/dbus-sharp-0.7* 0 1.0
slotmove =dev-dotnet/dbus-sharp-0.8* 0 2.0
slotmove =dev-dotnet/dbus-sharp-glib-0.5* 0 1.0
slotmove =dev-dotnet/dbus-sharp-glib-0.6* 0 2.0
-move net-analyzer/nb net-analyzer/nodebrain
diff --git a/profiles/use.local.desc b/profiles/use.local.desc
index 9c717ce685e3..abab0139e3ea 100644
--- a/profiles/use.local.desc
+++ b/profiles/use.local.desc
@@ -508,6 +508,9 @@ app-emulation/faudio:test - Build and run faudio testsuite.
app-emulation/faudio:utils - Build all faudio utilities.
app-emulation/faudio:xnasong - Build support for optional XNG_SONG component (note: this not required by app-emulation/wine-staging, app-emulation/wine-vanilla for faudio XAudio support).
app-emulation/free42:alsa - Adds support for Advanced Linux Sound Architecture
+app-emulation/fs-uae:fmv - Enable support for CD32 FMV (full motion video)
+app-emulation/fs-uae:glew - Enable support for The OpenGL Extension Wrangler Library (media-libs/glew)
+app-emulation/fs-uae-launcher:lha - Enable LHA archive support
app-emulation/fuse:backend-X - Use X11 rendering backend
app-emulation/fuse:backend-fbcon - Use framebuffer rendering backend
app-emulation/fuse:backend-sdl - Use SDL rendering backend
@@ -652,6 +655,7 @@ app-emulation/virt-manager:sasl - Depend on the proper libraries needed to conne
app-emulation/virt-viewer:spice - Support connecting to SPICE-enabled virtual machines.
app-emulation/virt-viewer:vnc - Support connecting to VNC-enabled virtual machines.
app-emulation/virt-what:dmi - Use sys-apps/dmidecode to read firmware data
+app-emulation/virtualbox:dtrace - Install dtrace Extension Pack
app-emulation/virtualbox:headless - Build without any graphic frontend
app-emulation/virtualbox:lvm - Build VBoxVolInfo that needs devicemapper from sys-fs/lvm2.
app-emulation/virtualbox:pax_kernel - Apply patch needed for pax enabled kernels.
@@ -2005,7 +2009,6 @@ dev-java/oracle-jre-bin:headless-awt - Don't install the X backend for AWT, need
dev-java/oracle-jre-bin:javafx - Install JavaFX libraries
dev-java/oracle-jre-bin:jce - Install Java Cryptographic Extension Unlimited Strength Jurisdiction Policy Files
dev-java/proguard:ant - Ant task for using ProGuard in build.xml scripts
-dev-java/protobuf-java:nano - Enable code generator and runtime library designed specifically for resource-constrained systems, like Android
dev-java/rxtx:lfd - Installs and uses LockFileServer daemon (lfd)
dev-java/sbt:binary - Install from (Gentoo-compiled) binary instead of building from sources. Set this when you run out of memory during build.
dev-lang/bas:lr0 - Use the LR0 parser instead of the recursive descending parser
@@ -3143,6 +3146,7 @@ dev-util/diffoscope:tcpdump - Use net-analyzer/tcpdump
dev-util/diffoscope:xz - Use app-arch/xz-utils
dev-util/diffoscope:zip - Use app-arch/unzip
dev-util/edb-debugger:graphviz - Add support for the Graphviz library
+dev-util/edb-debugger:jumbo-build - Experimental jumbo (also known as unity) build capability
dev-util/edb-debugger:legacy-mem-write - Probe if writes to /proc/PID/mem are broken.
dev-util/edb-debugger:pax_kernel - Enable building under a PaX enabled kernel
dev-util/edi:clang - Provide integration with sys-devel/clang for autocompletion and inline errors
@@ -3748,10 +3752,6 @@ kde-apps/cantor:julia - Enable dev-lang/julia backend support
kde-apps/cantor:markdown - Enable Markdown support via app-text/discount
kde-apps/cantor:qalculate - Enable sci-libs/libqalculate backend support
kde-apps/dolphin:thumbnail - Enables thumbnail generation
-kde-apps/dolphin-plugins:bazaar - Enable support for the bazaar VCS
-kde-apps/dolphin-plugins:dropbox - Enable support for the dropbox fileviewer plugin
-kde-apps/dolphin-plugins:git - Enable support for the git VCS
-kde-apps/dolphin-plugins:mercurial - Enable support for the mercurial VCS
kde-apps/gwenview:activities - Enable kactivities support
kde-apps/gwenview:fits - Enable support for NASA's sci-libs/cfitsio library
kde-apps/gwenview:kipi - Enable support for the KDE Image Plugin Interface
@@ -4021,9 +4021,6 @@ mail-client/mutt:smime - Enable support for smime
mail-client/mutt:smime_classic - Build classic_smime backend to support S/MIME
mail-client/mutt:smtp - Enable support for direct SMTP delivery
mail-client/mutt:tokyocabinet - Enable dev-db/tokyocabinet database backend for header caching
-mail-client/nail:kerberos - If network is enabled, this adds support for GSSAPI login on IMAP through virtual/krb5.
-mail-client/nail:net - Enable support for network protocols (POP, IMAP and SMTP). If you only need to send mail with the local Transport Agent, disabling this will get you support for only /usr/sbin/sendmail call.
-mail-client/nail:ssl - If network is enabled, this adds support for S/MIME and SSL/TLS-powered protocols through dev-libs/openssl.
mail-client/neomutt:berkdb - Enable BDB (Berkley DB) backend for header caching
mail-client/neomutt:crypt - Add support for encryption -- using mcrypt or gpg where applicable
mail-client/neomutt:gdbm - Enable GDBM (GNU dbm) backend for header caching
@@ -4372,7 +4369,6 @@ media-gfx/librecad:3d - Require all 2D coordinates stored as 3D
media-gfx/librecad:tools - Build additional tool programs: tff2lff
media-gfx/luminance-hdr:fits - Enable support for the FITS format
media-gfx/mandelbulber:opencl - Enable GPU rendering support using OpenCL
-media-gfx/nomacs:heif - Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format using media-libs/libheif
media-gfx/nomacs:opencv - Build support for media-libs/opencv
media-gfx/nvidia-texture-tools:cg - Enable NVIDIA C graphics compiler toolkit plug-in
media-gfx/nvidia-texture-tools:glew - Enable support for The OpenGL Extension Wrangler Library (media-libs/glew)
@@ -5458,15 +5454,6 @@ net-analyzer/argus-clients:ft - Enable support for flow packets through net-anal
net-analyzer/barnyard:sguil - Enable sguil (The Analyst Console for Network Security Monitoring) support
net-analyzer/barnyard2:gre - Enable GRE support
net-analyzer/barnyard2:mpls - Enable support for mpls networks
-net-analyzer/bro:broccoli - Enable the Bro Client Communication Library
-net-analyzer/bro:broctl - An interactive shell for managing Bro installations
-net-analyzer/bro:broker - Bro's new Messaging Library (experimental)
-net-analyzer/bro:geoip - Enable support for Maxmind's GeoIP library
-net-analyzer/bro:ipv6 - Support for mobile IPv6
-net-analyzer/bro:python - Enable Python bindings
-net-analyzer/bro:ruby - Enable Ruby bindings (deprecated)
-net-analyzer/bro:tcmalloc - Enable Google's Performance Analysis Tools
-net-analyzer/bro:tools - Auxiliary tools for Bro: adtrace, bro-cut, devel-tools, rst
net-analyzer/bwm-ng:csv - Enable csv output
net-analyzer/bwm-ng:html - Enable html output
net-analyzer/cacti:doc - install html documentation
@@ -5572,6 +5559,7 @@ net-analyzer/netdata:ipmi - Install sys-apps/ipmitool required for monitoring IP
net-analyzer/netdata:nfacct - Enable the nfacct plugin
net-analyzer/netdata:nodejs - Enable use of nodejs (which some plugins use)
net-analyzer/netdata:tor - Enable monitoring of tor
+net-analyzer/netdata:xen - Enable monitoring of xen
net-analyzer/netperf:demo - Emit interim results during the run. May affect results
net-analyzer/nfdump:compat15 - Enable read support for nfdump data files created with nfdump 1.5.x
net-analyzer/nfdump:ftconv - Build the flow-tools to nfdump converter
@@ -5755,6 +5743,7 @@ net-dialup/ppp:ipv6 - Enables support for IP version 6
net-dialup/ppp:pam - Enables PAM (Pluggable Authentication Modules) support
net-dialup/ppp:radius - Enables RADIUS support
net-dialup/xl2tpd:dnsretry - Patch for host lookup retries, activated by redial feature
+net-dialup/xl2tpd:kernel - Enable kernel interface for PPPoL2TP
net-dns/avahi:autoipd - Build and install the IPv4LL (RFC3927) network address configuration daemon
net-dns/avahi:bookmarks - Install the avahi-bookmarks application (requires dev-python/twisted-core and dev-python/twisted-web)
net-dns/avahi:gtk3 - Build the avahi-ui-gtk3 library, and use gtk3 for the avahi utilities under USE=utils
@@ -5776,7 +5765,6 @@ net-dns/bind-tools:gssapi - Enable gssapi support
net-dns/bind-tools:libidn2 - Enables IDN support using net-dns/libidn2 rather than using net-dns/idnkit
net-dns/bind-tools:urandom - Use /dev/urandom instead of /dev/random
net-dns/ddclient:examples - Install various example files, like for cron.
-net-dns/ddclient:hardened - Use iproute2 instead of ifconfig to grab an IP address
net-dns/ddclient:iproute2 - Use sys-apps/iproute2 instead of sys-apps/net-tools for interaction.
net-dns/dnsdist:dnscrypt - Enable the ability to act as a DNSCrypt server
net-dns/dnsdist:fstrm - Enable support for fstrm via dev-libs/fstrm
@@ -5814,7 +5802,6 @@ net-dns/knot:libidn2 - If IDN support is enabled, use net-dns/libidn2 instead of
net-dns/knot:noudp - Enable the module which can send empty truncated responses to UDP queries
net-dns/knot:onlinesign - Enable the module that sign zones on the fly instead of pre-signing zone
net-dns/knot:queryacl - Enable the module for query access control
-net-dns/knot:rosedb - Enable the module that staticaly override certain responses
net-dns/knot:rrl - Enable the response rate limiting module
net-dns/knot:stats - Enable the server statistics module
net-dns/knot:synthrecord - Enable the automatic forward/reverse records module
@@ -6000,9 +5987,6 @@ net-ftp/pure-ftpd:resolveids - Resolve UIDs/GIDs
net-ftp/pure-ftpd:sysquota - Enables system quota support (needs sys-fs/quota)
net-ftp/pure-ftpd:vchroot - Enable support for virtual chroot (possible security risk)
net-ftp/yafc:ssh - Build with SFTP support
-net-im/ayttm:irc - Enable Internet Relay Chat support
-net-im/ayttm:lj - Enable livejournal.com support
-net-im/ayttm:smtp - Adds support for sending messages via RFC2821 SMTP
net-im/bitlbee:libevent - Use libevent for event handling
net-im/bitlbee:nss - Use NSS for SSL support in MSN and Jabber
net-im/bitlbee:otr - Enable support for encrypted conversations
@@ -6171,9 +6155,6 @@ net-irc/atheme-services:cracklib - Enable nickserv/cracklib module for enforcing
net-irc/atheme-services:largenet - Enable support/tweaks for large networks
net-irc/atheme-services:ldap - Enable ldap-backed authentication module
net-irc/atheme-services:perl - Install a perl module which wraps around the services' XML-RPC interface
-net-irc/bip:freenode - Enables freenode-specific functionality. Currently that is only support for mute lists (MODE #channel +q).
-net-irc/bip:noctcp - Disable the automatic CTCP VERSION reply which is often exploited by malicious people to cause a DoS (reconnect due to flooding).
-net-irc/bip:oidentd - Enable oidentd support
net-irc/epic5:archive - Use app-arch/libarchive to use zip and tar archives from scripts.
net-irc/epic5:valgrind - Compile against dev-util/valgrind headers to improve memory-leak checking when running epic5 under valgrind.
net-irc/hexchat:libcanberra - Enable sound event support using media-libs/libcanberra
@@ -6229,7 +6210,6 @@ net-irc/rbot:shorturl - Add dependency over dev-ruby/shorturl, which is needed t
net-irc/rbot:timezone - Add dependency over dev-ruby/tzinfo to enable the "time" plugin for rbot. If the USE flag is disabled the plugin is also disabled by default.
net-irc/rbot:toilet - Add dependency over app-misc/toilet, which is used by the "figlet" plugin for rbot. If the USE flag is disabled the plugin will be unable to use toilet; if figlet is also disabled, the plugin will be disabled.
net-irc/rbot:translator - Add dependency over dev-ruby/mechanize, which is needed to enable the "translator" plugin for rbot. If the USE flag is disabled the plugin is also disabled by default.
-net-irc/shadowircd:largenet - Enable support/tweaks for large networks
net-irc/unrealircd:class-nofakelag - Enable an unsupported class::options flag called “nofakelag” allowing you to grant fakelag exemption to normal user (instead of just opers).
net-irc/unrealircd:extban-stacking - Enable extended channel bans (such as +b ~c: and +b ~n:) to contain other extended bans instead of just hostmasks.
net-irc/unrealircd:operoverride - Enable OperOverride extension
@@ -6437,15 +6417,10 @@ net-mail/cyrus-imapd:sphinx - Enable Sphinx search engine support
net-mail/cyrus-imapd:xapian - Enable Xapian search engine support
net-mail/dbmail:sieve - Enable sieve filter support
net-mail/dovecot:argon2 - Add support for ARGON2 password schemes
-net-mail/dovecot:cydir - Add cydir storage support
-net-mail/dovecot:imapc - Add imap client storage support
net-mail/dovecot:lucene - Add lucene full text search (FTS) support using dev-cpp/clucene
net-mail/dovecot:lz4 - Add support for lz4 (de)compression
net-mail/dovecot:lzma - Add support for lzma (de)compression
net-mail/dovecot:managesieve - Add managesieve protocol support
-net-mail/dovecot:mdbox - Add mdbox storage support
-net-mail/dovecot:pop3c - Add pop3 client storage support
-net-mail/dovecot:sdbox - Add sdbox storage support
net-mail/dovecot:sieve - Add sieve support
net-mail/dovecot:solr - Add solr full text search (FTS) support
net-mail/dovecot:textcat - Add libtextcat language guessing support for full text search (FTS)
@@ -6476,14 +6451,11 @@ net-mail/notmuch:nmbug - Install experimental tag sharing / pseudo-bug-tracking
net-mail/notmuch:valgrind - Depend on dev-util/vagrind for test suite
net-mail/offlineimap:sqlite - Enable runtime support for sqlite mail status backend.
net-mail/qmailadmin:maildrop - Filter spam using maildrop
-net-mail/qpopper:apop - Enables the pop.auth file in /etc/pop.auth
-net-mail/qpopper:mailbox - Enables mail spool file is in home directory ~/Mailbox
net-mail/tpop3d:authexternal - Enable authentication by an external program
net-mail/tpop3d:flatfile - Enable authentication against /etc/passwd-style flat files
net-mail/tpop3d:passwd - Enable /etc/passwd authentication
net-mail/tpop3d:sha1 - Use OpenSSL for sha1 encrypted passwords.
net-mail/tpop3d:shadow - Enable /etc/shadow authentication
-net-mail/uw-imap:clearpasswd - Enables cleartext logins outside of SSL sessions
net-mail/vchkuser:debug - Enables debug messages to syslog
net-mail/vpopmail:clearpasswd - Enables cleartext password storage in the vpasswd files
net-mail/vpopmail:ipalias - Enables enable-ip-alias-domains
@@ -7097,8 +7069,6 @@ net-print/hplip:scanner - Enable scanner on multifunction devices which support
net-print/hplip:snmp - Add support for net-analyzer/net-snmp which enables this driver to work over networks (both for server and client)
net-print/hplip:static-ppds - Use statically-generated PPDs instead of Dynamic PPDs. Although this is deprecated some printers may still need it to work properly. Use this flag if hp-setup fails to find/create a valid PPD file
net-print/kyocera-1x2x-mfp-driver:rastertokpsl-fix - Use custom wrapper script to sanitize arguments before passing to 'rastertokpsl' filter program
-net-print/lprng:foomaticdb - Add support for the foomatic printing driver database
-net-print/magicfilter:lprng-failsafe - Refuse options for compability with certain LPRng versions.
net-proxy/haproxy:51degrees - Device Detection using 51 Degrees
net-proxy/haproxy:device-atlas - Use dev-libs/device-atlas-api-c library
net-proxy/haproxy:net_ns - Enable network namespace support (CONFIG_NET_NS)
@@ -7149,8 +7119,6 @@ net-proxy/tsocks:dns - Force DNS queries to use SOCKS server via tcp
net-proxy/tsocks:envconf - Allow TSOCKS_CONF_FILE to specify configuration file
net-proxy/tsocks:server-lookups - Allow hostname resolution _for_ SOCKS servers
net-proxy/tsocks:tordns - Apply tordns patch which allows transparent TORification of the DNS queries
-net-proxy/ufdbguard:doc - Download and install the ufdbguard reference manual in PDF.
-net-proxy/ufdbguard:httpd - Build, install and start the provided mini-http daemon with the redirect CGI integrated. Since there is no way to tell ufdbguard to not start it, this is a build-time option.
net-voip/telepathy-gabble:plugins - Enable plugin loader
net-voip/yate:amrnb - use AMR-NB
net-voip/yate:dahdi - Enable Dahdi driver
@@ -8152,8 +8120,9 @@ sys-auth/pambase:securetty - Enable pam_securetty module in the login stack. Not
sys-auth/pambase:sha512 - Switch Linux-PAM's pam_unix module to use sha512 for passwords hashes rather than MD5. This option requires sys-libs/pam version 1.0.1 built against sys-libs/glibc version 2.7, if it's built against an earlier version, it will silently be ignored, and MD5 hashes will be used. All the passwords changed after this USE flag is enabled will be saved to the shadow file hashed using SHA512 function. The password previously saved will be left untouched. Please note that while SHA512-hashed passwords will still be recognised if the USE flag is removed, the shadow file will not be compatible with systems using an earlier glibc version.
sys-auth/pambase:systemd - Use pam_systemd module to register user sessions in the systemd control group hierarchy.
sys-auth/passwdqc:utils - Install pwqcheck and pwqgen helper utilities
-sys-auth/polkit:elogind - Use sys-auth/elogind instead of sys-auth/consolekit for session tracking
-sys-auth/polkit:systemd - Use sys-apps/systemd instead of sys-auth/consolekit for session tracking
+sys-auth/polkit:consolekit - Use sys-auth/consolekit for session tracking
+sys-auth/polkit:elogind - Use sys-auth/elogind for session tracking
+sys-auth/polkit:systemd - Use sys-apps/systemd for session tracking
sys-auth/ssh-ldap-pubkey:schema - Install a copy of the LPK schema, only needed on LDAP servers.
sys-auth/sssd:acl - Build and use the cifsidmap plugin
sys-auth/sssd:autofs - Build helper to let net-fs/autofs use sssd provided information
diff --git a/sci-chemistry/Manifest.gz b/sci-chemistry/Manifest.gz
index 55165ed966c4..244994443415 100644
Binary files a/sci-chemistry/Manifest.gz and b/sci-chemistry/Manifest.gz differ
diff --git a/sci-chemistry/gromacs/Manifest b/sci-chemistry/gromacs/Manifest
index 6ce02f1af7e4..5ac0667d9312 100644
--- a/sci-chemistry/gromacs/Manifest
+++ b/sci-chemistry/gromacs/Manifest
@@ -4,6 +4,7 @@ DIST gromacs-2018.4.tar.gz 29918276 BLAKE2B daf3f91e47bab61befee4ecd91e4885835fc
DIST gromacs-2018.5.tar.gz 29911866 BLAKE2B 6f060d99ed6180ebc2c1b11d26548a8179312aaf9b356edcb8c6959a4aba5c081604a54e3d78d63dc0d8719a50a0bf5864b6b0186c280b38f59806d4e097857c SHA512 cb6c7624e6fa93c618ea0b412a3cac5f03ca07d2641231888b53501dc7de21e2b1a2d8630a9dbb065256c22a945e3d7b1c823a1b9f0fa01090e4e411eb34f4fb
DIST gromacs-2018.6.tar.gz 29911431 BLAKE2B a85c20d60dcd550265fcf8591aafc804b2acb8af588e67c808cbd9d53d6dc996013d5f917a9da75960c2ca6a846447700c144b7e471f657d700df9c6fc328f55 SHA512 d62f17ef93d4265407860d4f5adee3e70dc13b94cbb0972d6cc2e17d137b4e49f582c2ff8eb2b97d7a8789841cd1cb9b86edd3f1738d87be81054c8f87587a8b
DIST gromacs-2019.1.tar.gz 33435278 BLAKE2B c21c375e82c31686729bd3ea08592508f4e6ba64bb0d89781b5fde448e217f12b43c349e1d59c35b6d9697e32ab06ae304fb88632dd9fb9da71a85e4d65e8dc3 SHA512 22f6df47b2d6e569c7ea43e8a76d69afb18dd906c09a8c356b410c89204afcfe52c2f90a1f4e7fe0b6514e07a12f012763673d7f8c3276ef6bfa1fde34b1e327
+DIST gromacs-2019.2.tar.gz 33437869 BLAKE2B bebe4942688dace148856d4491b687b8e0fd2c86d7fbd9eecdb46824d316a0fc3854464ecafa79d8db92327ee8467be204b050c11f1e71132184efd812c3bf09 SHA512 da7ff24e8485774e22d1c2464fbe64675c3305ef0e21a3d17e363201031952e5d4a9b81f572d5284fb6f2596ed99daf62fe78d653387d9d714274f46bc750183
DIST gromacs-2019.tar.gz 33428725 BLAKE2B 307838a5ee1a85554d6f2ef8cd9c9dd2f3d9cacd32c534545c23483b5f3a1c7d027bfbdf224b90661cd8cd3fb85c0c99c66cbd619698245a0cb45ebd512dec5d SHA512 54b11530e8ff671461e3ae9418d991fe242957943c944798cddf6efe740eee670a562cd5201dbba68b045f4bafd3afa2dc8de27e0643c7def4e05eaf0ccb5769
DIST regressiontests-2016.5.tar.gz 67641413 BLAKE2B 4fcd30c198f3acbbabf1104c040d9a686de49536a97dbeb14732bfa0ed3cf37aa61b1b0f45393668985b993d1f1862a8985e416af819cf9793f5964f3e4f43cc SHA512 31764fd99cc4185d61de5d4443ee482c27b13533451a24aa0e4899997ce275a63685424eafacae38b1a3ffd4ce0d5ebe02a90348953b04c104f91376f0edfdff
DIST regressiontests-2018.3.tar.gz 67857855 BLAKE2B acd7a05ae79d1b4eb47d0c68a3fec9ee19f028a5019f39c37a033f48cf6da2a468375180ad6ceca9ac4f685a8bead38550663a47d6427b51f84c32a5c810e5f0 SHA512 57980d49efe6dcc3b3d14b5913a30c68fc1de5b679ef986fec1a149c76f67139b0299c3ee2825451461294fab5f345c7ad4f42e90f8991b81aafe9c369f3ff0b
@@ -11,4 +12,5 @@ DIST regressiontests-2018.4.tar.gz 67860326 BLAKE2B 0160f701a8fa14ba4f175f4fca98
DIST regressiontests-2018.5.tar.gz 67856231 BLAKE2B 3f9548a97088d552584e2115dbc25b7d54680b10bbfb732e96e064a3fc9eda1c21426875044cc664a1e2be37224209fe027310597aed45f4a033684d7552b5a0 SHA512 65134496efe04a978a4e9ce62873edcf98dc405d0fb93c82fafd0a0675465ccb662be4cb7e142c1a7a38e833e10a9ccdac5ea7ecd1bb61d3dfbdb92d78ac37b6
DIST regressiontests-2018.6.tar.gz 67854737 BLAKE2B 1f501eacdb6d052a53e7ac08bfe3d7fd052c5129a28674dc3ec87ab67ee8a64cce5357c1fb4e940c931d4ac0687da77e2600c18c115390d764d620282a626000 SHA512 8b947382b8fc8831ec913a2e300e6e1abc487049fc60bb771695fed56fd33bc3fdf24c1d865029be0266e9deaad05a552651c1a59e25a5c32184cc2c21d749ca
DIST regressiontests-2019.1.tar.gz 67603769 BLAKE2B f8937fc25b72bef52239e6197b4c5834723f2c5db755cd01117c2f26ca45b926efb338b2d7d1a9e340040800902d328f25a7cefb4afdf705c402347a0d54b5a7 SHA512 d16ccc01a6c368550b6b5e431368f6aaac9247def1543831253aed45c83b9caccca19ec9d21c18ee35ce0e12a06f2a08f99ec9d90e547c4b6c784252bdf727a1
+DIST regressiontests-2019.2.tar.gz 67643003 BLAKE2B 4178de5d62f194a81f97e442c10f123dc59c5e63f2078f7f07135709f3f6e530e0d237bf40264b285c084519d5ace75dfcbcddc16dc740c4f17233dc33542e45 SHA512 c1f25bc770d3f0a873c887d5563c1cd88179e81211b70ce6f5015696e6fa0b6931a8da7a449f2b223f3105b9e2e7eca67248e96fbfc2a7fd5fb360ba616f22ff
DIST regressiontests-2019.tar.gz 67597618 BLAKE2B fb950d8518cf1e28db5ebb99bdda8d269c5e43dd49a117bdaae9f00857abc7c096766fb90ff1d2d95a12a875ba2e243b707bfc81a45d07fc8b340a154cf2ad0f SHA512 081e56d052c0a0d021a8a1566f802911e261e1f2b5b2141350fe2372bcad0844042f26121167ed31a31490bd4e042068690c4905fcbc80b539686a074621fc5e
diff --git a/sci-chemistry/gromacs/gromacs-2019.2.ebuild b/sci-chemistry/gromacs/gromacs-2019.2.ebuild
new file mode 100644
index 000000000000..18717cf66cc4
--- /dev/null
+++ b/sci-chemistry/gromacs/gromacs-2019.2.ebuild
@@ -0,0 +1,307 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_MAKEFILE_GENERATOR="ninja"
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit bash-completion-r1 cmake-utils cuda eutils multilib python-single-r1 readme.gentoo-r1 toolchain-funcs xdg-utils
+
+if [[ $PV = *9999* ]]; then
+ EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
+ https://gerrit.gromacs.org/gromacs.git
+ https://github.com/gromacs/gromacs.git
+ http://repo.or.cz/r/gromacs.git"
+ [[ $PV = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:4}"
+ inherit git-r3
+else
+ SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
+ test? ( http://gerrit.gromacs.org/download/regressiontests-${PV/_/-}.tar.gz )"
+ KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+fi
+
+ACCE_IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_fma4 cpu_flags_x86_avx cpu_flags_x86_avx2"
+
+DESCRIPTION="The ultimate molecular dynamics simulation package"
+HOMEPAGE="http://www.gromacs.org/"
+
+# see COPYING for details
+# http://repo.or.cz/w/gromacs.git/blob/HEAD:/COPYING
+# base, vmd plugins, fftpack from numpy, blas/lapck from netlib, memtestG80 library, mpi_thread lib
+LICENSE="LGPL-2.1 UoI-NCSA !mkl? ( !fftw? ( BSD ) !blas? ( BSD ) !lapack? ( BSD ) ) cuda? ( LGPL-3 ) threads? ( BSD )"
+SLOT="0/${PV}"
+IUSE="X blas cuda +doc -double-precision +fftw +gmxapi +hwloc lapack +lmfit mkl mpi +offensive opencl openmp +single-precision test +threads +tng ${ACCE_IUSE}"
+
+CDEPEND="
+ X? (
+ x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ )
+ blas? ( virtual/blas )
+ cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.14 )
+ opencl? ( virtual/opencl )
+ fftw? ( sci-libs/fftw:3.0 )
+ hwloc? ( sys-apps/hwloc )
+ lapack? ( virtual/lapack )
+ lmfit? ( sci-libs/lmfit )
+ mkl? ( sci-libs/mkl )
+ mpi? ( virtual/mpi )
+ "
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+ doc? (
+ app-doc/doxygen
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ media-gfx/mscgen
+ dev-texlive/texlive-latex
+ dev-texlive/texlive-latexextra
+ media-gfx/imagemagick
+ )"
+RDEPEND="${CDEPEND}"
+
+REQUIRED_USE="
+ || ( single-precision double-precision )
+ cuda? ( single-precision )
+ cuda? ( !opencl )
+ mkl? ( !blas !fftw !lapack )"
+
+DOCS=( AUTHORS README )
+
+if [[ ${PV} != *9999 ]]; then
+ S="${WORKDIR}/${PN}-${PV/_/-}"
+fi
+
+pkg_pretend() {
+ [[ $(gcc-version) == "4.1" ]] && die "gcc 4.1 is not supported by gromacs"
+ use openmp && ! tc-has-openmp && \
+ die "Please switch to an openmp compatible compiler"
+}
+
+src_unpack() {
+ if [[ ${PV} != *9999 ]]; then
+ default
+ else
+ git-r3_src_unpack
+ if use test; then
+ EGIT_REPO_URI="git://git.gromacs.org/regressiontests.git" \
+ EGIT_BRANCH="${EGIT_BRANCH}" \
+ EGIT_CHECKOUT_DIR="${WORKDIR}/regressiontests"\
+ git-r3_src_unpack
+ fi
+ fi
+}
+
+src_prepare() {
+ #notes/todos
+ # -on apple: there is framework support
+
+ xdg_environment_reset #591952
+
+ cmake-utils_src_prepare
+
+ use cuda && cuda_src_prepare
+
+ GMX_DIRS=""
+ use single-precision && GMX_DIRS+=" float"
+ use double-precision && GMX_DIRS+=" double"
+
+ if use test; then
+ for x in ${GMX_DIRS}; do
+ mkdir -p "${WORKDIR}/${P}_${x}" || die
+ cp -al "${WORKDIR}/regressiontests"* "${WORKDIR}/${P}_${x}/tests" || die
+ done
+ fi
+
+ DOC_CONTENTS="Gromacs can use sci-chemistry/vmd to read additional file formats"
+
+ # try to create policy for imagemagik
+ mkdir -p ${HOME}/.config/ImageMagick
+ cat >> ${HOME}/.config/ImageMagick/policy.xml <<- EOF
+
+
+ !ATTLIST policymap xmlns CDATA #FIXED ''>
+
+
+ ]>
+
+
+
+
+
+
+
+
+ EOF
+}
+
+src_configure() {
+ local mycmakeargs_pre=( ) extra fft_opts=( )
+
+ #go from slowest to fastest acceleration
+ local acce="None"
+ use cpu_flags_x86_sse2 && acce="SSE2"
+ use cpu_flags_x86_sse4_1 && acce="SSE4.1"
+ use cpu_flags_x86_fma4 && acce="AVX_128_FMA"
+ use cpu_flags_x86_avx && acce="AVX_256"
+ use cpu_flags_x86_avx2 && acce="AVX2_256"
+
+ #to create man pages, build tree binaries are executed (bug #398437)
+ [[ ${CHOST} = *-darwin* ]] && \
+ extra+=" -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF"
+
+ if use fftw; then
+ fft_opts=( -DGMX_FFT_LIBRARY=fftw3 )
+ elif use mkl && has_version "=sci-libs/mkl-10*"; then
+ fft_opts=( -DGMX_FFT_LIBRARY=mkl
+ -DMKL_INCLUDE_DIR="${MKLROOT}/include"
+ -DMKL_LIBRARIES="$(echo /opt/intel/mkl/10.0.5.025/lib/*/libmkl.so);$(echo /opt/intel/mkl/10.0.5.025/lib/*/libiomp*.so)"
+ )
+ elif use mkl; then
+ local bits=$(get_libdir)
+ fft_opts=( -DGMX_FFT_LIBRARY=mkl
+ -DMKL_INCLUDE_DIR="$(echo /opt/intel/*/mkl/include)"
+ -DMKL_LIBRARIES="$(echo /opt/intel/*/mkl/lib/*${bits/lib}/libmkl_rt.so)"
+ )
+ else
+ fft_opts=( -DGMX_FFT_LIBRARY=fftpack )
+ fi
+
+ if use lmfit; then
+ local lmfit_opts=( -DGMX_USE_LMFIT=EXTERNAL )
+ else
+ local lmfit_opts=( -DGMX_USE_LMFIT=INTERNAL )
+ fi
+
+ mycmakeargs_pre+=(
+ "${fft_opts[@]}"
+ "${lmfit_opts[@]}"
+ -DGMX_X11=$(usex X)
+ -DGMX_EXTERNAL_BLAS=$(usex blas)
+ -DGMX_EXTERNAL_LAPACK=$(usex lapack)
+ -DGMX_OPENMP=$(usex openmp)
+ -DGMX_COOL_QUOTES=$(usex offensive)
+ -DGMX_USE_TNG=$(usex tng)
+ -DGMX_BUILD_MANUAL=$(usex doc)
+ -DGMX_HWLOC=$(usex hwloc)
+ -DGMX_DEFAULT_SUFFIX=off
+ -DGMX_SIMD="$acce"
+ -DGMX_VMD_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/"
+ -DBUILD_TESTING=$(usex test)
+ -DGMX_BUILD_UNITTESTS=$(usex test)
+ -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}"
+ ${extra}
+ )
+
+ for x in ${GMX_DIRS}; do
+ einfo "Configuring for ${x} precision"
+ local suffix=""
+ #if we build single and double - double is suffixed
+ use double-precision && use single-precision && \
+ [[ ${x} = "double" ]] && suffix="_d"
+ local p
+ [[ ${x} = "double" ]] && p="-DGMX_DOUBLE=ON" || p="-DGMX_DOUBLE=OFF"
+ local cuda=( "-DGMX_GPU=OFF" )
+ [[ ${x} = "float" ]] && use cuda && \
+ cuda=( "-DGMX_GPU=ON" )
+ local opencl=( "-DGMX_USE_OPENCL=OFF" )
+ use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" )
+ mycmakeargs=(
+ ${mycmakeargs_pre[@]} ${p}
+ -DGMX_MPI=OFF
+ -DGMX_THREAD_MPI=$(usex threads)
+ -DGMXAPI=$(usex gmxapi)
+ "${opencl[@]}"
+ "${cuda[@]}"
+ "$(use test && echo -DREGRESSIONTEST_PATH="${WORKDIR}/${P}_${x}/tests")"
+ -DGMX_BINARY_SUFFIX="${suffix}"
+ -DGMX_LIBS_SUFFIX="${suffix}"
+ )
+ BUILD_DIR="${WORKDIR}/${P}_${x}" cmake-utils_src_configure
+ [[ ${CHOST} != *-darwin* ]] || \
+ sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
+ use mpi || continue
+ einfo "Configuring for ${x} precision with mpi"
+ mycmakeargs=(
+ ${mycmakeargs_pre[@]} ${p}
+ -DGMX_THREAD_MPI=OFF
+ -DGMX_MPI=ON ${cuda}
+ -DGMX_OPENMM=OFF
+ -DGMXAPI=OFF
+ -DGMX_BUILD_MDRUN_ONLY=ON
+ -DBUILD_SHARED_LIBS=OFF
+ -DGMX_BUILD_MANUAL=OFF
+ -DGMX_BINARY_SUFFIX="_mpi${suffix}"
+ -DGMX_LIBS_SUFFIX="_mpi${suffix}"
+ )
+ BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" CC="mpicc" cmake-utils_src_configure
+ [[ ${CHOST} != *-darwin* ]] || \
+ sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}_mpi/gentoo_rules.cmake" || die
+ done
+}
+
+src_compile() {
+ for x in ${GMX_DIRS}; do
+ einfo "Compiling for ${x} precision"
+ BUILD_DIR="${WORKDIR}/${P}_${x}"\
+ cmake-utils_src_compile
+ # not 100% necessary for rel ebuilds as available from website
+ if use doc; then
+ BUILD_DIR="${WORKDIR}/${P}_${x}"\
+ cmake-utils_src_compile manual
+ fi
+ use mpi || continue
+ einfo "Compiling for ${x} precision with mpi"
+ BUILD_DIR="${WORKDIR}/${P}_${x}_mpi"\
+ cmake-utils_src_compile
+ done
+}
+
+src_test() {
+ for x in ${GMX_DIRS}; do
+ BUILD_DIR="${WORKDIR}/${P}_${x}"\
+ cmake-utils_src_make check
+ done
+}
+
+src_install() {
+ for x in ${GMX_DIRS}; do
+ BUILD_DIR="${WORKDIR}/${P}_${x}" \
+ cmake-utils_src_install
+ if use doc; then
+ newdoc "${WORKDIR}/${P}_${x}"/docs/manual/gromacs.pdf "${PN}-manual-${PV}.pdf"
+ fi
+ use mpi || continue
+ BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" \
+ cmake-utils_src_install
+ done
+
+ if use tng; then
+ insinto /usr/include/tng
+ doins src/external/tng_io/include/tng/*h
+ fi
+ # drop unneeded stuff
+ rm "${ED}"usr/bin/GMXRC* || die
+ for x in "${ED}"usr/bin/gmx-completion-*.bash ; do
+ local n=${x##*/gmx-completion-}
+ n="${n%.bash}"
+ cat "${ED}"usr/bin/gmx-completion.bash "$x" > "${T}/${n}" || die
+ newbashcomp "${T}"/"${n}" "${n}"
+ done
+ rm "${ED}"usr/bin/gmx-completion*.bash || die
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please read and cite:"
+ einfo "Gromacs 4, J. Chem. Theory Comput. 4, 435 (2008). "
+ einfo "https://dx.doi.org/10.1021/ct700301q"
+ einfo
+ readme.gentoo_print_elog
+}
diff --git a/sci-electronics/Manifest.gz b/sci-electronics/Manifest.gz
index 54843f0bc0bb..2b7810029ef0 100644
Binary files a/sci-electronics/Manifest.gz and b/sci-electronics/Manifest.gz differ
diff --git a/sci-electronics/puff/puff-20100127-r1.ebuild b/sci-electronics/puff/puff-20100127-r1.ebuild
index 9ea282b9822f..0c27ca623e46 100644
--- a/sci-electronics/puff/puff-20100127-r1.ebuild
+++ b/sci-electronics/puff/puff-20100127-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,8 +6,8 @@ EAPI=7
inherit flag-o-matic
DESCRIPTION="microwave CAD software"
-HOMEPAGE="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/puff/"
-SRC_URI="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/${PN}/${P}.tgz"
+HOMEPAGE="https://wwwhome.cs.utwente.nl/~ptdeboer/ham/puff/"
+SRC_URI="https://wwwhome.cs.utwente.nl/~ptdeboer/ham/${PN}/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index 9100e6038f4d..2004d6659bfc 100644
Binary files a/sci-libs/Manifest.gz and b/sci-libs/Manifest.gz differ
diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest
index c97d47fcd0b3..3e32eb9e943f 100644
--- a/sci-libs/sundials/Manifest
+++ b/sci-libs/sundials/Manifest
@@ -1,3 +1,4 @@
DIST sundials-2.7.0.tar.gz 12258093 BLAKE2B 331fcf255f2bb8bcc798818b05db114feda7aacb6585177a836f17a9b58477f504099b4a33c7d71cab6e70eeb6fe47a76d101c08aa6219ee6fbac630524d5928 SHA512 c86c167538065a4109b36ae7c8f60f3d92184133cfa661b5acfccee052c38f40be865412a1746bb57907b61602c212c0f15e1e30ef29e8a49db6d46a75a28e69
DIST sundials-3.0.0.tar.gz 12996039 BLAKE2B 0557190f6f7550bd4d7d3df10f727c6f235ff4917f2cfd35ca77785037edc43236a82383664f6fe1579bb5b07a148875b82b22f5a9e4f5f2a0607838e8a3b286 SHA512 3c86c7f27e64c2e6732546b0b1e87ea092502e361cae09b3b7eb29795c978edf494e17be13b78541dc91cc0709d928006bd0fc62ea968f2b621efa51856cdd60
DIST sundials-3.1.0.tar.gz 13033516 BLAKE2B 41294c1022ab09db6fbfa0d41c169d2ead3483693653a9c0cc26fdffec61918fed5e93241f64f9bfdc6ff22812fb846f3ea8deecd82c28d179dded85ec2c69ba SHA512 288427e00f58c512583cc14d81385e82b0fdeaa4e9adca588a108ad0752341b7be62c9fa2740924ec733e3e0d5794f305dc582fc72e244e675e5ea00ac0d08ca
+DIST sundials-3.1.2.tar.gz 18212893 BLAKE2B cee897f59920d6530553e4005b043fe615bf86ed6cc4ecb829afc25ea46c1a37cefd5a05584bd763af29689980d7bb03442ad22c4b83dd3af2406e786540652a SHA512 b65989998b440b2b5c5d000f4b86d8bcbf03215fcee4e348cd4b8ff935ea3471a3593ab8bd0e7d5f8ba519b5a1285cc93d41ec622d0b51592d7593c7579af082
diff --git a/sci-libs/sundials/files/sundials-3.1.2-fix-license-install-path.patch b/sci-libs/sundials/files/sundials-3.1.2-fix-license-install-path.patch
new file mode 100644
index 000000000000..188e29999fca
--- /dev/null
+++ b/sci-libs/sundials/files/sundials-3.1.2-fix-license-install-path.patch
@@ -0,0 +1,9 @@
+diff -ru sundials-3.1.2.orig/CMakeLists.txt sundials-3.1.2/CMakeLists.txt
+--- sundials-3.1.2.orig/CMakeLists.txt 2018-07-31 17:25:19.000000000 -0000
++++ sundials-3.1.2/CMakeLists.txt 2019-04-17 12:18:58.894563957 -0000
+@@ -1629,4 +1629,4 @@
+ # install license file
+ INSTALL(
+ FILES ${PROJECT_SOURCE_DIR}/LICENSE
+- DESTINATION include/sundials)
++ DESTINATION share/doc/sundials-3.1.2)
diff --git a/sci-libs/sundials/sundials-3.1.2.ebuild b/sci-libs/sundials/sundials-3.1.2.ebuild
new file mode 100644
index 000000000000..e5ad2325ff83
--- /dev/null
+++ b/sci-libs/sundials/sundials-3.1.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD=90
+
+inherit cmake-utils toolchain-funcs fortran-2 versionator
+
+DESCRIPTION="Suite of nonlinear solvers"
+HOMEPAGE="https://computation.llnl.gov/projects/sundials"
+SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/$(get_major_version)"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
+REQUIRED_USE="hypre? ( mpi )"
+
+RDEPEND="
+ lapack? ( virtual/lapack )
+ mpi? ( virtual/mpi sci-libs/hypre:= )
+ sparse? ( sci-libs/klu:= )
+ superlumt? ( sci-libs/superlu_mt:= )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-fix-license-install-path.patch )
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+ ewarn "OpenMP is not available in your current selected gcc"
+ die "need openmp capable gcc"
+ fi
+}
+
+src_configure() {
+ mycmakeargs+=(
+ -DBUILD_SHARED_LIBS=ON
+ -DBUILD_STATIC_LIBS="$(usex static-libs)"
+ -DCXX_ENABLE="$(usex cxx)"
+ -DFCMIX_ENABLE="$(usex fortran)"
+ -DF90_ENABLE="$(usex fortran)"
+ -DHYPRE_ENABLE="$(usex hypre)"
+ -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
+ -DKLU_ENABLE="$(usex sparse)"
+ -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
+ -DLAPACK_ENABLE="$(usex lapack)"
+ -DMPI_ENABLE="$(usex mpi)"
+ -DOPENMP_ENABLE="$(usex openmp)"
+ -DPTHREAD_ENABLE="$(usex threads)"
+ -DSUPERLUMT_ENABLE="$(usex superlumt)"
+ -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
+ -DSUPERLUMT_LIBRARY="superlu_mt"
+ -DEXAMPLES_ENABLE="$(usex examples)"
+ -DEXAMPLES_INSTALL=ON
+ -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+ -DUSE_GENERIC_MATH=ON
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dodoc doc/*/*.pdf
+ cd src
+ for r in */README; do
+ newdoc ${r} README-${r%/*}
+ done
+
+ # Use a sledgehammer, patching the buildsystem is too annoyoing (the
+ # CMake build systems consists of 2000 "lib" DESTINATIONS...)
+ if [[ lib != $(get_libdir) ]]; then
+ mv "${ED%/}"/usr/lib "${ED%/}"/usr/$(get_libdir) || die
+ fi
+}
diff --git a/sec-policy/Manifest.gz b/sec-policy/Manifest.gz
index fc7418609cd7..b84c0f55ea29 100644
Binary files a/sec-policy/Manifest.gz and b/sec-policy/Manifest.gz differ
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r1.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r1.ebuild
index a72df4c245a4..f912f538e6ea 100644
--- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r1.ebuild
+++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
KEYWORDS="amd64 -arm ~arm64 ~mips x86"
fi
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r2.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r2.ebuild
index 64fe27480297..168222b80661 100644
--- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r2.ebuild
+++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
KEYWORDS="amd64 -arm ~arm64 ~mips x86"
fi
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r3.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r3.ebuild
index b2976ccee54b..2ec944121acd 100644
--- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r3.ebuild
+++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180114-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
KEYWORDS="~amd64 -arm ~arm64 ~mips ~x86"
fi
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180701-r1.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180701-r1.ebuild
index 898b28a71b8f..edafab22ce16 100644
--- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180701-r1.ebuild
+++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180701-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
KEYWORDS="amd64 -arm ~arm64 ~mips x86"
fi
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180701-r2.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180701-r2.ebuild
index 58046fa74ff8..6905e0f14863 100644
--- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20180701-r2.ebuild
+++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20180701-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
KEYWORDS="~amd64 -arm ~arm64 ~mips ~x86"
fi
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20190201-r1.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20190201-r1.ebuild
index 5da851fdae6d..6905e0f14863 100644
--- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20190201-r1.ebuild
+++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20190201-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
KEYWORDS="~amd64 -arm ~arm64 ~mips ~x86"
fi
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild
index f68a3519c796..6905e0f14863 100644
--- a/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild
+++ b/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/${PN}/patchbundle-${PN}-${PVR}.tar.bz2"
KEYWORDS="~amd64 -arm ~arm64 ~mips ~x86"
fi
diff --git a/sec-policy/selinux-base/selinux-base-2.20180114-r1.ebuild b/sec-policy/selinux-base/selinux-base-2.20180114-r1.ebuild
index 17235751cf39..5c86e23535ce 100644
--- a/sec-policy/selinux-base/selinux-base-2.20180114-r1.ebuild
+++ b/sec-policy/selinux-base/selinux-base-2.20180114-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
KEYWORDS="amd64 -arm ~arm64 ~mips x86"
fi
diff --git a/sec-policy/selinux-base/selinux-base-2.20180114-r2.ebuild b/sec-policy/selinux-base/selinux-base-2.20180114-r2.ebuild
index 17235751cf39..5c86e23535ce 100644
--- a/sec-policy/selinux-base/selinux-base-2.20180114-r2.ebuild
+++ b/sec-policy/selinux-base/selinux-base-2.20180114-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
KEYWORDS="amd64 -arm ~arm64 ~mips x86"
fi
diff --git a/sec-policy/selinux-base/selinux-base-2.20180114-r3.ebuild b/sec-policy/selinux-base/selinux-base-2.20180114-r3.ebuild
index b779ed9e7cf9..b4344907d547 100644
--- a/sec-policy/selinux-base/selinux-base-2.20180114-r3.ebuild
+++ b/sec-policy/selinux-base/selinux-base-2.20180114-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
KEYWORDS="~amd64 -arm ~arm64 ~mips ~x86"
fi
diff --git a/sec-policy/selinux-base/selinux-base-2.20180701-r1.ebuild b/sec-policy/selinux-base/selinux-base-2.20180701-r1.ebuild
index 4cfcbe775ba8..020f30cfb94e 100644
--- a/sec-policy/selinux-base/selinux-base-2.20180701-r1.ebuild
+++ b/sec-policy/selinux-base/selinux-base-2.20180701-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
KEYWORDS="amd64 -arm ~arm64 ~mips x86"
fi
diff --git a/sec-policy/selinux-base/selinux-base-2.20180701-r2.ebuild b/sec-policy/selinux-base/selinux-base-2.20180701-r2.ebuild
index 32e8fed4269a..942ea13d67f1 100644
--- a/sec-policy/selinux-base/selinux-base-2.20180701-r2.ebuild
+++ b/sec-policy/selinux-base/selinux-base-2.20180701-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
KEYWORDS="~amd64 -arm ~arm64 ~mips ~x86"
fi
diff --git a/sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild b/sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild
index e34c4523afe8..942ea13d67f1 100644
--- a/sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild
+++ b/sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
KEYWORDS="~amd64 -arm ~arm64 ~mips ~x86"
fi
diff --git a/sec-policy/selinux-base/selinux-base-9999.ebuild b/sec-policy/selinux-base/selinux-base-9999.ebuild
index 000ddea14dd4..942ea13d67f1 100644
--- a/sec-policy/selinux-base/selinux-base-9999.ebuild
+++ b/sec-policy/selinux-base/selinux-base-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
- https://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
+ https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
KEYWORDS="~amd64 -arm ~arm64 ~mips ~x86"
fi
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz
index e8f37b97127e..ba0a9d6f0f82 100644
Binary files a/sys-apps/Manifest.gz and b/sys-apps/Manifest.gz differ
diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest
index 49b85b773fb2..8aff2cb96e84 100644
--- a/sys-apps/bleachbit/Manifest
+++ b/sys-apps/bleachbit/Manifest
@@ -1,2 +1,2 @@
DIST bleachbit-2.0.tar.gz 886357 BLAKE2B f63ded34d245df892b2c14683ceaae8b57e786a8ab3111e7f76d484c6d3db404996119ab4114c3ae025848936a784878b3f100cf2ca8737401a6daaaf74a077e SHA512 adf5c2f2382b2eaab0eb2b4a173b392c160af7974f223c74ae51a30423514a15b98f04194b9ccde209b5c067d8481f0f1ee28651896d3002fcfa3927d8db056b
-DIST bleachbit-2.1.tar.gz 1080424 BLAKE2B 684fc7db66b0de1aa0a4673f6b9b7887a3dcd14946e599771e548706d6ecfb54e264e6e953b986bd160e182d28ee4468dac0e637fc010fc4f0d31d5b7448c3ad SHA512 eac62c02bc196760869b6c2d31f13d52220a2e62a7e9a7584ebcbe498e14d5c606937cfef9a1cfd2f585b1b9641572c2a81e28515679f8f6a72e95e97b6a0cd8
+DIST bleachbit-2.2.tar.gz 1100913 BLAKE2B a16e63a2533f9d9c385d384e2fd65dbb32a8f064e769f99e8a8cab9c4069cc7b21e6896c5fa8d02d8204e8c93da8a5f66605601eb44ecc354d41f1a6d9fe2d0a SHA512 c7661cc64358a6420768c3ee1a6ec97d2fd4f0bf67b393be045ef79cef8b3f8cc273a51a5dd7c79d89b8a14cd1357f7714fc860addc9ae74af48bd8d427b3a5a
diff --git a/sys-apps/bleachbit/bleachbit-2.1.ebuild b/sys-apps/bleachbit/bleachbit-2.2.ebuild
similarity index 98%
rename from sys-apps/bleachbit/bleachbit-2.1.ebuild
rename to sys-apps/bleachbit/bleachbit-2.2.ebuild
index 693390017bc3..cb4c5a71633e 100644
--- a/sys-apps/bleachbit/bleachbit-2.1.ebuild
+++ b/sys-apps/bleachbit/bleachbit-2.2.ebuild
@@ -18,7 +18,6 @@ KEYWORDS="~amd64 ~x86"
IUSE="+gtk"
RDEPEND="gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}"
BDEPEND="sys-devel/gettext"
python_prepare_all() {
diff --git a/sys-apps/collectl/collectl-4.3.1.ebuild b/sys-apps/collectl/collectl-4.3.1.ebuild
index 7ffa8740f70e..753b8fcb3eff 100644
--- a/sys-apps/collectl/collectl-4.3.1.ebuild
+++ b/sys-apps/collectl/collectl-4.3.1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/collectl/${P}.src.tar.gz"
LICENSE="GPL-2 Artistic"
SLOT="0"
-KEYWORDS="~alpha amd64 ~ia64 ~x86"
+KEYWORDS="~alpha amd64 ~ia64 x86"
IUSE=""
RDEPEND=">=dev-lang/perl-5.8.8
diff --git a/sys-apps/fakechroot/Manifest b/sys-apps/fakechroot/Manifest
index 2cf9dedf11bf..2e1daebc38fe 100644
--- a/sys-apps/fakechroot/Manifest
+++ b/sys-apps/fakechroot/Manifest
@@ -1 +1,2 @@
-DIST fakechroot_2.19.orig.tar.gz 492346 BLAKE2B 9ad9d6515756e867f5e936deec3f6a020f2d8937000f1b7ea9f0f915db68efc4a8f1075d9ee1932c1f20d1c20db04f97de22574f6c51905a070dc1d130a435c4 SHA512 3f1846360dac2ebf9430949651ab0e4b232218cb576a3408b7199dac1e8b555d550ec281eacc65890e79f079f558308c9d56c10a6c7ff38e1419bb45ada7450a
+DIST fakechroot-2.19.tar.gz 492346 BLAKE2B 9ad9d6515756e867f5e936deec3f6a020f2d8937000f1b7ea9f0f915db68efc4a8f1075d9ee1932c1f20d1c20db04f97de22574f6c51905a070dc1d130a435c4 SHA512 3f1846360dac2ebf9430949651ab0e4b232218cb576a3408b7199dac1e8b555d550ec281eacc65890e79f079f558308c9d56c10a6c7ff38e1419bb45ada7450a
+DIST fakechroot-2.20.1.tar.gz 504343 BLAKE2B 73459895319c1fd6297ab455e0d15f4b9985f433d958598d8581a35268e4df0f631b39d026061fe5c00ec6b805f3bf4f5f261039b93176db460b6f936c0de1b8 SHA512 9ddc715ff5c550b700c2384284c9f0cf6c2a99353a06d8e4c3b8363f4affdf9a11757ed5d1c9b85c83499b3bec054544290508a20f2ee16d46e66dc824a924ed
diff --git a/sys-apps/fakechroot/fakechroot-2.19.ebuild b/sys-apps/fakechroot/fakechroot-2.19.ebuild
index 04a280336ab5..93702f3f87d1 100644
--- a/sys-apps/fakechroot/fakechroot-2.19.ebuild
+++ b/sys-apps/fakechroot/fakechroot-2.19.ebuild
@@ -4,8 +4,8 @@
EAPI=7
DESCRIPTION="Provide a faked chroot environment without requiring root privileges"
-HOMEPAGE="http://fakechroot.alioth.debian.org/"
-SRC_URI="mirror://debian/pool/main/f/${PN}/${PN}_${PV}.orig.tar.gz"
+HOMEPAGE="https://github.com/dex4er/fakechroot"
+SRC_URI="https://github.com/dex4er/${PN}/releases/download/${PV}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
diff --git a/sys-apps/fakechroot/fakechroot-2.20.1.ebuild b/sys-apps/fakechroot/fakechroot-2.20.1.ebuild
new file mode 100644
index 000000000000..4657276f544b
--- /dev/null
+++ b/sys-apps/fakechroot/fakechroot-2.20.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Provide a faked chroot environment without requiring root privileges"
+HOMEPAGE="https://github.com/dex4er/fakechroot"
+SRC_URI="https://github.com/dex4er/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+RESTRICT="test"
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -exec rm -f '{}' +
+}
diff --git a/sys-apps/fakechroot/metadata.xml b/sys-apps/fakechroot/metadata.xml
index 041c1966b76b..e20ccf3259f4 100644
--- a/sys-apps/fakechroot/metadata.xml
+++ b/sys-apps/fakechroot/metadata.xml
@@ -4,4 +4,7 @@
alonbl@gentoo.org
+
+ dex4er/fakechroot
+
diff --git a/sys-apps/mlocate/mlocate-0.26-r2.ebuild b/sys-apps/mlocate/mlocate-0.26-r2.ebuild
index 5bc4fa3c0f64..3758e48512b2 100644
--- a/sys-apps/mlocate/mlocate-0.26-r2.ebuild
+++ b/sys-apps/mlocate/mlocate-0.26-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://releases.pagure.org/mlocate/${P}.tar.xz"
LICENSE="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="nls selinux"
RDEPEND="!sys-apps/slocate
diff --git a/sys-apps/nca/Manifest b/sys-apps/nca/Manifest
deleted file mode 100644
index 4ed1cfe57626..000000000000
--- a/sys-apps/nca/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nca-0.9.0.tar.gz 818721 BLAKE2B 597be0bc788e750cb7552bf818a1631850e50f33bbfd051e029f3f35b55056f49cf239e03cf48e8af6a8c9d4ede6d38792e288c073f45a80f4e40b9c630f308e SHA512 375dc747414af7e8971a9112fa6a4583dd543f6f4b3a84b2c16f45ee2487363929c2eed3c1837687b802161c630443885e6da20ac738017d219e9a608b4d700c
diff --git a/sys-apps/nca/files/ncad.initd b/sys-apps/nca/files/ncad.initd
deleted file mode 100644
index fa2adcd9b3ec..000000000000
--- a/sys-apps/nca/files/ncad.initd
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-start() {
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --quiet --exec /sbin/ncad
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --retry 5 --quiet --exec /sbin/ncad
- eend ${?}
-}
diff --git a/sys-apps/nca/metadata.xml b/sys-apps/nca/metadata.xml
deleted file mode 100644
index f60fb571575b..000000000000
--- a/sys-apps/nca/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
- nca connects a pseudo terminal to the console's virtual terminals
- (/dev/tty0...n) that are normally only accessible to someone with
- local keyboard access. It is particularly useful in conjunction with
- ncad since it then provides remote console access via SSH; with some
- appropriate system start up scripts, ncad can be started immediately
- the root filesystem has been mounted read-only, providing a cheap,
- and only marginally inferior alternative to a serial console.
-
-
diff --git a/sys-apps/nca/nca-0.9.0-r1.ebuild b/sys-apps/nca/nca-0.9.0-r1.ebuild
deleted file mode 100644
index 1207d405ec81..000000000000
--- a/sys-apps/nca/nca-0.9.0-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit toolchain-funcs
-
-DESCRIPTION="Network Console on Acid"
-HOMEPAGE="http://www.xenoclast.org/nca/"
-SRC_URI="http://www.xenoclast.org/nca/download/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-libs/openssl
- sys-libs/zlib"
-
-DEPEND="dev-lang/perl
- ${RDEPEND}"
-
-src_prepare() {
- sed -i -e "s:^\([[:space:]]\+\$(MAKE) install\):\1 DESTDIR=\$(DESTDIR):g" \
- -e "s:=\(\$(CFLAGS)\):=\"\1\":g" -e "s:=\(\$(CC)\):=\"\1\":g" Makefile
-
- sed -i -e "s:-s sshd:sshd:g" ncad.patch
-
- eapply_user
-}
-
-src_compile() {
- emake -j1 CFLAGS="${CFLAGS}" CC=$(tc-getCC)
-}
-
-src_install() {
- dodir /sbin
- emake BINDIR="${D}sbin" MANDIR="${D}usr/share/man" SYSCONF_DIR="${D}etc" \
- DESTDIR="${D}" install_nca install_ssh install_man
-
- newinitd "${FILESDIR}/ncad.initd" ncad
- dodoc ChangeLog README* rc/ncad.template
-}
diff --git a/sys-apps/portage-mgorny/portage-mgorny-2.3.51.1.ebuild b/sys-apps/portage-mgorny/portage-mgorny-2.3.51.1.ebuild
index d2a55f78bda0..7c190529617e 100644
--- a/sys-apps/portage-mgorny/portage-mgorny-2.3.51.1.ebuild
+++ b/sys-apps/portage-mgorny/portage-mgorny-2.3.51.1.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
>=app-portage/gemato-10[${PYTHON_USEDEP}]
app-shells/bash:0[readline]
$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
- python{2_7,3_4,3_5} pypy)
+ python{2_7,3_5} pypy)
>=dev-python/lxml-3.6.0[${PYTHON_USEDEP}]
>=sys-apps/sed-4.0.5
)
diff --git a/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild b/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild
index 4d27edc0d69a..6c03fc1f54ec 100644
--- a/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild
+++ b/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
>=app-portage/gemato-10[${PYTHON_USEDEP}]
app-shells/bash:0[readline]
$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
- python{2_7,3_4,3_5} pypy)
+ python{2_7,3_5} pypy)
>=dev-python/lxml-3.6.0[${PYTHON_USEDEP}]
>=sys-apps/sed-4.0.5
)
diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest
index 0f8b96398afa..9230aecfddd1 100644
--- a/sys-apps/portage/Manifest
+++ b/sys-apps/portage/Manifest
@@ -1,8 +1,3 @@
-DIST portage-2.3.40-bug-656942-bug-657436-937d0156aa06.patch 15214 BLAKE2B 0351f82cd46aa1523eb0f70109551009a422546f2fbde1beee7a18dad4ecbfc6465b3b3052a25720196950f7da81adeb66d87940f2b477fbeca27afba56fa18e SHA512 b0482b8dac8af97b841ded426001872c1c708f649dc7774bd3c7003179888fd4d126ece33d001d127b643d88b8a70b9af75bbeb36beeaca7b8ad308f92ff72e7
-DIST portage-2.3.40-bug-657436-937d0156aa06-1fc628eead43.patch 4131 BLAKE2B 1b051097ef4fb073d22b9ef3472077b4845190ec3839886f462cacbee0996dc4c036549c4beab09025e1bb42f421e5032144e90197e3aa5de08dd7d8d1c50fbb SHA512 5910469816b69afb7a0078dd3b35a5304e2c806ac03ff3949603cf4162900fd9dd1df15661b91a2181528e8406679e525308822a0f6ddf4799c79fa9652c27a9
-DIST portage-2.3.40.tar.bz2 995122 BLAKE2B 3bfadee6cf57dace32bb4a365850650e13664202f3b16bf75821ff6226e85da823785ac87875fa82bd5cf1b953d638773819495f73f471c06ffd6926518df1ac SHA512 ded128c1941664fab6bc95f05115ec08900fddaedd1b6f12afa48da024531ee8939134d49759e09995c76a95e41beafdbf5528a5b62d3bf21c826ab1ac0cd1c5
-DIST portage-2.3.49.tar.bz2 1010414 BLAKE2B be8e0194855eda8e8a617ee4415d702199e10772bab9539ff27cb165b6749090be887b6f48d449f4e7650e618d43be1b0d26ba59597996a9d3d3ecd0caea166a SHA512 d3daee0075eee61c354ad1d4865b1cf433d9afe5ed56101758219694325c7c5ad62a0d9ce41bf2205934b6e073d0eba3ef3f7c8b6633b5a3448e469783c5329a
-DIST portage-2.3.51.tar.bz2 1013015 BLAKE2B f7f5e6c9e627db5a9e4bfcc9a6cbebb40fda910d3cc928922870b295c706a9f669d3d812e726b220610efe6b182460811eb9420d6fa5b8756481df64a88fe2b9 SHA512 6c22b97959d4b5be263b9a1de6bb343b1f8300e989f37c7334a9d5d6fb65fe2390958e222bc5379ec95099124fc51a049ecca6e1bfc18f0a6c57e4601342bb94
DIST portage-2.3.62.tar.bz2 1021442 BLAKE2B 37d5dab0e678ced78e0ff4dc9907af3d20370a4b0f52cea9118be3d06bb14e24fe6597d86c9bbd9d3ed2fc51f9e031d4e9ba84f354b945f7a399da3cbb95d74a SHA512 d4eca7e70573aae07a0522b4bf361191fded00fa02c5e6d8f70cf72c19c4dcfa9be7169a267afdc58cdd0a8ee333774a7779ac08dee3490aa8e8a1ebd39deb49
DIST portage-2.3.63.tar.bz2 1021603 BLAKE2B 8a9fe026e92880c2fe42ddd8441c3436d940c918fdd89a7d6e46c0bf4f3ec1a6f948d9821ba6de092d289230c6395dee5e37526d157d8e7cbd9d43ce2b27acf6 SHA512 27fbd09b586bb9743700e90d41ce94ed22aaf64b465755978c8d6489417ff3ab88d2ee400944c983f095f2aaff9490910006af9d2645d259ac0d3fc89bc00a19
-DIST portage-74d2509c99fbcb43e018ead4950b938e41e524e5-bug-671472.patch 1584 BLAKE2B 452cd4cb25e42dcfa05c4f9da2bd3cc279556b9cd87037d0d965d39678f347b701dac0eaa59bfdebee9e3715abb506bf3744900ebefafa8fa729a1eb442889b9 SHA512 5bbe163e8eec00ece831c113676e87f0cf61a40f30a75a0de548490eeb789479336feec5bf81868a284bf32bafa00209176156cfb9ce557390d0f4a2ab6d1c1a
+DIST portage-2.3.64.tar.bz2 1021942 BLAKE2B 592146bf3fc39cf2a4de72d55c59fe6fb0f557bd2dd63d662925753d16435719255f682b2c1fbd294ba54f1935a44a5f4bc0ef8a8bc00980791dc1dc7046af5d SHA512 847d558dc33960f3989b6676a2569bc8c600864f5024b82db77fd45e31215700c25759168d7aa46bd14773c37bd363c349ee8b95250f1db3630d70e7fbff5da7
diff --git a/sys-apps/portage/portage-2.3.40-r1.ebuild b/sys-apps/portage/portage-2.3.40-r1.ebuild
deleted file mode 100644
index a13a4a8b0add..000000000000
--- a/sys-apps/portage/portage-2.3.40-r1.ebuild
+++ /dev/null
@@ -1,287 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=(
- pypy
- python3_4 python3_5 python3_6
- python2_7
-)
-PYTHON_REQ_USE='bzip2(+),threads(+)'
-
-inherit distutils-r1 eutils systemd
-
-DESCRIPTION="Portage is the package management and distribution system for Gentoo"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
-
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd"
-SLOT="0"
-IUSE="build doc epydoc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr"
-
-DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
- >=app-arch/tar-1.27
- dev-lang/python-exec:2
- >=sys-apps/sed-4.0.5 sys-devel/patch
- doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
- epydoc? ( >=dev-python/epydoc-2.0[$(python_gen_usedep 'python2*')] )"
-# Require sandbox-2.2 for bug #288863.
-# For xattr, we can spawn getfattr and setfattr from sys-apps/attr, but that's
-# quite slow, so it's not considered in the dependencies as an alternative to
-# to python-3.3 / pyxattr. Also, xattr support is only tested with Linux, so
-# for now, don't pull in xattr deps for other kernels.
-# For whirlpool hash, require python[ssl] (bug #425046).
-# For compgen, require bash[readline] (bug #445576).
-# app-portage/gemato goes without PYTHON_USEDEP since we're calling
-# the executable.
-RDEPEND="
- >=app-arch/tar-1.27
- dev-lang/python-exec:2
- !build? (
- >=sys-apps/sed-4.0.5
- app-shells/bash:0[readline]
- >=app-admin/eselect-1.2
- $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
- python{2_7,3_4,3_5} pypy)
- rsync-verify? (
- >=app-portage/gemato-12.1[${PYTHON_USEDEP}]
- app-crypt/openpgp-keys-gentoo-release
- >=app-crypt/gnupg-2.2.4-r2[ssl(-)]
- )
- )
- elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
- elibc_glibc? ( >=sys-apps/sandbox-2.2 )
- elibc_musl? ( >=sys-apps/sandbox-2.2 )
- elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
- >=app-misc/pax-utils-0.1.17
- selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
- xattr? ( kernel_linux? (
- >=sys-apps/install-xattr-0.3
- $(python_gen_cond_dep 'dev-python/pyxattr[${PYTHON_USEDEP}]' \
- python2_7 pypy)
- ) )
- !=net-misc/rsync-2.6.4
- userland_GNU? ( >=sys-apps/coreutils-6.4 )
- )"
-# coreutils-6.4 rdep is for date format in emerge-webrsync #164532
-# NOTE: FEATURES=installsources requires debugedit and rsync
-
-REQUIRED_USE="epydoc? ( $(python_gen_useflags 'python2*') )"
-
-SRC_ARCHIVES="https://dev.gentoo.org/~zmedico/portage/archives"
-
-prefix_src_archives() {
- local x y
- for x in ${@}; do
- for y in ${SRC_ARCHIVES}; do
- echo ${y}/${x}
- done
- done
-}
-
-TARBALL_PV=${PV}
-SRC_URI="mirror://gentoo/${PN}-${TARBALL_PV}.tar.bz2
- $(prefix_src_archives ${PN}-${TARBALL_PV}.tar.bz2)
- https://github.com/gentoo/portage/compare/b7f94fccf4163364ab7b4c4f0dcd42b8847f03e0...937d0156aa060bdba9095313dedbb62e0a993aea.patch -> ${P}-bug-656942-bug-657436-937d0156aa06.patch
- https://github.com/gentoo/portage/compare/937d0156aa060bdba9095313dedbb62e0a993aea...1fc628eead43fa5da4b142479aa004ded8acceab.patch -> ${P}-bug-657436-937d0156aa06-1fc628eead43.patch"
-
-pkg_setup() {
- use epydoc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
-}
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- epatch "${DISTDIR}/${P}-bug-656942-bug-657436-937d0156aa06.patch" \
- "${DISTDIR}/${P}-bug-657436-937d0156aa06-1fc628eead43.patch"
-
- # apply 4fb5ef2ce2cb
- sed -i "s:\\((self._poll_obj, 'close'\\)):\\1, None):" \
- pym/portage/util/_eventloop/EventLoop.py || die
-
- if use gentoo-dev; then
- einfo "Disabling --dynamic-deps by default for gentoo-dev..."
- sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
- -i pym/_emerge/create_depgraph_params.py || \
- die "failed to patch create_depgraph_params.py"
-
- einfo "Enabling additional FEATURES for gentoo-dev..."
- echo 'FEATURES="${FEATURES} ipc-sandbox network-sandbox strict-keepdir"' \
- >> cnf/make.globals || die
- fi
-
- if use native-extensions; then
- printf "[build_ext]\nportage-ext-modules=true\n" >> \
- setup.cfg || die
- fi
-
- if ! use ipc ; then
- einfo "Disabling ipc..."
- sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
- -i pym/_emerge/AbstractEbuildProcess.py || \
- die "failed to patch AbstractEbuildProcess.py"
- fi
-
- if use xattr && use kernel_linux ; then
- einfo "Adding FEATURES=xattr to make.globals ..."
- echo -e '\nFEATURES="${FEATURES} xattr"' >> cnf/make.globals \
- || die "failed to append to make.globals"
- fi
-
- if use build || ! use rsync-verify; then
- sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
- -i cnf/repos.conf || die "sed failed"
- fi
-
- if [[ -n ${EPREFIX} ]] ; then
- einfo "Setting portage.const.EPREFIX ..."
- sed -e "s|^\(SANDBOX_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/sandbox\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(FAKEROOT_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/fakeroot\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(BASH_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/bash\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(MOVE_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/mv\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(PRELINK_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/sbin/prelink\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(EPREFIX[[:space:]]*=[[:space:]]*\"\).*|\\1${EPREFIX}\"|" \
- -i pym/portage/const.py || \
- die "Failed to patch portage.const.EPREFIX"
-
- einfo "Prefixing shebangs ..."
- while read -r -d $'\0' ; do
- local shebang=$(head -n1 "$REPLY")
- if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
- sed -i -e "1s:.*:#!${EPREFIX}${shebang:2}:" "$REPLY" || \
- die "sed failed"
- fi
- done < <(find . -type f -print0)
-
- einfo "Adjusting make.globals ..."
- sed -e "s|\(/usr/portage\)|${EPREFIX}\\1|" \
- -e "s|^\(PORTAGE_TMPDIR=\"\)\(/var/tmp\"\)|\\1${EPREFIX}\\2|" \
- -i cnf/make.globals || die "sed failed"
-
- einfo "Adjusting repos.conf ..."
- sed -e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(sync-openpgp-key-path = \)\(.*\)|\\1${EPREFIX}\\2|" \
- -i cnf/repos.conf || die "sed failed"
- if use prefix-guest ; then
- sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
- -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
- -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
- -i cnf/repos.conf || die "sed failed"
- fi
-
- einfo "Adding FEATURES=force-prefix to make.globals ..."
- echo -e '\nFEATURES="${FEATURES} force-prefix"' >> cnf/make.globals \
- || die "failed to append to make.globals"
- fi
-
- cd "${S}/cnf" || die
- if [ -f "make.conf.example.${ARCH}".diff ]; then
- patch make.conf.example "make.conf.example.${ARCH}".diff || \
- die "Failed to patch make.conf.example"
- else
- eerror ""
- eerror "Portage does not have an arch-specific configuration for this arch."
- eerror "Please notify the arch maintainer about this issue. Using generic."
- eerror ""
- fi
-}
-
-python_compile_all() {
- local targets=()
- use doc && targets+=( docbook )
- use epydoc && targets+=( epydoc )
-
- if [[ ${targets[@]} ]]; then
- esetup.py "${targets[@]}"
- fi
-}
-
-python_test() {
- esetup.py test
-}
-
-python_install() {
- # Install sbin scripts to bindir for python-exec linking
- # they will be relocated in pkg_preinst()
- distutils-r1_python_install \
- --system-prefix="${EPREFIX}/usr" \
- --bindir="$(python_get_scriptdir)" \
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \
- --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
- --portage-bindir="${EPREFIX}/usr/lib/portage/${EPYTHON}" \
- --sbindir="$(python_get_scriptdir)" \
- --sysconfdir="${EPREFIX}/etc" \
- "${@}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- local targets=()
- use doc && targets+=(
- install_docbook
- --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- )
- use epydoc && targets+=(
- install_epydoc
- --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- )
-
- # install docs
- if [[ ${targets[@]} ]]; then
- esetup.py "${targets[@]}"
- fi
-
- systemd_dotmpfilesd "${FILESDIR}"/portage-ccache.conf
-
- # Due to distutils/python-exec limitations
- # these must be installed to /usr/bin.
- local sbin_relocations='archive-conf dispatch-conf emaint env-update etc-update fixpackages regenworld'
- einfo "Moving admin scripts to the correct directory"
- dodir /usr/sbin
- for target in ${sbin_relocations}; do
- einfo "Moving /usr/bin/${target} to /usr/sbin/${target}"
- mv "${ED}usr/bin/${target}" "${ED}usr/sbin/${target}" || die "sbin scripts move failed!"
- done
-}
-
-pkg_preinst() {
- # comment out sanity test until it is fixed to work
- # with the new PORTAGE_PYM_PATH
- #if [[ $ROOT == / ]] ; then
- ## Run some minimal tests as a sanity check.
- #local test_runner=$(find "${ED}" -name runTests)
- #if [[ -n $test_runner && -x $test_runner ]] ; then
- #einfo "Running preinst sanity tests..."
- #"$test_runner" || die "preinst sanity tests failed"
- #fi
- #fi
-
- # elog dir must exist to avoid logrotate error for bug #415911.
- # This code runs in preinst in order to bypass the mapping of
- # portage:portage to root:root which happens after src_install.
- keepdir /var/log/portage/elog
- # This is allowed to fail if the user/group are invalid for prefix users.
- if chown portage:portage "${ED}"var/log/portage{,/elog} 2>/dev/null ; then
- chmod g+s,ug+rwx "${ED}"var/log/portage{,/elog}
- fi
-
- if has_version ">=${CATEGORY}/${PN}-2.3.1" && \
- has_version "<${CATEGORY}/${PN}-2.3.3"; then
- SYNC_DEPTH_UPGRADE=true
- else
- SYNC_DEPTH_UPGRADE=false
- fi
-}
-
-pkg_postinst() {
- if ${SYNC_DEPTH_UPGRADE}; then
- ewarn "Please note that this release no longer respects sync-depth for"
- ewarn "git repositories. There have been too many problems and"
- ewarn "performance issues. See bugs 552814, 559008"
- fi
-}
diff --git a/sys-apps/portage/portage-2.3.51-r1.ebuild b/sys-apps/portage/portage-2.3.51-r1.ebuild
deleted file mode 100644
index f12290187fec..000000000000
--- a/sys-apps/portage/portage-2.3.51-r1.ebuild
+++ /dev/null
@@ -1,267 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=(
- pypy
- python3_4 python3_5 python3_6 python3_7
- python2_7
-)
-PYTHON_REQ_USE='bzip2(+),threads(+)'
-
-inherit distutils-r1 epatch systemd
-
-DESCRIPTION="Portage is the package management and distribution system for Gentoo"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
-
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd"
-SLOT="0"
-IUSE="build doc epydoc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr"
-
-DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
- >=app-arch/tar-1.27
- dev-lang/python-exec:2
- >=sys-apps/sed-4.0.5 sys-devel/patch
- doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
- epydoc? ( >=dev-python/epydoc-2.0[$(python_gen_usedep 'python2*')] )"
-# Require sandbox-2.2 for bug #288863.
-# For xattr, we can spawn getfattr and setfattr from sys-apps/attr, but that's
-# quite slow, so it's not considered in the dependencies as an alternative to
-# to python-3.3 / pyxattr. Also, xattr support is only tested with Linux, so
-# for now, don't pull in xattr deps for other kernels.
-# For whirlpool hash, require python[ssl] (bug #425046).
-# For compgen, require bash[readline] (bug #445576).
-# app-portage/gemato goes without PYTHON_USEDEP since we're calling
-# the executable.
-RDEPEND="
- >=app-arch/tar-1.27
- dev-lang/python-exec:2
- !build? (
- >=sys-apps/sed-4.0.5
- app-shells/bash:0[readline]
- >=app-admin/eselect-1.2
- $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
- python{2_7,3_4,3_5} pypy)
- rsync-verify? (
- >=app-portage/gemato-14[${PYTHON_USEDEP}]
- >=app-crypt/openpgp-keys-gentoo-release-20180706
- >=app-crypt/gnupg-2.2.4-r2[ssl(-)]
- )
- )
- elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
- elibc_glibc? ( >=sys-apps/sandbox-2.2 )
- elibc_musl? ( >=sys-apps/sandbox-2.2 )
- elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
- >=app-misc/pax-utils-0.1.17
- selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
- xattr? ( kernel_linux? (
- >=sys-apps/install-xattr-0.3
- $(python_gen_cond_dep 'dev-python/pyxattr[${PYTHON_USEDEP}]' \
- python2_7 pypy)
- ) )
- !=net-misc/rsync-2.6.4
- userland_GNU? ( >=sys-apps/coreutils-6.4 )
- )"
-# coreutils-6.4 rdep is for date format in emerge-webrsync #164532
-# NOTE: FEATURES=installsources requires debugedit and rsync
-
-REQUIRED_USE="epydoc? ( $(python_gen_useflags 'python2*') )"
-
-SRC_ARCHIVES="https://dev.gentoo.org/~zmedico/portage/archives"
-
-prefix_src_archives() {
- local x y
- for x in ${@}; do
- for y in ${SRC_ARCHIVES}; do
- echo ${y}/${x}
- done
- done
-}
-
-TARBALL_PV=${PV}
-SRC_URI="mirror://gentoo/${PN}-${TARBALL_PV}.tar.bz2
- $(prefix_src_archives ${PN}-${TARBALL_PV}.tar.bz2)
- https://github.com/gentoo/portage/commit/74d2509c99fbcb43e018ead4950b938e41e524e5.patch -> portage-74d2509c99fbcb43e018ead4950b938e41e524e5-bug-671472.patch"
-
-pkg_setup() {
- use epydoc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
-}
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- epatch "${DISTDIR}/portage-74d2509c99fbcb43e018ead4950b938e41e524e5-bug-671472.patch"
-
- if use gentoo-dev; then
- einfo "Disabling --dynamic-deps by default for gentoo-dev..."
- sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
- -i lib/_emerge/create_depgraph_params.py || \
- die "failed to patch create_depgraph_params.py"
-
- einfo "Enabling additional FEATURES for gentoo-dev..."
- echo 'FEATURES="${FEATURES} ipc-sandbox network-sandbox strict-keepdir"' \
- >> cnf/make.globals || die
- fi
-
- if use native-extensions; then
- printf "[build_ext]\nportage-ext-modules=true\n" >> \
- setup.cfg || die
- fi
-
- if ! use ipc ; then
- einfo "Disabling ipc..."
- sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
- -i lib/_emerge/AbstractEbuildProcess.py || \
- die "failed to patch AbstractEbuildProcess.py"
- fi
-
- if use xattr && use kernel_linux ; then
- einfo "Adding FEATURES=xattr to make.globals ..."
- echo -e '\nFEATURES="${FEATURES} xattr"' >> cnf/make.globals \
- || die "failed to append to make.globals"
- fi
-
- if use build || ! use rsync-verify; then
- sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
- -i cnf/repos.conf || die "sed failed"
- fi
-
- if [[ -n ${EPREFIX} ]] ; then
- einfo "Setting portage.const.EPREFIX ..."
- sed -e "s|^\(SANDBOX_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/sandbox\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(FAKEROOT_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/fakeroot\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(BASH_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/bash\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(MOVE_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/mv\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(PRELINK_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/sbin/prelink\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(EPREFIX[[:space:]]*=[[:space:]]*\"\).*|\\1${EPREFIX}\"|" \
- -i lib/portage/const.py || \
- die "Failed to patch portage.const.EPREFIX"
-
- einfo "Prefixing shebangs ..."
- while read -r -d $'\0' ; do
- local shebang=$(head -n1 "$REPLY")
- if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
- sed -i -e "1s:.*:#!${EPREFIX}${shebang:2}:" "$REPLY" || \
- die "sed failed"
- fi
- done < <(find . -type f -print0)
-
- einfo "Adjusting make.globals ..."
- sed -e "s|\(/usr/portage\)|${EPREFIX}\\1|" \
- -e "s|^\(PORTAGE_TMPDIR=\"\)\(/var/tmp\"\)|\\1${EPREFIX}\\2|" \
- -i cnf/make.globals || die "sed failed"
-
- einfo "Adjusting repos.conf ..."
- sed -e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(sync-openpgp-key-path = \)\(.*\)|\\1${EPREFIX}\\2|" \
- -i cnf/repos.conf || die "sed failed"
- if use prefix-guest ; then
- sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
- -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
- -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
- -i cnf/repos.conf || die "sed failed"
- fi
-
- einfo "Adding FEATURES=force-prefix to make.globals ..."
- echo -e '\nFEATURES="${FEATURES} force-prefix"' >> cnf/make.globals \
- || die "failed to append to make.globals"
- fi
-
- cd "${S}/cnf" || die
- if [ -f "make.conf.example.${ARCH}".diff ]; then
- patch make.conf.example "make.conf.example.${ARCH}".diff || \
- die "Failed to patch make.conf.example"
- else
- eerror ""
- eerror "Portage does not have an arch-specific configuration for this arch."
- eerror "Please notify the arch maintainer about this issue. Using generic."
- eerror ""
- fi
-}
-
-python_compile_all() {
- local targets=()
- use doc && targets+=( docbook )
- use epydoc && targets+=( epydoc )
-
- if [[ ${targets[@]} ]]; then
- esetup.py "${targets[@]}"
- fi
-}
-
-python_test() {
- esetup.py test
-}
-
-python_install() {
- # Install sbin scripts to bindir for python-exec linking
- # they will be relocated in pkg_preinst()
- distutils-r1_python_install \
- --system-prefix="${EPREFIX}/usr" \
- --bindir="$(python_get_scriptdir)" \
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \
- --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
- --portage-bindir="${EPREFIX}/usr/lib/portage/${EPYTHON}" \
- --sbindir="$(python_get_scriptdir)" \
- --sysconfdir="${EPREFIX}/etc" \
- "${@}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- local targets=()
- use doc && targets+=(
- install_docbook
- --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- )
- use epydoc && targets+=(
- install_epydoc
- --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- )
-
- # install docs
- if [[ ${targets[@]} ]]; then
- esetup.py "${targets[@]}"
- fi
-
- systemd_dotmpfilesd "${FILESDIR}"/portage-ccache.conf
-
- # Due to distutils/python-exec limitations
- # these must be installed to /usr/bin.
- local sbin_relocations='archive-conf dispatch-conf emaint env-update etc-update fixpackages regenworld'
- einfo "Moving admin scripts to the correct directory"
- dodir /usr/sbin
- for target in ${sbin_relocations}; do
- einfo "Moving /usr/bin/${target} to /usr/sbin/${target}"
- mv "${ED}usr/bin/${target}" "${ED}usr/sbin/${target}" || die "sbin scripts move failed!"
- done
-}
-
-pkg_preinst() {
- # comment out sanity test until it is fixed to work
- # with the new PORTAGE_PYM_PATH
- #if [[ $ROOT == / ]] ; then
- ## Run some minimal tests as a sanity check.
- #local test_runner=$(find "${ED}" -name runTests)
- #if [[ -n $test_runner && -x $test_runner ]] ; then
- #einfo "Running preinst sanity tests..."
- #"$test_runner" || die "preinst sanity tests failed"
- #fi
- #fi
-
- # elog dir must exist to avoid logrotate error for bug #415911.
- # This code runs in preinst in order to bypass the mapping of
- # portage:portage to root:root which happens after src_install.
- keepdir /var/log/portage/elog
- # This is allowed to fail if the user/group are invalid for prefix users.
- if chown portage:portage "${ED}"var/log/portage{,/elog} 2>/dev/null ; then
- chmod g+s,ug+rwx "${ED}"var/log/portage{,/elog}
- fi
-}
diff --git a/sys-apps/portage/portage-2.3.62-r1.ebuild b/sys-apps/portage/portage-2.3.62-r1.ebuild
index 1d1742200872..6cf03c9e61ed 100644
--- a/sys-apps/portage/portage-2.3.62-r1.ebuild
+++ b/sys-apps/portage/portage-2.3.62-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=5
PYTHON_COMPAT=(
pypy
- python3_4 python3_5 python3_6 python3_7
+ python3_5 python3_6 python3_7
python2_7
)
PYTHON_REQ_USE='bzip2(+),threads(+)'
@@ -43,7 +43,7 @@ RDEPEND="
app-shells/bash:0[readline]
>=app-admin/eselect-1.2
$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
- python{2_7,3_4,3_5} pypy)
+ python{2_7,3_5} pypy)
rsync-verify? (
>=app-portage/gemato-14[${PYTHON_USEDEP}]
>=app-crypt/openpgp-keys-gentoo-release-20180706
diff --git a/sys-apps/portage/portage-2.3.62.ebuild b/sys-apps/portage/portage-2.3.62.ebuild
index a1ed9cc43b24..7f8f6880e6f7 100644
--- a/sys-apps/portage/portage-2.3.62.ebuild
+++ b/sys-apps/portage/portage-2.3.62.ebuild
@@ -5,7 +5,7 @@ EAPI=5
PYTHON_COMPAT=(
pypy
- python3_4 python3_5 python3_6 python3_7
+ python3_5 python3_6 python3_7
python2_7
)
PYTHON_REQ_USE='bzip2(+),threads(+)'
@@ -43,7 +43,7 @@ RDEPEND="
app-shells/bash:0[readline]
>=app-admin/eselect-1.2
$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
- python{2_7,3_4,3_5} pypy)
+ python{2_7,3_5} pypy)
rsync-verify? (
>=app-portage/gemato-14[${PYTHON_USEDEP}]
>=app-crypt/openpgp-keys-gentoo-release-20180706
diff --git a/sys-apps/portage/portage-2.3.63.ebuild b/sys-apps/portage/portage-2.3.63.ebuild
index 1d1742200872..6cf03c9e61ed 100644
--- a/sys-apps/portage/portage-2.3.63.ebuild
+++ b/sys-apps/portage/portage-2.3.63.ebuild
@@ -5,7 +5,7 @@ EAPI=5
PYTHON_COMPAT=(
pypy
- python3_4 python3_5 python3_6 python3_7
+ python3_5 python3_6 python3_7
python2_7
)
PYTHON_REQ_USE='bzip2(+),threads(+)'
@@ -43,7 +43,7 @@ RDEPEND="
app-shells/bash:0[readline]
>=app-admin/eselect-1.2
$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
- python{2_7,3_4,3_5} pypy)
+ python{2_7,3_5} pypy)
rsync-verify? (
>=app-portage/gemato-14[${PYTHON_USEDEP}]
>=app-crypt/openpgp-keys-gentoo-release-20180706
diff --git a/sys-apps/portage/portage-2.3.49.ebuild b/sys-apps/portage/portage-2.3.64.ebuild
similarity index 81%
rename from sys-apps/portage/portage-2.3.49.ebuild
rename to sys-apps/portage/portage-2.3.64.ebuild
index 17a87caa73ec..e014d9402bb8 100644
--- a/sys-apps/portage/portage-2.3.49.ebuild
+++ b/sys-apps/portage/portage-2.3.64.ebuild
@@ -1,22 +1,22 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=(
pypy
- python3_4 python3_5 python3_6 python3_7
+ python3_5 python3_6 python3_7
python2_7
)
PYTHON_REQ_USE='bzip2(+),threads(+)'
-inherit distutils-r1 systemd
+inherit distutils-r1 epatch linux-info systemd prefix
DESCRIPTION="Portage is the package management and distribution system for Gentoo"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
LICENSE="GPL-2"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd"
SLOT="0"
IUSE="build doc epydoc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr"
@@ -43,7 +43,7 @@ RDEPEND="
app-shells/bash:0[readline]
>=app-admin/eselect-1.2
$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
- python{2_7,3_4,3_5} pypy)
+ python{2_7,3_5} pypy)
rsync-verify? (
>=app-portage/gemato-14[${PYTHON_USEDEP}]
>=app-crypt/openpgp-keys-gentoo-release-20180706
@@ -54,6 +54,7 @@ RDEPEND="
elibc_glibc? ( >=sys-apps/sandbox-2.2 )
elibc_musl? ( >=sys-apps/sandbox-2.2 )
elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
+ kernel_linux? ( sys-apps/util-linux )
>=app-misc/pax-utils-0.1.17
selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
xattr? ( kernel_linux? (
@@ -88,6 +89,12 @@ TARBALL_PV=${PV}
SRC_URI="mirror://gentoo/${PN}-${TARBALL_PV}.tar.bz2
$(prefix_src_archives ${PN}-${TARBALL_PV}.tar.bz2)"
+pkg_pretend() {
+ local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS"
+
+ check_extra_config
+}
+
pkg_setup() {
use epydoc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
}
@@ -131,14 +138,8 @@ python_prepare_all() {
if [[ -n ${EPREFIX} ]] ; then
einfo "Setting portage.const.EPREFIX ..."
- sed -e "s|^\(SANDBOX_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/sandbox\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(FAKEROOT_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/fakeroot\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(BASH_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/bash\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(MOVE_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/mv\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(PRELINK_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/sbin/prelink\"\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(EPREFIX[[:space:]]*=[[:space:]]*\"\).*|\\1${EPREFIX}\"|" \
- -i lib/portage/const.py || \
- die "Failed to patch portage.const.EPREFIX"
+ hprefixify -e "s|^(EPREFIX[[:space:]]*=[[:space:]]*\").*|\1${EPREFIX}\"|" \
+ -w "/_BINARY/" lib/portage/const.py
einfo "Prefixing shebangs ..."
while read -r -d $'\0' ; do
@@ -149,15 +150,9 @@ python_prepare_all() {
fi
done < <(find . -type f -print0)
- einfo "Adjusting make.globals ..."
- sed -e "s|\(/usr/portage\)|${EPREFIX}\\1|" \
- -e "s|^\(PORTAGE_TMPDIR=\"\)\(/var/tmp\"\)|\\1${EPREFIX}\\2|" \
- -i cnf/make.globals || die "sed failed"
+ einfo "Adjusting make.globals, repos.conf and etc-update ..."
+ hprefixify cnf/{make.globals,repos.conf} bin/etc-update
- einfo "Adjusting repos.conf ..."
- sed -e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \
- -e "s|^\(sync-openpgp-key-path = \)\(.*\)|\\1${EPREFIX}\\2|" \
- -i cnf/repos.conf || die "sed failed"
if use prefix-guest ; then
sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
-e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
@@ -242,16 +237,15 @@ python_install_all() {
}
pkg_preinst() {
- # comment out sanity test until it is fixed to work
- # with the new PORTAGE_PYM_PATH
- #if [[ $ROOT == / ]] ; then
- ## Run some minimal tests as a sanity check.
- #local test_runner=$(find "${ED}" -name runTests)
- #if [[ -n $test_runner && -x $test_runner ]] ; then
- #einfo "Running preinst sanity tests..."
- #"$test_runner" || die "preinst sanity tests failed"
- #fi
- #fi
+ python_setup
+ python_export PYTHON_SITEDIR
+ env -u DISTDIR \
+ -u PORTAGE_OVERRIDE_EPREFIX \
+ -u PORTAGE_REPOSITORIES \
+ -u PORTDIR \
+ -u PORTDIR_OVERLAY \
+ PYTHONPATH="${ED%/}${PYTHON_SITEDIR}${PYTHONPATH:+:${PYTHONPATH}}" \
+ "${PYTHON}" -m portage._compat_upgrade.default_locations || die
# elog dir must exist to avoid logrotate error for bug #415911.
# This code runs in preinst in order to bypass the mapping of
diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
index 42273cc4fdd3..9950d305dc6c 100644
--- a/sys-apps/portage/portage-9999.ebuild
+++ b/sys-apps/portage/portage-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=6
PYTHON_COMPAT=(
pypy
- python3_4 python3_5 python3_6 python3_7
+ python3_5 python3_6 python3_7
python2_7
)
PYTHON_REQ_USE='bzip2(+),threads(+)'
@@ -43,7 +43,7 @@ RDEPEND="
app-shells/bash:0[readline]
>=app-admin/eselect-1.2
$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
- python{2_7,3_4,3_5} pypy)
+ python{2_7,3_5} pypy)
rsync-verify? (
>=app-portage/gemato-14[${PYTHON_USEDEP}]
>=app-crypt/openpgp-keys-gentoo-release-20180706
@@ -247,16 +247,15 @@ python_install_all() {
}
pkg_preinst() {
- # comment out sanity test until it is fixed to work
- # with the new PORTAGE_PYM_PATH
- #if [[ $ROOT == / ]] ; then
- ## Run some minimal tests as a sanity check.
- #local test_runner=$(find "${ED}" -name runTests)
- #if [[ -n $test_runner && -x $test_runner ]] ; then
- #einfo "Running preinst sanity tests..."
- #"$test_runner" || die "preinst sanity tests failed"
- #fi
- #fi
+ python_setup
+ python_export PYTHON_SITEDIR
+ env -u DISTDIR \
+ -u PORTAGE_OVERRIDE_EPREFIX \
+ -u PORTAGE_REPOSITORIES \
+ -u PORTDIR \
+ -u PORTDIR_OVERLAY \
+ PYTHONPATH="${ED%/}${PYTHON_SITEDIR}${PYTHONPATH:+:${PYTHONPATH}}" \
+ "${PYTHON}" -m portage._compat_upgrade.default_locations || die
# elog dir must exist to avoid logrotate error for bug #415911.
# This code runs in preinst in order to bypass the mapping of
diff --git a/sys-auth/Manifest.gz b/sys-auth/Manifest.gz
index 822ad8da86a1..55c10d063ea8 100644
Binary files a/sys-auth/Manifest.gz and b/sys-auth/Manifest.gz differ
diff --git a/sys-auth/elogind/elogind-241.2.ebuild b/sys-auth/elogind/elogind-241.2.ebuild
index 37406f56c438..2b18cff05a4b 100644
--- a/sys-auth/elogind/elogind-241.2.ebuild
+++ b/sys-auth/elogind/elogind-241.2.ebuild
@@ -42,6 +42,7 @@ PDEPEND="
DOCS=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
PATCHES=(
+ "${FILESDIR}/${PN}-241.2-unbreak-musl.patch"
"${FILESDIR}/${PN}-241.1-docs.patch"
)
diff --git a/sys-auth/elogind/files/elogind-241.2-unbreak-musl.patch b/sys-auth/elogind/files/elogind-241.2-unbreak-musl.patch
new file mode 100644
index 000000000000..3688402d2e09
--- /dev/null
+++ b/sys-auth/elogind/files/elogind-241.2-unbreak-musl.patch
@@ -0,0 +1,41 @@
+From cac266581e2bc3595be60171910db6274c3bf944 Mon Sep 17 00:00:00 2001
+From: Sven Eden
+Date: Thu, 18 Apr 2019 19:25:55 +0200
+Subject: [PATCH] src/basic/filio.c: Do not disable file buffers on non-glibc
+ [#130]
+
+When opening an existing file with open() and then turning is into
+a FILE* with fdopen(), a following fputs() returns EOF and sets errno
+to EINVAL on musl-libc based systems when setvbuf() was used to turn
+off the file buffer.
+
+To remedy this return to the old behavior until v239 and never
+diesable the file buffer in such cases when not on a glibc based
+system.
+
+Bug: #130
+Closes: #130
+Signed-off-by: Sven Eden
+---
+ src/basic/fileio.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/basic/fileio.c b/src/basic/fileio.c
+index e981cd024..eaad5ccf0 100644
+--- a/src/basic/fileio.c
++++ b/src/basic/fileio.c
+@@ -162,6 +162,11 @@ int write_string_file_ts(
+ safe_close(fd);
+ goto fail;
+ }
++
++#ifndef __GLIBC__ /// elogind must not disable buffers on musl-libc based systems when going this route
++ if (flags & WRITE_STRING_FILE_DISABLE_BUFFER)
++ flags ^= WRITE_STRING_FILE_DISABLE_BUFFER;
++#endif // __GLIBC__
+ }
+
+ (void) __fsetlocking(f, FSETLOCKING_BYCALLER);
+--
+2.21.0
+
diff --git a/sys-auth/polkit/metadata.xml b/sys-auth/polkit/metadata.xml
index 348a3151d8b6..c60e1e361ab3 100644
--- a/sys-auth/polkit/metadata.xml
+++ b/sys-auth/polkit/metadata.xml
@@ -5,7 +5,8 @@
freedesktop-bugs@gentoo.org
- Use sys-auth/elogind instead of sys-auth/consolekit for session tracking
- Use sys-apps/systemd instead of sys-auth/consolekit for session tracking
+ Use sys-auth/consolekit for session tracking
+ Use sys-auth/elogind for session tracking
+ Use sys-apps/systemd for session tracking
diff --git a/sys-auth/polkit/polkit-0.115-r1.ebuild b/sys-auth/polkit/polkit-0.115-r1.ebuild
deleted file mode 100644
index 2beec3dcb62b..000000000000
--- a/sys-auth/polkit/polkit-0.115-r1.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools pam pax-utils systemd user xdg-utils
-
-DESCRIPTION="Policy framework for controlling privileges for system-wide services"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit"
-SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc x86"
-IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test"
-
-REQUIRED_USE="?? ( elogind systemd )"
-
-CDEPEND="
- dev-lang/spidermonkey:52[-debug]
- dev-libs/glib:2
- dev-libs/expat
- elogind? ( sys-auth/elogind )
- introspection? ( dev-libs/gobject-introspection )
- pam? (
- sys-auth/pambase
- virtual/pam
- )
- systemd? ( sys-apps/systemd:0= )
-"
-DEPEND="${CDEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/docbook-xsl-stylesheets
- dev-libs/gobject-introspection-common
- dev-libs/libxslt
- dev-util/glib-utils
- dev-util/gtk-doc-am
- dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-policykit )
-"
-PDEPEND="
- gtk? ( || (
- >=gnome-extra/polkit-gnome-0.105
- >=lxde-base/lxsession-0.5.2
- ) )
- kde? ( kde-plasma/polkit-kde-agent )
- !systemd? ( !elogind? ( sys-auth/consolekit[policykit] ) )
-"
-
-DOCS=( docs/TODO HACKING NEWS README )
-
-PATCHES=( "${FILESDIR}"/${P}-elogind.patch ) # bug 660880
-
-QA_MULTILIB_PATHS="
- usr/lib/polkit-1/polkit-agent-helper-1
- usr/lib/polkit-1/polkitd"
-
-pkg_setup() {
- local u=polkitd
- local g=polkitd
- local h=/var/lib/polkit-1
-
- enewgroup ${g}
- enewuser ${u} -1 -1 ${h} ${g}
- esethome ${u} ${h}
-}
-
-src_prepare() {
- default
-
- sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513
-
- # Workaround upstream hack around standard gtk-doc behavior, bug #552170
- sed -i -e 's/@ENABLE_GTK_DOC_TRUE@\(TARGET_DIR\)/\1/' \
- -e '/install-data-local:/,/uninstall-local:/ s/@ENABLE_GTK_DOC_TRUE@//' \
- -e 's/@ENABLE_GTK_DOC_FALSE@install-data-local://' \
- docs/polkit/Makefile.in || die
-
- # disable broken test - bug #624022
- sed -i -e "/^SUBDIRS/s/polkitbackend//" test/Makefile.am || die
-
- # Fix cross-building, bug #590764, elogind patch, bug #598615
- eautoreconf
-}
-
-src_configure() {
- xdg_environment_reset
-
- local myeconfargs=(
- --localstatedir="${EPREFIX}"/var
- --disable-static
- --enable-man-pages
- --disable-gtk-doc
- --disable-examples
- $(use_enable elogind libelogind)
- $(use_enable introspection)
- $(use_enable nls)
- $(usex pam "--with-pam-module-dir=$(getpam_mod_dir)" '')
- --with-authfw=$(usex pam pam shadow)
- $(use_enable systemd libsystemd-login)
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
- $(use_enable test)
- --with-os-type=gentoo
- )
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- default
-
- # Required for polkitd on hardened/PaX due to spidermonkey's JIT
- pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest
-}
-
-src_install() {
- default
-
- fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d
-
- diropts -m0700 -o polkitd -g polkitd
- keepdir /var/lib/polkit-1
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins src/examples/{*.c,*.policy*}
- fi
-
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
- chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1
-}
diff --git a/sys-auth/polkit/polkit-0.115-r3.ebuild b/sys-auth/polkit/polkit-0.115-r3.ebuild
index ab8043864f71..651390b98784 100644
--- a/sys-auth/polkit/polkit-0.115-r3.ebuild
+++ b/sys-auth/polkit/polkit-0.115-r3.ebuild
@@ -11,10 +11,10 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86"
+IUSE="consolekit elogind examples gtk +introspection jit kde nls pam selinux systemd test"
-REQUIRED_USE="?? ( elogind systemd )"
+REQUIRED_USE="^^ ( consolekit elogind systemd )"
CDEPEND="
dev-lang/spidermonkey:52[-debug]
@@ -43,12 +43,12 @@ RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-policykit )
"
PDEPEND="
+ consolekit? ( sys-auth/consolekit[policykit] )
gtk? ( || (
>=gnome-extra/polkit-gnome-0.105
>=lxde-base/lxsession-0.5.2
) )
kde? ( kde-plasma/polkit-kde-agent )
- !systemd? ( !elogind? ( sys-auth/consolekit[policykit] ) )
"
DOCS=( docs/TODO HACKING NEWS README )
diff --git a/sys-auth/polkit/polkit-0.115-r4.ebuild b/sys-auth/polkit/polkit-0.115-r4.ebuild
index ecc024a27d3c..c2b9220030ec 100644
--- a/sys-auth/polkit/polkit-0.115-r4.ebuild
+++ b/sys-auth/polkit/polkit-0.115-r4.ebuild
@@ -12,9 +12,9 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test"
+IUSE="consolekit elogind examples gtk +introspection jit kde nls pam selinux systemd test"
-REQUIRED_USE="?? ( elogind systemd )"
+REQUIRED_USE="^^ ( consolekit elogind systemd )"
BDEPEND="
app-text/docbook-xml-dtd:4.1.2
@@ -43,12 +43,12 @@ RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-policykit )
"
PDEPEND="
+ consolekit? ( sys-auth/consolekit[policykit] )
gtk? ( || (
>=gnome-extra/polkit-gnome-0.105
>=lxde-base/lxsession-0.5.2
) )
kde? ( kde-plasma/polkit-kde-agent )
- !systemd? ( !elogind? ( sys-auth/consolekit[policykit] ) )
"
DOCS=( docs/TODO HACKING NEWS README )
diff --git a/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.0-r2.ebuild b/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.0-r2.ebuild
index 2834edef3a74..187aa0538421 100644
--- a/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.0-r2.ebuild
+++ b/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.0-r2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]]; then
inherit git-r3
else
SRC_URI="https://github.com/jirutka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
fi
PATCHES=( )
PATCH_COMMITS=(
diff --git a/sys-boot/Manifest.gz b/sys-boot/Manifest.gz
index 00326ce998d0..62376ba7defb 100644
Binary files a/sys-boot/Manifest.gz and b/sys-boot/Manifest.gz differ
diff --git a/sys-boot/woeusb/Manifest b/sys-boot/woeusb/Manifest
index 7a57f4c7ff7d..d7077238214c 100644
--- a/sys-boot/woeusb/Manifest
+++ b/sys-boot/woeusb/Manifest
@@ -1,2 +1,3 @@
DIST woeusb-3.1.5.tar.gz 399712 BLAKE2B d52b29249af680577299a02cb9a2c1436aef73a0240bff2525c494657c197a2fc0709e0ff6f35eb5d18592145347af284a998deacecff37effd95b75ab13bc9a SHA512 5cf4eb45b126d71bcb376148383faf9713bc06ec4ee3ccc2dfa6528d9fba382bceaae2cdd47f2d8ba775dad1ca8e6258af40fc6362336927894398193600c965
DIST woeusb-3.2.12.tar.gz 386189 BLAKE2B 53629a185d0b8ff55cb2e60eaa6cb8f9e106d3f5b24f57cf8f777dbf5b9a1e43ed423e53e4710acf9ac5ce3171da7dbfcd40b5b3f297b0db240e7c0f9a687fc0 SHA512 9a4e20003970a3313b080bde9a534fb1724382555281aa510092a3698622dae46f22483ff8968903b5685e00ebfb454718de6db7f3c61c4a2e122c961bfc270f
+DIST woeusb-3.3.0.tar.gz 386251 BLAKE2B 9767fc3ab3ae438ff126c05a197cb41550704b93f3b508ad88b7a39c74777fdd863794970ebc839f79f8b2f1da9f6041bb355783ec1040e31814fead8185439c SHA512 8cac015df2309e4978f38adae9b9da04d896301f8d9d971d3d21801b24c3287d7d405bc4b2b1e0ff285497b5777462eb8cd6ce7dce079daf49b4d5d313a449a3
diff --git a/sys-boot/woeusb/woeusb-3.3.0.ebuild b/sys-boot/woeusb/woeusb-3.3.0.ebuild
new file mode 100644
index 000000000000..81c09abcf2ef
--- /dev/null
+++ b/sys-boot/woeusb/woeusb-3.3.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER="3.0-gtk3"
+
+inherit autotools wxwidgets
+
+DESCRIPTION="Creates windows installer on usb media from an iso image"
+HOMEPAGE="https://github.com/slacka/WoeUSB"
+SRC_URI="https://github.com/slacka/WoeUSB/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="minimal"
+
+RDEPEND="
+ sys-apps/util-linux
+ sys-block/parted
+ sys-fs/dosfstools
+ sys-fs/ntfs3g
+ sys-boot/grub:2[grub_platforms_pc]
+ !minimal? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/WoeUSB-${PV}"
+
+src_prepare() {
+ default
+ find . -type f -print0 | xargs -0 sed -i "s/@@WOEUSB_VERSION@@/${PV}/" || die
+ if ! use minimal; then
+ setup-wxwidgets
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ ! use minimal && default
+}
+
+src_compile() {
+ ! use minimal && default
+}
+
+src_test() {
+ ! use minimal && default
+}
+
+src_install() {
+ if use minimal; then
+ dosbin src/woeusb
+ einstalldocs
+ else
+ default
+ fi
+}
diff --git a/sys-cluster/Manifest.gz b/sys-cluster/Manifest.gz
index 40b8abc44fd2..eef6387efd73 100644
Binary files a/sys-cluster/Manifest.gz and b/sys-cluster/Manifest.gz differ
diff --git a/sys-cluster/ceph/files/ceph-10.2.0-dont-use-virtualenvs.patch b/sys-cluster/ceph/files/ceph-10.2.0-dont-use-virtualenvs.patch
deleted file mode 100644
index f3627636aeb9..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.0-dont-use-virtualenvs.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-diff --git a/Makefile.am b/Makefile.am
-index 7734be2..ba33bda 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -79,7 +79,6 @@ clean-local:
- cd src/gmock && $(MAKE) $(AM_MAKEFLAGS) clean; \
- fi
-
-- @rm -rf src/test/virtualenv
- @rm -rf install-deps-*
-
-
-diff --git a/src/Makefile-env.am b/src/Makefile-env.am
-index df225d6..ca030cf 100644
---- a/src/Makefile-env.am
-+++ b/src/Makefile-env.am
-@@ -297,10 +297,6 @@ LIBCIVETWEB_DEPS =
- DENCODER_SOURCES =
- DENCODER_DEPS =
-
--# put virtualenvs in this directory
--# otherwise it may overflow #! 80 kernel limit
--# beware that some build environments might not be able to write to /tmp
- export TMPDIR ?= /tmp
--export CEPH_BUILD_VIRTUALENV = $(TMPDIR)
-
- radoslibdir = $(libdir)/rados-classes
-diff --git a/src/ceph-detect-init/Makefile.am b/src/ceph-detect-init/Makefile.am
-index 8ddcb1e..52dd5d5 100644
---- a/src/ceph-detect-init/Makefile.am
-+++ b/src/ceph-detect-init/Makefile.am
-@@ -53,15 +53,10 @@ EXTRA_DIST += \
- ceph-detect-init/tests/test_all.py \
- ceph-detect-init/tox.ini
-
--export CEPH_DETECT_INIT_VIRTUALENV = ${CEPH_BUILD_VIRTUALENV}/ceph-detect-init-virtualenv
--
--ceph-detect-init-all: ${CEPH_DETECT_INIT_VIRTUALENV}
--
--${CEPH_DETECT_INIT_VIRTUALENV}:
-- cd $(srcdir)/ceph-detect-init ; ../tools/setup-virtualenv.sh ${CEPH_DETECT_INIT_VIRTUALENV} ; test -d wheelhouse && export NO_INDEX=--no-index ; ${CEPH_DETECT_INIT_VIRTUALENV}/bin/pip install $$NO_INDEX --use-wheel --find-links=file://$$(pwd)/wheelhouse -e .
-+ceph-detect-init-all:
-
- ceph-detect-init-clean:
-- cd $(srcdir)/ceph-detect-init ; python setup.py clean ; rm -fr wheelhouse .tox build ${CEPH_DETECT_INIT_VIRTUALENV} .coverage *.egg-info
-+ cd $(srcdir)/ceph-detect-init
-
- ceph-detect-init-install-data:
- cd $(srcdir)/ceph-detect-init ; \
-diff --git a/src/ceph-disk/Makefile.am b/src/ceph-disk/Makefile.am
-index 9006303..0b35b0f 100644
---- a/src/ceph-disk/Makefile.am
-+++ b/src/ceph-disk/Makefile.am
-@@ -29,15 +29,10 @@ EXTRA_DIST += \
- ceph-disk/tests/test_main.py \
- ceph-disk/tox.ini
-
--export CEPH_DISK_VIRTUALENV = ${CEPH_BUILD_VIRTUALENV}/ceph-disk-virtualenv
--
--ceph-disk-all: ${CEPH_DISK_VIRTUALENV}
--
--${CEPH_DISK_VIRTUALENV}:
-- cd $(srcdir)/ceph-disk ; ../tools/setup-virtualenv.sh ${CEPH_DISK_VIRTUALENV} ; test -d wheelhouse && export NO_INDEX=--no-index ; ${CEPH_DISK_VIRTUALENV}/bin/pip install $$NO_INDEX --use-wheel --find-links=file://$$(pwd)/wheelhouse -e .
-+ceph-disk-all:
-
- ceph-disk-clean:
-- cd $(srcdir)/ceph-disk ; python setup.py clean ; rm -fr wheelhouse .tox build ${CEPH_DISK_VIRTUALENV} .coverage *.egg-info
-+ cd $(srcdir)/ceph-disk
-
- ceph-disk-install-data:
- cd $(srcdir)/ceph-disk ; \
-diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
-index e730850..9569947 100644
---- a/src/tools/Makefile.am
-+++ b/src/tools/Makefile.am
-@@ -45,6 +45,3 @@ noinst_HEADERS += \
- tools/rados/PoolDump.h \
- tools/cephfs/DataScan.h \
- tools/cephfs/RoleSelector.h
--
--EXTRA_DIST += \
-- tools/setup-virtualenv.sh
-diff --git a/src/tools/setup-virtualenv.sh b/src/tools/setup-virtualenv.sh
-index 9ff2d26..b6fca0a 100755
---- a/src/tools/setup-virtualenv.sh
-+++ b/src/tools/setup-virtualenv.sh
-@@ -15,6 +15,8 @@
- # GNU Library Public License for more details.
- #
-
-+exit 0
-+
- DIR=$1
- rm -fr $DIR
- mkdir -p $DIR
diff --git a/sys-cluster/ceph/files/ceph-10.2.1-libzfs.patch b/sys-cluster/ceph/files/ceph-10.2.1-libzfs.patch
deleted file mode 100644
index 34f8eb84beee..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.1-libzfs.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ceph-10.2.1/configure.ac
-+++ ceph-10.2.1/configure.ac
-@@ -908,7 +908,7 @@
- ,
- [with_libzfs=no])
- AS_IF([test "x$with_libzfs" = xyes],
-- [PKG_CHECK_MODULES([LIBZFS], [zfs], [], [true])])
-+ [PKG_CHECK_MODULES([LIBZFS], [libzfs], [], [true])])
- AS_IF([test "x$with_libzfs" = xyes],
- [AC_DEFINE([HAVE_LIBZFS], [1], [Defined if you have libzfs enabled])])
- AM_CONDITIONAL(WITH_LIBZFS, [ test "$with_libzfs" = "yes" ])
diff --git a/sys-cluster/ceph/files/ceph-10.2.1-unbundle-jerasure.patch b/sys-cluster/ceph/files/ceph-10.2.1-unbundle-jerasure.patch
deleted file mode 100644
index 8340b4d18bfd..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.1-unbundle-jerasure.patch
+++ /dev/null
@@ -1,355 +0,0 @@
-diff --git a/src/erasure-code/jerasure/Makefile.am b/src/erasure-code/jerasure/Makefile.am
-index adcb95d..8099208 100644
---- a/src/erasure-code/jerasure/Makefile.am
-+++ b/src/erasure-code/jerasure/Makefile.am
-@@ -1,52 +1,17 @@
- # jerasure plugin
- noinst_HEADERS += \
-- erasure-code/jerasure/gf-complete/include/gf_complete.h \
-- erasure-code/jerasure/gf-complete/include/gf_general.h \
-- erasure-code/jerasure/gf-complete/include/gf_int.h \
-- erasure-code/jerasure/gf-complete/include/gf_method.h \
-- erasure-code/jerasure/gf-complete/include/gf_rand.h \
-- erasure-code/jerasure/gf-complete/include/gf_w16.h \
-- erasure-code/jerasure/gf-complete/include/gf_w32.h \
-- erasure-code/jerasure/gf-complete/include/gf_w4.h \
-- erasure-code/jerasure/gf-complete/include/gf_w64.h \
-- erasure-code/jerasure/gf-complete/include/gf_w8.h \
-- erasure-code/jerasure/jerasure/include/cauchy.h \
-- erasure-code/jerasure/jerasure/include/galois.h \
-- erasure-code/jerasure/jerasure/include/jerasure.h \
-- erasure-code/jerasure/jerasure/include/liberation.h \
-- erasure-code/jerasure/jerasure/include/reed_sol.h \
- erasure-code/jerasure/ErasureCodeJerasure.h
-
- jerasure_sources = \
- erasure-code/ErasureCode.cc \
-- erasure-code/jerasure/jerasure/src/cauchy.c \
-- erasure-code/jerasure/jerasure/src/galois.c \
-- erasure-code/jerasure/jerasure/src/jerasure.c \
-- erasure-code/jerasure/jerasure/src/liberation.c \
-- erasure-code/jerasure/jerasure/src/reed_sol.c \
-- erasure-code/jerasure/gf-complete/src/gf_wgen.c \
-- erasure-code/jerasure/gf-complete/src/gf_method.c \
-- erasure-code/jerasure/gf-complete/src/gf_w16.c \
-- erasure-code/jerasure/gf-complete/src/gf.c \
-- erasure-code/jerasure/gf-complete/src/gf_w32.c \
-- erasure-code/jerasure/gf-complete/src/gf_w64.c \
-- erasure-code/jerasure/gf-complete/src/gf_w128.c \
-- erasure-code/jerasure/gf-complete/src/gf_general.c \
-- erasure-code/jerasure/gf-complete/src/gf_w4.c \
-- erasure-code/jerasure/gf-complete/src/gf_rand.c \
-- erasure-code/jerasure/gf-complete/src/gf_w8.c \
- erasure-code/jerasure/ErasureCodePluginJerasure.cc \
- erasure-code/jerasure/ErasureCodeJerasure.cc
-
- erasure-code/jerasure/ErasureCodePluginJerasure.cc: ./ceph_ver.h
-
- libec_jerasure_generic_la_SOURCES = ${jerasure_sources}
--libec_jerasure_generic_la_CFLAGS = ${AM_CFLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include
--libec_jerasure_generic_la_CXXFLAGS= ${AM_CXXFLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include
-+libec_jerasure_generic_la_CFLAGS = ${AM_CFLAGS}
-+libec_jerasure_generic_la_CXXFLAGS= ${AM_CXXFLAGS}
- libec_jerasure_generic_la_LIBADD = $(LIBCRUSH) $(PTHREAD_LIBS) $(EXTRALIBS)
- libec_jerasure_generic_la_LDFLAGS = ${AM_LDFLAGS} -module -avoid-version -shared
- if LINUX
-@@ -55,20 +20,11 @@ endif
-
- erasure_codelib_LTLIBRARIES += libec_jerasure_generic.la
-
--libec_jerasure_neon_la_SOURCES = ${jerasure_sources} \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w4_neon.c \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w8_neon.c \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w16_neon.c \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w32_neon.c \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w64_neon.c
-+libec_jerasure_neon_la_SOURCES = ${jerasure_sources}
- libec_jerasure_neon_la_CFLAGS = ${AM_CFLAGS} \
-- ${ARM_NEON_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include
-+ ${ARM_NEON_FLAGS}
- libec_jerasure_neon_la_CXXFLAGS= ${AM_CXXFLAGS} \
-- ${ARM_NEON_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include
-+ ${ARM_NEON_FLAGS}
- libec_jerasure_neon_la_LIBADD = $(LIBCRUSH) $(PTHREAD_LIBS) $(EXTRALIBS)
- libec_jerasure_neon_la_LDFLAGS = ${AM_LDFLAGS} -module -avoid-version -shared
- if LINUX
-@@ -84,16 +40,12 @@ libec_jerasure_sse3_la_CFLAGS = ${AM_CFLAGS} \
- ${INTEL_SSE_FLAGS} \
- ${INTEL_SSE2_FLAGS} \
- ${INTEL_SSE3_FLAGS} \
-- ${INTEL_SSSE3_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include
-+ ${INTEL_SSSE3_FLAGS}
- libec_jerasure_sse3_la_CXXFLAGS= ${AM_CXXFLAGS} \
- ${INTEL_SSE_FLAGS} \
- ${INTEL_SSE2_FLAGS} \
- ${INTEL_SSE3_FLAGS} \
-- ${INTEL_SSSE3_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include
-+ ${INTEL_SSSE3_FLAGS}
- libec_jerasure_sse3_la_LIBADD = $(LIBCRUSH) $(PTHREAD_LIBS) $(EXTRALIBS)
- libec_jerasure_sse3_la_LDFLAGS = ${AM_LDFLAGS} -module -avoid-version -shared
- if LINUX
-@@ -111,18 +63,14 @@ libec_jerasure_sse4_la_CFLAGS = ${AM_CFLAGS} \
- ${INTEL_SSE3_FLAGS} \
- ${INTEL_SSSE3_FLAGS} \
- ${INTEL_SSE4_1_FLAGS} \
-- ${INTEL_SSE4_2_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include
-+ ${INTEL_SSE4_2_FLAGS}
- libec_jerasure_sse4_la_CXXFLAGS= ${AM_CXXFLAGS} \
- ${INTEL_SSE_FLAGS} \
- ${INTEL_SSE2_FLAGS} \
- ${INTEL_SSE3_FLAGS} \
- ${INTEL_SSSE3_FLAGS} \
- ${INTEL_SSE4_1_FLAGS} \
-- ${INTEL_SSE4_2_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include
-+ ${INTEL_SSE4_2_FLAGS}
- libec_jerasure_sse4_la_LIBADD = $(LIBCRUSH) $(PTHREAD_LIBS) $(EXTRALIBS)
- libec_jerasure_sse4_la_LDFLAGS = ${AM_LDFLAGS} -module -avoid-version -shared
- if LINUX
-diff --git a/src/erasure-code/shec/ErasureCodePluginShec.cc b/src/erasure-code/shec/ErasureCodePluginShec.cc
-index d2b72f5..acbd172 100644
---- a/src/erasure-code/shec/ErasureCodePluginShec.cc
-+++ b/src/erasure-code/shec/ErasureCodePluginShec.cc
-@@ -71,7 +71,7 @@ public:
- };
-
- extern "C" {
--#include "jerasure/include/galois.h"
-+#include "galois.h"
-
- extern gf_t *gfp_array[];
- extern int gfp_is_composite[];
-diff --git a/src/erasure-code/shec/ErasureCodeShec.cc b/src/erasure-code/shec/ErasureCodeShec.cc
-index 2180328..c84ffc7 100644
---- a/src/erasure-code/shec/ErasureCodeShec.cc
-+++ b/src/erasure-code/shec/ErasureCodeShec.cc
-@@ -28,8 +28,8 @@
- #include "crush/CrushWrapper.h"
- #include "osd/osd_types.h"
- extern "C" {
--#include "jerasure/include/jerasure.h"
--#include "jerasure/include/galois.h"
-+#include "jerasure.h"
-+#include "galois.h"
-
- extern int calc_determinant(int *matrix, int dim);
- extern int* reed_sol_vandermonde_coding_matrix(int k, int m, int w);
-diff --git a/src/erasure-code/shec/Makefile.am b/src/erasure-code/shec/Makefile.am
-index 6b658d5..3281c60 100644
---- a/src/erasure-code/shec/Makefile.am
-+++ b/src/erasure-code/shec/Makefile.am
-@@ -4,49 +4,19 @@ shec_sources = \
- erasure-code/shec/ErasureCodePluginShec.cc \
- erasure-code/shec/ErasureCodeShec.cc \
- erasure-code/shec/ErasureCodeShecTableCache.cc \
-- erasure-code/shec/determinant.c \
-- erasure-code/jerasure/jerasure/src/cauchy.c \
-- erasure-code/jerasure/jerasure/src/galois.c \
-- erasure-code/jerasure/jerasure/src/jerasure.c \
-- erasure-code/jerasure/jerasure/src/liberation.c \
-- erasure-code/jerasure/jerasure/src/reed_sol.c \
-- erasure-code/jerasure/gf-complete/src/gf_wgen.c \
-- erasure-code/jerasure/gf-complete/src/gf_method.c \
-- erasure-code/jerasure/gf-complete/src/gf_w16.c \
-- erasure-code/jerasure/gf-complete/src/gf.c \
-- erasure-code/jerasure/gf-complete/src/gf_w32.c \
-- erasure-code/jerasure/gf-complete/src/gf_w64.c \
-- erasure-code/jerasure/gf-complete/src/gf_w128.c \
-- erasure-code/jerasure/gf-complete/src/gf_general.c \
-- erasure-code/jerasure/gf-complete/src/gf_w4.c \
-- erasure-code/jerasure/gf-complete/src/gf_rand.c \
-- erasure-code/jerasure/gf-complete/src/gf_w8.c
-+ erasure-code/shec/determinant.c
-
- noinst_HEADERS += \
- erasure-code/shec/ErasureCodeShec.h \
-- erasure-code/shec/ErasureCodeShecTableCache.h \
-- erasure-code/jerasure/jerasure/include/cauchy.h \
-- erasure-code/jerasure/jerasure/include/galois.h \
-- erasure-code/jerasure/jerasure/include/jerasure.h \
-- erasure-code/jerasure/jerasure/include/liberation.h \
-- erasure-code/jerasure/jerasure/include/reed_sol.h \
-- erasure-code/jerasure/gf-complete/include/gf_int.h \
-- erasure-code/jerasure/gf-complete/include/gf_complete.h \
-- erasure-code/jerasure/gf-complete/include/gf_rand.h \
-- erasure-code/jerasure/gf-complete/include/gf_method.h \
-- erasure-code/jerasure/gf-complete/include/gf_general.h
-+ erasure-code/shec/ErasureCodeShecTableCache.h
-
- erasure-code/shec/ErasureCodePluginShec.cc: ./ceph_ver.h
-
- libec_shec_generic_la_SOURCES = ${shec_sources}
- libec_shec_generic_la_CFLAGS = ${AM_CFLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- libec_shec_generic_la_CXXFLAGS= ${AM_CXXFLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- libec_shec_generic_la_LIBADD = $(LIBCRUSH) $(PTHREAD_LIBS) $(EXTRALIBS)
-@@ -57,22 +27,13 @@ endif
-
- erasure_codelib_LTLIBRARIES += libec_shec_generic.la
-
--libec_shec_neon_la_SOURCES = ${shec_sources} \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w4_neon.c \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w8_neon.c \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w16_neon.c \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w32_neon.c \
-- erasure-code/jerasure/gf-complete/src/neon/gf_w64_neon.c
-+libec_shec_neon_la_SOURCES = ${shec_sources}
- libec_shec_neon_la_CFLAGS = ${AM_CFLAGS} \
- ${ARM_NEON_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- libec_shec_neon_la_CXXFLAGS= ${AM_CXXFLAGS} \
- ${ARM_NEON_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- libec_shec_neon_la_LIBADD = $(LIBCRUSH) $(PTHREAD_LIBS) $(EXTRALIBS)
-@@ -91,8 +52,6 @@ libec_shec_sse3_la_CFLAGS = ${AM_CFLAGS} \
- ${INTEL_SSE2_FLAGS} \
- ${INTEL_SSE3_FLAGS} \
- ${INTEL_SSSE3_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- libec_shec_sse3_la_CXXFLAGS= ${AM_CXXFLAGS} \
-@@ -100,8 +59,6 @@ libec_shec_sse3_la_CXXFLAGS= ${AM_CXXFLAGS} \
- ${INTEL_SSE2_FLAGS} \
- ${INTEL_SSE3_FLAGS} \
- ${INTEL_SSSE3_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- libec_shec_sse3_la_LIBADD = $(LIBCRUSH) $(PTHREAD_LIBS) $(EXTRALIBS)
-@@ -122,8 +79,6 @@ libec_shec_sse4_la_CFLAGS = ${AM_CFLAGS} \
- ${INTEL_SSSE3_FLAGS} \
- ${INTEL_SSE4_1_FLAGS} \
- ${INTEL_SSE4_2_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- libec_shec_sse4_la_CXXFLAGS= ${AM_CXXFLAGS} \
-@@ -133,8 +88,6 @@ libec_shec_sse4_la_CXXFLAGS= ${AM_CXXFLAGS} \
- ${INTEL_SSSE3_FLAGS} \
- ${INTEL_SSE4_1_FLAGS} \
- ${INTEL_SSE4_2_FLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- libec_shec_sse4_la_LIBADD = $(LIBCRUSH) $(PTHREAD_LIBS) $(EXTRALIBS)
-diff --git a/src/erasure-code/shec/determinant.c b/src/erasure-code/shec/determinant.c
-index 15b62c9..bf5d290 100755
---- a/src/erasure-code/shec/determinant.c
-+++ b/src/erasure-code/shec/determinant.c
-@@ -19,7 +19,7 @@
- #include
- #include
-
--#include "jerasure/include/galois.h"
-+#include "galois.h"
-
- void print_matrix(int *mat, int dim)
- {
-diff --git a/src/test/erasure-code/Makefile.am b/src/test/erasure-code/Makefile.am
-index bdce080..11895ae 100644
---- a/src/test/erasure-code/Makefile.am
-+++ b/src/test/erasure-code/Makefile.am
-@@ -166,12 +166,8 @@ check_TESTPROGRAMS += unittest_erasure_code
- unittest_erasure_code_jerasure_SOURCES = \
- test/erasure-code/TestErasureCodeJerasure.cc \
- ${jerasure_sources}
--unittest_erasure_code_jerasure_CFLAGS = $(AM_CFLAGS) \
-- -Ierasure-code/jerasure/gf-complete/include \
-- -Ierasure-code/jerasure/jerasure/include
--unittest_erasure_code_jerasure_CXXFLAGS = $(UNITTEST_CXXFLAGS) \
-- -Ierasure-code/jerasure/gf-complete/include \
-- -Ierasure-code/jerasure/jerasure/include
-+unittest_erasure_code_jerasure_CFLAGS = $(AM_CFLAGS)
-+unittest_erasure_code_jerasure_CXXFLAGS = $(UNITTEST_CXXFLAGS)
- unittest_erasure_code_jerasure_LDADD = $(LIBOSD) $(LIBCOMMON) $(UNITTEST_LDADD) $(CEPH_GLOBAL)
- if LINUX
- unittest_erasure_code_jerasure_LDADD += -ldl
-@@ -232,13 +228,9 @@ unittest_erasure_code_shec_SOURCES = \
- test/erasure-code/TestErasureCodeShec.cc \
- ${shec_sources}
- unittest_erasure_code_shec_CFLAGS = ${libec_shec_la_CFLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- unittest_erasure_code_shec_CXXFLAGS = ${libec_shec_la_CXXFLAGS} $(UNITTEST_CXXFLAGS) \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- unittest_erasure_code_shec_LDADD = $(LIBOSD) $(LIBCOMMON) $(UNITTEST_LDADD) $(CEPH_GLOBAL)
-@@ -251,13 +243,9 @@ unittest_erasure_code_shec_all_SOURCES = \
- test/erasure-code/TestErasureCodeShec_all.cc \
- ${shec_sources}
- unittest_erasure_code_shec_all_CFLAGS = ${libec_shec_la_CFLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- unittest_erasure_code_shec_all_CXXFLAGS = ${libec_shec_la_CXXFLAGS} $(UNITTEST_CXXFLAGS) \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- unittest_erasure_code_shec_all_LDADD = $(LIBOSD) $(LIBCOMMON) $(UNITTEST_LDADD) $(CEPH_GLOBAL)
-@@ -270,13 +258,9 @@ unittest_erasure_code_shec_thread_SOURCES = \
- test/erasure-code/TestErasureCodeShec_thread.cc \
- ${shec_sources}
- unittest_erasure_code_shec_thread_CFLAGS = ${libec_shec_la_CFLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- unittest_erasure_code_shec_thread_CXXFLAGS = ${libec_shec_la_CXXFLAGS} $(UNITTEST_CXXFLAGS) \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- unittest_erasure_code_shec_thread_LDADD = $(LIBOSD) $(LIBCOMMON) $(UNITTEST_LDADD) $(CEPH_GLOBAL)
-@@ -289,13 +273,9 @@ unittest_erasure_code_shec_arguments_SOURCES = \
- test/erasure-code/TestErasureCodeShec_arguments.cc \
- ${shec_sources}
- unittest_erasure_code_shec_arguments_CFLAGS = ${libec_shec_la_CFLAGS} \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- unittest_erasure_code_shec_arguments_CXXFLAGS = ${libec_shec_la_CXXFLAGS} $(UNITTEST_CXXFLAGS) \
-- -I$(srcdir)/erasure-code/jerasure/jerasure/include \
-- -I$(srcdir)/erasure-code/jerasure/gf-complete/include \
- -I$(srcdir)/erasure-code/jerasure \
- -I$(srcdir)/erasure-code/shec
- unittest_erasure_code_shec_arguments_LDADD = $(LIBOSD) $(LIBCOMMON) $(UNITTEST_LDADD) $(CEPH_GLOBAL)
diff --git a/sys-cluster/ceph/files/ceph-10.2.3-CVE-2016-8626.patch b/sys-cluster/ceph/files/ceph-10.2.3-CVE-2016-8626.patch
deleted file mode 100644
index d767d8170dfa..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.3-CVE-2016-8626.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-commit dc2ffda7819d2ebeed3526d9e6da8f53221818de
-Author: Yehuda Sadeh
-Date: Thu Oct 20 10:17:36 2016 -0700
-
- rgw: handle empty POST condition
-
- Fixes: http://tracker.ceph.com/issues/17635
-
- Before accessing json entity, need to check that iterator is valid.
- If there is no entry return appropriate error code.
-
- Signed-off-by: Yehuda Sadeh
- (cherry picked from commit 23cb642243e09ca4a8e104f62a3bb7b2cbb6ea12)
-
-diff --git a/src/rgw/rgw_policy_s3.cc b/src/rgw/rgw_policy_s3.cc
-index 3843511..8af70a8 100644
---- a/src/rgw/rgw_policy_s3.cc
-+++ b/src/rgw/rgw_policy_s3.cc
-@@ -286,11 +286,13 @@ int RGWPolicy::from_json(bufferlist& bl, string& err_msg)
- int r = add_condition(v[0], v[1], v[2], err_msg);
- if (r < 0)
- return r;
-- } else {
-+ } else if (!citer.end()) {
- JSONObj *c = *citer;
- dout(0) << "adding simple_check: " << c->get_name() << " : " << c->get_data() << dendl;
-
- add_simple_check(c->get_name(), c->get_data());
-+ } else {
-+ return -EINVAL;
- }
- }
- return 0;
diff --git a/sys-cluster/ceph/files/ceph-10.2.3-build-without-openldap.patch b/sys-cluster/ceph/files/ceph-10.2.3-build-without-openldap.patch
deleted file mode 100644
index ffc164536048..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.3-build-without-openldap.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff --git a/src/rgw/librgw.cc b/src/rgw/librgw.cc
-index c476129..cad54b8 100644
---- a/src/rgw/librgw.cc
-+++ b/src/rgw/librgw.cc
-@@ -470,7 +470,11 @@ namespace rgw {
- const string& ldap_searchdn = store->ctx()->_conf->rgw_ldap_searchdn;
- const string& ldap_dnattr =
- store->ctx()->_conf->rgw_ldap_dnattr;
-+#ifdef HAVE_OPENLDAP
- std::string ldap_bindpw = parse_rgw_ldap_bindpw(store->ctx());
-+#else
-+ std::string ldap_bindpw;
-+#endif /* HAVE_OPENLDAP */
-
- ldh = new rgw::LDAPHelper(ldap_uri, ldap_binddn, ldap_bindpw.c_str(),
- ldap_searchdn, ldap_dnattr);
-diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc
-index e9f24f3..7291e69 100644
---- a/src/rgw/rgw_rest_s3.cc
-+++ b/src/rgw/rgw_rest_s3.cc
-@@ -3091,7 +3091,11 @@ void RGW_Auth_S3::init_impl(RGWRados* store)
- const string& ldap_searchdn = store->ctx()->_conf->rgw_ldap_searchdn;
- const string& ldap_dnattr =
- store->ctx()->_conf->rgw_ldap_dnattr;
-+#ifdef HAVE_OPENLDAP
- std::string ldap_bindpw = parse_rgw_ldap_bindpw(store->ctx());
-+#else
-+ std::string ldap_bindpw;
-+#endif /* HAVE_OPENLDAP */
-
- ldh = new rgw::LDAPHelper(ldap_uri, ldap_binddn, ldap_bindpw,
- ldap_searchdn, ldap_dnattr);
diff --git a/sys-cluster/ceph/files/ceph-10.2.5-Make-CephFS-bindings-and-tests-compatible-with-Python-3.patch b/sys-cluster/ceph/files/ceph-10.2.5-Make-CephFS-bindings-and-tests-compatible-with-Python-3.patch
deleted file mode 100644
index 08a7920035aa..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.5-Make-CephFS-bindings-and-tests-compatible-with-Python-3.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit e1dc386f93eb4613dc7e89cc76a031aeee5022ba
-Author: Oleh Prypin
-Date: Thu Jul 21 18:33:25 2016 +0300
-
- pybind: Make CephFS bindings and tests compatible with Python 3
-
- Signed-off-by: Oleh Prypin
-
-diff --git a/src/pybind/cephfs/cephfs.pyx b/src/pybind/cephfs/cephfs.pyx
-index ac17ada1a1..bd14de3b16 100644
---- a/src/pybind/cephfs/cephfs.pyx
-+++ b/src/pybind/cephfs/cephfs.pyx
-@@ -613,8 +613,7 @@ cdef class LibCephFS(object):
-
- if not isinstance(mode, int):
- raise TypeError('mode must be an int')
-- if isinstance(flags, basestring):
-- flags = cstr(flags, 'flags')
-+ if isinstance(flags, str_type):
- cephfs_flags = 0
- if flags == '':
- cephfs_flags = os.O_RDONLY
diff --git a/sys-cluster/ceph/files/ceph-10.2.5-Make-RBD-Python-bindings-compatible-with-Python-3.patch b/sys-cluster/ceph/files/ceph-10.2.5-Make-RBD-Python-bindings-compatible-with-Python-3.patch
deleted file mode 100644
index a81aae6e7ce8..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.5-Make-RBD-Python-bindings-compatible-with-Python-3.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-commit 773e01294da518c6ec18f0a8b72e05def85fef6c
-Author: Oleh Prypin
-Date: Fri Jun 24 15:48:57 2016 +0300
-
- pybind: Make RBD Python bindings compatible with Python 3
-
- Signed-off-by: Oleh Prypin
-
-diff --git a/src/pybind/rbd/rbd.pyx b/src/pybind/rbd/rbd.pyx
-index 52727bf39e..8f25dfbee0 100644
---- a/src/pybind/rbd/rbd.pyx
-+++ b/src/pybind/rbd/rbd.pyx
-@@ -745,7 +745,7 @@ class RBD(object):
- break
- elif ret != -errno.ERANGE:
- raise make_ex(ret, 'error listing images')
-- return [decode_cstr(name) for name in c_names[:ret].split('\0')
-+ return [decode_cstr(name) for name in c_names[:ret].split(b'\0')
- if name]
- finally:
- free(c_names)
-@@ -1885,8 +1885,8 @@ written." % (self.name, ret, length))
- raise make_ex(ret, 'error listing images')
- if ret == 0:
- return []
-- pools = map(decode_cstr, c_pools[:pools_size - 1].split('\0'))
-- images = map(decode_cstr, c_images[:images_size - 1].split('\0'))
-+ pools = map(decode_cstr, c_pools[:pools_size - 1].split(b'\0'))
-+ images = map(decode_cstr, c_images[:images_size - 1].split(b'\0'))
- return list(zip(pools, images))
- finally:
- free(c_pools)
-@@ -1933,9 +1933,9 @@ written." % (self.name, ret, length))
- raise make_ex(ret, 'error listing images')
- if ret == 0:
- return []
-- clients = map(decode_cstr, c_clients[:clients_size - 1].split('\0'))
-- cookies = map(decode_cstr, c_cookies[:cookies_size - 1].split('\0'))
-- addrs = map(decode_cstr, c_addrs[:addrs_size - 1].split('\0'))
-+ clients = map(decode_cstr, c_clients[:clients_size - 1].split(b'\0'))
-+ cookies = map(decode_cstr, c_cookies[:cookies_size - 1].split(b'\0'))
-+ addrs = map(decode_cstr, c_addrs[:addrs_size - 1].split(b'\0'))
- return {
- 'tag' : decode_cstr(c_tag),
- 'exclusive' : exclusive == 1,
diff --git a/sys-cluster/ceph/files/ceph-10.2.7-fix-compilation-with-zstd.patch b/sys-cluster/ceph/files/ceph-10.2.7-fix-compilation-with-zstd.patch
deleted file mode 100644
index 4e76deabe65f..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.7-fix-compilation-with-zstd.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 5a11f31aac4fa6a5c5ebb4fa0964e1c07a420e8c Mon Sep 17 00:00:00 2001
-From: Zac Medico
-Date: Wed, 12 Apr 2017 01:49:09 -0700
-Subject: [PATCH] configure: link against zstd if detected
-
-https://bugs.gentoo.org/show_bug.cgi?id=601610
----
- configure.ac | 6 ++++--
- src/Makefile-env.am | 3 +++
- 2 files changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 51daf91..8914b71 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -851,12 +851,14 @@ AS_IF([test "x$with_librocksdb_static" = "xyes"],
- AM_CONDITIONAL(WITH_SLIBROCKSDB, [ test "x$with_librocksdb_static" = "xyes" ])
- AM_CONDITIONAL(WITH_LIBROCKSDB, [ test "x$with_librocksdb_static" = "xyes" -o "x$with_librocksdb" = "xyes" ])
-
--# rocksdb detects bzlib and lz4 in its Makefile, which forces us to do the same.
-+# rocksdb detects headers in its Makefile, which forces us to do the same.
- AS_IF([test "x$with_librocksdb_static" = "xyes"], [
- AC_CHECK_HEADER([bzlib.h], [have_bzlib=yes])
-- AC_CHECK_HEADER([lz4.h], [have_lz4=yes])])
-+ AC_CHECK_HEADER([lz4.h], [have_lz4=yes])]
-+ AC_CHECK_HEADER([zstd.h], [have_zstd=yes])])
- AM_CONDITIONAL(HAVE_BZLIB, [test "x$have_bzlib" = "xyes"])
- AM_CONDITIONAL(HAVE_LZ4, [test "x$have_lz4" = "xyes"])
-+AM_CONDITIONAL(HAVE_ZSTD, [test "x$have_zstd" = "xyes"])
-
- # needs libcurl and libxml2
- if test "x$with_rest_bench" = xyes && test "x$with_system_libs3" = xno; then
-diff --git a/src/Makefile-env.am b/src/Makefile-env.am
-index 4771bad..0ee42f8 100644
---- a/src/Makefile-env.am
-+++ b/src/Makefile-env.am
-@@ -280,6 +280,9 @@ endif
- if HAVE_LZ4
- LIBKV += -llz4
- endif
-+if HAVE_ZSTD
-+LIBKV += -lzstd
-+endif
- endif # WITH_SLIBROCKSDB
- LIBKV += -lz -lleveldb -lsnappy
- LIBOS += $(LIBOS_TYPES) $(LIBKV) $(LIBFUSE_LIBS)
---
-2.10.2
-
diff --git a/sys-cluster/ceph/files/ceph-10.2.9-cflags.patch b/sys-cluster/ceph/files/ceph-10.2.9-cflags.patch
deleted file mode 100644
index 31221ae2f994..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.9-cflags.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/src/Makefile-env.am b/src/Makefile-env.am
-index 4771bad02d..f92e20479b 100644
---- a/src/Makefile-env.am
-+++ b/src/Makefile-env.am
-@@ -53,10 +53,6 @@ endif
- ## automake environment
-
- HARDENING_CFLAGS = \
-- -O2 \
-- -g \
-- -pipe \
-- -Wall \
- -Wp,-U_FORTIFY_SOURCE \
- -Wp,-D_FORTIFY_SOURCE=2 \
- -fexceptions \
diff --git a/sys-cluster/ceph/files/ceph-10.2.9-dont-run-lsb_release.patch b/sys-cluster/ceph/files/ceph-10.2.9-dont-run-lsb_release.patch
deleted file mode 100644
index a6b5515cee28..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.9-dont-run-lsb_release.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff --git a/src/ceph-detect-init/Makefile.am b/src/ceph-detect-init/Makefile.am
-index 3926ac4bec..90e2eae50c 100644
---- a/src/ceph-detect-init/Makefile.am
-+++ b/src/ceph-detect-init/Makefile.am
-@@ -67,7 +67,7 @@ ceph-detect-init-clean:
- ceph-detect-init-install-data:
- cd $(srcdir)/ceph-detect-init ; \
- if test "$(DESTDIR)" ; then \
-- if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
-+ if command -v lsb_release >/dev/null && lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
- options=--install-layout=deb ; \
- else \
- options=--prefix=/usr ; \
-diff --git a/src/ceph-disk/Makefile.am b/src/ceph-disk/Makefile.am
-index a8532878c8..d908b1649a 100644
---- a/src/ceph-disk/Makefile.am
-+++ b/src/ceph-disk/Makefile.am
-@@ -43,7 +43,7 @@ ceph-disk-clean:
- ceph-disk-install-data:
- cd $(srcdir)/ceph-disk ; \
- if test "$(DESTDIR)" ; then \
-- if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
-+ if command -v lsb_release >/dev/null && lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
- options=--install-layout=deb ; \
- else \
- options=--prefix=/usr ; \
-diff --git a/src/pybind/cephfs/Makefile.am b/src/pybind/cephfs/Makefile.am
-index 698522daa4..c49c190986 100644
---- a/src/pybind/cephfs/Makefile.am
-+++ b/src/pybind/cephfs/Makefile.am
-@@ -15,7 +15,7 @@ cephfs-pybind-clean: ${srcdir}/ceph_ver.h
-
- cephfs-pybind-install-exec: ${srcdir}/ceph_ver.h
- if test "$(DESTDIR)" ; then \
-- if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
-+ if command -v lsb_release >/dev/null && lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
- options=--install-layout=deb ; \
- else \
- options=--prefix=/usr ; \
-diff --git a/src/pybind/rados/Makefile.am b/src/pybind/rados/Makefile.am
-index a4145bf0f4..960395fee8 100644
---- a/src/pybind/rados/Makefile.am
-+++ b/src/pybind/rados/Makefile.am
-@@ -15,7 +15,7 @@ rados-pybind-clean: ${srcdir}/ceph_ver.h
-
- rados-pybind-install-exec: ${srcdir}/ceph_ver.h
- if test "$(DESTDIR)" ; then \
-- if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
-+ if command -v lsb_release >/dev/null && lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
- options=--install-layout=deb ; \
- else \
- options=--prefix=/usr ; \
-diff --git a/src/pybind/rbd/Makefile.am b/src/pybind/rbd/Makefile.am
-index 7dd49333fa..fbb940d07d 100644
---- a/src/pybind/rbd/Makefile.am
-+++ b/src/pybind/rbd/Makefile.am
-@@ -15,7 +15,7 @@ rbd-pybind-clean: ${srcdir}/ceph_ver.h
-
- rbd-pybind-install-exec: ${srcdir}/ceph_ver.h
- if test "$(DESTDIR)" ; then \
-- if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
-+ if command -v lsb_release >/dev/null && lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
- options=--install-layout=deb ; \
- else \
- options=--prefix=/usr ; \
diff --git a/sys-cluster/ceph/files/ceph.confd-r1 b/sys-cluster/ceph/files/ceph.confd-r1
deleted file mode 100644
index 3bdb8b485ed8..000000000000
--- a/sys-cluster/ceph/files/ceph.confd-r1
+++ /dev/null
@@ -1,4 +0,0 @@
-# Example
-
-# default ceph conf file
-#ceph_conf="/etc/ceph/ceph.conf"
diff --git a/sys-cluster/ceph/files/ceph.confd-r3 b/sys-cluster/ceph/files/ceph.confd-r3
deleted file mode 100644
index 281037c59982..000000000000
--- a/sys-cluster/ceph/files/ceph.confd-r3
+++ /dev/null
@@ -1,63 +0,0 @@
-# /etc/conf.d/ceph: startup configurations for ceph
-
-# default ceph conf file
-#ceph_conf="/etc/ceph/ceph.conf"
-
-# Set ulimits for Ceph services.
-#rc_ulimit="-n 131072 -u 257256"
-
-# the directory under /run to store runtime information in
-#rundir=/run/ceph
-
-# the user and group to run ceph as
-
-# settings for openrc supervisor for various ceph daemons
-#
-# defaults (can be overidden for each daemon)
-# stderr and stdout values get .${id}-std{out,err}.log appended to the provided value
-#
-#respawn_delay=20
-#respawn_max=5
-#respawn_period=1800
-#stdout="/dev/null"
-#stderr="/dev/null"
-
-# radosgw
-#radosgw_respawn_max
-#radosgw_respawn_delay=20
-#radosgw_respawn_period=1800
-#radosgw_stdout="/dev/null"
-#radosgw_stderr="/dev/null"
-
-# mon
-#mon_respawn_max=5
-#mon_respawn_delay=20
-#mon_respawn_period=1800
-#mon_stdout="/dev/null"
-#mon_stderr="/dev/null"
-
-# osd
-#osd_respawn_max=5
-#osd_respawn_delay=30
-#osd_respawn_period=1800
-#osd_stdout="/dev/null"
-#osd_stderr="/dev/null"
-
-# mds
-#mds_respawn_max=5
-#mds_respawn_delay=20
-#mds_respawn_period=1800
-#mds_stdout="/dev/null"
-#mds_stderr="/dev/null"
-
-# mgr
-#mgr_respawn_max=5
-#mgr_respawn_delay=20
-#mgr_respawn_period=1800
-#mgr_stdout="/dev/null"
-#mgr_stderr="/dev/null"
-
-# initd stop timeout.
-#CEPH_TERMTIMEOUT="TERM/120/KILL/5"
-#
-# vim:ft=gentoo-conf-d:ts=4:sts=4:sw=4:noet:
diff --git a/sys-cluster/ceph/files/ceph.initd-r2 b/sys-cluster/ceph/files/ceph.initd-r2
deleted file mode 100644
index 16267c58a139..000000000000
--- a/sys-cluster/ceph/files/ceph.initd-r2
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/openrc-run
-
-ceph_conf="${ceph_conf:-/etc/ceph/ceph.conf}"
-extra_commands="reload"
-daemon_type="${RC_SVCNAME#ceph-}"
-daemon_type="${daemon_type%.*}"
-daemon_id="${RC_SVCNAME#ceph-*.}"
-daemon_id="${daemon_id:-0}"
-command="/usr/bin/ceph-${daemon_type}"
-pidfile="/run/ceph/${daemon_type}.${daemon_id}.pid"
-command_args="-i ${daemon_id} --pid-file ${pidfile} -c ${ceph_conf}"
-start_stop_daemon_args="--user ceph --group ceph"
-
-depend() {
- after net ntpd ntp-client chronyd
- before netmount
-}
-
-is_type_valid() {
- case ${daemon_type} in
- mon|mds|osd) return 0;;
- *) return 1;;
- esac
-}
-
-start_pre() {
- checkpath -d -q -o ceph "$(dirname "${pidfile}")"
- if ! is_type_valid ;then
- eerror "Please give valid Ceph Server Type: mds, mon, osd"
- return 1
- fi
-}
-
-reload() {
- ebegin "Reloading Ceph ${daemon_type}.${daemon_id}"
- start-stop-daemon --signal 1 ${start_stop_daemon_args} --pidfile "${pidfile}"
- eend $?
-}
-
-# vim:ft=gentoo-init-d:ts=4:sts=4:sw=4:noet:
diff --git a/sys-cluster/ceph/files/ceph.initd-r7 b/sys-cluster/ceph/files/ceph.initd-r7
deleted file mode 100644
index 110d7bd0b635..000000000000
--- a/sys-cluster/ceph/files/ceph.initd-r7
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/sbin/openrc-run
-
-ceph_conf="${ceph_conf:-/etc/ceph/ceph.conf}"
-extra_commands="reload"
-daemon_type="${RC_SVCNAME#ceph-}"
-daemon_type="${daemon_type%%.*}"
-daemon_id="${RC_SVCNAME#ceph-*.}"
-daemon_id="${daemon_id:-0}"
-: ${rundir:=/run/ceph}
-: ${user:=ceph}
-: ${group:=ceph}
-: ${rc_ulimit:=-n 1048576 -u 1048576}
-
-pidfile="${rundir}/supervisor-${daemon_type}.${daemon_id}.pid"
-daemon_pidfile="${rundir}/${daemon_type}.${daemon_id}.pid"
-
-command="/usr/bin/${RC_SVCNAME%%.*}"
-command_args="-i ${daemon_id} --pid-file ${daemon_pidfile} -c ${ceph_conf}"
-command_args_foreground="--foreground"
-
-retry="${CEPH_TERMTIMEOUT:-TERM/120/KILL/5}"
-start_stop_daemon_args="--user ${user} --group ${group}"
-supervise_daemon_args="--user ${user} --group ${group}"
-
-: ${supervisor:=supervise-daemon}
-: ${stdout:=/var/log/ceph/ceph}
-: ${stderr:=/var/log/ceph/ceph}
-: ${respawn_delay:=10}
-: ${respawn_max:=5}
-: ${respawn_period:=1800}
-
-: ${osd_respawn_delay:=15}
-: ${osd_respawn_max:=10}
-
-: ${radosgw_respawn_max:=5}
-: ${radosgw_respawn_period:=30}
-
-depend() {
- use dns logger
- after net ntpd ntp-client chronyd
- before netmount
-}
-
-is_type_valid() {
- case ${daemon_type} in
- mon|mds|osd|mgr|radosgw) return 0;;
- *) return 1;;
- esac
-}
-
-start_pre() {
- export CEPH_CONF="${ceph_conf}"
-
- checkpath -d -q -o "${user}:${group}" "${rundir}"
-
- if ! is_type_valid ;then
- eerror "Please give valid Ceph Server Type: mds, mon, osd"
- return 1
-
- elif pgrep -f "[c]eph-${daemon_type} -i ${daemon_id} "; then
- eerror "${daemon_type}.${daemon_id} is still running, refusing to start"
- return 1
- fi
-
- local arg_name arg_val
- for arg_name in std{out,err} respawn_{delay,max,period}; do
- eval arg_val="\${${daemon_type}_${arg_name}}"
-
- if [ -z "${arg_val}" ]; then
- eval arg_val="\${${arg_name}}"
- else
- eval "${arg_name}=\"${arg_val}\""
- fi
-
- if [ "${arg_name}" = "stderr" ] || [ "${arg_name}" = "stdout" ]; then
- supervise_daemon_args="${supervise_daemon_args} --${arg_name//_/-}=${arg_val}.${daemon_id}-${arg_name}.log"
- fi
- done
-}
-
-reload() {
- ebegin "Reloading Ceph ${daemon_type}.${daemon_id}"
- start-stop-daemon --signal 1 "${start_stop_daemon_args}"
- eend ${?}
-}
-
-# vim:ft=gentoo-init-d:ts=4:sts=4:sw=4:noet:
diff --git a/sys-cluster/nova/nova-19.0.0.ebuild b/sys-cluster/nova/nova-19.0.0-r1.ebuild
similarity index 99%
rename from sys-cluster/nova/nova-19.0.0.ebuild
rename to sys-cluster/nova/nova-19.0.0-r1.ebuild
index ff21fff6066d..dc68e7e07ad9 100644
--- a/sys-cluster/nova/nova-19.0.0.ebuild
+++ b/sys-cluster/nova/nova-19.0.0-r1.ebuild
@@ -154,6 +154,7 @@ RDEPEND="
>=dev-python/futurist-1.8.0[$(python_gen_usedep 'python2_7')]
dev-python/libvirt-python[${PYTHON_USEDEP}]
app-emulation/libvirt[iscsi?]
+ app-emulation/spice-html5
novncproxy? ( www-apps/novnc )
sys-apps/iproute2
openvswitch? ( net-misc/openvswitch )
diff --git a/sys-cluster/nova/nova-2019.1.9999.ebuild b/sys-cluster/nova/nova-2019.1.9999.ebuild
index ff21fff6066d..dc68e7e07ad9 100644
--- a/sys-cluster/nova/nova-2019.1.9999.ebuild
+++ b/sys-cluster/nova/nova-2019.1.9999.ebuild
@@ -154,6 +154,7 @@ RDEPEND="
>=dev-python/futurist-1.8.0[$(python_gen_usedep 'python2_7')]
dev-python/libvirt-python[${PYTHON_USEDEP}]
app-emulation/libvirt[iscsi?]
+ app-emulation/spice-html5
novncproxy? ( www-apps/novnc )
sys-apps/iproute2
openvswitch? ( net-misc/openvswitch )
diff --git a/sys-cluster/placement/placement-1.0.0.ebuild b/sys-cluster/placement/placement-1.0.0-r1.ebuild
similarity index 98%
rename from sys-cluster/placement/placement-1.0.0.ebuild
rename to sys-cluster/placement/placement-1.0.0-r1.ebuild
index d3ab3c47e563..291dc9ebaad5 100644
--- a/sys-cluster/placement/placement-1.0.0.ebuild
+++ b/sys-cluster/placement/placement-1.0.0-r1.ebuild
@@ -102,4 +102,7 @@ python_install_all() {
insinto /etc/placement
insopts -m 0640 -o placement -g placement
newins "${DISTDIR}/placement.conf.sample-${PV}" placement.conf.sample
+
+ dobin tools/mysql-migrate-db.sh
+ dobin tools/postgresql-migrate-db.sh
}
diff --git a/sys-cluster/placement/placement-2019.1.9999.ebuild b/sys-cluster/placement/placement-2019.1.9999.ebuild
index d3ab3c47e563..291dc9ebaad5 100644
--- a/sys-cluster/placement/placement-2019.1.9999.ebuild
+++ b/sys-cluster/placement/placement-2019.1.9999.ebuild
@@ -102,4 +102,7 @@ python_install_all() {
insinto /etc/placement
insopts -m 0640 -o placement -g placement
newins "${DISTDIR}/placement.conf.sample-${PV}" placement.conf.sample
+
+ dobin tools/mysql-migrate-db.sh
+ dobin tools/postgresql-migrate-db.sh
}
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz
index 036bb233aa49..70f2292d3ff3 100644
Binary files a/sys-devel/Manifest.gz and b/sys-devel/Manifest.gz differ
diff --git a/sys-devel/binutils-hppa64/Manifest b/sys-devel/binutils-hppa64/Manifest
index 9570069b6160..ac3df2954990 100644
--- a/sys-devel/binutils-hppa64/Manifest
+++ b/sys-devel/binutils-hppa64/Manifest
@@ -18,4 +18,5 @@ DIST binutils-2.31.1-patches-5.tar.xz 65896 BLAKE2B 7fb2c4c71336a77f3fef57a0430c
DIST binutils-2.31.1-patches-6.tar.xz 76196 BLAKE2B e3c8de07dad62bb3093846389bc1fae0921dd6e63ee2458a85051d298cd1dd52487f83affa33d899e4ddd34b6fd3e28c79a525854c0432d576f83f855d843588 SHA512 6ddfe7b0dc9f340fb1dde3bbc426d087241738b15a5f16a336569b45b2c8ac4077e81e19168c5b165bd4abbaed419e2f290291ef7438a0ecde1f8a6a72217d4c
DIST binutils-2.31.1.tar.xz 20467996 BLAKE2B 6b914df1fbb7cf54f2159f71b2c2b09f3f6a569b7a3cb4cf9790d0a3733a7548bc0ea32334a178ed3b56e8b97656ae99c7abaf212601beeaeae9a0884c0f6051 SHA512 0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30
DIST binutils-2.32-patches-1.tar.xz 93252 BLAKE2B 80d229be60c3377fe52ff3e74ee911b5dcfb9456d3f42a57662fbda3184ac1c63e698e592f804ac05c459527d0cd4bae7d8c9ef8caef02fdf4f17aa783f4ff81 SHA512 69999f60d89589dcf9e3cb18e50f153ab4ce05bdf3f3758fa322b5c4cb468aeda46c416da540995ddff1ea5e96354c264fa5ff0156c53685816d35117eb481e0
+DIST binutils-2.32-patches-2.tar.xz 145672 BLAKE2B 8218e621f99cb4bcd1638c3011449b94480d207eaeb79cf75c0072e0f1a86bfd1603fc4515bc40d3ac1921a18b9a211b20568f59b11b13eb44e6cff1329c5af9 SHA512 55c25a603f6175af3ade6848e5c1faba06a147d72e9a4f53d44502d97db76499485a67b278a654d18884714a7bf7b360c77c9e42dba3cdc188f805bfe461f09f
DIST binutils-2.32.tar.xz 20774880 BLAKE2B d1bdbd9c8487c091665c197974ce4bdf520b7a67ed6997a81b87e6a0af9514a091458244f583acec5ae580ac2ee5e908f67f483b8e5263cd18ced794cb235da6 SHA512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a
diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.32-r1.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.32-r1.ebuild
new file mode 100644
index 000000000000..a2955689dfc1
--- /dev/null
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.32-r1.ebuild
@@ -0,0 +1,441 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+export CTARGET=hppa64-${CHOST#*-}
+
+inherit eutils libtool flag-o-matic gnuconfig multilib versionator
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="https://sourceware.org/binutils/"
+LICENSE="GPL-3+"
+# USE="+cxx" is a transitional flag until llvm migrates to new flags:
+# bug #677888
+IUSE="+cxx default-gold doc +gold multitarget +nls +plugins static-libs test"
+REQUIRED_USE="cxx? ( gold plugins ) default-gold? ( gold )"
+
+# Variables that can be set here:
+# PATCH_VER - the patchset version
+# Default: empty, no patching
+# PATCH_BINUTILS_VER - the binutils version in the patchset name
+# - Default: PV
+# PATCH_DEV - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/...
+# for the patchsets
+# Default: slyfox
+
+PATCH_VER=2
+PATCH_DEV=dilfridge
+
+case ${PV} in
+ 9999)
+ EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git"
+ inherit git-r3
+ S=${WORKDIR}/binutils
+ EGIT_CHECKOUT_DIR=${S}
+ SLOT=${PV}
+ ;;
+ *.9999)
+ EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git"
+ inherit git-r3
+ S=${WORKDIR}/binutils
+ EGIT_CHECKOUT_DIR=${S}
+ EGIT_BRANCH=$(get_version_component_range 1-2)
+ EGIT_BRANCH="binutils-${EGIT_BRANCH/./_}-branch"
+ SLOT=$(get_version_component_range 1-2)
+ ;;
+ *)
+ SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz"
+ SLOT=$(get_version_component_range 1-2)
+ KEYWORDS="-* ~hppa"
+ ;;
+esac
+
+#
+# The Gentoo patchset
+#
+PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
+PATCH_DEV=${PATCH_DEV:-slyfox}
+
+[[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI}
+ https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
+
+#
+# The cross-compile logic
+#
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY} == cross-* ]] ; then
+ export CTARGET=${CATEGORY#cross-}
+ fi
+fi
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+#
+# The dependencies
+#
+RDEPEND="
+ >=sys-devel/binutils-config-3
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ doc? ( sys-apps/texinfo )
+ test? ( dev-util/dejagnu )
+ nls? ( sys-devel/gettext )
+ sys-devel/flex
+ virtual/yacc
+"
+
+MY_BUILDDIR=${WORKDIR}/build
+S=${WORKDIR}/${P/-hppa64/}
+
+src_unpack() {
+ case ${PV} in
+ *9999)
+ git-r3_src_unpack
+ ;;
+ *)
+ ;;
+ esac
+ default
+ mkdir -p "${MY_BUILDDIR}"
+}
+
+src_prepare() {
+ if [[ ! -z ${PATCH_VER} ]] ; then
+ # Use upstream patch to enable development mode
+ rm -v "${WORKDIR}/patch"/0000-Gentoo-Git-is-development.patch || die
+ einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}"
+ eapply "${WORKDIR}/patch"/*.patch
+ fi
+
+ # This check should probably go somewhere else, like pkg_pretend.
+ if [[ ${CTARGET} == *-uclibc* ]] ; then
+ if grep -qs 'linux-gnu' "${S}"/ltconfig ; then
+ die "sorry, but this binutils doesn't yet support uClibc :("
+ fi
+ fi
+
+ # Make sure our explicit libdir paths don't get clobbered. #562460
+ sed -i \
+ -e 's:@bfdlibdir@:@libdir@:g' \
+ -e 's:@bfdincludedir@:@includedir@:g' \
+ {bfd,opcodes}/Makefile.in || die
+
+ # Fix locale issues if possible #122216
+ if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then
+ einfo "Fixing misc issues in configure files"
+ for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do
+ ebegin " Updating ${f/${S}\/}"
+ patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \
+ || eerror "Please file a bug about this"
+ eend $?
+ done
+ fi
+
+ # Fix conflicts with newer glibc #272594
+ if [[ -e libiberty/testsuite/test-demangle.c ]] ; then
+ sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c
+ fi
+
+ # Apply things from PATCHES and user dirs
+ default
+
+ # Run misc portage update scripts
+ gnuconfig_update
+ elibtoolize --portage --no-uclibc
+}
+
+toolchain-binutils_bugurl() {
+ printf "https://bugs.gentoo.org/"
+}
+toolchain-binutils_pkgversion() {
+ printf "Gentoo ${PV}"
+ [[ -n ${PATCH_VER} ]] && printf " p${PATCH_VER}"
+}
+
+src_configure() {
+ # Setup some paths
+ LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
+ INCPATH=${LIBPATH}/include
+ DATAPATH=/usr/share/binutils-data/${CTARGET}/${PV}
+ if is_cross ; then
+ TOOLPATH=/usr/${CHOST}/${CTARGET}
+ else
+ TOOLPATH=/usr/${CTARGET}
+ fi
+ BINPATH=${TOOLPATH}/binutils-bin/${PV}
+
+ # Make sure we filter $LINGUAS so that only ones that
+ # actually work make it through #42033
+ strip-linguas -u */po
+
+ # Keep things sane
+ strip-flags
+
+ local x
+ echo
+ for x in CATEGORY CBUILD CHOST CTARGET CFLAGS LDFLAGS ; do
+ einfo "$(printf '%10s' ${x}:) ${!x}"
+ done
+ echo
+
+ cd "${MY_BUILDDIR}"
+ local myconf=()
+
+ if use plugins ; then
+ myconf+=( --enable-plugins )
+ fi
+ # enable gold (installed as ld.gold) and ld's plugin architecture
+ if use gold ; then
+ myconf+=( --enable-gold )
+ if use default-gold; then
+ myconf+=( --enable-gold=default )
+ fi
+ fi
+
+ if use nls ; then
+ myconf+=( --without-included-gettext )
+ else
+ myconf+=( --disable-nls )
+ fi
+
+ myconf+=( --with-system-zlib )
+
+ # For bi-arch systems, enable a 64bit bfd. This matches
+ # the bi-arch logic in toolchain.eclass. #446946
+ # We used to do it for everyone, but it's slow on 32bit arches. #438522
+ case $(tc-arch) in
+ ppc|sparc|x86) myconf+=( --enable-64-bit-bfd ) ;;
+ esac
+
+ use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
+
+ [[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} )
+
+ is_cross && myconf+=(
+ --with-sysroot="${EPREFIX}"/usr/${CTARGET}
+ --enable-poison-system-directories
+ )
+
+ # glibc-2.3.6 lacks support for this ... so rather than force glibc-2.5+
+ # on everyone in alpha (for now), we'll just enable it when possible
+ has_version ">=${CATEGORY}/glibc-2.5" && myconf+=( --enable-secureplt )
+ has_version ">=sys-libs/glibc-2.5" && myconf+=( --enable-secureplt )
+
+ # mips can't do hash-style=gnu ...
+ if [[ $(tc-arch) != mips ]] ; then
+ myconf+=( --enable-default-hash-style=gnu )
+ fi
+
+ myconf+=(
+ --prefix="${EPREFIX}"/usr
+ --host=${CHOST}
+ --target=${CTARGET}
+ --datadir="${EPREFIX}"${DATAPATH}
+ --datarootdir="${EPREFIX}"${DATAPATH}
+ --infodir="${EPREFIX}"${DATAPATH}/info
+ --mandir="${EPREFIX}"${DATAPATH}/man
+ --bindir="${EPREFIX}"${BINPATH}
+ --libdir="${EPREFIX}"${LIBPATH}
+ --libexecdir="${EPREFIX}"${LIBPATH}
+ --includedir="${EPREFIX}"${INCPATH}
+ --enable-obsolete
+ --enable-shared
+ --enable-threads
+ # Newer versions (>=2.27) offer a configure flag now.
+ --enable-relro
+ # Newer versions (>=2.24) make this an explicit option. #497268
+ --enable-install-libiberty
+ --disable-werror
+ --with-bugurl="$(toolchain-binutils_bugurl)"
+ --with-pkgversion="$(toolchain-binutils_pkgversion)"
+ $(use_enable static-libs static)
+ ${EXTRA_ECONF}
+ # Disable modules that are in a combined binutils/gdb tree. #490566
+ --disable-{gdb,libdecnumber,readline,sim}
+ # Strip out broken static link flags.
+ # https://gcc.gnu.org/PR56750
+ --without-stage1-ldflags
+ # Change SONAME to avoid conflict across
+ # {native,cross}/binutils, binutils-libs. #666100
+ --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)
+ )
+ echo ./configure "${myconf[@]}"
+ "${S}"/configure "${myconf[@]}" || die
+
+ # Prevent makeinfo from running if doc is unset.
+ if ! use doc ; then
+ sed -i \
+ -e '/^MAKEINFO/s:=.*:= true:' \
+ Makefile || die
+ fi
+}
+
+src_compile() {
+ cd "${MY_BUILDDIR}"
+ # see Note [tooldir hack for ldscripts]
+ emake tooldir="${EPREFIX}${TOOLPATH}" all
+
+ # only build info pages if the user wants them
+ if use doc ; then
+ emake info
+ fi
+
+ # we nuke the manpages when we're left with junk
+ # (like when we bootstrap, no perl -> no manpages)
+ find . -name '*.1' -a -size 0 -delete
+}
+
+src_test() {
+ cd "${MY_BUILDDIR}"
+ # bug 637066
+ filter-flags -Wall -Wreturn-type
+ emake -k check
+}
+
+src_install() {
+ local x d
+
+ cd "${MY_BUILDDIR}"
+ # see Note [tooldir hack for ldscripts]
+ emake DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
+ rm -rf "${ED}"/${LIBPATH}/bin
+ use static-libs || find "${ED}" -name '*.la' -delete
+
+ # Newer versions of binutils get fancy with ${LIBPATH} #171905
+ cd "${ED}"/${LIBPATH}
+ for d in ../* ; do
+ [[ ${d} == ../${PV} ]] && continue
+ mv ${d}/* . || die
+ rmdir ${d} || die
+ done
+
+ # Now we collect everything intp the proper SLOT-ed dirs
+ # When something is built to cross-compile, it installs into
+ # /usr/$CHOST/ by default ... we have to 'fix' that :)
+ if is_cross ; then
+ cd "${ED}"/${BINPATH}
+ for x in * ; do
+ mv ${x} ${x/${CTARGET}-}
+ done
+
+ if [[ -d ${ED}/usr/${CHOST}/${CTARGET} ]] ; then
+ mv "${ED}"/usr/${CHOST}/${CTARGET}/include "${ED}"/${INCPATH}
+ mv "${ED}"/usr/${CHOST}/${CTARGET}/lib/* "${ED}"/${LIBPATH}/
+ rm -r "${ED}"/usr/${CHOST}/{include,lib}
+ fi
+ fi
+ insinto ${INCPATH}
+ local libiberty_headers=(
+ # Not all the libiberty headers. See libiberty/Makefile.in:install_to_libdir.
+ demangle.h
+ dyn-string.h
+ fibheap.h
+ hashtab.h
+ libiberty.h
+ objalloc.h
+ splay-tree.h
+ )
+ doins "${libiberty_headers[@]/#/${S}/include/}" || die
+ if [[ -d ${ED}/${LIBPATH}/lib ]] ; then
+ mv "${ED}"/${LIBPATH}/lib/* "${ED}"/${LIBPATH}/
+ rm -r "${ED}"/${LIBPATH}/lib
+ fi
+
+ # Generate an env.d entry for this binutils
+ insinto /etc/env.d/binutils
+ cat <<-EOF > "${T}"/env.d
+ TARGET="${CTARGET}"
+ VER="${PV}"
+ LIBPATH="${EPREFIX}${LIBPATH}"
+ EOF
+ newins "${T}"/env.d ${CTARGET}-${PV}
+
+ # Handle documentation
+ if ! is_cross ; then
+ cd "${S}"
+ dodoc README
+ docinto bfd
+ dodoc bfd/ChangeLog* bfd/README bfd/PORTING bfd/TODO
+ docinto binutils
+ dodoc binutils/ChangeLog binutils/NEWS binutils/README
+ docinto gas
+ dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/NEWS gas/README*
+ docinto gprof
+ dodoc gprof/ChangeLog* gprof/TEST gprof/TODO gprof/bbconv.pl
+ docinto ld
+ dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
+ docinto libiberty
+ dodoc libiberty/ChangeLog* libiberty/README
+ docinto opcodes
+ dodoc opcodes/ChangeLog*
+ fi
+
+ # Remove shared info pages
+ rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info}
+
+ # Trim all empty dirs
+ find "${ED}" -depth -type d -exec rmdir {} + 2>/dev/null
+
+ # the hppa64 hack; this should go into 9999 as a PN-conditional
+ # tweak the default fake list a little bit
+ cd "${D}"/etc/env.d/binutils
+ sed -i '/FAKE_TARGETS=/s:"$: hppa64-linux":' ${CTARGET}-${PV} || die
+}
+
+pkg_postinst() {
+ # Make sure this ${CTARGET} has a binutils version selected
+ [[ -e ${EROOT}/etc/env.d/binutils/config-${CTARGET} ]] && return 0
+ binutils-config ${CTARGET}-${PV}
+}
+
+pkg_postrm() {
+ local current_profile=$(binutils-config -c ${CTARGET})
+
+ # If no other versions exist, then uninstall for this
+ # target ... otherwise, switch to the newest version
+ # Note: only do this if this version is unmerged. We
+ # rerun binutils-config if this is a remerge, as
+ # we want the mtimes on the symlinks updated (if
+ # it is the same as the current selected profile)
+ if [[ ! -e ${EPREFIX}${BINPATH}/ld ]] && [[ ${current_profile} == ${CTARGET}-${PV} ]] ; then
+ local choice=$(binutils-config -l | grep ${CTARGET} | awk '{print $2}')
+ choice=${choice//$'\n'/ }
+ choice=${choice/* }
+ if [[ -z ${choice} ]] ; then
+ binutils-config -u ${CTARGET}
+ else
+ binutils-config ${choice}
+ fi
+ elif [[ $(CHOST=${CTARGET} binutils-config -c) == ${CTARGET}-${PV} ]] ; then
+ binutils-config ${CTARGET}-${PV}
+ fi
+}
+# Note [slotting support]
+# -----------------------
+# Gentoo's layout for binutils files is non-standard as Gentoo
+# supports slotted installation for binutils. Many tools
+# still expect binutils to reside in known locations.
+# binutils-config package restores symlinks into known locations,
+# like:
+# /usr/bin/${CTARGET}-
+# /usr/bin/${CHOST}/${CTARGET}/lib/ldscrips
+# /usr/include/
+#
+# Note [tooldir hack for ldscripts]
+# ---------------------------------
+# Build system does not allow ./configure to tweak every location
+# we need for slotting binutils hence all the shuffling in
+# src_install(). This note is about SCRIPTDIR define handling.
+#
+# SCRIPTDIR defines 'ldscripts/' directory location. SCRIPTDIR value
+# is set at build-time in ld/Makefile.am as: 'scriptdir = $(tooldir)/lib'
+# and hardcoded as -DSCRIPTDIR='"$(scriptdir)"' at compile time.
+# Thus we can't just move files around after compilation finished.
+#
+# Our goal is the following:
+# - at build-time set scriptdir to point to symlinked location:
+# ${TOOLPATH}: /usr/${CHOST} (or /usr/${CHOST}/${CTARGET} for cross-case)
+# - at install-time set scriptdir to point to slotted location:
+# ${LIBPATH}: /usr/$(get_libdir)/binutils/${CTARGET}/${PV}
diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest
index 36aaebc1f700..4149643f0b64 100644
--- a/sys-devel/binutils/Manifest
+++ b/sys-devel/binutils/Manifest
@@ -14,5 +14,6 @@ DIST binutils-2.31.1-patches-5.tar.xz 65896 BLAKE2B 7fb2c4c71336a77f3fef57a0430c
DIST binutils-2.31.1-patches-6.tar.xz 76196 BLAKE2B e3c8de07dad62bb3093846389bc1fae0921dd6e63ee2458a85051d298cd1dd52487f83affa33d899e4ddd34b6fd3e28c79a525854c0432d576f83f855d843588 SHA512 6ddfe7b0dc9f340fb1dde3bbc426d087241738b15a5f16a336569b45b2c8ac4077e81e19168c5b165bd4abbaed419e2f290291ef7438a0ecde1f8a6a72217d4c
DIST binutils-2.31.1.tar.xz 20467996 BLAKE2B 6b914df1fbb7cf54f2159f71b2c2b09f3f6a569b7a3cb4cf9790d0a3733a7548bc0ea32334a178ed3b56e8b97656ae99c7abaf212601beeaeae9a0884c0f6051 SHA512 0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30
DIST binutils-2.32-patches-1.tar.xz 93252 BLAKE2B 80d229be60c3377fe52ff3e74ee911b5dcfb9456d3f42a57662fbda3184ac1c63e698e592f804ac05c459527d0cd4bae7d8c9ef8caef02fdf4f17aa783f4ff81 SHA512 69999f60d89589dcf9e3cb18e50f153ab4ce05bdf3f3758fa322b5c4cb468aeda46c416da540995ddff1ea5e96354c264fa5ff0156c53685816d35117eb481e0
+DIST binutils-2.32-patches-2.tar.xz 145672 BLAKE2B 8218e621f99cb4bcd1638c3011449b94480d207eaeb79cf75c0072e0f1a86bfd1603fc4515bc40d3ac1921a18b9a211b20568f59b11b13eb44e6cff1329c5af9 SHA512 55c25a603f6175af3ade6848e5c1faba06a147d72e9a4f53d44502d97db76499485a67b278a654d18884714a7bf7b360c77c9e42dba3cdc188f805bfe461f09f
DIST binutils-2.32.tar.xz 20774880 BLAKE2B d1bdbd9c8487c091665c197974ce4bdf520b7a67ed6997a81b87e6a0af9514a091458244f583acec5ae580ac2ee5e908f67f483b8e5263cd18ced794cb235da6 SHA512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a
DIST binutils-9999-patches-4.tar.xz 17480 BLAKE2B 8e85fb15c740e19bb27482bea134342970fe1af8c39639a16a087c1e3b7386e469d9db6b0d1c0e1e62d550c145814e3013ef65708e91313b648a94ac5c4cafed SHA512 6d09513da6995b83c24afd0799f918281198c412cb65f04e07002fed1b036fb1c6cb075be499a2415e8b286f288b80c02fae1b1dfcd288fe216254d31206b6e3
diff --git a/sys-devel/binutils/binutils-2.32-r1.ebuild b/sys-devel/binutils/binutils-2.32-r1.ebuild
new file mode 100644
index 000000000000..ce1d9442f7e5
--- /dev/null
+++ b/sys-devel/binutils/binutils-2.32-r1.ebuild
@@ -0,0 +1,438 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils libtool flag-o-matic gnuconfig multilib versionator
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="https://sourceware.org/binutils/"
+LICENSE="GPL-3+"
+# USE="+cxx" is a transitional flag until llvm migrates to new flags:
+# bug #677888
+IUSE="+cxx default-gold doc +gold multitarget +nls +plugins static-libs test"
+REQUIRED_USE="cxx? ( gold plugins ) default-gold? ( gold )"
+
+# Variables that can be set here:
+# PATCH_VER - the patchset version
+# Default: empty, no patching
+# PATCH_BINUTILS_VER - the binutils version in the patchset name
+# - Default: PV
+# PATCH_DEV - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/...
+# for the patchsets
+# Default: dilfridge :)
+
+PATCH_VER=2
+PATCH_DEV=dilfridge
+
+case ${PV} in
+ 9999)
+ EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git"
+ inherit git-r3
+ S=${WORKDIR}/binutils
+ EGIT_CHECKOUT_DIR=${S}
+ SLOT=${PV}
+ ;;
+ *.9999)
+ EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git"
+ inherit git-r3
+ S=${WORKDIR}/binutils
+ EGIT_CHECKOUT_DIR=${S}
+ EGIT_BRANCH=$(get_version_component_range 1-2)
+ EGIT_BRANCH="binutils-${EGIT_BRANCH/./_}-branch"
+ SLOT=$(get_version_component_range 1-2)
+ ;;
+ *)
+ SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz"
+ SLOT=$(get_version_component_range 1-2)
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+ ;;
+esac
+
+#
+# The Gentoo patchset
+#
+PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
+PATCH_DEV=${PATCH_DEV:-slyfox}
+
+[[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI}
+ https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
+
+#
+# The cross-compile logic
+#
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY} == cross-* ]] ; then
+ export CTARGET=${CATEGORY#cross-}
+ fi
+fi
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+#
+# The dependencies
+#
+RDEPEND="
+ >=sys-devel/binutils-config-3
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ doc? ( sys-apps/texinfo )
+ test? ( dev-util/dejagnu )
+ nls? ( sys-devel/gettext )
+ sys-devel/flex
+ virtual/yacc
+"
+
+MY_BUILDDIR=${WORKDIR}/build
+
+src_unpack() {
+ case ${PV} in
+ *9999)
+ git-r3_src_unpack
+ ;;
+ *)
+ ;;
+ esac
+ default
+ mkdir -p "${MY_BUILDDIR}"
+}
+
+src_prepare() {
+ if [[ ! -z ${PATCH_VER} ]] ; then
+ # Use upstream patch to enable development mode
+ rm -v "${WORKDIR}/patch"/0000-Gentoo-Git-is-development.patch || die
+
+ einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}"
+ eapply "${WORKDIR}/patch"/*.patch
+ fi
+
+ # This check should probably go somewhere else, like pkg_pretend.
+ if [[ ${CTARGET} == *-uclibc* ]] ; then
+ if grep -qs 'linux-gnu' "${S}"/ltconfig ; then
+ die "sorry, but this binutils doesn't yet support uClibc :("
+ fi
+ fi
+
+ # Make sure our explicit libdir paths don't get clobbered. #562460
+ sed -i \
+ -e 's:@bfdlibdir@:@libdir@:g' \
+ -e 's:@bfdincludedir@:@includedir@:g' \
+ {bfd,opcodes}/Makefile.in || die
+
+ # Fix locale issues if possible #122216
+ if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then
+ einfo "Fixing misc issues in configure files"
+ for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do
+ ebegin " Updating ${f/${S}\/}"
+ patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \
+ || eerror "Please file a bug about this"
+ eend $?
+ done
+ fi
+
+ # Fix conflicts with newer glibc #272594
+ if [[ -e libiberty/testsuite/test-demangle.c ]] ; then
+ sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c
+ fi
+
+ # Apply things from PATCHES and user dirs
+ default
+
+ # Run misc portage update scripts
+ gnuconfig_update
+ elibtoolize --portage --no-uclibc
+}
+
+toolchain-binutils_bugurl() {
+ printf "https://bugs.gentoo.org/"
+}
+toolchain-binutils_pkgversion() {
+ printf "Gentoo ${PV}"
+ [[ -n ${PATCH_VER} ]] && printf " p${PATCH_VER}"
+}
+
+src_configure() {
+ # Setup some paths
+ LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
+ INCPATH=${LIBPATH}/include
+ DATAPATH=/usr/share/binutils-data/${CTARGET}/${PV}
+ if is_cross ; then
+ TOOLPATH=/usr/${CHOST}/${CTARGET}
+ else
+ TOOLPATH=/usr/${CTARGET}
+ fi
+ BINPATH=${TOOLPATH}/binutils-bin/${PV}
+
+ # Make sure we filter $LINGUAS so that only ones that
+ # actually work make it through #42033
+ strip-linguas -u */po
+
+ # Keep things sane
+ strip-flags
+
+ local x
+ echo
+ for x in CATEGORY CBUILD CHOST CTARGET CFLAGS LDFLAGS ; do
+ einfo "$(printf '%10s' ${x}:) ${!x}"
+ done
+ echo
+
+ cd "${MY_BUILDDIR}"
+ local myconf=()
+
+ if use plugins ; then
+ myconf+=( --enable-plugins )
+ fi
+ # enable gold (installed as ld.gold) and ld's plugin architecture
+ if use gold ; then
+ myconf+=( --enable-gold )
+ if use default-gold; then
+ myconf+=( --enable-gold=default )
+ fi
+ fi
+
+ if use nls ; then
+ myconf+=( --without-included-gettext )
+ else
+ myconf+=( --disable-nls )
+ fi
+
+ myconf+=( --with-system-zlib )
+
+ # For bi-arch systems, enable a 64bit bfd. This matches
+ # the bi-arch logic in toolchain.eclass. #446946
+ # We used to do it for everyone, but it's slow on 32bit arches. #438522
+ case $(tc-arch) in
+ ppc|sparc|x86) myconf+=( --enable-64-bit-bfd ) ;;
+ esac
+
+ use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
+
+ [[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} )
+
+ is_cross && myconf+=(
+ --with-sysroot="${EPREFIX}"/usr/${CTARGET}
+ --enable-poison-system-directories
+ )
+
+ # glibc-2.3.6 lacks support for this ... so rather than force glibc-2.5+
+ # on everyone in alpha (for now), we'll just enable it when possible
+ has_version ">=${CATEGORY}/glibc-2.5" && myconf+=( --enable-secureplt )
+ has_version ">=sys-libs/glibc-2.5" && myconf+=( --enable-secureplt )
+
+ # mips can't do hash-style=gnu ...
+ if [[ $(tc-arch) != mips ]] ; then
+ myconf+=( --enable-default-hash-style=gnu )
+ fi
+
+ myconf+=(
+ --prefix="${EPREFIX}"/usr
+ --host=${CHOST}
+ --target=${CTARGET}
+ --datadir="${EPREFIX}"${DATAPATH}
+ --datarootdir="${EPREFIX}"${DATAPATH}
+ --infodir="${EPREFIX}"${DATAPATH}/info
+ --mandir="${EPREFIX}"${DATAPATH}/man
+ --bindir="${EPREFIX}"${BINPATH}
+ --libdir="${EPREFIX}"${LIBPATH}
+ --libexecdir="${EPREFIX}"${LIBPATH}
+ --includedir="${EPREFIX}"${INCPATH}
+ --enable-obsolete
+ --enable-shared
+ --enable-threads
+ # Newer versions (>=2.27) offer a configure flag now.
+ --enable-relro
+ # Newer versions (>=2.24) make this an explicit option. #497268
+ --enable-install-libiberty
+ --disable-werror
+ --with-bugurl="$(toolchain-binutils_bugurl)"
+ --with-pkgversion="$(toolchain-binutils_pkgversion)"
+ $(use_enable static-libs static)
+ ${EXTRA_ECONF}
+ # Disable modules that are in a combined binutils/gdb tree. #490566
+ --disable-{gdb,libdecnumber,readline,sim}
+ # Strip out broken static link flags.
+ # https://gcc.gnu.org/PR56750
+ --without-stage1-ldflags
+ # Change SONAME to avoid conflict across
+ # {native,cross}/binutils, binutils-libs. #666100
+ --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)
+ )
+ echo ./configure "${myconf[@]}"
+ "${S}"/configure "${myconf[@]}" || die
+
+ # Prevent makeinfo from running if doc is unset.
+ if ! use doc ; then
+ sed -i \
+ -e '/^MAKEINFO/s:=.*:= true:' \
+ Makefile || die
+ fi
+}
+
+src_compile() {
+ cd "${MY_BUILDDIR}"
+ # see Note [tooldir hack for ldscripts]
+ emake tooldir="${EPREFIX}${TOOLPATH}" all
+
+ # only build info pages if the user wants them
+ if use doc ; then
+ emake info
+ fi
+
+ # we nuke the manpages when we're left with junk
+ # (like when we bootstrap, no perl -> no manpages)
+ find . -name '*.1' -a -size 0 -delete
+}
+
+src_test() {
+ cd "${MY_BUILDDIR}"
+
+ # bug 637066
+ filter-flags -Wall -Wreturn-type
+
+ # enable verbose test run and result logging
+ emake -k check RUNTESTFLAGS='-a -v' VERBOSE=1
+}
+
+src_install() {
+ local x d
+
+ cd "${MY_BUILDDIR}"
+ # see Note [tooldir hack for ldscripts]
+ emake DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
+ rm -rf "${ED}"/${LIBPATH}/bin
+ use static-libs || find "${ED}" -name '*.la' -delete
+
+ # Newer versions of binutils get fancy with ${LIBPATH} #171905
+ cd "${ED}"/${LIBPATH}
+ for d in ../* ; do
+ [[ ${d} == ../${PV} ]] && continue
+ mv ${d}/* . || die
+ rmdir ${d} || die
+ done
+
+ # Now we collect everything intp the proper SLOT-ed dirs
+ # When something is built to cross-compile, it installs into
+ # /usr/$CHOST/ by default ... we have to 'fix' that :)
+ if is_cross ; then
+ cd "${ED}"/${BINPATH}
+ for x in * ; do
+ mv ${x} ${x/${CTARGET}-}
+ done
+
+ if [[ -d ${ED}/usr/${CHOST}/${CTARGET} ]] ; then
+ mv "${ED}"/usr/${CHOST}/${CTARGET}/include "${ED}"/${INCPATH}
+ mv "${ED}"/usr/${CHOST}/${CTARGET}/lib/* "${ED}"/${LIBPATH}/
+ rm -r "${ED}"/usr/${CHOST}/{include,lib}
+ fi
+ fi
+ insinto ${INCPATH}
+ local libiberty_headers=(
+ # Not all the libiberty headers. See libiberty/Makefile.in:install_to_libdir.
+ demangle.h
+ dyn-string.h
+ fibheap.h
+ hashtab.h
+ libiberty.h
+ objalloc.h
+ splay-tree.h
+ )
+ doins "${libiberty_headers[@]/#/${S}/include/}" || die
+ if [[ -d ${ED}/${LIBPATH}/lib ]] ; then
+ mv "${ED}"/${LIBPATH}/lib/* "${ED}"/${LIBPATH}/
+ rm -r "${ED}"/${LIBPATH}/lib
+ fi
+
+ # Generate an env.d entry for this binutils
+ insinto /etc/env.d/binutils
+ cat <<-EOF > "${T}"/env.d
+ TARGET="${CTARGET}"
+ VER="${PV}"
+ LIBPATH="${EPREFIX}${LIBPATH}"
+ EOF
+ newins "${T}"/env.d ${CTARGET}-${PV}
+
+ # Handle documentation
+ if ! is_cross ; then
+ cd "${S}"
+ dodoc README
+ docinto bfd
+ dodoc bfd/ChangeLog* bfd/README bfd/PORTING bfd/TODO
+ docinto binutils
+ dodoc binutils/ChangeLog binutils/NEWS binutils/README
+ docinto gas
+ dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/NEWS gas/README*
+ docinto gprof
+ dodoc gprof/ChangeLog* gprof/TEST gprof/TODO gprof/bbconv.pl
+ docinto ld
+ dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
+ docinto libiberty
+ dodoc libiberty/ChangeLog* libiberty/README
+ docinto opcodes
+ dodoc opcodes/ChangeLog*
+ fi
+
+ # Remove shared info pages
+ rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info}
+
+ # Trim all empty dirs
+ find "${ED}" -depth -type d -exec rmdir {} + 2>/dev/null
+}
+
+pkg_postinst() {
+ # Make sure this ${CTARGET} has a binutils version selected
+ [[ -e ${EROOT}/etc/env.d/binutils/config-${CTARGET} ]] && return 0
+ binutils-config ${CTARGET}-${PV}
+}
+
+pkg_postrm() {
+ local current_profile=$(binutils-config -c ${CTARGET})
+
+ # If no other versions exist, then uninstall for this
+ # target ... otherwise, switch to the newest version
+ # Note: only do this if this version is unmerged. We
+ # rerun binutils-config if this is a remerge, as
+ # we want the mtimes on the symlinks updated (if
+ # it is the same as the current selected profile)
+ if [[ ! -e ${EPREFIX}${BINPATH}/ld ]] && [[ ${current_profile} == ${CTARGET}-${PV} ]] ; then
+ local choice=$(binutils-config -l | grep ${CTARGET} | awk '{print $2}')
+ choice=${choice//$'\n'/ }
+ choice=${choice/* }
+ if [[ -z ${choice} ]] ; then
+ binutils-config -u ${CTARGET}
+ else
+ binutils-config ${choice}
+ fi
+ elif [[ $(CHOST=${CTARGET} binutils-config -c) == ${CTARGET}-${PV} ]] ; then
+ binutils-config ${CTARGET}-${PV}
+ fi
+}
+
+# Note [slotting support]
+# -----------------------
+# Gentoo's layout for binutils files is non-standard as Gentoo
+# supports slotted installation for binutils. Many tools
+# still expect binutils to reside in known locations.
+# binutils-config package restores symlinks into known locations,
+# like:
+# /usr/bin/${CTARGET}-
+# /usr/bin/${CHOST}/${CTARGET}/lib/ldscrips
+# /usr/include/
+#
+# Note [tooldir hack for ldscripts]
+# ---------------------------------
+# Build system does not allow ./configure to tweak every location
+# we need for slotting binutils hence all the shuffling in
+# src_install(). This note is about SCRIPTDIR define handling.
+#
+# SCRIPTDIR defines 'ldscripts/' directory location. SCRIPTDIR value
+# is set at build-time in ld/Makefile.am as: 'scriptdir = $(tooldir)/lib'
+# and hardcoded as -DSCRIPTDIR='"$(scriptdir)"' at compile time.
+# Thus we can't just move files around after compilation finished.
+#
+# Our goal is the following:
+# - at build-time set scriptdir to point to symlinked location:
+# ${TOOLPATH}: /usr/${CHOST} (or /usr/${CHOST}/${CTARGET} for cross-case)
+# - at install-time set scriptdir to point to slotted location:
+# ${LIBPATH}: /usr/$(get_libdir)/binutils/${CTARGET}/${PV}
diff --git a/sys-devel/clang-common/clang-common-7.0.9999.ebuild b/sys-devel/clang-common/clang-common-7.0.9999.ebuild
deleted file mode 100644
index da74c699fbb7..000000000000
--- a/sys-devel/clang-common/clang-common-7.0.9999.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 git-r3
-
-DESCRIPTION="Common files shared between multiple slots of clang"
-HOMEPAGE="https://llvm.org/"
-SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/clang.git
- https://github.com/llvm-mirror/clang.git"
-EGIT_BRANCH="release_70"
-
-LICENSE="UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-PDEPEND="sys-devel/clang:*"
-
-src_unpack() {
- git-r3_fetch
- git-r3_checkout '' '' '' utils/bash-autocomplete.sh
-}
-
-src_configure() { :; }
-src_compile() { :; }
-src_test() { :; }
-
-src_install() {
- newbashcomp utils/bash-autocomplete.sh clang
-}
diff --git a/sys-devel/clang-runtime/clang-runtime-7.0.9999.ebuild b/sys-devel/clang-runtime/clang-runtime-7.0.9999.ebuild
deleted file mode 100644
index aa2891ea6b4a..000000000000
--- a/sys-devel/clang-runtime/clang-runtime-7.0.9999.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib-build
-
-DESCRIPTION="Meta-ebuild for clang runtime libraries"
-HOMEPAGE="https://clang.llvm.org/"
-SRC_URI=""
-
-LICENSE="metapackage"
-# Note: keep it matching clang-9999 version
-SLOT="7.0.1"
-KEYWORDS=""
-IUSE="+compiler-rt crt libcxx openmp +sanitize"
-
-RDEPEND="
- compiler-rt? (
- ~sys-libs/compiler-rt-${PV}:${SLOT}
- sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT} )
- )
- crt? (
- || (
- sys-libs/netbsd-csu[${MULTILIB_USEDEP}]
- sys-freebsd/freebsd-lib[${MULTILIB_USEDEP}]
- )
- )
- libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
- openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )"
-
-REQUIRED_USE="sanitize? ( compiler-rt )"
diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index f77d4e3afbd3..8a361f3732ba 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -17,6 +17,7 @@ DIST llvm-6.0.1-manpages.tar.bz2 102656 BLAKE2B 9088ca0bdda69f63354e61b7495df545
DIST llvm-6.0.1.src.tar.xz 25306628 BLAKE2B 60232d4d22f8096b565cc8d81fea0639f24f14e8fc4f66ade69fa15479181f07f655f26dff3fa24bf105762b495da316c5c9352db234bd0af6b9c3fff6d4d881 SHA512 cbbb00eb99cfeb4aff623ee1a5ba075e7b5a76fc00c5f9f539ff28c108598f5708a0369d5bd92683def5a20c2fe60cab7827b42d628dbfcc79b57e0e91b84dd9
DIST llvm-7.0.1-manpages.tar.bz2 121157 BLAKE2B d209e292dde0b528bca6e6438eac83d3a762e83fb333fa075f973806ec802a19e24ec6f0212fffe4757257f2840a5f00960d121024db2d8ab8b99d95bb42b1da SHA512 56dce233d17c4c3c1e4860f31d30e227364c99f04527e8e8372f308e30d09a297ca21a37b4eb2eddab69bee88ef5867446affd1ccd5d7cb1c12d9c9002a1101c
DIST llvm-7.0.1.src.tar.xz 28311056 BLAKE2B 737aa6144a415e41a4ff2c8bd5a727d6f14d7b1810c62cbefa5a25fe642c98cddf8a28e35c7e9783373aa3b96f5c0943229e229ad1b43e56e9ed6db0f27ab128 SHA512 ac43a3cb71a53deb55e3693653847cf20bf6f5d9056f224e6956c96d63bc59ebee9404f088eec9cabe65337b4607a905ef931354b373cf64e0004c6905a6b5df
+DIST llvm-7.1.0-manpages.tar.bz2 120786 BLAKE2B b52a7afe7c5c170894e910ef2c651a5f38f0bd41147a2c63dc5b8a92f0ec37512e913e68efce51e1643e8f20cf0f3f088d31d19c541d2ff361ecb7d89b234b6c SHA512 78a526d889a8e62accf422655acbb4d17e3c22b0f0830003db0068b3c01c367ac32ce4f4be4cbb2966274440865557c25795205af2a59a054a6f6964294d289f
DIST llvm-7.1.0.src.tar.xz 28313784 BLAKE2B b78d9a7fc5ef6e352e77d339e5c4eef5ccedf67c05e7abd949e72619aa8a5ed65e7e5e2008354be8e7916d75581719b99f34227838fcc86c5d0080913c2fb22c SHA512 a7dbd5693d1f2dae6b6e52893a100f9349cbfcfb25c5fdcad46364acbff0dbd3573f8fbc026c68eb9fd56335198aa94b866cc3dd7ea0cbd2cbfb5f8fe3444a7a
DIST llvm-8.0.0-manpages.tar.bz2 140542 BLAKE2B e6c58865ace0b8848ffe825e931a639daa5b22099317b3263acf8df4b8d5e1e97ed54a85b9241e6874b112c67114bda5617c3014c3bc1430c179bdf389e77269 SHA512 198f5bde8c610aa7953b325fc29c2bebe5c3d81469af6273975ed32cd739a9936813fca7399acc49809c322cf73fbdaa77a834f889bd78fe4672024965ea47fb
DIST llvm-8.0.0.src.tar.xz 30503732 BLAKE2B d89bdeb0ec7d885e49cfe5ae025da84f00502d409710c0807a3cdd58dbd47c50cf6a635593569483150f7f2ecb0de0310bd6785cb7625219bf9f6224a0d68e1c SHA512 1602343b451b964f5d8c2d6b0654d89384c80d45883498c5f0e2f4196168dd4a1ed2a4dadb752076020243df42ffe46cb31d82ffc145d8e5874163cbb9686a1f
diff --git a/sys-devel/clang/clang-7.0.9999.ebuild b/sys-devel/clang/clang-7.0.9999.ebuild
deleted file mode 100644
index 6a5681d1a0eb..000000000000
--- a/sys-devel/clang/clang-7.0.9999.ebuild
+++ /dev/null
@@ -1,298 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils eapi7-ver flag-o-matic git-r3 llvm \
- multilib-minimal multiprocessing pax-utils python-single-r1 \
- toolchain-funcs
-
-DESCRIPTION="C language family frontend for LLVM"
-HOMEPAGE="https://llvm.org/"
-SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/clang.git
- https://github.com/llvm-mirror/clang.git"
-EGIT_BRANCH="release_70"
-
-# Keep in sync with sys-devel/llvm
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
- NVPTX PowerPC Sparc SystemZ X86 XCore )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
-
-LICENSE="UoI-NCSA"
-SLOT="$(ver_cut 1)"
-KEYWORDS=""
-IUSE="debug default-compiler-rt default-libcxx doc +static-analyzer
- test xml z3 kernel_FreeBSD ${ALL_LLVM_TARGETS[*]}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ~sys-devel/llvm-${PV}:${SLOT}=[debug=,${LLVM_TARGET_USEDEPS// /,},${MULTILIB_USEDEP}]
- static-analyzer? (
- dev-lang/perl:*
- z3? ( =sys-libs/libcxx-${PV} )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- || ( ${ALL_LLVM_TARGETS[*]} )"
-
-# We need extra level of indirection for CLANG_RESOURCE_DIR
-S=${WORKDIR}/x/y/${P}
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-# Multilib notes:
-# 1. ABI_* flags control ABIs libclang* is built for only.
-# 2. clang is always capable of compiling code for all ABIs for enabled
-# target. However, you will need appropriate crt* files (installed
-# e.g. by sys-devel/gcc and sys-libs/glibc).
-# 3. ${CHOST}-clang wrappers are always installed for all ABIs included
-# in the current profile (i.e. alike supported by sys-devel/gcc).
-#
-# Therefore: use sys-devel/clang[${MULTILIB_USEDEP}] only if you need
-# multilib clang* libraries (not runtime, not wrappers).
-
-pkg_setup() {
- LLVM_MAX_SLOT=${SLOT} llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_unpack() {
- # create extra parent dir for CLANG_RESOURCE_DIR
- mkdir -p x/y || die
- cd x/y || die
-
- git-r3_fetch "https://git.llvm.org/git/clang-tools-extra.git
- https://github.com/llvm-mirror/clang-tools-extra.git"
- if use test; then
- # needed for patched gtest
- git-r3_fetch "https://git.llvm.org/git/llvm.git
- https://github.com/llvm-mirror/llvm.git"
- fi
- git-r3_fetch
-
- git-r3_checkout https://llvm.org/git/clang-tools-extra.git \
- "${S}"/tools/extra
- if use test; then
- git-r3_checkout https://llvm.org/git/llvm.git \
- "${WORKDIR}"/llvm '' \
- lib/Testing/Support utils/{lit,llvm-lit,unittest}
- fi
- git-r3_checkout "${EGIT_REPO_URI}" "${S}"
-}
-
-multilib_src_configure() {
- local llvm_version=$(llvm-config --version) || die
- local clang_version=$(ver_cut 1-3 "${llvm_version}")
-
- local mycmakeargs=(
- # ensure that the correct llvm-config is used
- -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}"
- -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man"
- # relative to bindir
- -DCLANG_RESOURCE_DIR="../../../../lib/clang/${clang_version}"
-
- -DBUILD_SHARED_LIBS=ON
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
- -DLLVM_BUILD_TESTS=$(usex test)
-
- # these are not propagated reliably, so redefine them
- -DLLVM_ENABLE_EH=ON
- -DLLVM_ENABLE_RTTI=ON
-
- -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex !xml)
- # libgomp support fails to find headers without explicit -I
- # furthermore, it provides only syntax checking
- -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp
-
- # override default stdlib and rtlib
- -DCLANG_DEFAULT_CXX_STDLIB=$(usex default-libcxx libc++ "")
- -DCLANG_DEFAULT_RTLIB=$(usex default-compiler-rt compiler-rt "")
-
- -DCLANG_ENABLE_ARCMT=$(usex static-analyzer)
- -DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer)
- # z3 is not multilib-friendly
- -DCLANG_ANALYZER_BUILD_Z3=$(multilib_native_usex z3)
- )
- use test && mycmakeargs+=(
- -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
- -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
- )
-
- if multilib_is_native_abi; then
- mycmakeargs+=(
- # normally copied from LLVM_INCLUDE_DOCS but the latter
- # is lacking value in stand-alone builds
- -DCLANG_INCLUDE_DOCS=$(usex doc)
- -DCLANG_TOOLS_EXTRA_INCLUDE_DOCS=$(usex doc)
- )
- use doc && mycmakeargs+=(
- -DLLVM_BUILD_DOCS=ON
- -DLLVM_ENABLE_SPHINX=ON
- -DCLANG_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html"
- -DCLANG-TOOLS_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/tools-extra"
- -DSPHINX_WARNINGS_AS_ERRORS=OFF
- )
- use z3 && mycmakeargs+=(
- -DZ3_INCLUDE_DIR="${EPREFIX}/usr/include/z3"
- )
- else
- mycmakeargs+=(
- -DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD=OFF
- )
- fi
-
- if [[ -n ${EPREFIX} ]]; then
- mycmakeargs+=(
- -DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
- )
- fi
-
- if tc-is-cross-compiler; then
- [[ -x "/usr/bin/clang-tblgen" ]] \
- || die "/usr/bin/clang-tblgen not found or usable"
- mycmakeargs+=(
- -DCMAKE_CROSSCOMPILING=ON
- -DCLANG_TABLEGEN=/usr/bin/clang-tblgen
- )
- fi
-
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
- use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
- cmake-utils_src_configure
-}
-
-multilib_src_compile() {
- cmake-utils_src_compile
-
- # provide a symlink for tests
- if [[ ! -L ${WORKDIR}/lib/clang ]]; then
- mkdir -p "${WORKDIR}"/lib || die
- ln -s "${BUILD_DIR}/$(get_libdir)/clang" "${WORKDIR}"/lib/clang || die
- fi
-}
-
-multilib_src_test() {
- # respect TMPDIR!
- local -x LIT_PRESERVES_TMP=1
- cmake-utils_src_make check-clang
- multilib_is_native_abi && cmake-utils_src_make check-clang-tools
-}
-
-src_install() {
- MULTILIB_WRAPPED_HEADERS=(
- /usr/include/clang/Config/config.h
- )
-
- multilib-minimal_src_install
-
- # Move runtime headers to /usr/lib/clang, where they belong
- mv "${ED%/}"/usr/include/clangrt "${ED%/}"/usr/lib/clang || die
- # move (remaining) wrapped headers back
- mv "${ED%/}"/usr/include "${ED%/}"/usr/lib/llvm/${SLOT}/include || die
-
- # Apply CHOST and version suffix to clang tools
- # note: we use two version components here (vs 3 in runtime path)
- local llvm_version=$(llvm-config --version) || die
- local clang_version=$(ver_cut 1 "${llvm_version}")
- local clang_full_version=$(ver_cut 1-3 "${llvm_version}")
- local clang_tools=( clang clang++ clang-cl clang-cpp )
- local abi i
-
- # cmake gives us:
- # - clang-X
- # - clang -> clang-X
- # - clang++, clang-cl, clang-cpp -> clang
- # we want to have:
- # - clang-X
- # - clang++-X, clang-cl-X, clang-cpp-X -> clang-X
- # - clang, clang++, clang-cl, clang-cpp -> clang*-X
- # also in CHOST variant
- for i in "${clang_tools[@]:1}"; do
- rm "${ED%/}/usr/lib/llvm/${SLOT}/bin/${i}" || die
- dosym "clang-${clang_version}" "/usr/lib/llvm/${SLOT}/bin/${i}-${clang_version}"
- dosym "${i}-${clang_version}" "/usr/lib/llvm/${SLOT}/bin/${i}"
- done
-
- # now create target symlinks for all supported ABIs
- for abi in $(get_all_abis); do
- local abi_chost=$(get_abi_CHOST "${abi}")
- for i in "${clang_tools[@]}"; do
- dosym "${i}-${clang_version}" \
- "/usr/lib/llvm/${SLOT}/bin/${abi_chost}-${i}-${clang_version}"
- dosym "${abi_chost}-${i}-${clang_version}" \
- "/usr/lib/llvm/${SLOT}/bin/${abi_chost}-${i}"
- done
- done
-
- # Remove unnecessary headers on FreeBSD, bug #417171
- if use kernel_FreeBSD; then
- rm "${ED}"usr/lib/clang/${clang_full_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
- fi
-}
-
-multilib_src_install() {
- cmake-utils_src_install
-
- # move headers to /usr/include for wrapping & ABI mismatch checks
- # (also drop the version suffix from runtime headers)
- rm -rf "${ED%/}"/usr/include || die
- mv "${ED%/}"/usr/lib/llvm/${SLOT}/include "${ED%/}"/usr/include || die
- mv "${ED%/}"/usr/lib/llvm/${SLOT}/$(get_libdir)/clang "${ED%/}"/usr/include/clangrt || die
-}
-
-multilib_src_install_all() {
- python_fix_shebang "${ED}"
- if use static-analyzer; then
- python_optimize "${ED}"usr/lib/llvm/${SLOT}/share/scan-view
- fi
-
- docompress "/usr/lib/llvm/${SLOT}/share/man"
- # match 'html' non-compression
- use doc && docompress -x "/usr/share/doc/${PF}/tools-extra"
- # +x for some reason; TODO: investigate
- use static-analyzer && fperms a-x "/usr/lib/llvm/${SLOT}/share/man/man1/scan-build.1"
-}
-
-pkg_postinst() {
- if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
- eselect compiler-shadow update all
- fi
-
- elog "You can find additional utility scripts in:"
- elog " ${EROOT}/usr/lib/llvm/${SLOT}/share/clang"
- elog "To use these scripts, you will need Python 2.7. Some of them are vim"
- elog "integration scripts (with instructions inside). The run-clang-tidy.py"
- elog "scripts requires the following additional package:"
- elog " dev-python/pyyaml"
-}
-
-pkg_postrm() {
- if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
- eselect compiler-shadow clean all
- fi
-}
diff --git a/sys-devel/clang/clang-7.1.0.ebuild b/sys-devel/clang/clang-7.1.0.ebuild
index ab0e4abea0aa..316d8336c70d 100644
--- a/sys-devel/clang/clang-7.1.0.ebuild
+++ b/sys-devel/clang/clang-7.1.0.ebuild
@@ -20,8 +20,8 @@ DESCRIPTION="C language family frontend for LLVM"
HOMEPAGE="https://llvm.org/"
SRC_URI="https://releases.llvm.org/${PV/_//}/${MY_P}.tar.xz
https://releases.llvm.org/${PV/_//}/${EXTRA_P}.tar.xz
- test? ( https://releases.llvm.org/${PV/_//}/${LLVM_P}.tar.xz )"
-# !doc? ( https://dev.gentoo.org/~mgorny/dist/llvm/llvm-${PV}-manpages.tar.bz2 )"
+ test? ( https://releases.llvm.org/${PV/_//}/${LLVM_P}.tar.xz )
+ !doc? ( https://dev.gentoo.org/~mgorny/dist/llvm/llvm-${PV}-manpages.tar.bz2 )"
# Keep in sync with sys-devel/llvm
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
diff --git a/sys-devel/ct-ng/Manifest b/sys-devel/ct-ng/Manifest
index 3ec0e485bfe2..0398c325c3c4 100644
--- a/sys-devel/ct-ng/Manifest
+++ b/sys-devel/ct-ng/Manifest
@@ -1,2 +1,2 @@
-DIST crosstool-ng-1.22.0.tar.bz2 1621476 BLAKE2B 1fb5843de2c2cfafa212029736743be55da8fc123745898b79f2a83c98b0d6754c3fede374dc054be17ae598cbd3e3d640d898d4340ec64540c331d4c22e5f2b SHA512 986c93435bd2115a7e19b3068aaa6deb9fea8056b389fc5cc578cbef3652514e1e794089cd9a4282f0e0bf73cf8d9e480b68aeabe7c16b627e7ad5afe46fcc9c
DIST crosstool-ng-1.23.0.tar.bz2 1782247 BLAKE2B 77835534b5b664148985b57580bf24fa6153e1fc327be0622e55d9ff5c1c5f446039b293a7d1718bfbec89789638f80033be012e0878f75a57648bd574abe10e SHA512 1842d140b1c4f76783751eab60722e8077f356dfc9e9cc941d3c991a7e9bb23cb19e6bd7cd5c630cc87967853c55e0c16e415b222e546b5baaffb264ca799b69
+DIST crosstool-ng-1.24.0.tar.bz2 2058069 BLAKE2B 4108e9546acd6c0660552595d41164ce9c4f07985851a911c260fcc9e2ec70e80136b6cb2090290ca2aa2ceeb4ebc61fca183340de88eafd800bc2bf18d0cfbb SHA512 379e668365628f0ab359ae119213bed44960870093f64f0fbb12e92bbe2a3b82bfed77f5ab33f2e2f17c1977e7a63f2151c46ad8d0e6208220fb7fa8726fae33
diff --git a/sys-devel/ct-ng/ct-ng-1.22.0.ebuild b/sys-devel/ct-ng/ct-ng-1.24.0.ebuild
similarity index 79%
rename from sys-devel/ct-ng/ct-ng-1.22.0.ebuild
rename to sys-devel/ct-ng/ct-ng-1.24.0.ebuild
index a9aa2651dc91..ebcbb34f2c48 100644
--- a/sys-devel/ct-ng/ct-ng-1.22.0.ebuild
+++ b/sys-devel/ct-ng/ct-ng-1.24.0.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
-
-inherit bash-completion-r1
+EAPI="7"
DESCRIPTION="crosstool-ng is a tool to build cross-compiling toolchains"
HOMEPAGE="https://crosstool-ng.github.io/"
@@ -16,15 +14,14 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="net-misc/curl
- FreeBSD).
eapply "${FILESDIR}"/6.0.1/0001-cmake-Append-Wl-rpath-link-conditionally-to-GNULD.patch
diff --git a/sys-devel/llvm/llvm-6.0.1.ebuild b/sys-devel/llvm/llvm-6.0.1.ebuild
index d4cb259ec03d..fde2a075f4df 100644
--- a/sys-devel/llvm/llvm-6.0.1.ebuild
+++ b/sys-devel/llvm/llvm-6.0.1.ebuild
@@ -78,7 +78,7 @@ CMAKE_BUILD_TYPE=RelWithDebInfo
src_prepare() {
# Fix llvm-config for shared linking and sane flags
# https://bugs.gentoo.org/show_bug.cgi?id=565358
- eapply "${FILESDIR}"/7.0.9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
+ eapply "${FILESDIR}"/7.1.0/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
# Fix appending -Wl,-rpath-link on non-Linux (-> FreeBSD).
eapply "${FILESDIR}"/6.0.1/0001-cmake-Append-Wl-rpath-link-conditionally-to-GNULD.patch
diff --git a/sys-devel/llvm/llvm-7.0.1.ebuild b/sys-devel/llvm/llvm-7.0.1.ebuild
index 9807a13f1bb3..72fae3757637 100644
--- a/sys-devel/llvm/llvm-7.0.1.ebuild
+++ b/sys-devel/llvm/llvm-7.0.1.ebuild
@@ -79,7 +79,7 @@ CMAKE_BUILD_TYPE=RelWithDebInfo
src_prepare() {
# Fix llvm-config for shared linking and sane flags
# https://bugs.gentoo.org/show_bug.cgi?id=565358
- eapply "${FILESDIR}"/7.0.9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
+ eapply "${FILESDIR}"/7.1.0/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
# disable use of SDK on OSX, bug #568758
sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
diff --git a/sys-devel/llvm/llvm-7.0.9999.ebuild b/sys-devel/llvm/llvm-7.0.9999.ebuild
deleted file mode 100644
index c361a226832d..000000000000
--- a/sys-devel/llvm/llvm-7.0.9999.ebuild
+++ /dev/null
@@ -1,258 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils eapi7-ver flag-o-matic git-r3 multilib-minimal \
- multiprocessing pax-utils python-any-r1 toolchain-funcs
-
-DESCRIPTION="Low Level Virtual Machine"
-HOMEPAGE="https://llvm.org/"
-SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
- https://github.com/llvm-mirror/llvm.git"
-EGIT_BRANCH="release_70"
-
-# Keep in sync with CMakeLists.txt
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
- NVPTX PowerPC Sparc SystemZ X86 XCore )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-
-# Additional licenses:
-# 1. OpenBSD regex: Henry Spencer's license ('rc' in Gentoo) + BSD.
-# 2. ARM backend: LLVM Software Grant by ARM.
-# 3. MD5 code: public-domain.
-# 4. Tests (not installed):
-# a. gtest: BSD.
-# b. YAML tests: MIT.
-
-LICENSE="UoI-NCSA rc BSD public-domain
- llvm_targets_ARM? ( LLVM-Grant )"
-SLOT="$(ver_cut 1)"
-KEYWORDS=""
-IUSE="debug doc exegesis gold libedit +libffi ncurses test xar xml
- kernel_Darwin ${ALL_LLVM_TARGETS[*]}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- sys-libs/zlib:0=
- exegesis? ( dev-libs/libpfm:= )
- gold? (
- || (
- >=sys-devel/binutils-2.31.1-r4:*[plugins]
- =virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] )
- ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )
- xar? ( app-arch/xar )
- xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )"
-# configparser-3.2 breaks the build (3.3 or none at all are fine)
-DEPEND="${RDEPEND}
- dev-lang/perl
- || ( >=sys-devel/gcc-3.0 >=sys-devel/llvm-3.5
- ( >=sys-freebsd/freebsd-lib-9.1-r10 sys-libs/libcxx )
- )
- kernel_Darwin? (
- =sys-devel/binutils-apple-5.1
- )
- doc? ( dev-python/sphinx )
- gold? ( sys-libs/binutils-libs )
- libffi? ( virtual/pkgconfig )
- !!=sys-devel/llvmgold-${SLOT} )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- || ( ${ALL_LLVM_TARGETS[*]} )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-src_prepare() {
- # Fix llvm-config for shared linking and sane flags
- # https://bugs.gentoo.org/show_bug.cgi?id=565358
- eapply "${FILESDIR}"/7.0.9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
-
- # disable use of SDK on OSX, bug #568758
- sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
-
- # User patches + QA
- cmake-utils_src_prepare
-}
-
-multilib_src_configure() {
- local ffi_cflags ffi_ldflags
- if use libffi; then
- ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)
- ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi)
- fi
-
- local libdir=$(get_libdir)
- local mycmakeargs=(
- # disable appending VCS revision to the version to improve
- # direct cache hit ratio
- -DLLVM_APPEND_VC_REV=OFF
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}"
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-
- -DBUILD_SHARED_LIBS=ON
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
- -DLLVM_BUILD_TESTS=$(usex test)
-
- -DLLVM_ENABLE_FFI=$(usex libffi)
- -DLLVM_ENABLE_LIBEDIT=$(usex libedit)
- -DLLVM_ENABLE_TERMINFO=$(usex ncurses)
- -DLLVM_ENABLE_LIBXML2=$(usex xml)
- -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
- -DLLVM_ENABLE_LIBPFM=$(usex exegesis)
- -DLLVM_ENABLE_EH=ON
- -DLLVM_ENABLE_RTTI=ON
-
- -DWITH_POLLY=OFF # TODO
-
- -DLLVM_HOST_TRIPLE="${CHOST}"
-
- -DFFI_INCLUDE_DIR="${ffi_cflags#-I}"
- -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}"
- # used only for llvm-objdump tool
- -DHAVE_LIBXAR=$(multilib_native_usex xar 1 0)
-
- # disable OCaml bindings (now in dev-ml/llvm-ocaml)
- -DOCAMLFIND=NO
- )
-
-# Note: go bindings have no CMake rules at the moment
-# but let's kill the check in case they are introduced
-# if ! multilib_is_native_abi || ! use go; then
- mycmakeargs+=(
- -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
- )
-# fi
-
- use test && mycmakeargs+=(
- -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
- )
-
- if multilib_is_native_abi; then
- mycmakeargs+=(
- -DLLVM_BUILD_DOCS=$(usex doc)
- -DLLVM_ENABLE_OCAMLDOC=OFF
- -DLLVM_ENABLE_SPHINX=$(usex doc)
- -DLLVM_ENABLE_DOXYGEN=OFF
- -DLLVM_INSTALL_UTILS=ON
- )
- use doc && mycmakeargs+=(
- -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man"
- -DLLVM_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html"
- -DSPHINX_WARNINGS_AS_ERRORS=OFF
- )
- use gold && mycmakeargs+=(
- -DLLVM_BINUTILS_INCDIR="${EPREFIX}"/usr/include
- )
- fi
-
- if tc-is-cross-compiler; then
- local tblgen="${EPREFIX}/usr/lib/llvm/${SLOT}/bin/llvm-tblgen"
- [[ -x "${tblgen}" ]] \
- || die "${tblgen} not found or usable"
- mycmakeargs+=(
- -DCMAKE_CROSSCOMPILING=ON
- -DLLVM_TABLEGEN="${tblgen}"
- )
- fi
-
- # workaround BMI bug in gcc-7 (fixed in 7.4)
- # https://bugs.gentoo.org/649880
- # apply only to x86, https://bugs.gentoo.org/650506
- if tc-is-gcc && [[ ${MULTILIB_ABI_FLAG} == abi_x86* ]] &&
- [[ $(gcc-major-version) -eq 7 && $(gcc-minor-version) -lt 4 ]]
- then
- local CFLAGS="${CFLAGS} -mno-bmi"
- local CXXFLAGS="${CXXFLAGS} -mno-bmi"
- fi
-
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
- use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
- cmake-utils_src_configure
-}
-
-multilib_src_compile() {
- cmake-utils_src_compile
-
- pax-mark m "${BUILD_DIR}"/bin/llvm-rtdyld
- pax-mark m "${BUILD_DIR}"/bin/lli
- pax-mark m "${BUILD_DIR}"/bin/lli-child-target
-
- if use test; then
- pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/Orc/OrcJITTests
- pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/MCJIT/MCJITTests
- pax-mark m "${BUILD_DIR}"/unittests/Support/SupportTests
- fi
-}
-
-multilib_src_test() {
- # respect TMPDIR!
- local -x LIT_PRESERVES_TMP=1
- cmake-utils_src_make check
-}
-
-src_install() {
- local MULTILIB_CHOST_TOOLS=(
- /usr/lib/llvm/${SLOT}/bin/llvm-config
- )
-
- local MULTILIB_WRAPPED_HEADERS=(
- /usr/include/llvm/Config/llvm-config.h
- )
-
- local LLVM_LDPATHS=()
- multilib-minimal_src_install
-
- # move wrapped headers back
- mv "${ED%/}"/usr/include "${ED%/}"/usr/lib/llvm/${SLOT}/include || die
-}
-
-multilib_src_install() {
- cmake-utils_src_install
-
- # move headers to /usr/include for wrapping
- rm -rf "${ED%/}"/usr/include || die
- mv "${ED%/}"/usr/lib/llvm/${SLOT}/include "${ED%/}"/usr/include || die
-
- LLVM_LDPATHS+=( "${EPREFIX}/usr/lib/llvm/${SLOT}/$(get_libdir)" )
-}
-
-multilib_src_install_all() {
- local revord=$(( 9999 - ${SLOT} ))
- newenvd - "10llvm-${revord}" <<-_EOF_
- PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin"
- # we need to duplicate it in ROOTPATH for Portage to respect...
- ROOTPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin"
- MANPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man"
- LDPATH="$( IFS=:; echo "${LLVM_LDPATHS[*]}" )"
- _EOF_
-
- docompress "/usr/lib/llvm/${SLOT}/share/man"
-}
-
-pkg_postinst() {
- elog "You can find additional opt-viewer utility scripts in:"
- elog " ${EROOT%/}/usr/lib/llvm/${SLOT}/share/opt-viewer"
- elog "To use these scripts, you will need Python 2.7 along with the following"
- elog "packages:"
- elog " dev-python/pygments (for opt-viewer)"
- elog " dev-python/pyyaml (for all of them)"
-}
diff --git a/sys-devel/llvm/llvm-7.1.0.ebuild b/sys-devel/llvm/llvm-7.1.0.ebuild
index ed9e4e2b2524..a708957fea03 100644
--- a/sys-devel/llvm/llvm-7.1.0.ebuild
+++ b/sys-devel/llvm/llvm-7.1.0.ebuild
@@ -40,7 +40,12 @@ RESTRICT="!test? ( test )"
RDEPEND="
sys-libs/zlib:0=
exegesis? ( dev-libs/libpfm:= )
- gold? ( >=sys-devel/binutils-2.22:*[cxx] )
+ gold? (
+ || (
+ >=sys-devel/binutils-2.31.1-r4:*[plugins]
+ =virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] )
ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )
@@ -79,7 +84,7 @@ CMAKE_BUILD_TYPE=RelWithDebInfo
src_prepare() {
# Fix llvm-config for shared linking and sane flags
# https://bugs.gentoo.org/show_bug.cgi?id=565358
- eapply "${FILESDIR}"/7.0.9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
+ eapply "${FILESDIR}"/7.1.0/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
# disable use of SDK on OSX, bug #568758
sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
diff --git a/sys-firmware/Manifest.gz b/sys-firmware/Manifest.gz
index c281feb092d3..6d632b51a827 100644
Binary files a/sys-firmware/Manifest.gz and b/sys-firmware/Manifest.gz differ
diff --git a/sys-firmware/b43-firmware/b43-firmware-5.100.138.ebuild b/sys-firmware/b43-firmware/b43-firmware-5.100.138.ebuild
index 5a72818819c8..88b0e5dc76fb 100644
--- a/sys-firmware/b43-firmware/b43-firmware-5.100.138.ebuild
+++ b/sys-firmware/b43-firmware/b43-firmware-5.100.138.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.lwfinger.com/b43-firmware/${MY_P}.tar.bz2"
LICENSE="Broadcom"
SLOT="b43"
-KEYWORDS="amd64 ppc ~x86"
+KEYWORDS="amd64 ppc x86"
IUSE=""
RESTRICT="binchecks strip bindist"
diff --git a/sys-firmware/b43legacy-firmware/b43legacy-firmware-3.130.20.0.ebuild b/sys-firmware/b43legacy-firmware/b43legacy-firmware-3.130.20.0.ebuild
index 33fb9fad209b..3223244208f6 100644
--- a/sys-firmware/b43legacy-firmware/b43legacy-firmware-3.130.20.0.ebuild
+++ b/sys-firmware/b43legacy-firmware/b43legacy-firmware-3.130.20.0.ebuild
@@ -14,7 +14,7 @@ RESTRICT="binchecks bindist strip"
LICENSE="Broadcom"
SLOT=0
-KEYWORDS="amd64 ppc ~x86"
+KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND=""
diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz
index 64593be095f9..b87e332c9daf 100644
Binary files a/sys-fs/Manifest.gz and b/sys-fs/Manifest.gz differ
diff --git a/sys-fs/udisks/udisks-1.0.5-r2.ebuild b/sys-fs/udisks/udisks-1.0.5-r3.ebuild
similarity index 94%
rename from sys-fs/udisks/udisks-1.0.5-r2.ebuild
rename to sys-fs/udisks/udisks-1.0.5-r3.ebuild
index 513b9e8dcb5a..74ffc984dd33 100644
--- a/sys-fs/udisks/udisks-1.0.5-r2.ebuild
+++ b/sys-fs/udisks/udisks-1.0.5-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="https://hal.freedesktop.org/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~sh sparc x86"
-IUSE="debug nls remote-access selinux"
+IUSE="debug +lvm nls remote-access selinux"
COMMON_DEPEND=">=dev-libs/dbus-glib-0.100
>=dev-libs/glib-2.30
@@ -20,7 +20,10 @@ COMMON_DEPEND=">=dev-libs/dbus-glib-0.100
>=sys-apps/dbus-1.6
>=sys-apps/sg3_utils-1.27.20090411
>=sys-block/parted-3
- >=sys-fs/lvm2-2.02.66
+ lvm? (
+ >=sys-fs/lvm2-2.02.66
+ "
+ eerror " Block devices --->"
+ eerror " [X] Loopback device support"
+ fi
+ fi
+ fi
+ fi
+}
+
+src_prepare() {
+ default
+
+ [[ ${PV} == "9999" ]] && eautoreconf
+
+ # Update paths
+ sed -e "s|/sbin/lsmod|/bin/lsmod|" \
+ -e "s|/usr/bin/scsi-rescan|/usr/sbin/rescan-scsi-bus|" \
+ -e "s|/sbin/parted|/usr/sbin/parted|" \
+ -i scripts/common.sh.in || die
+
+ if use python; then
+ pushd contrib/pyzfs >/dev/null || die
+ distutils-r1_src_prepare
+ popd >/dev/null || die
+ fi
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+
+ local myconf=(
+ --bindir="${EPREFIX}/bin"
+ --enable-systemd
+ --enable-sysvinit
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=user
+ --with-dracutdir="${EPREFIX}/usr/lib/dracut"
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ --with-udevdir="$(get_udevdir)"
+ --with-systemdunitdir="$(systemd_get_systemunitdir)"
+ --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset"
+ $(use_enable debug)
+ $(use_enable python pyzfs)
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_compile() {
+ default
+ if use python; then
+ pushd contrib/pyzfs >/dev/null || die
+ distutils-r1_src_compile
+ popd >/dev/null || die
+ fi
+}
+
+src_install() {
+ default
+
+ gen_usr_ldscript -a uutil nvpair zpool zfs zfs_core
+
+ use test-suite || rm -rf "${ED}/usr/share/zfs"
+
+ dobashcomp contrib/bash_completion.d/zfs
+ bashcomp_alias zfs zpool
+
+ # strip executable bit from conf.d file
+ fperms 0644 /etc/conf.d/zfs
+
+ if use python; then
+ pushd contrib/pyzfs >/dev/null || die
+ distutils-r1_src_install
+ popd >/dev/null || die
+ fi
+
+ # enforce best available python implementation
+ python_setup
+ python_fix_shebang "${ED}/bin"
+}
+
+pkg_postinst() {
+ if ! use kernel-builtin && [[ ${PV} = "9999" ]]; then
+ einfo "Adding ${P} to the module database to ensure that the"
+ einfo "kernel modules and userland utilities stay in sync."
+ update_moduledb
+ fi
+
+ if [[ -e "${EROOT}/etc/runlevels/boot/zfs" ]]; then
+ einfo 'The zfs boot script has been split into the zfs-import,'
+ einfo 'zfs-mount and zfs-share scripts.'
+ einfo
+ einfo 'You had the zfs script in your boot runlevel. For your'
+ einfo 'convenience, it has been automatically removed and the three'
+ einfo 'scripts that replace it have been configured to start.'
+ einfo 'The zfs-import and zfs-mount scripts have been added to the boot'
+ einfo 'runlevel while the zfs-share script is in the default runlevel.'
+
+ rm "${EROOT}/etc/runlevels/boot/zfs"
+ ln -snf "${EROOT}/etc/init.d/zfs-import" \
+ "${EROOT}/etc/runlevels/boot/zfs-import"
+ ln -snf "${EROOT}/etc/init.d/zfs-mount" \
+ "${EROOT}/etc/runlevels/boot/zfs-mount"
+ ln -snf "${EROOT}/etc/init.d/zfs-share" \
+ "${EROOT}/etc/runlevels/default/zfs-share"
+ else
+ [[ -e "${EROOT}/etc/runlevels/boot/zfs-import" ]] || \
+ einfo "You should add zfs-import to the boot runlevel."
+ [[ -e "${EROOT}/etc/runlevels/boot/zfs-mount" ]]|| \
+ einfo "You should add zfs-mount to the boot runlevel."
+ [[ -e "${EROOT}/etc/runlevels/default/zfs-share" ]] || \
+ einfo "You should add zfs-share to the default runlevel."
+ fi
+
+ if [[ -e "${EROOT}/etc/runlevels/default/zed" ]]; then
+ einfo 'The downstream OpenRC zed script has replaced by the upstream'
+ einfo 'OpenRC zfs-zed script.'
+ einfo
+ einfo 'You had the zed script in your default runlevel. For your'
+ einfo 'convenience, it has been automatically removed and the zfs-zed'
+ einfo 'script that replaced it has been configured to start.'
+
+ rm "${EROOT}/etc/runlevels/boot/zed"
+ ln -snf "${EROOT}/etc/init.d/zfs-zed" \
+ "${EROOT}/etc/runlevels/default/zfs-zed"
+ else
+ [[ -e "${EROOT}/etc/runlevels/default/zfs-zed" ]] || \
+ einfo "You should add zfs-zed to the default runlevel."
+ fi
+
+ if [[ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]]; then
+ einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
+ rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+ fi
+
+ systemd_reenable zfs-zed.service
+ systemd_reenable zfs-import-cache.service
+ systemd_reenable zfs-import-scan.service
+ systemd_reenable zfs-mount.service
+ systemd_reenable zfs-share.service
+ systemd_reenable zfs-import.target
+ systemd_reenable zfs.target
+}
+
+pkg_postrm() {
+ if ! use kernel-builtin && [[ ${PV} == "9999" ]]; then
+ remove_moduledb
+ fi
+}
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz
index da4204151fc2..768f8ad89643 100644
Binary files a/sys-kernel/Manifest.gz and b/sys-kernel/Manifest.gz differ
diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest
index 7fbb7acb357e..f63dcb8781cf 100644
--- a/sys-kernel/gentoo-sources/Manifest
+++ b/sys-kernel/gentoo-sources/Manifest
@@ -13,6 +13,9 @@ DIST genpatches-4.14-118.extras.tar.xz 17484 BLAKE2B 334711493126ece451b9325a0eb
DIST genpatches-4.14-119.base.tar.xz 2667216 BLAKE2B e11f6281d559116d0a22ef977dcc1a06e13075ce590e5c450071d177e756cc13aad79cca66b7d12f08d8132732f1547ee0b484d0b38c2126377813341c99f0d4 SHA512 303ddac05dfe8faf3dcd0417561f0efe2291a739bfb753560a45301777cddd5640e974a0e479bdd90376b821eb23b983fe05404a626bafcf9d2350b14581620a
DIST genpatches-4.14-119.experimental.tar.xz 5224 BLAKE2B 334f8b4ef121afe69b3de37fbd52b89787398a7e249d93aacbc2cc80acfa8cea74447d0569b79545340dc4357ce6ae0e5ed25b3e59535bc12dbb73ec01e9feb4 SHA512 63df3eea726ce52134a224677f59b5c9b459507c908bbf29231eacdc8f5e3f7e35c9cb169bb114a2ad3ea814cd52a41bc66f26e75a4570585111793e00658388
DIST genpatches-4.14-119.extras.tar.xz 17496 BLAKE2B b7f181bc84d4b7b23e7f435a537d293ffd9c3b243ad04a081cae10b20cfcdc07274030e50343e50c92dfa6eb3fc525d6810021011a7a23753eaf7b5b17979e39 SHA512 722d732832b331eff1152670106f23082bbe7bd2a6d52270d249f59142618db23d3ee807b52ab16e8a583d1acfde53757d54b3e05658063ab52206bfa4de7f68
+DIST genpatches-4.14-120.base.tar.xz 2682768 BLAKE2B 4a67dad8ff6ffd98354cdd43474a33b8ba4d57d62f8516abe680ca7b19b0606ac47a83833bdee5c07d5cc356d9968ba50c78065c9c54d2890a88ed0a29db1b3a SHA512 1abf7006a3ba0db287cc1d162eff54c24593eb987d762fe4f35bce28934baec641d7c35c88f5a2e9b120f9532cff0b83e8519268a72ac71ace143f9152ac3300
+DIST genpatches-4.14-120.experimental.tar.xz 5224 BLAKE2B 6f2db6a718955610c0e850b6cc51237dce7c5f5908445468c835240545ab50bdf4f66384b57f17dfa0eb6a61fe558b35eb815c46821c13be75d41311387a6b61 SHA512 2e823cc5cbc006dbc35d9cd1b0b469ca96e18d74890c2fef426e46d03db3a66c150f7b4b275e4a14c54e5760de44b5e840689e06201fae4a88520566fe88dc36
+DIST genpatches-4.14-120.extras.tar.xz 17500 BLAKE2B aa889c82d65acdeedcb53906447be7601ba406eaf4ac206cb16762c31f95395119af587665c758ea81f0c0681bd8f96f1919d156f52c9ed20f518eeed31aacf4 SHA512 eb5d9dc85b053c35a162494625f9fe9a607219ce979b9a7b9d478daa1e4ae0a39a585d00b170ece303c54b727dd44d149d7efd065b750890e91caa7b2f659e1d
DIST genpatches-4.14-90.base.tar.xz 2158040 BLAKE2B 1fe37fa012c110dc48f5291c149d23d544d9cf11d691b026c66bf0b632525d28dab5521fc399de34a83e9017522aa9114f95b7c0c23043ec27204af1e4c77caa SHA512 cf1dfa59b0c83ab4cf4f345087d9d89a03d32265cf9c4f3896474f2bfabe616f8a4d0bf8f7daf584c129023e9d4f47cf151bb7aa83d06d2ee440ecf9f8c6e72a
DIST genpatches-4.14-90.experimental.tar.xz 5224 BLAKE2B cf3e25ad929a3822aff357164ce27b3dc790dbb2c7e9a75f9267ef0cac49d28bc2538b68b86ff34a81789f9ec7e8ed82d0a3a71151abbd2ac7e3d8475026c14a SHA512 beadc5e4b5161d231637123bbe54e5afbdb47bbf1bc2ef1b44c27560c81827e0f9960a851807b2accc3fc3d325d3634593d122113973786a7bd8f9d5a61884de
DIST genpatches-4.14-90.extras.tar.xz 17484 BLAKE2B ec51340486f3fd053a228b1302c1a59b3b5100cbf55c96ab07e242479081ea05b2edac3c325df520bdb38daff689a68c63fd9abf0557e5399b681507605c3a01 SHA512 99ec816bd994a1d33d254373878cfa68acd0ddcf7a56237442247d222e41263f8fa1ba9d5494f32748a1990e3e20d0a4768f28e23f8148e83b884b4f637bd2b8
@@ -31,6 +34,9 @@ DIST genpatches-4.19-34.extras.tar.xz 17476 BLAKE2B 5e3fbd20024abf705604b8e6cc2c
DIST genpatches-4.19-35.base.tar.xz 1040668 BLAKE2B d96d03e4aacf66dd5b43866c959443956e36c1cb357807c1344684e7dc4b467bab3508214f651b145da72c0645fb7b5bfd89ab89281f0a41bf3882c6053f595b SHA512 b399ab1aa6153f3378e32b8958eea182e18b97aa5bd5d76690d88ba97d8e9cf4b44ef9ca2fd5ac60ac96219b26d0657a4a506f536373c1fc03b0d67314fa5418
DIST genpatches-4.19-35.experimental.tar.xz 5808 BLAKE2B 788e53ed6116f24a76345d19d6c25a979b1802685d56725c6313afa72570c37067f6a61659dfeae8a2887f21d29d37e9e5bf21d78627bf539c2940f91032a5ae SHA512 f4094fa73c8149a3eadbb27071caceb926926c45ad0dfb11c936b9a6b89ca2f75d3fac774f44a392147e3606adaffce61237ebb61008961569a46eb1cc74ebf7
DIST genpatches-4.19-35.extras.tar.xz 17480 BLAKE2B 92f8254df7b97efe6130f5832076d49dbbeed1754e3344e66328806f67de2b3e3ffb721baa40e7fd3454210867d98ec8488061eb45ed83eee03719373046fb39 SHA512 c84b3ad8fe5c347c27dd9c59672a998f0b4dd8d2183bc692144e19857070e9609d054bd2dc622468dd68c50c9e86ba74db460fbd0e5474caf09364e5e430ad26
+DIST genpatches-4.19-36.base.tar.xz 1064736 BLAKE2B 824d99ad61000e08f311b7d869b5567096010dae2afdbf9ef8e9f1a63fee438e482f4b48ba17ad036d299edd3787da4c887e284433e1c0bac48bf85ce0bd1d17 SHA512 6919f2fd4ebf73d10a983edfaba8c616089bc16a9266fe4b3ad6bccd2a2bf4928439b781cd9fec695cb9f9e34c832f9dbd29d7d2ae7113a650b6ee7733b91489
+DIST genpatches-4.19-36.experimental.tar.xz 5808 BLAKE2B edc9666d15e7e60336502f0857b3d250faed6741bc047b4569798c31c11d916d7f7dd65f518dbc96e44883c2e413cdd15a9a36f28320808a45276a407db42ec3 SHA512 7699ca5b3d7b5be98d9644a22565bf6d751de73f4c27e001d0c94698a624da700a0075e588ae1940e696df9286a39e2067bbad3fdd17f7d50342d5a10232fdc5
+DIST genpatches-4.19-36.extras.tar.xz 17476 BLAKE2B 94d27e8f10b0f48b62a78bc537b7d84387043330d1508425c72052173fbbd308da0ccf32e4ed81ad8822a6155c5f9f2bb1396858f27050d08ef869c6f432bcac SHA512 d19869b2d25a9d0cf7e88acbcea0b03e388ccdb26711c69d9bbbed0d8a8b06436d1c36c1cded621bfbc9dbabae6e8210b432cbc981003cd1964fc42bb5731fe4
DIST genpatches-4.20-18.base.tar.xz 526776 BLAKE2B 4d0584ebf8c8dfce1f5e5d0154fa6530faafc2af86b865799de6a0780bfca06cd25a0706388b76c1decbb7f2003d44a444b7257c2771e0c651d8ab1b246d40c0 SHA512 4283d365e8814d9007bb52ac37dcb78751780fcb0aa114913a54e82c6629cdbf4bccfb360ce8c2f20aa097c5ef75bb0cb3726952dd2161f1f1bbc04fedb9c521
DIST genpatches-4.20-18.experimental.tar.xz 5804 BLAKE2B 23418d89907c42dd4f4bde70c2e1c11b6384f1b4e27f09a13dd77d02a37fa948c7f0d339ca349a06d2f686250a32de96eb1203e4278a585ff7dd74f62a498a58 SHA512 7de433bb60c55384d9bc1e94dec0add657e5f3210a4b03a4ddf58656833b246da609a2e117b05a2409d8b2f546c2edf65f91d5add273aa1d49da0de56cf48d48
DIST genpatches-4.20-18.extras.tar.xz 3280 BLAKE2B 4c3550102ec0c584649c3fa4f5f991896ffc8a24bc146d747f0575c898459bd1bf9b9b797f25fedbc4554080cf437fd1e83c0f0452a4e3f77c9eda255f87a12d SHA512 143f982f7ffe139b1dbde08872dbb3b001c9751aeef1cf6cdd69756e2f16132686ff3b3713064ca4ff88e5098425a407371fca99678452507374a7874cf8cd9e
@@ -70,6 +76,9 @@ DIST genpatches-4.9-171.extras.tar.xz 17360 BLAKE2B f7375ffae32d7a54e1f6522524ac
DIST genpatches-4.9-172.base.tar.xz 2973452 BLAKE2B da51291df0a88c53bc03023f61e562f057196f81cc7525dfbe900e98fe932aa2edb946ee78f55d63c81670d2e284adb7923b1d1366f02645f1aa9815a82f3a2e SHA512 dbcf7ea64f61fc1e5fbbe36bb07a474f849b75b726a32dfb785a2a532208c69882c9991aae0b91436eb9a6215f0e349989e26cb91c5c13ab14057cec6930f7fa
DIST genpatches-4.9-172.experimental.tar.xz 106368 BLAKE2B e87d706bf867ce507029b2bb676afde5c92b5829ff6bec4d192c0e157f6271cfe256d98b2f16e4c9f2d877bec1598477933348b90fe532925ac19ff224059c10 SHA512 54390f3d5ecd57d15210c946c9518cdf0a53913a56414651d9fdfad1959a04a4d8c9021659ec6078e680073581eab8c9093c25ae769fb8b6a93a29b1e7c8f1fc
DIST genpatches-4.9-172.extras.tar.xz 17360 BLAKE2B fe956e62b48f07edb71d172063e2042e53473e3a7ebf9a44cd33d0bba3aab7ea0871c3d764db842ae1585d8a5a1ed4a762094b287a0698de3e145681e8631f2b SHA512 2d2772b5d45d6776d54d80fd45170d7bc3123374bc9d3094625248101b9a9dfb4c74a09c514e338792cbe01bd8068eb640f631279771b32bb98ca98772a430b8
+DIST genpatches-4.9-173.base.tar.xz 2990728 BLAKE2B 505733a3fa141937323a67b48051ce18c9bc479e1ebccadfc7b957841f52756f18c8485206d14ab455f91208d3b1ad2522b149edac0bbaf5ce430dd7198cb523 SHA512 f8f22b6d6e52bc663d2d76d607a69fa97c337c774667fe6e34dd32fe3858fe4e8bf63018cf9c8ab80e22dd101437e959f6a0af5405c2c4b32f431ba21ba9645a
+DIST genpatches-4.9-173.experimental.tar.xz 106392 BLAKE2B 0f96f418df66c5844cf307b85039a78012171da19dbfbaa206e66f73d6a7df4f2996e84751724e4aa1fc66ef271c9998d8b4ce95d85d911831373d79ee6feaeb SHA512 155fbfab999614f1040d154b0f9d7b30672a85a2fc2e50135e9d6d1d453e95997331e06f52a3e7b435733005b7f2936574ba1a663973b7a55555347b1713c769
+DIST genpatches-4.9-173.extras.tar.xz 17356 BLAKE2B 75c1b42962b1a3c010ed93b6084b1f5a6d4822e67f8ecf8300a22d08b75c1285115fee8d8bbfddbf232e1924155bed3625f09ddac47b673c1511f5ee51d01f6c SHA512 d801d8af58441061019dc30f355cac680e7867999baf62119fb11c50ba163a7a57ca303c4be2e432eb7ca72b6c3e7400ac01d271ab1037903629283bb74eae36
DIST genpatches-5.0-4.base.tar.xz 45932 BLAKE2B 28869fd86ebf9e6ceb2b7732c035cf7382a4c7950a1dabadb0c84f7101e252c7d74825fdbcd228e67e3f88370b1e0ce396e2ddcc4dd4a4f40b0e5e52b33a30a7 SHA512 71572fbb1fdc1b461d1a66fe134f00e5f7ccd0d6e805a8ca7e8d9ce32d1f195ac24d329839f5d24fa80de9b05866a67a71a3ae60959cb48b2267ef109b513923
DIST genpatches-5.0-4.experimental.tar.xz 5804 BLAKE2B 6a69825e2830db123d74ae5579c2dc46987488dcdd33fe4fb8eed42ca48a300d6ee60371cd3103467381f4fce621d80e012f32e3640d44c737a9f9e72e777295 SHA512 0f6c8549213ec6499ecf8d29ada487d3d66fa8ec365bb1c3e47c33f39404749da422801309ee483c2ba388c8aec19ec3c99bc0e494ff873d16d2e5b4fa437d26
DIST genpatches-5.0-4.extras.tar.xz 1724 BLAKE2B 7c2514e44bffdbccfa8c30d1d56bca2f38b9c39e39f6484a269124fa9404e16692333b57d0133432a796b3de51db27b886caae989bc9e6672bf99ca50e754a35 SHA512 052ef7189a30df3c691472d5525b93d6d35b274273c12450f59d423bfc8d3130d9f7fcd7e7f5ba3c633847555957bae419c06af2fd9b51c03958edd8951d3efb
@@ -85,6 +94,9 @@ DIST genpatches-5.0-7.extras.tar.xz 1724 BLAKE2B 113a2b76c5f37507cf393e9f19a0394
DIST genpatches-5.0-8.base.tar.xz 250256 BLAKE2B 89c93ab7def3cfcd091891bc1199280edb994db43e0c9519983cca723fccae329cbd337fb394ae6abdd355c12a0f7565ce72c2e60a73245f5b7c158d079f47d1 SHA512 44447467e6c72987527ecf1dac121c7cb472ffe8bf4e299c0350900e3e7d54ecf65e80613447afcc35b93ddb99b23ed9b9e10c06452e951e1a744cd71159b8d9
DIST genpatches-5.0-8.experimental.tar.xz 5804 BLAKE2B f036816a5351e1f651e90d76bbadeeb406166c8d76a934e43e36c1120d154a640cfc4064df94391aea28baf66ab91a414d71a4c4caa4e8d4b2429ced0f425b06 SHA512 1ac38cf1dd8bf76d0c9088e9b058bc910b4e9f65be4a3c2c9b458b0a485665a3f19ffe409a6e2ffa16437dada1f2ed61473bb3eb25fafbbaa459568c41b893f8
DIST genpatches-5.0-8.extras.tar.xz 1724 BLAKE2B f44fd41a2730377b8809daef17d0d1dddd3d5ba04956e86865b4fd138f64e76d3e6749b0a8e067d4dafd5aa513eae643a6bf2325fff8419d1c368e736406d038 SHA512 88f7e6716c4565594561a4ecde1e22453240f7946f2cdda1224c413a4c8b8dc439696d90968dffd8e1eb1961676c084da86f2bee57b21e27aa0e3a07d5a30b19
+DIST genpatches-5.0-9.base.tar.xz 287564 BLAKE2B e7bddaf8c07a93b409c2df118445e8c404d11c953306fc288e511bd29d30a09c44b5a1a309cfd05df7007b9eabc9f0506249282a3f908260d5b6094034864ef0 SHA512 39376222c8a321b7cbdd9a2ff64014f2502a03cc097e75480650dfbb4f61d1a3102b2b5fe865a1ecaa057f0de4eec0a51c6db03278caadfb182b431bb3af8262
+DIST genpatches-5.0-9.experimental.tar.xz 5808 BLAKE2B 23ae160b9a1cf47211b2393769e5b9f051ddec4cb5d0e797be531d67d9eb0ee81b7894c025091b7f3a0a492c9aa4ed457af795a1ea8ee219f3161ad4ba5c9cc0 SHA512 8c900d6a8c45d93cdb57ae6820836a88d95e18497a1114b9738ac466d99f426eb486b07802c69da4bc3f533cf47ed9d92e453524b32c54f9e21c426cbaecc4eb
+DIST genpatches-5.0-9.extras.tar.xz 1724 BLAKE2B 8857f0d5760a93b1be80475c1cd267e85d37a169b0a83fe663cfaef29cf032765776b98bea0bdd562de33b0feb34e711e4670f357b43481d9c62f1a393ae922d SHA512 5f1474bfd16d858a2ed2435b7c65cf1d93f10030330c63825f322005ecb585bd64cac51d8e787ef40c0ec98158e1b54d335bca484b6cbc20a24d2d9c07ea2e84
DIST linux-4.14.tar.xz 100770500 BLAKE2B 85dc4aa953fe65e273a24473d8de98e4f204f97c43be9fc87cf5be01f796f94cfde5c8f9c84619751f1cac51f83ce0b4681fb19c5f2965a72d4a94fe5577846a SHA512 77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8
DIST linux-4.19.tar.xz 103117552 BLAKE2B 1dbf16cf410867412d17568fe42bc1e90c034183b654d270b650621ff7664a321950943d0639205bc1ee7ef6210be170c1f2c785a042ed8a4ec5e3a486d890e0 SHA512 ab67cc746b375a8b135e8b23e35e1d6787930d19b3c26b2679787d62951cbdbc3bb66f8ededeb9b890e5008b2459397f9018f1a6772fdef67780b06a4cb9f6f4
DIST linux-4.20.tar.xz 104257836 BLAKE2B fb52cad2897da319299486fa8c3b9415cd0aee0842dbf353a5b269720dcb902db407bb55dd95a77b212dcb4a488c15363d561f3649d6bd16885561f2466d90b1 SHA512 e282399beea5da539701aed2bc131abd5bc74a970dcd344163e9d295106dfd700180e672ed546ae5e55bc6b9ac95efd5ca1de2039015c1b7a6fc9c01ea6583d4
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.14.112.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.14.112.ebuild
new file mode 100644
index 000000000000..e24858405a6c
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.14.112.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="120"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.19.35.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.19.35.ebuild
new file mode 100644
index 000000000000..2120fe3bae3b
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.19.35.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="36"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.9.169.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.9.169.ebuild
new file mode 100644
index 000000000000..7b78d5786729
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.9.169.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="173"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-5.0.8.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-5.0.8.ebuild
new file mode 100644
index 000000000000..793a6b7c7039
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-5.0.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="9"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/vanilla-sources/Manifest b/sys-kernel/vanilla-sources/Manifest
index bb155d79c926..20ae0f47b2ba 100644
--- a/sys-kernel/vanilla-sources/Manifest
+++ b/sys-kernel/vanilla-sources/Manifest
@@ -5,8 +5,8 @@ DIST linux-4.4.tar.xz 87295988 BLAKE2B f260f1858994f5d481fd078c86e51bddbc958f7c5
DIST linux-4.9.tar.xz 93192404 BLAKE2B 83ae310b17d47f1f18d6d28537c31e10f3e60458c5954c4611158ca99e71cc0da2e051272eabf27d5887df4a7cb4a5dd66ff993077c11d2221e92d300a0b48d7 SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a
DIST linux-5.0.tar.xz 105235152 BLAKE2B 59635c87a4123c90ab8598c9ea5167096aa6bc765e9d8456d00f3da7530e89e925b3925c99f1a6c96ac0ded7df3ac7df52c75672f0a66acc40f563200892e064 SHA512 3fbab70c7b03b1a10e9fa14d1e2e1f550faba4f5792b7699ca006951da74ab86e7d7f19c6a67849ab99343186e7d6f2752cd910d76222213b93c1eab90abf1b0
DIST patch-3.16.65.xz 2351660 BLAKE2B 1b0241ff0834f1b6848e40176ed7136854abda895fb6ebe6d742261ec9fb876f94ca4c2cb7ffc66c7b84ad1637e6b8fdfd149cbe416a4f9d975130d5beec5403 SHA512 ce869cfcc8809544b4722d1bd4c55c7074f8941e8ab6d2816d1de4139c3507e141e58be0ac608999c6559e60742eda095d8b122257c746d53eddf8858d12a97f
-DIST patch-4.14.111.xz 2409320 BLAKE2B 361accc4e97eb0b251d4d49027e21b77ac92ac33a6f9bd206b71fe6c7b63b34f0bcc71f85e63d4b003ad6d7bd1a476d98908efaf817ebfc759e21e85b6f55b2e SHA512 bc58fe0d33c2004bec0b7f883b407922d6112813fd75eb4843ff313cfb43e4524814ddbd1552e8ffe55914f7683cb927d3cf11550c9a4987581c887b3cb7f0c1
-DIST patch-4.19.34.xz 989456 BLAKE2B 4b3dc542d15cedc10170469a0e3ba27444e7ed44797014fa160a88be81672198b4f1162b211a4f7115452045d342c3c3101e7410ace53271dffb34ded5603b2e SHA512 28786359f5157550df78f412f1830b86bb708d32a7e0d8d2a23857c3b7eb4e7e2f80b36a676a32a1f5b5a240bd4f4bcdd7deca8be926b988b50dee7ce74984fd
+DIST patch-4.14.112.xz 2421516 BLAKE2B 4626ec4cefd5055334fb6e8100e5c4e17878beefb23f4b3ebee7f3496b1857e3e4028c0a23698b73e22d1b7725be3da51520017a353ac1b4d2df9a49e4d5b655 SHA512 826503350948ac3036f41a17ac7923664dacba4f62aff1b119a10b6f620767d8288991408a9eae14da51b22a959228f4efed87ab4eedb63d66808080fd4e2b04
+DIST patch-4.19.35.xz 1011392 BLAKE2B 72c12f63361321e40a9cfc12643ef1f05d9d39920ca5fda990613721c191c7c702338c884447bf78f87b77c3467aa79efd0283d02b089a479b477ba6742d962f SHA512 1e44b2d18aff861a6d25f0233f931e4b11b31fd95c83519c16d72fce63ed0857d44e5bc66bf0980e9cb188d293a33d94b4bc27bf65d3d50a79cd5b2495d76f7b
DIST patch-4.4.178.xz 2471820 BLAKE2B ecc10a4c395aa267eda47f181571d6cd0e0effb2918f283ad4b83a793d9e44b4656d80b64a3b60733630da8453ed4776594a3b147deb2fb8e74f49f5007946c6 SHA512 dd8f242a12b6955c7ffd87d7b80a0a68e9b215b75f3ab52eefbe045e198e58d2590f7aabbdebe8c1361b0ee36d0d192fd57a4129dd110a563d96bf99b97dfa1d
-DIST patch-4.9.168.xz 2666636 BLAKE2B ce7a7f8586e34446146bffd9ddfe38c6244d2db99670b43125772482a4f484f041658a3e17026bc9a61156687b89e23e6370bd210655134894ff33c793124571 SHA512 0373ff732c4b804166aeea642f2cc2bd6724d47cbd08b2a45622e4bb4d56fc37fb146a7ac8e711495b56e0e652e9c49cb484f59b51c7b355e332eef7c332a4cb
-DIST patch-5.0.7.xz 243804 BLAKE2B 9d4ac593581a7e04ddd3696acb7848a473ff99c5972af5fd2333c31c79f1a0c7b3a6692b9c03b99b1376740783426b1a81e6d673410e97fb8b9a16f61fc99725 SHA512 301ac04ea4462536a6c5bd4f45f19473b4ad798134b81221fc9d03f86be4b004a2e194ba79b19d4d8c728a5b198a6341ab88b53f8355904a88bd87fc4668dc2e
+DIST patch-4.9.169.xz 2680912 BLAKE2B 55453e13e255790de77007e8f832107879933b5a1c9b5a40285e4aec55782d3eb630bd4a4d7ed89163d3765ed3f03932eff273636351efeb41257f21912e1bec SHA512 d64b8bdc5c1c8494d7dffbebb0a6561469c62ed6891a4b444ee5ac66d655edb2603d4df900ddb96fdf48ce110e33e3ef4deecbce202172b1382a479c1c93d56c
+DIST patch-5.0.8.xz 279876 BLAKE2B 2c347e493e9865535e2adae86f31d1fcd75a2210122f29a473a060129a9d7974be98744de6662e7f621ee3ec4c7fe6c743125d26390d8cc0737de0db2e9b6cfc SHA512 b6b4be8f85e879a21d98bff1515be6432f71d13f894125398e55a5a2acf55d9fb2fe9a0081f257418290edb48219e048de786ccc916c48cc3d3a32d3009478b0
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.14.111.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.14.112.ebuild
similarity index 100%
rename from sys-kernel/vanilla-sources/vanilla-sources-4.14.111.ebuild
rename to sys-kernel/vanilla-sources/vanilla-sources-4.14.112.ebuild
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.19.34.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.19.35.ebuild
similarity index 100%
rename from sys-kernel/vanilla-sources/vanilla-sources-4.19.34.ebuild
rename to sys-kernel/vanilla-sources/vanilla-sources-4.19.35.ebuild
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.9.168.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.9.169.ebuild
similarity index 100%
rename from sys-kernel/vanilla-sources/vanilla-sources-4.9.168.ebuild
rename to sys-kernel/vanilla-sources/vanilla-sources-4.9.169.ebuild
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-5.0.7.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-5.0.8.ebuild
similarity index 100%
rename from sys-kernel/vanilla-sources/vanilla-sources-5.0.7.ebuild
rename to sys-kernel/vanilla-sources/vanilla-sources-5.0.8.ebuild
diff --git a/sys-libs/Manifest.gz b/sys-libs/Manifest.gz
index 17ba6929d34d..d6ff2ac80bfd 100644
Binary files a/sys-libs/Manifest.gz and b/sys-libs/Manifest.gz differ
diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest
index fcc2eec35a5d..be219a84e647 100644
--- a/sys-libs/binutils-libs/Manifest
+++ b/sys-libs/binutils-libs/Manifest
@@ -12,4 +12,5 @@ DIST binutils-2.31.1-patches-5.tar.xz 65896 BLAKE2B 7fb2c4c71336a77f3fef57a0430c
DIST binutils-2.31.1-patches-6.tar.xz 76196 BLAKE2B e3c8de07dad62bb3093846389bc1fae0921dd6e63ee2458a85051d298cd1dd52487f83affa33d899e4ddd34b6fd3e28c79a525854c0432d576f83f855d843588 SHA512 6ddfe7b0dc9f340fb1dde3bbc426d087241738b15a5f16a336569b45b2c8ac4077e81e19168c5b165bd4abbaed419e2f290291ef7438a0ecde1f8a6a72217d4c
DIST binutils-2.31.1.tar.xz 20467996 BLAKE2B 6b914df1fbb7cf54f2159f71b2c2b09f3f6a569b7a3cb4cf9790d0a3733a7548bc0ea32334a178ed3b56e8b97656ae99c7abaf212601beeaeae9a0884c0f6051 SHA512 0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30
DIST binutils-2.32-patches-1.tar.xz 93252 BLAKE2B 80d229be60c3377fe52ff3e74ee911b5dcfb9456d3f42a57662fbda3184ac1c63e698e592f804ac05c459527d0cd4bae7d8c9ef8caef02fdf4f17aa783f4ff81 SHA512 69999f60d89589dcf9e3cb18e50f153ab4ce05bdf3f3758fa322b5c4cb468aeda46c416da540995ddff1ea5e96354c264fa5ff0156c53685816d35117eb481e0
+DIST binutils-2.32-patches-2.tar.xz 145672 BLAKE2B 8218e621f99cb4bcd1638c3011449b94480d207eaeb79cf75c0072e0f1a86bfd1603fc4515bc40d3ac1921a18b9a211b20568f59b11b13eb44e6cff1329c5af9 SHA512 55c25a603f6175af3ade6848e5c1faba06a147d72e9a4f53d44502d97db76499485a67b278a654d18884714a7bf7b360c77c9e42dba3cdc188f805bfe461f09f
DIST binutils-2.32.tar.xz 20774880 BLAKE2B d1bdbd9c8487c091665c197974ce4bdf520b7a67ed6997a81b87e6a0af9514a091458244f583acec5ae580ac2ee5e908f67f483b8e5263cd18ced794cb235da6 SHA512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a
diff --git a/sys-libs/binutils-libs/binutils-libs-2.32-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.32-r1.ebuild
new file mode 100644
index 000000000000..a386ac24841e
--- /dev/null
+++ b/sys-libs/binutils-libs/binutils-libs-2.32-r1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PATCH_VER=2
+PATCH_DEV=dilfridge
+
+inherit eutils libtool toolchain-funcs multilib-minimal
+
+MY_PN="binutils"
+MY_P="${MY_PN}-${PV}"
+PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
+PATCH_DEV=${PATCH_DEV:-slyfox}
+
+DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
+HOMEPAGE="https://sourceware.org/binutils/"
+SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz
+ https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
+
+LICENSE="|| ( GPL-3 LGPL-3 )"
+SLOT="0/${PV}"
+IUSE="64-bit-bfd multitarget nls static-libs"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+
+COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
+DEPEND="${COMMON_DEPEND}
+ >=sys-apps/texinfo-4.7
+ nls? ( sys-devel/gettext )"
+# Need a newer binutils-config that'll reset include/lib symlinks for us.
+RDEPEND="${COMMON_DEPEND}
+ >=sys-devel/binutils-config-5
+ nls? ( !=2.24) make this an explicit option. #497268
+ --enable-install-libiberty
+ --disable-werror
+ --with-bugurl="https://bugs.gentoo.org/"
+ --with-pkgversion="$(pkgversion)"
+ $(use_enable static-libs static)
+ # The binutils eclass enables this flag for all bi-arch builds,
+ # but other tools often don't care about that support. Put it
+ # beyond a flag if people really want it, but otherwise leave
+ # it disabled as it can slow things down on 32bit arches. #438522
+ $(use_enable 64-bit-bfd)
+ # This only disables building in the zlib subdir.
+ # For binutils itself, it'll use the system version. #591516
+ --without-zlib
+ --with-system-zlib
+ # We only care about the libs, so disable programs. #528088
+ --disable-{binutils,etc,ld,gas,gold,gprof}
+ # Disable modules that are in a combined binutils/gdb tree. #490566
+ --disable-{gdb,libdecnumber,readline,sim}
+ # Strip out broken static link flags.
+ # https://gcc.gnu.org/PR56750
+ --without-stage1-ldflags
+ # We pull in all USE-flags that change ABI in an incompatible
+ # way. #666100
+ # USE=multitarget change size of global arrays
+ # USE=64-bit-bfd changes data structures of exported API
+ --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)-$(usex 64-bit-bfd 64 def)
+ )
+
+ # mips can't do hash-style=gnu ...
+ if [[ $(tc-arch) != mips ]] ; then
+ myconf+=( --enable-default-hash-style=gnu )
+ fi
+
+ use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
+
+ use nls \
+ && myconf+=( --without-included-gettext ) \
+ || myconf+=( --disable-nls )
+
+ ECONF_SOURCE=${S} \
+ econf "${myconf[@]}"
+}
+
+multilib_src_install() {
+ default
+ # Provide libiberty.h directly.
+ dosym libiberty/libiberty.h /usr/include/libiberty.h
+}
+
+multilib_src_install_all() {
+ use static-libs || find "${ED}"/usr -name '*.la' -delete
+}
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.1.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.1.ebuild
index de149ae7e0a9..4365238f16c2 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.1.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.1.ebuild
@@ -78,8 +78,8 @@ src_prepare() {
cmake-utils_src_prepare
# apply the fixes for new glibc / split tirpc
- eapply "${FILESDIR}/7.0.9999/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch"
- eapply "${FILESDIR}/7.0.9999/0002-test-Support-using-libtirpc-on-Linux.patch"
+ eapply "${FILESDIR}/7.1.0/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch"
+ eapply "${FILESDIR}/7.1.0/0002-test-Support-using-libtirpc-on-Linux.patch"
if use test; then
# remove tests that are (still) broken by new glibc
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.9999.ebuild
deleted file mode 100644
index b15b2a7a43a2..000000000000
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.9999.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit check-reqs cmake-utils flag-o-matic git-r3 llvm \
- multiprocessing python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/"
-SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/compiler-rt.git
- https://github.com/llvm-mirror/compiler-rt.git"
-EGIT_BRANCH="release_70"
-
-LICENSE="|| ( UoI-NCSA MIT )"
-# Note: this needs to be updated to match version of clang-9999
-SLOT="7.0.1"
-KEYWORDS=""
-IUSE="+clang +libfuzzer +profile +sanitize test +xray elibc_glibc"
-# FIXME: libfuzzer does not enable all its necessary dependencies
-REQUIRED_USE="libfuzzer? ( || ( sanitize xray ) )"
-RESTRICT="!test? ( test ) !clang? ( test )"
-
-CLANG_SLOT=${SLOT%%.*}
-# llvm-6 for new lit options
-DEPEND="
- >=sys-devel/llvm-6
- clang? ( sys-devel/clang )
- elibc_glibc? ( net-libs/libtirpc )
- test? (
- !=dev-python/lit-5[\${PYTHON_USEDEP}]")
- =sys-devel/clang-${PV%_*}*:${CLANG_SLOT}
- sys-libs/compiler-rt:${SLOT} )
- ${PYTHON_DEPS}"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-check_space() {
- if use test; then
- local CHECKREQS_DISK_BUILD=11G
- check-reqs_pkg_pretend
- fi
-}
-
-pkg_pretend() {
- check_space
-}
-
-pkg_setup() {
- check_space
- llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_unpack() {
- if use test; then
- # needed for patched gtest
- git-r3_fetch "https://git.llvm.org/git/llvm.git
- https://github.com/llvm-mirror/llvm.git"
- fi
- git-r3_fetch
-
- if use test; then
- git-r3_checkout https://llvm.org/git/llvm.git \
- "${WORKDIR}"/llvm '' utils/unittest
- fi
- git-r3_checkout
-}
-
-src_prepare() {
- cmake-utils_src_prepare
-
- # apply the fixes for new glibc / split tirpc
- eapply "${FILESDIR}/7.0.9999/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch"
- eapply "${FILESDIR}/7.0.9999/0002-test-Support-using-libtirpc-on-Linux.patch"
-
- if use test; then
- # remove tests that are (still) broken by new glibc
- # https://bugs.llvm.org/show_bug.cgi?id=36065
- if use elibc_glibc && has_version '>=sys-libs/glibc-2.25'; then
- rm test/lsan/TestCases/Linux/use_tls_dynamic.cc || die
- rm test/msan/dtls_test.c || die
- fi
- fi
-}
-
-src_configure() {
- # pre-set since we need to pass it to cmake
- BUILD_DIR=${WORKDIR}/${P}_build
-
- if use clang; then
- local -x CC=${CHOST}-clang
- local -x CXX=${CHOST}-clang++
- strip-unsupported-flags
- fi
-
- local mycmakeargs=(
- -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
- # use a build dir structure consistent with install
- # this makes it possible to easily deploy test-friendly clang
- -DCOMPILER_RT_OUTPUT_DIR="${BUILD_DIR}/lib/clang/${SLOT}"
-
- -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
- # built-ins installed by sys-libs/compiler-rt
- -DCOMPILER_RT_BUILD_BUILTINS=OFF
- -DCOMPILER_RT_BUILD_LIBFUZZER=$(usex libfuzzer)
- -DCOMPILER_RT_BUILD_PROFILE=$(usex profile)
- -DCOMPILER_RT_BUILD_SANITIZERS=$(usex sanitize)
- -DCOMPILER_RT_BUILD_XRAY=$(usex xray)
- )
- if use test; then
- mycmakeargs+=(
- -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
- -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
-
- # they are created during src_test()
- -DCOMPILER_RT_TEST_COMPILER="${BUILD_DIR}/lib/llvm/${CLANG_SLOT}/bin/clang"
- -DCOMPILER_RT_TEST_CXX_COMPILER="${BUILD_DIR}/lib/llvm/${CLANG_SLOT}/bin/clang++"
- )
-
- # same flags are passed for build & tests, so we need to strip
- # them down to a subset supported by clang
- CC=${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang \
- CXX=${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang++ \
- strip-unsupported-flags
- fi
-
- if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then
- mycmakeargs+=(
- # disable use of SDK for the system itself
- -DDARWIN_macosx_CACHED_SYSROOT=/
- )
- fi
-
- cmake-utils_src_configure
-
- if use test; then
- local sys_dir=( "${EPREFIX}"/usr/lib/clang/${SLOT}/lib/* )
- [[ -e ${sys_dir} ]] || die "Unable to find ${sys_dir}"
- [[ ${#sys_dir[@]} -eq 1 ]] || die "Non-deterministic compiler-rt install: ${sys_dir[*]}"
-
- # copy clang over since resource_dir is located relatively to binary
- # therefore, we can put our new libraries in it
- mkdir -p "${BUILD_DIR}"/lib/{llvm/${CLANG_SLOT}/{bin,$(get_libdir)},clang/${SLOT}/include} || die
- cp "${EPREFIX}"/usr/lib/llvm/${CLANG_SLOT}/bin/clang{,++} \
- "${BUILD_DIR}"/lib/llvm/${CLANG_SLOT}/bin/ || die
- cp "${EPREFIX}"/usr/lib/clang/${SLOT}/include/*.h \
- "${BUILD_DIR}"/lib/clang/${SLOT}/include/ || die
- cp "${sys_dir}"/*builtins*.a \
- "${BUILD_DIR}/lib/clang/${SLOT}/lib/${sys_dir##*/}/" || die
- # we also need LLVMgold.so for gold-based tests
- if [[ -f ${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/$(get_libdir)/LLVMgold.so ]]; then
- ln -s "${EPREFIX}"/usr/lib/llvm/${CLANG_SLOT}/$(get_libdir)/LLVMgold.so \
- "${BUILD_DIR}"/lib/llvm/${CLANG_SLOT}/$(get_libdir)/ || die
- fi
- fi
-}
-
-src_test() {
- # respect TMPDIR!
- local -x LIT_PRESERVES_TMP=1
- # disable sandbox to have it stop clobbering LD_PRELOAD
- local -x SANDBOX_ON=0
- # wipe LD_PRELOAD to make ASAN happy
- local -x LD_PRELOAD=
-
- cmake-utils_src_make check-all
-}
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.1.0.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.1.0.ebuild
index 7f5f41923f74..64095484294c 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.1.0.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.1.0.ebuild
@@ -78,8 +78,8 @@ src_prepare() {
cmake-utils_src_prepare
# apply the fixes for new glibc / split tirpc
- eapply "${FILESDIR}/7.0.9999/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch"
- eapply "${FILESDIR}/7.0.9999/0002-test-Support-using-libtirpc-on-Linux.patch"
+ eapply "${FILESDIR}/7.1.0/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch"
+ eapply "${FILESDIR}/7.1.0/0002-test-Support-using-libtirpc-on-Linux.patch"
if use test; then
# remove tests that are (still) broken by new glibc
diff --git a/sys-libs/compiler-rt-sanitizers/files/7.0.9999/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch b/sys-libs/compiler-rt-sanitizers/files/7.1.0/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch
similarity index 100%
rename from sys-libs/compiler-rt-sanitizers/files/7.0.9999/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch
rename to sys-libs/compiler-rt-sanitizers/files/7.1.0/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch
diff --git a/sys-libs/compiler-rt-sanitizers/files/7.0.9999/0002-test-Support-using-libtirpc-on-Linux.patch b/sys-libs/compiler-rt-sanitizers/files/7.1.0/0002-test-Support-using-libtirpc-on-Linux.patch
similarity index 100%
rename from sys-libs/compiler-rt-sanitizers/files/7.0.9999/0002-test-Support-using-libtirpc-on-Linux.patch
rename to sys-libs/compiler-rt-sanitizers/files/7.1.0/0002-test-Support-using-libtirpc-on-Linux.patch
diff --git a/sys-libs/compiler-rt/compiler-rt-7.0.9999.ebuild b/sys-libs/compiler-rt/compiler-rt-7.0.9999.ebuild
deleted file mode 100644
index afb8bcf007a6..000000000000
--- a/sys-libs/compiler-rt/compiler-rt-7.0.9999.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils flag-o-matic git-r3 llvm multiprocessing \
- python-any-r1 toolchain-funcs
-
-DESCRIPTION="Compiler runtime library for clang (built-in part)"
-HOMEPAGE="https://llvm.org/"
-SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/compiler-rt.git
- https://github.com/llvm-mirror/compiler-rt.git"
-EGIT_BRANCH="release_70"
-
-LICENSE="|| ( UoI-NCSA MIT )"
-# Note: this needs to be updated to match version of clang-9999
-SLOT="7.0.1"
-KEYWORDS=""
-IUSE="+clang test"
-RESTRICT="!test? ( test ) !clang? ( test )"
-
-CLANG_SLOT=${SLOT%%.*}
-# llvm-6 for new lit options
-DEPEND="
- >=sys-devel/llvm-6
- clang? ( sys-devel/clang )
- test? (
- $(python_gen_any_dep "dev-python/lit[\${PYTHON_USEDEP}]")
- =sys-devel/clang-${PV%_*}*:${CLANG_SLOT} )
- ${PYTHON_DEPS}"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-pkg_pretend() {
- if ! use clang && ! tc-is-clang; then
- ewarn "Building using a compiler other than clang may result in broken atomics"
- ewarn "library. Enable USE=clang unless you have a very good reason not to."
- fi
-}
-
-pkg_setup() {
- llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-test_compiler() {
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
- <<<'int main() { return 0; }' &>/dev/null
-}
-
-src_configure() {
- # pre-set since we need to pass it to cmake
- BUILD_DIR=${WORKDIR}/${P}_build
-
- local nolib_flags=( -nodefaultlibs -lc )
- if use clang; then
- local -x CC=${CHOST}-clang
- local -x CXX=${CHOST}-clang++
- # ensure we can use clang before installing compiler-rt
- local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
- strip-unsupported-flags
- elif ! test_compiler; then
- if test_compiler "${nolib_flags[@]}"; then
- local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
- ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}"
- fi
- fi
-
- local mycmakeargs=(
- -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
-
- -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
- -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
- -DCOMPILER_RT_BUILD_PROFILE=OFF
- -DCOMPILER_RT_BUILD_SANITIZERS=OFF
- -DCOMPILER_RT_BUILD_XRAY=OFF
- )
-
- if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then
- mycmakeargs+=(
- # disable use of SDK for the system itself
- -DDARWIN_macosx_CACHED_SYSROOT=/
- )
- fi
-
- if use test; then
- mycmakeargs+=(
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
- -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
-
- -DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang"
- -DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang++"
- )
- fi
-
- cmake-utils_src_configure
-}
-
-src_test() {
- # respect TMPDIR!
- local -x LIT_PRESERVES_TMP=1
-
- cmake-utils_src_make check-builtins
-}
diff --git a/sys-libs/glibc/glibc-2.29-r2.ebuild b/sys-libs/glibc/glibc-2.29-r2.ebuild
index 093ffc207ebd..8f920eb85ac4 100644
--- a/sys-libs/glibc/glibc-2.29-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.29-r2.ebuild
@@ -799,6 +799,17 @@ glibc_do_configure() {
# Some of the tests are written in C++, so we need to force our multlib abis in, bug 623548
export CXX="$(tc-getCXX ${CTARGET}) $(get_abi_CFLAGS) ${CFLAGS}"
+
+ if is_crosscompile; then
+ # Assume worst-case bootstrap: glibc is buil first time
+ # when ${CTARGET}-g++ is not available yet. We avoid
+ # building auxiliary programs that require C++: bug #683074
+ # It should not affect final result.
+ export libc_cv_cxx_link_ok=no
+ # The line above has the same effect. We set CXX explicitly
+ # to make build logs less confusing.
+ export CXX=
+ fi
einfo " $(printf '%15s' 'Manual CXX:') ${CXX}"
echo
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 142153734f97..b01dc8236359 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -800,6 +800,17 @@ glibc_do_configure() {
# Some of the tests are written in C++, so we need to force our multlib abis in, bug 623548
export CXX="$(tc-getCXX ${CTARGET}) $(get_abi_CFLAGS) ${CFLAGS}"
+
+ if is_crosscompile; then
+ # Assume worst-case bootstrap: glibc is buil first time
+ # when ${CTARGET}-g++ is not available yet. We avoid
+ # building auxiliary programs that require C++: bug #683074
+ # It should not affect final result.
+ export libc_cv_cxx_link_ok=no
+ # The line above has the same effect. We set CXX explicitly
+ # to make build logs less confusing.
+ export CXX=
+ fi
einfo " $(printf '%15s' 'Manual CXX:') ${CXX}"
echo
diff --git a/sys-libs/libcap/libcap-2.26-r2.ebuild b/sys-libs/libcap/libcap-2.26-r2.ebuild
index 2a54d4ded401..a526b4e0f9c5 100644
--- a/sys-libs/libcap/libcap-2.26-r2.ebuild
+++ b/sys-libs/libcap/libcap-2.26-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://kernel/linux/libs/security/linux-privs/libcap2/${P}.tar.xz"
# it's available under either of the licenses
LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="pam static-libs"
# While the build system optionally uses gperf, we don't DEPEND on it because
diff --git a/sys-libs/libcxx/libcxx-7.0.9999.ebuild b/sys-libs/libcxx/libcxx-7.0.9999.ebuild
deleted file mode 100644
index 536457a13802..000000000000
--- a/sys-libs/libcxx/libcxx-7.0.9999.ebuild
+++ /dev/null
@@ -1,227 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# Ninja provides better scalability and cleaner verbose output, and is used
-# throughout all LLVM projects.
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-EGIT_REPO_URI="https://git.llvm.org/git/libcxx.git
- https://github.com/llvm-mirror/libcxx.git"
-EGIT_BRANCH="release_70"
-PYTHON_COMPAT=( python2_7 )
-
-[[ ${PV} == *9999 ]] && SCM="git-r3" || SCM=""
-
-inherit ${SCM} cmake-multilib llvm multiprocessing python-any-r1 \
- toolchain-funcs
-
-DESCRIPTION="New implementation of the C++ standard library, targeting C++11"
-HOMEPAGE="https://libcxx.llvm.org/"
-if [[ ${PV} != *9999 ]] ; then
- SRC_URI="https://llvm.org/releases/${PV}/${P}.src.tar.xz"
- S="${WORKDIR}/${P}.src"
-else
- SRC_URI=""
-fi
-
-LICENSE="|| ( UoI-NCSA MIT )"
-SLOT="0"
-if [[ ${PV} != *9999 ]] ; then
- KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-else
- KEYWORDS=""
-fi
-IUSE="elibc_glibc elibc_musl +libcxxabi libcxxrt +libunwind +static-libs test"
-REQUIRED_USE="libunwind? ( || ( libcxxabi libcxxrt ) )
- ?? ( libcxxabi libcxxrt )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- libcxxabi? ( ~sys-libs/libcxxabi-${PV}[libunwind=,static-libs?,${MULTILIB_USEDEP}] )
- libcxxrt? ( sys-libs/libcxxrt[libunwind=,static-libs?,${MULTILIB_USEDEP}] )
- !libcxxabi? ( !libcxxrt? ( >=sys-devel/gcc-4.7:=[cxx] ) )"
-# llvm-6 for new lit options
-# clang-3.9.0 installs necessary target symlinks unconditionally
-# which removes the need for MULTILIB_USEDEP
-DEPEND="${RDEPEND}
- test? ( >=sys-devel/clang-3.9.0
- $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )
- app-arch/xz-utils
- >=sys-devel/llvm-6"
-
-DOCS=( CREDITS.TXT )
-
-PATCHES=(
- # Add link flag "-Wl,-z,defs" to avoid underlinking; this is needed in a
- # out-of-tree build.
- "${FILESDIR}/${PN}-3.9-cmake-link-flags.patch"
-)
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
- has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- llvm_pkg_setup
- use test && python-any-r1_pkg_setup
-
- if ! use libcxxabi && ! use libcxxrt && ! tc-is-gcc ; then
- eerror "To build ${PN} against libsupc++, you have to use gcc. Other"
- eerror "compilers are not supported. Please set CC=gcc and CXX=g++"
- eerror "and try again."
- die
- fi
- if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
- eerror "${PN} needs to be built with gcc-4.7 or later (or other"
- eerror "conformant compilers). Please use gcc-config to switch to"
- eerror "gcc-4.7 or later version."
- die
- fi
-}
-
-test_compiler() {
- $(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c++ - \
- <<<'int main() { return 0; }' &>/dev/null
-}
-
-src_configure() {
- # note: we need to do this before multilib kicks in since it will
- # alter the CHOST
- local cxxabi cxxabi_incs
- if use libcxxabi; then
- cxxabi=libcxxabi
- cxxabi_incs="${EPREFIX}/usr/include/libcxxabi"
- elif use libcxxrt; then
- cxxabi=libcxxrt
- cxxabi_incs="${EPREFIX}/usr/include/libcxxrt"
- else
- local gcc_inc="${EPREFIX}/usr/lib/gcc/${CHOST}/$(gcc-fullversion)/include/g++-v$(gcc-major-version)"
- cxxabi=libsupc++
- cxxabi_incs="${gcc_inc};${gcc_inc}/${CHOST}"
- fi
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- # we want -lgcc_s for unwinder, and for compiler runtime when using
- # gcc, clang with gcc runtime (or any unknown compiler)
- local extra_libs=() want_gcc_s=ON
- if use libunwind; then
- # work-around missing -lunwind upstream
- extra_libs+=( -lunwind )
- # if we're using libunwind and clang with compiler-rt, we want
- # to link to compiler-rt instead of -lgcc_s
- if tc-is-clang; then
- local compiler_rt=$($(tc-getCC) ${CFLAGS} ${CPPFLAGS} \
- ${LDFLAGS} -print-libgcc-file-name)
- if [[ ${compiler_rt} == *libclang_rt* ]]; then
- want_gcc_s=OFF
- extra_libs+=( "${compiler_rt}" )
- fi
- fi
- fi
-
- # bootstrap: cmake is unhappy if compiler can't link to stdlib
- local nolib_flags=( -nodefaultlibs -lc )
- if ! test_compiler; then
- if test_compiler "${nolib_flags[@]}"; then
- local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
- ewarn "${CXX} seems to lack runtime, trying with ${nolib_flags[*]}"
- fi
- fi
-
- local libdir=$(get_libdir)
- local mycmakeargs=(
- -DLIBCXX_LIBDIR_SUFFIX=${libdir#lib}
- -DLIBCXX_ENABLE_SHARED=ON
- -DLIBCXX_ENABLE_STATIC=$(usex static-libs)
- -DLIBCXX_CXX_ABI=${cxxabi}
- -DLIBCXX_CXX_ABI_INCLUDE_PATHS=${cxxabi_incs}
- # we're using our own mechanism for generating linker scripts
- -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
- -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
- -DLIBCXX_HAS_GCC_S_LIB=${want_gcc_s}
- -DLIBCXX_INCLUDE_TESTS=$(usex test)
- -DCMAKE_SHARED_LINKER_FLAGS="${extra_libs[*]} ${LDFLAGS}"
- )
-
- if use test; then
- local clang_path=$(type -P "${CHOST:+${CHOST}-}clang" 2>/dev/null)
- local jobs=${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}
-
- [[ -n ${clang_path} ]] || die "Unable to find ${CHOST}-clang for tests"
-
- mycmakeargs+=(
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
- -DLLVM_LIT_ARGS="-vv;-j;${jobs};--param=cxx_under_test=${clang_path}"
- )
- fi
- cmake-utils_src_configure
-}
-
-multilib_src_test() {
- cmake-utils_src_make check-libcxx
-}
-
-# Usage: deps
-gen_ldscript() {
- local output_format
- output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p')
- [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )"
-
- cat <<-END_LDSCRIPT
-/* GNU ld script
- Include missing dependencies
-*/
-${output_format}
-GROUP ( $@ )
-END_LDSCRIPT
-}
-
-gen_static_ldscript() {
- local libdir=$(get_libdir)
- local cxxabi_lib=$(usex libcxxabi "libc++abi.a" "$(usex libcxxrt "libcxxrt.a" "libsupc++.a")")
-
- # Move it first.
- mv "${ED}/usr/${libdir}/libc++.a" "${ED}/usr/${libdir}/libc++_static.a" || die
- # Generate libc++.a ldscript for inclusion of its dependencies so that
- # clang++ -stdlib=libc++ -static works out of the box.
- local deps="libc++_static.a ${cxxabi_lib} $(usex libunwind libunwind.a libgcc_eh.a)"
- # On Linux/glibc it does not link without libpthread or libdl. It is
- # fine on FreeBSD.
- use elibc_glibc && deps+=" libpthread.a libdl.a"
-
- gen_ldscript "${deps}" > "${ED}/usr/${libdir}/libc++.a" || die
-}
-
-gen_shared_ldscript() {
- local libdir=$(get_libdir)
- # libsupc++ doesn't have a shared version
- local cxxabi_lib=$(usex libcxxabi "libc++abi.so" "$(usex libcxxrt "libcxxrt.so" "libsupc++.a")")
-
- mv "${ED}/usr/${libdir}/libc++.so" "${ED}/usr/${libdir}/libc++_shared.so" || die
- local deps="libc++_shared.so ${cxxabi_lib} $(usex libunwind libunwind.so libgcc_s.so)"
-
- gen_ldscript "${deps}" > "${ED}/usr/${libdir}/libc++.so" || die
-}
-
-multilib_src_install() {
- cmake-utils_src_install
- gen_shared_ldscript
- use static-libs && gen_static_ldscript
-}
-
-pkg_postinst() {
- elog "This package (${PN}) is mainly intended as a replacement for the C++"
- elog "standard library when using clang."
- elog "To use it, instead of libstdc++, use:"
- elog " clang++ -stdlib=libc++"
- elog "to compile your C++ programs."
-}
diff --git a/sys-libs/libcxxabi/libcxxabi-7.0.9999.ebuild b/sys-libs/libcxxabi/libcxxabi-7.0.9999.ebuild
deleted file mode 100644
index 9d5908494f0d..000000000000
--- a/sys-libs/libcxxabi/libcxxabi-7.0.9999.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-multilib git-r3 llvm multiprocessing python-any-r1
-
-DESCRIPTION="Low level support for a standard C++ library"
-HOMEPAGE="https://libcxxabi.llvm.org/"
-SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/libcxxabi.git
- https://github.com/llvm-mirror/libcxxabi.git"
-EGIT_BRANCH="release_70"
-
-LICENSE="|| ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS=""
-IUSE="+libunwind +static-libs test elibc_musl"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- libunwind? (
- || (
- >=sys-libs/libunwind-1.0.1-r1[static-libs?,${MULTILIB_USEDEP}]
- >=sys-libs/llvm-libunwind-3.9.0-r1[static-libs?,${MULTILIB_USEDEP}]
- )
- )"
-# llvm-6 for new lit options
-DEPEND="${RDEPEND}
- >=sys-devel/llvm-6
- test? ( >=sys-devel/clang-3.9.0
- $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
- has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- llvm_pkg_setup
- use test && python-any-r1_pkg_setup
-}
-
-src_unpack() {
- # we need the headers
- git-r3_fetch "https://git.llvm.org/git/libcxx.git
- https://github.com/llvm-mirror/libcxx.git"
- git-r3_fetch
-
- git-r3_checkout https://llvm.org/git/libcxx.git \
- "${WORKDIR}"/libcxx ''
- git-r3_checkout
-}
-
-multilib_src_configure() {
- local libdir=$(get_libdir)
- local mycmakeargs=(
- -DLIBCXXABI_LIBDIR_SUFFIX=${libdir#lib}
- -DLIBCXXABI_ENABLE_SHARED=ON
- -DLIBCXXABI_ENABLE_STATIC=$(usex static-libs)
- -DLIBCXXABI_USE_LLVM_UNWINDER=$(usex libunwind)
- -DLIBCXXABI_INCLUDE_TESTS=$(usex test)
-
- -DLIBCXXABI_LIBCXX_INCLUDES="${WORKDIR}"/libcxx/include
- # upstream is omitting standard search path for this
- # probably because gcc & clang are bundling their own unwind.h
- -DLIBCXXABI_LIBUNWIND_INCLUDES="${EPREFIX}"/usr/include
- )
- if use test; then
- local clang_path=$(type -P "${CHOST:+${CHOST}-}clang" 2>/dev/null)
- local jobs=${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}
-
- [[ -n ${clang_path} ]] || die "Unable to find ${CHOST}-clang for tests"
-
- mycmakeargs+=(
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
- -DLLVM_LIT_ARGS="-vv;-j;${jobs};--param=cxx_under_test=${clang_path}"
- )
- fi
- cmake-utils_src_configure
-}
-
-build_libcxx() {
- local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/$(get_libdir)"
- local CMAKE_USE_DIR=${WORKDIR}/libcxx
- local BUILD_DIR=${BUILD_DIR}/libcxx
- local mycmakeargs=(
- -DLIBCXX_LIBDIR_SUFFIX=
- -DLIBCXX_ENABLE_SHARED=ON
- -DLIBCXX_ENABLE_STATIC=OFF
- -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
- -DLIBCXX_CXX_ABI=libcxxabi
- -DLIBCXX_CXX_ABI_INCLUDE_PATHS="${S}"/include
- -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
- -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
- -DLIBCXX_HAS_GCC_S_LIB=OFF
- -DLIBCXX_INCLUDE_TESTS=OFF
- )
-
- cmake-utils_src_configure
- cmake-utils_src_compile
-}
-
-multilib_src_test() {
- # build a local copy of libc++ for testing to avoid circular dep
- build_libcxx
- mv "${BUILD_DIR}"/libcxx/lib/libc++* "${BUILD_DIR}/$(get_libdir)/" || die
-
- cmake-utils_src_make check-libcxxabi
-}
-
-multilib_src_install_all() {
- insinto /usr/include/libcxxabi
- doins -r include/.
-}
diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 632c9f33b6f2..6bb3b6f874d1 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,3 +1,4 @@
DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62 SHA512 abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
DIST openmp-7.0.1.src.tar.xz 909316 BLAKE2B b8adbf67738b8d2d2d42b45b24aabd2f5e65a7b9cdda0d4a62511808c2101d9bb925b4904a9ecb98f77a1b7f38f13408fea6f724748183f9d5f5419c3fdeac54 SHA512 2062db8b87bce2c130bab528a6d654cb05b3de7641737552fc263724ceaa5e322afc2787796a0bddcda8d1bdf913a49f5a0180abcc57f8842b7e8ea8df4d6f51
+DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83 SHA512 57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
DIST openmp-8.0.0.src.tar.xz 934384 BLAKE2B f473fad9e8bcab1ad0c6ffab7cee471065d615947964177194f829847d41e726fb435562f1637f2a65d3ae84e01a8077662de047443f33d089948e2efb58906c SHA512 0fff071c9dbf118bc1908e433d6ce571f47a4f2dbc5bf2d843151889e3414473bb5a9c97dc0b6dc6d1bd9ab0c6e365cae625f97d1b11d5d6ae059fa5a0496cb3
diff --git a/sys-libs/libomp/libomp-7.0.9999.ebuild b/sys-libs/libomp/libomp-7.1.0.ebuild
similarity index 91%
rename from sys-libs/libomp/libomp-7.0.9999.ebuild
rename to sys-libs/libomp/libomp-7.1.0.ebuild
index 4e8766e7c458..d472c4f23795 100644
--- a/sys-libs/libomp/libomp-7.0.9999.ebuild
+++ b/sys-libs/libomp/libomp-7.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -8,14 +8,11 @@ EAPI=6
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
-inherit cmake-multilib git-r3 linux-info multiprocessing python-any-r1
+inherit cmake-multilib linux-info multiprocessing python-any-r1
DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
HOMEPAGE="https://openmp.llvm.org"
-SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/openmp.git
- https://github.com/llvm-mirror/openmp.git"
-EGIT_BRANCH="release_70"
+SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz"
# Additional licenses:
# - MIT-licensed Intel code,
@@ -23,7 +20,7 @@ EGIT_BRANCH="release_70"
LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
IUSE="cuda hwloc kernel_linux offload ompt test"
# CUDA works only with the x86_64 ABI
REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
@@ -48,6 +45,8 @@ DEPEND="${RDEPEND}
>=sys-devel/clang-6
)"
+S=${WORKDIR}/openmp-${PV/_/}.src
+
# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo
diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 7d314750f31a..00c6fcfc1682 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1 +1,2 @@
DIST libseccomp-2.4.0.tar.gz 604987 BLAKE2B 2dd84f2c08d40a61dfe4fdc47a9dcdad2701e2918cdcdeae2d15a66eb114221866121bab11a8292f3bd31493b6cd7b370d0728976cb1bbfd0dbb9e32127b9045 SHA512 daa4a32c6c2b2f39aa9db1a4606619f9faeffcd2fca00c25ac5cf95d0405639ec21203293be7c8341317a05b18fd9f603a201544457cac91bf034a0bbd4dfc88
+DIST libseccomp-2.4.1.tar.gz 606860 BLAKE2B f80f11ef4e03fc9f59fdd38466e32b081e9858473266942b22a1bd1afbd480d21e9c72f9c33e197349fcd2658361f84ee1ee371f73aa5dfe19561472fec8c1ed SHA512 1fe47ebb032635ba1b1cbefb505a0c103bae659844d1bf106d03e7f28b3c470726f7b0dbbe76d10ab89501630dc4f20b162c2eeefa22394eb632f803ae62ccc5
diff --git a/sys-libs/libseccomp/libseccomp-2.4.1.ebuild b/sys-libs/libseccomp/libseccomp-2.4.1.ebuild
new file mode 100644
index 000000000000..96b995d7b0db
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.4.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# TODO: Add python support.
+
+EAPI=6
+
+inherit multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp"
+SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. #551248
+DEPEND=">=sys-kernel/linux-headers-4.3"
+
+src_prepare() {
+ default
+ sed -i \
+ -e '/_LDFLAGS/s:-static::' \
+ tools/Makefile.in || die
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ $(use_enable static-libs static)
+ --disable-python
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ find "${ED}" -name libseccomp.la -delete
+ einstalldocs
+}
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-7.0.9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-7.0.9999.ebuild
deleted file mode 100644
index 463589249ac3..000000000000
--- a/sys-libs/llvm-libunwind/llvm-libunwind-7.0.9999.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-inherit cmake-multilib git-r3 llvm multiprocessing python-any-r1
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://github.com/llvm-mirror/libunwind"
-SRC_URI=""
-EGIT_REPO_URI="https://git.llvm.org/git/libunwind.git
- https://github.com/llvm-mirror/libunwind.git"
-EGIT_BRANCH="release_70"
-
-LICENSE="|| ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS=""
-IUSE="debug +static-libs test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="!sys-libs/libunwind"
-# llvm-6 for new lit options
-DEPEND="
- >=sys-devel/llvm-6
- test? ( >=sys-devel/clang-3.9.0
- $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
- has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_unpack() {
- if use test; then
- git-r3_fetch "https://git.llvm.org/git/libcxx.git
- https://github.com/llvm-mirror/libcxx.git"
- git-r3_fetch "https://git.llvm.org/git/libcxxabi.git
- https://github.com/llvm-mirror/libcxxabi.git"
- fi
- git-r3_fetch
-
- if use test; then
- git-r3_checkout https://llvm.org/git/libcxx.git \
- "${WORKDIR}"/libcxx
- git-r3_checkout https://llvm.org/git/libcxxabi.git \
- "${WORKDIR}"/libcxxabi
- fi
- git-r3_checkout
-}
-
-multilib_src_configure() {
- local libdir=$(get_libdir)
-
- local mycmakeargs=(
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
- -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
- -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
- -DLLVM_INCLUDE_TESTS=$(usex test)
-
- # support non-native unwinding; given it's small enough,
- # enable it unconditionally
- -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON
- )
- if use test; then
- local clang_path=$(type -P "${CHOST:+${CHOST}-}clang" 2>/dev/null)
- local jobs=${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}
-
- [[ -n ${clang_path} ]] || die "Unable to find ${CHOST}-clang for tests"
-
- mycmakeargs+=(
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
- -DLLVM_LIT_ARGS="-vv;-j;${jobs};--param=cxx_under_test=${clang_path}"
- -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}"/libcxx
- )
- fi
-
- cmake-utils_src_configure
-}
-
-build_libcxxabi() {
- local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/$(get_libdir)"
- local CMAKE_USE_DIR=${WORKDIR}/libcxxabi
- local BUILD_DIR=${BUILD_DIR}/libcxxabi
- local mycmakeargs=(
- -DLIBCXXABI_LIBDIR_SUFFIX=
- -DLIBCXXABI_ENABLE_SHARED=ON
- -DLIBCXXABI_ENABLE_STATIC=OFF
- -DLIBCXXABI_USE_LLVM_UNWINDER=ON
- -DLIBCXXABI_INCLUDE_TESTS=OFF
-
- -DLIBCXXABI_LIBCXX_INCLUDES="${WORKDIR}"/libcxx/include
- -DLIBCXXABI_LIBUNWIND_INCLUDES="${S}"/include
- )
-
- cmake-utils_src_configure
- cmake-utils_src_compile
-}
-
-build_libcxx() {
- local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/libcxxabi/lib -L${BUILD_DIR}/$(get_libdir)"
- local CMAKE_USE_DIR=${WORKDIR}/libcxx
- local BUILD_DIR=${BUILD_DIR}/libcxx
- local mycmakeargs=(
- -DLIBCXX_LIBDIR_SUFFIX=
- -DLIBCXX_ENABLE_SHARED=ON
- -DLIBCXX_ENABLE_STATIC=OFF
- -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
- -DLIBCXXABI_USE_LLVM_UNWINDER=ON
- -DLIBCXX_CXX_ABI=libcxxabi
- -DLIBCXX_CXX_ABI_INCLUDE_PATHS="${WORKDIR}"/libcxxabi/include
- -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
- -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
- -DLIBCXX_HAS_GCC_S_LIB=OFF
- -DLIBCXX_INCLUDE_TESTS=OFF
- )
-
- cmake-utils_src_configure
- cmake-utils_src_compile
-}
-
-multilib_src_test() {
- # build local copies of libc++ & libc++abi for testing to avoid
- # circular deps
- build_libcxxabi
- build_libcxx
- mv "${BUILD_DIR}"/libcxx*/lib/libc++* "${BUILD_DIR}/$(get_libdir)/" || die
-
- cmake-utils_src_make check-unwind
-}
-
-multilib_src_install() {
- cmake-utils_src_install
-
- # install headers like sys-libs/libunwind
- doheader "${S}"/include/*.h
-}
diff --git a/virtual/Manifest.gz b/virtual/Manifest.gz
index f5c9cab25768..6143d0f9e166 100644
Binary files a/virtual/Manifest.gz and b/virtual/Manifest.gz differ
diff --git a/virtual/opencl/opencl-0-r6.ebuild b/virtual/opencl/opencl-0-r6.ebuild
new file mode 100644
index 000000000000..185d006c519c
--- /dev/null
+++ b/virtual/opencl/opencl-0-r6.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-build
+
+DESCRIPTION="Virtual for OpenCL implementations"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+CARDS=( amdgpu i965 nvidia )
+IUSE="${CARDS[@]/#/video_cards_}"
+
+# amdgpu-pro-opencl and intel-ocl-sdk are amd64-only
+RDEPEND="app-eselect/eselect-opencl
+ || (
+ >=media-libs/mesa-9.1.6[opencl,${MULTILIB_USEDEP}]
+ video_cards_amdgpu? (
+ abi_x86_64? ( !abi_x86_32? ( dev-libs/amdgpu-pro-opencl ) ) )
+ video_cards_i965? (
+ dev-libs/beignet )
+ video_cards_nvidia? (
+ >=x11-drivers/nvidia-drivers-290.10-r2[uvm] )
+ abi_x86_64? ( !abi_x86_32? ( dev-util/intel-ocl-sdk ) )
+ )"
diff --git a/virtual/python-funcsigs/python-funcsigs-2.ebuild b/virtual/python-funcsigs/python-funcsigs-2.ebuild
index d9cd1ccbf4e9..0ce85c8961e7 100644
--- a/virtual/python-funcsigs/python-funcsigs-2.ebuild
+++ b/virtual/python-funcsigs/python-funcsigs-2.ebuild
@@ -14,4 +14,4 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
- $(python_gen_cond_dep '>=dev-python/funcsigs-1[${PYTHON_USEDEP}]' python2_7 python3_{3,4,5} pypy{,3} )"
+ $(python_gen_cond_dep '>=dev-python/funcsigs-1[${PYTHON_USEDEP}]' python2_7 python3_5 pypy{,3} )"
diff --git a/virtual/python-typing/python-typing-0-r1.ebuild b/virtual/python-typing/python-typing-0-r1.ebuild
index 3e39057dd47d..b0aea9d11411 100644
--- a/virtual/python-typing/python-typing-0-r1.ebuild
+++ b/virtual/python-typing/python-typing-0-r1.ebuild
@@ -14,4 +14,4 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' \
- 'python2*' python3_4 pypy)"
+ 'python2*' pypy)"
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz
index 34855de0e114..d275c9e5190f 100644
Binary files a/www-apps/Manifest.gz and b/www-apps/Manifest.gz differ
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index 7ef3c1736562..5061da861c8d 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -1,4 +1,2 @@
-DIST drupal-7.65.tar.gz 3298607 BLAKE2B f3a728c3e464b8d94719ed7a79359c5fa2b8b0216ee90029d05e873377566a398d80f188f9dc36f2504057c0000a7bcd364d5c4f50652f25e73e1aa0e7d5d7b1 SHA512 a79ff93e13456b35160ee17f986dce9cffefa265d0034dab6223a3097eaf45c11ea3548904ff6c125be0817dc71a8ac7320aca91a11eefeaad03d45527725e79
-DIST drupal-8.5.14.tar.gz 15828327 BLAKE2B aa638ac4643541d9ec2b2168633c8ab4fe6b64f3c2b9fec46a6a45903ccaaa26ba671c62d57c51a5698ad2558c6ed3ee491dff739f1eed05ea2a0fefba5ace31 SHA512 2be4878cbb27389d11f3686fdc911468a8481d7cbade168c70e733615f2ed699bcc8eb1798079d0b354c81caec0cf74fb232b310e9ab7e059c00fba4b3ee2796
-DIST drupal-8.6.13.tar.gz 17137449 BLAKE2B f52b082bdccbeb3600da723483bbdef8645babc84a433c82e38b7029332764361a3ca6996b6ac9c20e96c27b4412c7d14a9b0b454c234594f13ba4fdeba39029 SHA512 ed9da8596ca5f4dee569b2beea561b75742aa801ef450258786c6d496e9205cd865af3a6cca56bc276df48841b95bcaaaae46ffcda6bbf8183866ec3c991fff2
-DIST drupal-8.6.14.tar.gz 17136296 BLAKE2B e539fd4bc1dfe743f879fb3137b2bd5280187e6c9091859d31ae5ef5529ceae028bd9438d11b4acb18756918264d2b4b52e436b7d8bdef2c6bd427be18424c87 SHA512 22902aa09ae83452423e69e1dd5f9b58f1de454fc6e503634383c6cf8ebd1d75732629dd103bfcaa007013f37b0f87a3ab4768e2710e7e191369857211ddf2cd
+DIST drupal-7.66.tar.gz 3300183 BLAKE2B 89d82c7018ecade0f798df92087d704ca9f5847780a1c3106e69afda62b43c414d57f01584e2869e72fc3687370b0bad84c2a7ffc0ca90537be55cb36ce6edac SHA512 c348eeeabfb5fef05b28aa87c9885231bd5e676b1ced64a2f51cc2aefa122b5ce142aae2ede5c1479608c893195450ae25168bae971b8e77cc741b18650f75c8
+DIST drupal-8.6.15.tar.gz 17137689 BLAKE2B 098847cc4a3a52a6c5d9af23c31e5dca43c2f9cbb4ac0f7d2724cf6b6ce98598b75750742c695e666000843f6fa855e2ba414ceb0d9b46f9baff244cc583ef64 SHA512 9a8d9c73f7812b6deca4bcfee0e04d485bfac5efa6e9112379fdacc727ecf0e40703ce9b141c7414357c296eb621a015aa1c97ab8e6bbe4d35c38b2f1c323337
diff --git a/www-apps/drupal/drupal-7.65.ebuild b/www-apps/drupal/drupal-7.66.ebuild
similarity index 100%
rename from www-apps/drupal/drupal-7.65.ebuild
rename to www-apps/drupal/drupal-7.66.ebuild
diff --git a/www-apps/drupal/drupal-8.6.13.ebuild b/www-apps/drupal/drupal-8.6.13.ebuild
deleted file mode 100644
index a8514d07dfe0..000000000000
--- a/www-apps/drupal/drupal-8.6.13.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit webapp
-
-MY_PV=${PV:0:3}.0
-MY_P=${P/_/-}
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="PHP-based open-source platform and content management system"
-HOMEPAGE="https://www.drupal.org/"
-SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ppc ~x86"
-IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
-
-RDEPEND="
- dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
- virtual/httpd-php
- accelerator? ( ||
- (
- dev-php/xcache
- (
- >=dev-lang/php-5.5[opcache]
- dev-php/pecl-apcu
- )
- )
- )
- uploadprogress? ( dev-php/pecl-uploadprogress )
- mysql? (
- || (
- dev-lang/php[mysql]
- dev-lang/php[mysqli]
- )
- )
- sqlite? ( dev-lang/php[sqlite] )
-"
-
-need_httpd_cgi
-
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-src_install() {
- webapp_src_preinst
-
- local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
- core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
-
- dodoc ${docs}
- rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
-
- cp sites/default/{default.settings.php,settings.php} || die
- insinto "${MY_HTDOCSDIR}"
- doins -r .
-
- dodir "${MY_HTDOCSDIR}"/files
- webapp_serverowned "${MY_HTDOCSDIR}"/files
-
- webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
- webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
-
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
-
- webapp_src_install
-}
-
-pkg_postinst() {
- echo
- ewarn "SECURITY NOTICE"
- ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
- ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
- echo
- ewarn "If this is a new install, unless you want anyone with network access to your server to be"
- ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
- echo
- ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
- ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
- ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
- ewarn "reported by the setup."
- echo
-}
diff --git a/www-apps/drupal/drupal-8.6.14.ebuild b/www-apps/drupal/drupal-8.6.14.ebuild
deleted file mode 100644
index a8514d07dfe0..000000000000
--- a/www-apps/drupal/drupal-8.6.14.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit webapp
-
-MY_PV=${PV:0:3}.0
-MY_P=${P/_/-}
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="PHP-based open-source platform and content management system"
-HOMEPAGE="https://www.drupal.org/"
-SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ppc ~x86"
-IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
-
-RDEPEND="
- dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
- virtual/httpd-php
- accelerator? ( ||
- (
- dev-php/xcache
- (
- >=dev-lang/php-5.5[opcache]
- dev-php/pecl-apcu
- )
- )
- )
- uploadprogress? ( dev-php/pecl-uploadprogress )
- mysql? (
- || (
- dev-lang/php[mysql]
- dev-lang/php[mysqli]
- )
- )
- sqlite? ( dev-lang/php[sqlite] )
-"
-
-need_httpd_cgi
-
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-src_install() {
- webapp_src_preinst
-
- local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
- core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
-
- dodoc ${docs}
- rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
-
- cp sites/default/{default.settings.php,settings.php} || die
- insinto "${MY_HTDOCSDIR}"
- doins -r .
-
- dodir "${MY_HTDOCSDIR}"/files
- webapp_serverowned "${MY_HTDOCSDIR}"/files
-
- webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
- webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
-
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
-
- webapp_src_install
-}
-
-pkg_postinst() {
- echo
- ewarn "SECURITY NOTICE"
- ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
- ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
- echo
- ewarn "If this is a new install, unless you want anyone with network access to your server to be"
- ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
- echo
- ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
- ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
- ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
- ewarn "reported by the setup."
- echo
-}
diff --git a/www-apps/drupal/drupal-8.5.14.ebuild b/www-apps/drupal/drupal-8.6.15.ebuild
similarity index 100%
rename from www-apps/drupal/drupal-8.5.14.ebuild
rename to www-apps/drupal/drupal-8.6.15.ebuild
diff --git a/www-apps/mediawiki/mediawiki-1.32.0.ebuild b/www-apps/mediawiki/mediawiki-1.32.0.ebuild
index c6d6f277a77b..d8be3cf23cda 100644
--- a/www-apps/mediawiki/mediawiki-1.32.0.ebuild
+++ b/www-apps/mediawiki/mediawiki-1.32.0.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://www.mediawiki.org"
SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ~x86"
IUSE="imagemagick mysql postgres sqlite"
RDEPEND=">=dev-lang/php-7.0.0[fileinfo,iconv,json,mysql?,postgres?,session,ssl,unicode,xml,xmlreader]
diff --git a/www-apps/trickster/Manifest b/www-apps/trickster/Manifest
new file mode 100644
index 000000000000..4a73b462077f
--- /dev/null
+++ b/www-apps/trickster/Manifest
@@ -0,0 +1,2 @@
+DIST trickster-0.1.9-vendor.tar.gz 1748976 BLAKE2B 77ad4a91a889a8241399fe6b4199d25c0ba52e818fbe1df8186dadea0f69c1d04f9c268fc376820592465ed36104a6195ce9a9985f8a9c02636ee1b8f80114b7 SHA512 6427cb3417ae7d62e5e144cb5a1962f2175ab063c2267abd838560db00acc4c161666df4ea2065a02172b50240f17a6ad09d76973e59d9bea91ecf4a9327466f
+DIST trickster-0.1.9.tar.gz 1739869 BLAKE2B dc50d12acfe27f68054bbafdeada0bd1847ebb1e03847f9173c7e9b772218ce2e7ceffe25db282912f88c005c0d590e3effece6483bdd80830438a8d114f859f SHA512 82fa837d2b18143a65e22a06d2821d7a1da298fb3e9389854f8e6ad4de68f35d40d6aec2d23cca877032227d12818063953244a01b42f09bd724677d1080e84f
diff --git a/www-apps/trickster/files/trickster.conf b/www-apps/trickster/files/trickster.conf
new file mode 100644
index 000000000000..9fb255e19c5b
--- /dev/null
+++ b/www-apps/trickster/files/trickster.conf
@@ -0,0 +1,113 @@
+[main]
+# instance_id allows you to run multiple trickster processes on the same host and log to separate files
+# Useful for baremetal, not so much for elastic deployments, so only uncomment if you really need it
+#instance_id = 1
+
+# Configuration options for the Proxy Server
+[proxy_server]
+# listen_port defines the port on which Trickster's Proxy server listens.
+# since this is a proxy for Prometheus, we use 9090 by default, just like Prometheus does
+# listen_port = 9090
+# listen_address defines the ip on which Trickster's Proxy server listens.
+# empty by default, listening on all interfaces
+# listen_address =
+
+[cache]
+# cache_type defines what kind of cache Trickster uses
+# options are 'boltdb', 'filesystem', 'memory', and 'redis'.
+# The default is 'memory'.
+cache_type = 'memory'
+
+# record_ttl_secs defines the relative expiration of cached queries. default is 6 hours (21600 seconds)
+# record_ttl_secs = 21600
+
+# reap_sleep_ms defines how long the cache reaper waits between reap cycles. Default is 1000 (1s)
+# reap_sleep_ms = 1000
+
+# compression determines whether the cache should be compressed. default is true
+# compression = true
+
+ ### Configuration options when using a Redis Cache
+ # [cache.redis]
+ # protocol defines the protocol for connecting to redis ('unix' or 'tcp') 'tcp' is default
+ # protocol = 'tcp'
+ # endpoint defines the fqdn+port or path to a unix socket file for connecting to redis
+ # default is 'redis:6379'
+ # endpoint = 'redis:6379'
+
+ ### Configuration options when using a Filesystem Cache
+ # [cache.filesystem]
+ # cache_path defines the directory location under which the Trickster cache will be maintained
+ # default is '/tmp/trickster'
+ # cache_path = '/tmp/trickster'
+
+ # Configuration options when using a BoltDb Cache
+ #[cache.boltdb]
+
+ # filename defines the file where the Trickster cache will be maintained
+ # default is 'trickster.db'
+ # filename = 'trickster.db'
+
+ # bucket defines the name of the BotlDb bucket (similar to a namespace) under which our key value store lives
+ # default is 'trickster'
+ # bucket = 'trickster'
+
+# Configuration options for mapping Origin(s)
+[origins]
+ ### The default origin
+ [origins.default]
+
+ # origin_url defines the URL of the origin. Default is http://prometheus:9090
+ origin_url = 'http://prometheus:9090'
+
+ # timeout_secs defines how many seconds Trickster will wait before aborting and upstream http request. Default: 180s
+ # timeout_secs = 180
+
+ # api path defines the path of the Prometheus API (usually '/api/v1')
+ api_path = '/api/v1'
+
+ # ignore_no_cache_header disables a client's ability to send a no-cache to refresh a cached query. Default is false
+ # ignore_no_cache_header = false
+
+ # max_value_age_secs defines the maximum age of specific datapoints in seconds. Default is 86400 (24 hours)
+ max_value_age_secs = 86400
+
+ # fast_forward_disable, when set to true, will turn off the 'fast forward' feature for any requests proxied to this origin
+ # fast_forward_disable = false
+
+ # For multi-origin support, origins are named, and the name is the second word of the configuration section name.
+ # In this example, an origin is named "foo". Clients can indicate this origin in their path (http://trickster.example.com:9090/foo/query_range?.....)
+ # there are other ways for clients to indicate which origin to use in a multi-origin setup. See the documentation for more information
+
+ # [origins.foo]
+ # origin_url = 'http://prometheus-foo:9090'
+ # api_path = '/api/v1'
+ # default_step = 300
+ # ignore_no_cache_header = false
+ # max_value_age_secs = 86400
+ # timeout_secs = 180
+
+# Configuration Options for Metrics Instrumentation
+[metrics]
+# listen_port defines the port that Trickster's metrics server listens on at /metrics
+listen_port = 8082
+# listen_address defines the ip that Trickster's metrics server listens on at /metrics
+# empty by default, listening on all interfaces
+# listen_address =
+
+# Configruation Options for Profiler
+[profiler]
+# enabled indicates whether to start the profiler server when Trickster starts up. Default: false
+# enabled = false
+# listen_port defines the port that Trickster's profiler server listens on at /debug/pprof. Default: 6060
+# listen_port = 6060
+
+# Configuration Options for Logging Instrumentation
+[logging]
+# log_level defines the verbosity of the logger. Possible values are 'debug', 'info', 'warn', 'error'
+# default is info
+log_level = 'info'
+
+# log_file defines the file location to store logs. These will be auto-rolled and maintained for you.
+# not specifying a log_file (this is the default behavior) will print logs to STDOUT
+log_file = '/var/log/trickster/trickster.log'
diff --git a/www-apps/trickster/files/trickster.initd b/www-apps/trickster/files/trickster.initd
new file mode 100644
index 000000000000..bdee1f57e2e6
--- /dev/null
+++ b/www-apps/trickster/files/trickster.initd
@@ -0,0 +1,25 @@
+#!/sbin/openrc-run
+
+description="Dashboard Accelerator for Prometheus"
+command=/usr/bin/trickster
+command_background=yes
+command_user=${user:-trickster}:${group:-trickster}
+extra_started_commands=reload
+pidfile=/var/run/${RC_SVCNAME}.pid
+
+depend() {
+ after net
+}
+
+reload() {
+ ebegin "Reloading ${RC_SVCNAME}"
+ case "${supervisor}" in
+ supervise-daemon)
+ supervise-daemon --signal HUP --pidfile "${pidfile}"
+ ;;
+ *)
+ start-stop-daemon --signal HUP --pidfile "${pidfile}"
+ ;;
+ esac
+ eend $?
+}
diff --git a/net-analyzer/postal/metadata.xml b/www-apps/trickster/metadata.xml
similarity index 56%
rename from net-analyzer/postal/metadata.xml
rename to www-apps/trickster/metadata.xml
index 7a38bb900964..c36c37139fad 100644
--- a/net-analyzer/postal/metadata.xml
+++ b/www-apps/trickster/metadata.xml
@@ -1,5 +1,8 @@
-
+
+ williamh@gentoo.org
+ William Hubbs
+
diff --git a/www-apps/trickster/trickster-0.1.9.ebuild b/www-apps/trickster/trickster-0.1.9.ebuild
new file mode 100644
index 000000000000..ef356ced058a
--- /dev/null
+++ b/www-apps/trickster/trickster-0.1.9.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit user systemd
+
+DESCRIPTION="Dashboard Accelerator for Prometheus"
+HOMEPAGE="https://github.com/Comcast/trickster"
+VENDOR_URI="https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.gz"
+SRC_URI="https://github.com/Comcast/trickster/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${VENDOR_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-lang/go:="
+
+RESTRICT="strip"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ default
+ mv ../vendor .
+}
+
+src_compile() {
+ GOCACHE="${T}"/go-cache go build -a -mod vendor -v || die "build failed"
+}
+
+src_install() {
+ dobin ${PN}
+dodoc -r conf docs/*
+ systemd_dounit conf/trickster.service
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+ insinto /etc/trickster
+ doins "${FILESDIR}"/${PN}.conf
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+}
diff --git a/www-client/Manifest.gz b/www-client/Manifest.gz
index bc419b7e07d9..b2089feec2e2 100644
Binary files a/www-client/Manifest.gz and b/www-client/Manifest.gz differ
diff --git a/www-client/chromium/chromium-73.0.3683.86.ebuild b/www-client/chromium/chromium-73.0.3683.86.ebuild
index e02966e7154b..9131002b4479 100644
--- a/www-client/chromium/chromium-73.0.3683.86.ebuild
+++ b/www-client/chromium/chromium-73.0.3683.86.ebuild
@@ -149,6 +149,7 @@ PATCHES=(
"${FILESDIR}/chromium-73-gcc-4.patch"
"${FILESDIR}/chromium-73-gcc-5.patch"
"${FILESDIR}/chromium-73-gcc-6.patch"
+ "${FILESDIR}/chromium-73-xdg-current-desktop.patch"
)
pre_build_checks() {
diff --git a/www-client/chromium/files/chromium-73-xdg-current-desktop.patch b/www-client/chromium/files/chromium-73-xdg-current-desktop.patch
new file mode 100644
index 000000000000..09e3b1d2aec2
--- /dev/null
+++ b/www-client/chromium/files/chromium-73-xdg-current-desktop.patch
@@ -0,0 +1,124 @@
+Correct the parsing of the XDG_CURRENT_DESKTOP
+
+The XDG_CURRENT_DESKTOP could contain multiple values in priority order
+separated by colon. Go through them in the loop and return on the first
+one that we recognize/support.
+
+The previous state was causing problems with Chrome on the GNOME Classic
+mode (used in Red Hat Enterprise Linux 7) where the users with multiple
+Google accounts set in Chrome couldn't switch between them - only one was
+shown in the account switcher in i.e. GMail. The reason for that was that
+the XDG_CURRENT_DESKTOP's value GNOME:GNOME-Classic was parsed as
+not as base::nix::DesktopEnvironment::DESKTOP_ENVIRONMENT_GNOME.
+
+base: :nix::DesktopEnvironment::DESKTOP_ENVIRONMENT_OTHER and
+Change-Id: I122f24fd1cf5a0f932c3fccd5220152a9944609d
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1541077
+Reviewed-by: Lei Zhang
+Reviewed-by: Thomas Anderson
+Commit-Queue: Tomáš Popela
+Cr-Commit-Position: refs/heads/master@{#645224}
+diff --git a/base/nix/xdg_util.cc b/base/nix/xdg_util.cc
+index 9ff4d88..f051080 100644
+--- a/base/nix/xdg_util.cc
++++ b/base/nix/xdg_util.cc
+@@ -11,6 +11,7 @@
+ #include "base/files/file_path.h"
+ #include "base/files/file_util.h"
+ #include "base/path_service.h"
++#include "base/strings/string_split.h"
+ #include "base/strings/string_util.h"
+ #include "base/third_party/xdg_user_dirs/xdg_user_dir_lookup.h"
+
+@@ -57,35 +58,37 @@
+ // XDG_CURRENT_DESKTOP is the newest standard circa 2012.
+ std::string xdg_current_desktop;
+ if (env->GetVar("XDG_CURRENT_DESKTOP", &xdg_current_desktop)) {
+- // Not all desktop environments set this env var as of this writing.
+- if (base::StartsWith(xdg_current_desktop, "Unity",
+- base::CompareCase::SENSITIVE)) {
+- // gnome-fallback sessions set XDG_CURRENT_DESKTOP to Unity
+- // DESKTOP_SESSION can be gnome-fallback or gnome-fallback-compiz
+- std::string desktop_session;
+- if (env->GetVar("DESKTOP_SESSION", &desktop_session) &&
+- desktop_session.find("gnome-fallback") != std::string::npos) {
+- return DESKTOP_ENVIRONMENT_GNOME;
+- }
+- return DESKTOP_ENVIRONMENT_UNITY;
+- }
+- if (xdg_current_desktop == "GNOME")
+- return DESKTOP_ENVIRONMENT_GNOME;
+- if (xdg_current_desktop == "X-Cinnamon")
+- return DESKTOP_ENVIRONMENT_CINNAMON;
+- if (xdg_current_desktop == "KDE") {
+- std::string kde_session;
+- if (env->GetVar(kKDESessionEnvVar, &kde_session)) {
+- if (kde_session == "5") {
+- return DESKTOP_ENVIRONMENT_KDE5;
++ // It could have multiple values separated by colon in priority order.
++ for (const auto& value : SplitStringPiece(
++ xdg_current_desktop, ":", TRIM_WHITESPACE, SPLIT_WANT_NONEMPTY)) {
++ if (value == "Unity") {
++ // gnome-fallback sessions set XDG_CURRENT_DESKTOP to Unity
++ // DESKTOP_SESSION can be gnome-fallback or gnome-fallback-compiz
++ std::string desktop_session;
++ if (env->GetVar("DESKTOP_SESSION", &desktop_session) &&
++ desktop_session.find("gnome-fallback") != std::string::npos) {
++ return DESKTOP_ENVIRONMENT_GNOME;
+ }
++ return DESKTOP_ENVIRONMENT_UNITY;
+ }
+- return DESKTOP_ENVIRONMENT_KDE4;
++ if (value == "GNOME")
++ return DESKTOP_ENVIRONMENT_GNOME;
++ if (value == "X-Cinnamon")
++ return DESKTOP_ENVIRONMENT_CINNAMON;
++ if (value == "KDE") {
++ std::string kde_session;
++ if (env->GetVar(kKDESessionEnvVar, &kde_session)) {
++ if (kde_session == "5") {
++ return DESKTOP_ENVIRONMENT_KDE5;
++ }
++ }
++ return DESKTOP_ENVIRONMENT_KDE4;
++ }
++ if (value == "Pantheon")
++ return DESKTOP_ENVIRONMENT_PANTHEON;
++ if (value == "XFCE")
++ return DESKTOP_ENVIRONMENT_XFCE;
+ }
+- if (xdg_current_desktop == "Pantheon")
+- return DESKTOP_ENVIRONMENT_PANTHEON;
+- if (xdg_current_desktop == "XFCE")
+- return DESKTOP_ENVIRONMENT_XFCE;
+ }
+
+ // DESKTOP_SESSION was what everyone used in 2010.
+diff --git a/base/nix/xdg_util_unittest.cc b/base/nix/xdg_util_unittest.cc
+index e195303..ad81836 100644
+--- a/base/nix/xdg_util_unittest.cc
++++ b/base/nix/xdg_util_unittest.cc
+@@ -34,6 +34,7 @@
+ const char* const kDesktopXFCE = "xfce";
+ const char* const kXdgDesktopCinnamon = "X-Cinnamon";
+ const char* const kXdgDesktopGNOME = "GNOME";
++const char* const kXdgDesktopGNOMEClassic = "GNOME:GNOME-Classic";
+ const char* const kXdgDesktopKDE = "KDE";
+ const char* const kXdgDesktopPantheon = "Pantheon";
+ const char* const kXdgDesktopUnity = "Unity";
+@@ -110,6 +111,15 @@
+ EXPECT_EQ(DESKTOP_ENVIRONMENT_GNOME, GetDesktopEnvironment(&getter));
+ }
+
++TEST(XDGUtilTest, GetXdgDesktopGnomeClassic) {
++ MockEnvironment getter;
++ EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false));
++ EXPECT_CALL(getter, GetVar(Eq(kXdgDesktop), _))
++ .WillOnce(DoAll(SetArgPointee<1>(kXdgDesktopGNOMEClassic), Return(true)));
++
++ EXPECT_EQ(DESKTOP_ENVIRONMENT_GNOME, GetDesktopEnvironment(&getter));
++}
++
+ TEST(XDGUtilTest, GetXdgDesktopGnomeFallback) {
+ MockEnvironment getter;
+ EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false));
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest
index a18ba9ab9512..3bf5912dd91c 100644
--- a/www-client/opera-beta/Manifest
+++ b/www-client/opera-beta/Manifest
@@ -1,2 +1,2 @@
-DIST opera-beta_60.0.3255.20_amd64.deb 67193316 BLAKE2B b5297e412df3adc9e47b007f35d51da7a099bedd8799a772a9dd2a9d6d11de18e6bc322426af31ce82dd38f24fbdbad9afd23260e2a331dea1bac4df9f721c74 SHA512 25626ac0f65f532b73a8d59b406e7d94f5ff1db3bfaf3c2b2522ec57fdc3d0efd325ff1e1083ff2a65ac55a93b0c72056a4623d408fe2d4a6c85a1779e0d1d52
DIST opera-beta_60.0.3255.37_amd64.deb 67008388 BLAKE2B 96e424f67e40122e2a69227715243776a30c565e3c2102dc4fc3294a540bd933cd571f32a4aa6da755ac3da6692708e7b36a21b836eb5afce68d12b87706eb4d SHA512 d2f3425c5f9553c1065ae175d88ade72651ea00a72a9de715699d8031ca85b7fbda860454fb047a4d4e12d942134d9db31dd71fcf9e3c41d4b6cd6b3cf296a89
+DIST opera-beta_60.0.3255.57_amd64.deb 67480046 BLAKE2B 872df4f6bef575e1794ecc85f4bfcdbdf63a1d00b8ccafbcfc7355fa025f684e651bfd6e7d793f30ab100e4b215573fb92f001b998e75557ad91f851c341d231 SHA512 94288df2c360d95a974a8dc970c1fae9e1913764506e740a8b5fd78ace4d71dd2f5827ec1e4063c672bf2944d8d910d39beed4b51d1f99f4a4a4ce0ad0ff0280
diff --git a/www-client/opera-beta/opera-beta-60.0.3255.20.ebuild b/www-client/opera-beta/opera-beta-60.0.3255.57.ebuild
similarity index 100%
rename from www-client/opera-beta/opera-beta-60.0.3255.20.ebuild
rename to www-client/opera-beta/opera-beta-60.0.3255.57.ebuild
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index c9f3b6504309..251b31279e15 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -4,3 +4,4 @@ DIST opera-12.16-1860.i386.linux.tar.xz 13154668 BLAKE2B 7f9ef54f44bc143c13173bc
DIST opera-12.16-1860.x86_64.linux.tar.xz 14018800 BLAKE2B e0cb727ea79868d1c3c692d445fc8949f554c3bbe2bf3c9f222885891458cab7af1a29096cd3caf6936e83068841dda4bff5b8a17eb55a86bebe39ce2b270183 SHA512 c1289f352ea5fc8133b105771f48fdc56ccd770920330b1a0ed939ff909abc68081447673572eabeb1aae6db5194b6ab35c93afad78a91d8f7a9a0f91e81ef8b
DIST opera-stable_58.0.3135.127_amd64.deb 70953530 BLAKE2B 9d3cebbedcda9472e01edb8561828a3be280f2f1bf5b9bb49ed25640fdd2525999bbeef8935a9847d37be8a3151ec39fd4c56b7e898ba1f7a365adceef93bf6d SHA512 9dc75702f735862034012dc158608048115145308d8f8b11e523ff7d09a1dea0773a681c11a7d78b7cff66c65fef5559825959104e36f9ac5723845319a1f7e2
DIST opera-stable_60.0.3255.27_amd64.deb 66428142 BLAKE2B de5ca966ca661110ba38120ea4d6210172020e21fcb81e4e0e431fe45d0f0b35d54559c5b44a8ac5af751ac25c3923ac990ed438c46aad86826e1607758b7d47 SHA512 8e9568979006eeeec89bd0a5df5a6c7e182c602f1a8e2b4f058899635d5348ce0f412fe6b157f280177a94c230ac32a0fd638779be97e0fc85c67e466266e93d
+DIST opera-stable_60.0.3255.56_amd64.deb 66847936 BLAKE2B 281b3b713747f539487ec90dfacb93586f325da288a11b42bfd608c987d6276e285936c33b245c35e15e23dd112604d3da9ffd5b653554f570500cb9190d1ed3 SHA512 ba54127915a14b93878f0f4fc7e583c7287012daedade3169a17e8aafb6c422b5b2e1b7c26e6894f0bfec62cc5bbfbdcfe6413b3c69943cd38310df4b10fdae8
diff --git a/www-client/opera/opera-60.0.3255.56.ebuild b/www-client/opera/opera-60.0.3255.56.ebuild
new file mode 100644
index 000000000000..28c78dd8a552
--- /dev/null
+++ b/www-client/opera/opera-60.0.3255.56.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+ be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr hi hr hu id it ja
+ ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi zh-CN
+ zh-TW
+"
+inherit chromium-2 gnome2-utils multilib unpacker xdg-utils
+
+DESCRIPTION="A fast and secure web browser"
+HOMEPAGE="https://www.opera.com/"
+LICENSE="OPERA-2014"
+SLOT="0"
+SRC_URI_BASE="
+ https://download1.operacdn.com/pub/
+ https://download2.operacdn.com/pub/
+ https://download3.operacdn.com/pub/
+ https://download4.operacdn.com/pub/
+"
+for uri in ${SRC_URI_BASE}; do
+SRC_URI+="
+ "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb"
+"
+done
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ gnome-base/gconf:2
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ net-misc/curl
+ net-print/cups
+ sys-apps/dbus
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libnotify
+ x11-libs/pango[X]
+"
+
+QA_PREBUILT="*"
+S=${WORKDIR}
+OPERA_HOME="usr/$(get_libdir)/${PN}"
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_prepare() {
+ epatch_user
+
+ case ${ARCH} in
+ amd64)
+ mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
+ rm -r usr/lib || die
+ ;;
+ esac
+
+ rm usr/bin/${PN} || die
+
+ rm usr/share/doc/${PN}-stable/copyright || die
+ mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die
+ gunzip usr/share/doc/${PF}/changelog.gz || die
+
+ pushd "${OPERA_HOME}/localization" > /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ sed -i \
+ -e 's|^TargetEnvironment|X-&|g' \
+ usr/share/applications/${PN}.desktop || die
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
+ fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
diff --git a/www-servers/Manifest.gz b/www-servers/Manifest.gz
index 99f24d230af3..211122a4f132 100644
Binary files a/www-servers/Manifest.gz and b/www-servers/Manifest.gz differ
diff --git a/www-servers/tomcat/Manifest b/www-servers/tomcat/Manifest
index 76d30bbf913b..fece6ff50f4a 100644
--- a/www-servers/tomcat/Manifest
+++ b/www-servers/tomcat/Manifest
@@ -1,10 +1,10 @@
-DIST apache-tomcat-7.0.92-src.tar.gz 4778943 BLAKE2B d11b01219a25c303ce791d965908c79cd48b5c97e1f0bed81ae60e0fcae3c4b23906f652eaf1d2922db7a57e68ee9f5a09ef017b7f1b89ed6c2ab81a477a810e SHA512 8cbcaf6d8dcda5ad8bd667582a39e91c1feaa4cc7216cafc23b9f5cf005cce9af24473c1c9d573f4da26c88ea68520a113dc0a7e2a50823f3ba3bb1510ec9e0a
DIST apache-tomcat-7.0.93-src.tar.gz 4786577 BLAKE2B 8b72418c98369e0e104c5f51e9d822c287487b5d3b66a4a6d005535b33a35a6cbc50c49b48100555bfaba0c6c983ea11dcdf381d2fba80a77fc17ac0df20efaa SHA512 5f9b08827aeae58f371496c34ce1ae5692bd5403e1a9a7a91b283ece3289356dbd85d48fcb71958aaeeb42cd65bb70fcf34cbe2db3901475cfb812370766f3fc
+DIST apache-tomcat-7.0.94-src.tar.gz 4966331 BLAKE2B e806baa91ebe4672fb238d6fd461b2055ff90db822b7edb2ad4432334d45cf2c2286639bc12f83987972a47129493bef4ba6ec77e544a93e000282a2d24ae9e8 SHA512 5e8d2fab7145af5677170299bec0ae5ea5fd20b7a539738678a420581f9b53a95a6fbb1caffb54c7222d97edfe8ff34ce6dbb7ba62adb1a61f2bfa6b15c43139
DIST apache-tomcat-8.0.53-src.tar.gz 5057041 BLAKE2B 3a50d2f61baecb5244909972384e36478c69e7592dd35119d8b7b974273c57a4855082f309146ed160144dbdcced3236fd586b047970bd8558bbe7b7e002e9fd SHA512 0b56bc723277b2888896ab34ec3e49cb56bac94ddf1a9b96bd023982e2ffabd5317f63b3c0971afdc8cd7a6364197409df461d22151dbaab3a2be7daf6858b9e
-DIST apache-tomcat-8.5.38-src.tar.gz 5253678 BLAKE2B b2ecc732128934a3afa314ddc569b1b3d330ccb12b99b0ce4b12e1952347ac57cafb3a5637595997a0c9e77752ae41665e637c826c3b9ae9925799124e735480 SHA512 b84d96fa972a9d24957ef047cdce0fb49de3d365401b07990eaa5bad8f3c87a6b1ad1eac077c4be595ee291daef68720381fe63461815de47664275b486ceeee
DIST apache-tomcat-8.5.39-src.tar.gz 5264067 BLAKE2B 8cd672529660783d3310beae356c32a9392f550ae72f2cdbd60f23c3b532e3adb19a295737fb39e9a2990b14edeff51cedf1f936f32f844e496e751913f2a859 SHA512 ba591290be49a01cec38300c6321b634e3ca7417074b55103afc887b9af3eda942d302aee5f1648e7fa60b5231cd7d83428846e2b55a4964f5cc98c27a844f8d
-DIST apache-tomcat-9.0.16-src.tar.gz 5654943 BLAKE2B a412457c2d34367301b4335a3a4bf46a647f8e60440be751874e1eaad400a0832b64fcae4c9f81585a4afbddafd75f2929bc78c12eb05b20539b11de686dfecc SHA512 60fbdefbddaa6fac4bc9d0ca4c1d9a119dd53063fd4574c474daf5f346fddc9cb7fd174f1be189e965d5ae4670710347d84fcf443c7df01faac9a1b84ecb33ce
+DIST apache-tomcat-8.5.40-src.tar.gz 5274830 BLAKE2B d96044fecd8f3bd5b971e9bfed79fd7768845f5e760140513c6701f34e0217edfb7718b669e38c3de8554fca5c5af08660c423a266909dab5b0fa089e24c107a SHA512 aef81900ef0af98122d19ef467b06569b46e084c50c14673872b82517b9b61569a2df70f5763bb30100edf73eb73bcf1c81bcb1106018c81ad96f4a019f72ae2
DIST apache-tomcat-9.0.17-src.tar.gz 5670728 BLAKE2B 15f8518ec073a935dec6afdd3a8f9885e7867a0aa033024024bd72b7887011ca169c776f2a4d886d93a73a478f9dcad5f87c31b3a30a88ca913309c51e0f0ec7 SHA512 b5763dae05598c0a4d3638ba02c0627219de20406bddaab86ae3262299f2d9bbda1a5db612cad9fb8a54b2888e9ce1c4be67613d855cfd92b4cee5b85e226602
+DIST apache-tomcat-9.0.19-src.tar.gz 5692733 BLAKE2B 771d8afd50e9032edda09abb5d03e16663a7475d36ee9a5561cd54fbc948169c145ea95bc16ebc690280e5327a5a9868e56a29bd08acb6c10c34fc4e7bf94cc7 SHA512 0461ab9a4e5f021636957b5bc8fbe45714488837e53ca2df4bf9faab5c620270c3041859e034135ccc6e2914ae70e4e38cf4b4353cb17b543ed3dc3a7628fba1
DIST apache-tomcat-9.0.7-src.tar.gz 5106551 BLAKE2B b4552146a40c2e7cbb2e454fb5ec9169425db5c08cf269c391ec3144425ad388a2b6f003a7c05f59a9fd724fb5c848102890a24fcfd43d5fea3d881141aa7798 SHA512 cb7dc5547671d94f7c7fb0b58eeb94d05128349cdabf576fc8ad837a4bf3ea655a8eab3342245dfa84a9db23f1cbee2918846eedd48e3ca372eecebfef13c5b2
DIST biz.aQute.bnd-4.1.0.jar 9263260 BLAKE2B e251a9d8b653f3e815e6c2f7774d64f1d594f3ce4b2f77956c806698df4d873310067cece68663324b11fcef8d90796b087abb289dbe2a13164a9038da4a6260 SHA512 f5d230358840f4909e35de40343fb7ee50a2d4d4691691f5ea896cfe212a086ad4859e0ee6ed4c315211223663b2fb2c07af7ea88786cedbcd4f891e5a4589ef
DIST biz.aQute.bndlib-4.1.0.jar 2897463 BLAKE2B c29a55e07cc103919dca1e938722bf94b107e2989a4a8ae887998152a93b641a659a5209129b992432bcb2673dd4b56ec9a929627530a631db10666f2177c0e4 SHA512 2acccbb323f3d740506e89a74c5affab85e628f9062ee0d799ccd09efe0b55436d8887a46d7d94ad636a2c793632635974f1bbb045e4789391937222c8d00d30
diff --git a/www-servers/tomcat/files/tomcat-7.0.94-build.xml.patch b/www-servers/tomcat/files/tomcat-7.0.94-build.xml.patch
new file mode 100644
index 000000000000..832ce0be4a23
--- /dev/null
+++ b/www-servers/tomcat/files/tomcat-7.0.94-build.xml.patch
@@ -0,0 +1,163 @@
+diff --git a/build.xml b/build.xml
+index 92d8b92..790d8fd 100644
+--- a/build.xml
++++ b/build.xml
+@@ -685,12 +685,14 @@
+
+
+
++
+
+
+
+@@ -741,26 +743,32 @@
+ manifest="${tomcat.manifests}/annotations-api.jar.manifest" />
+
+
++
+
+
++
+
+
++
+
+
+
+
+
+-
++ filesId="files.tomcat-dbcp" /> -->
+
+
+
+-
++
+
+
+
+@@ -1083,7 +1091,7 @@
+
+
+
+-
++
+
+
+
+@@ -1728,7 +1736,7 @@
+
+
++ description="Prepare to build web services extras package" unless="noget">
+
+
+
+@@ -1925,11 +1933,12 @@
+
+
+
++
+
+
+ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+@@ -1941,6 +1950,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+ description="Create the Tomcat javadoc" >
+
++
+
+
+
++
+
+
+
+@@ -2658,7 +2671,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+
+
+
++ description="Download components necessary to compile" unless="noget" >
+
+
+
+@@ -2683,7 +2696,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+
+
+
++ description="Download additional components for the tests" unless="noget">
+
+
+
+@@ -2747,7 +2760,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+
+
+
++ description="Download additional components for a distribution" unless="noget">
+
+
+
diff --git a/www-servers/tomcat/files/tomcat-8.5.37-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.40-build.xml.patch
similarity index 81%
rename from www-servers/tomcat/files/tomcat-8.5.37-build.xml.patch
rename to www-servers/tomcat/files/tomcat-8.5.40-build.xml.patch
index 4c2d8da9e919..e049d77141e4 100644
--- a/www-servers/tomcat/files/tomcat-8.5.37-build.xml.patch
+++ b/www-servers/tomcat/files/tomcat-8.5.40-build.xml.patch
@@ -1,8 +1,8 @@
diff --git a/build.xml b/build.xml
-index 6fbb321..4fb4b42 100644
+index 179802b..49ac8c0 100644
--- a/build.xml
+++ b/build.xml
-@@ -722,24 +722,29 @@
+@@ -727,24 +727,29 @@
manifest="${tomcat.manifests}/annotations-api.jar.manifest" />
@@ -33,7 +33,19 @@ index 6fbb321..4fb4b42 100644
+
+
+-
++ filesId="files.tomcat-dbcp" /> -->
+
+
+
@@ -45,7 +57,7 @@ index 6fbb321..4fb4b42 100644
-@@ -1087,7 +1092,7 @@
+@@ -1092,7 +1097,7 @@
@@ -54,7 +66,7 @@ index 6fbb321..4fb4b42 100644
-@@ -1123,7 +1128,7 @@
+@@ -1128,7 +1133,7 @@
@@ -63,7 +75,7 @@ index 6fbb321..4fb4b42 100644
@@ -72,7 +84,7 @@ index 6fbb321..4fb4b42 100644
@@ -84,7 +96,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2576,7 +2587,7 @@ skip.installer property in build.properties" />
+@@ -2655,7 +2666,7 @@ skip.installer property in build.properties" />
-@@ -2654,7 +2665,7 @@ skip.installer property in build.properties" />
+@@ -2733,7 +2744,7 @@ skip.installer property in build.properties" />
-@@ -2709,13 +2720,13 @@ skip.installer property in build.properties" />
+@@ -2788,13 +2799,13 @@ skip.installer property in build.properties" />
@@ -164,7 +176,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2837,7 +2848,7 @@ skip.installer property in build.properties" />
+@@ -2916,7 +2927,7 @@ skip.installer property in build.properties" />
@@ -173,7 +185,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2854,7 +2865,7 @@ skip.installer property in build.properties" />
+@@ -2933,7 +2944,7 @@ skip.installer property in build.properties" />
@@ -182,7 +194,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2879,7 +2890,7 @@ skip.installer property in build.properties" />
+@@ -2958,7 +2969,7 @@ skip.installer property in build.properties" />
@@ -191,7 +203,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2895,7 +2906,7 @@ skip.installer property in build.properties" />
+@@ -2974,7 +2985,7 @@ skip.installer property in build.properties" />
@@ -200,7 +212,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2919,7 +2930,7 @@ skip.installer property in build.properties" />
+@@ -2998,7 +3009,7 @@ skip.installer property in build.properties" />
@@ -209,7 +221,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2934,7 +2945,7 @@ skip.installer property in build.properties" />
+@@ -3013,7 +3024,7 @@ skip.installer property in build.properties" />
@@ -218,7 +230,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2962,7 +2973,7 @@ skip.installer property in build.properties" />
+@@ -3041,7 +3052,7 @@ skip.installer property in build.properties" />
@@ -227,7 +239,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2973,7 +2984,7 @@ skip.installer property in build.properties" />
+@@ -3052,7 +3063,7 @@ skip.installer property in build.properties" />
@@ -236,7 +248,7 @@ index 6fbb321..4fb4b42 100644
-@@ -2984,7 +2995,7 @@ skip.installer property in build.properties" />
+@@ -3063,7 +3074,7 @@ skip.installer property in build.properties" />
@@ -10,7 +10,7 @@ index e5c5076..72231a6 100644
@@ -37,7 +37,20 @@ index e5c5076..72231a6 100644
+
+
+-
++ addOSGi="true" /> -->
+
+
+
@@ -49,7 +62,7 @@ index e5c5076..72231a6 100644
-@@ -1176,7 +1179,7 @@
+@@ -1186,7 +1189,7 @@
@@ -58,7 +71,7 @@ index e5c5076..72231a6 100644
-@@ -1212,7 +1215,7 @@
+@@ -1222,7 +1225,7 @@
@@ -67,7 +80,7 @@ index e5c5076..72231a6 100644
@@ -76,7 +89,7 @@ index e5c5076..72231a6 100644
@@ -88,7 +101,7 @@ index e5c5076..72231a6 100644
@@ -102,7 +115,7 @@ index e5c5076..72231a6 100644
Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
-@@ -1799,6 +1805,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+@@ -1863,6 +1869,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
@@ -110,7 +123,7 @@ index e5c5076..72231a6 100644
@@ -118,7 +131,7 @@ index e5c5076..72231a6 100644
@@ -130,16 +143,16 @@ index e5c5076..72231a6 100644
-@@ -2616,7 +2626,7 @@ skip.installer property in build.properties" />
+@@ -2686,7 +2696,7 @@ skip.installer property in build.properties" />
-+ description="Download (and build) components necessary to compile" unless="noget">
+- description="Download components necessary to compile" >
++ description="Download components necessary to compile" unless="noget" >
-@@ -2671,7 +2681,7 @@ skip.installer property in build.properties" />
+@@ -2741,7 +2751,7 @@ skip.installer property in build.properties" />
-@@ -2749,7 +2759,7 @@ skip.installer property in build.properties" />
+@@ -2819,7 +2829,7 @@ skip.installer property in build.properties" />
-@@ -2804,13 +2814,13 @@ skip.installer property in build.properties" />
+@@ -2874,13 +2884,13 @@ skip.installer property in build.properties" />
@@ -173,7 +186,7 @@ index e5c5076..72231a6 100644
-@@ -2932,7 +2942,7 @@ skip.installer property in build.properties" />
+@@ -3002,7 +3012,7 @@ skip.installer property in build.properties" />
@@ -182,7 +195,7 @@ index e5c5076..72231a6 100644
-@@ -2949,7 +2959,7 @@ skip.installer property in build.properties" />
+@@ -3019,7 +3029,7 @@ skip.installer property in build.properties" />
@@ -191,7 +204,7 @@ index e5c5076..72231a6 100644
-@@ -2974,7 +2984,7 @@ skip.installer property in build.properties" />
+@@ -3044,7 +3054,7 @@ skip.installer property in build.properties" />
@@ -200,7 +213,7 @@ index e5c5076..72231a6 100644
-@@ -2990,7 +3000,7 @@ skip.installer property in build.properties" />
+@@ -3060,7 +3070,7 @@ skip.installer property in build.properties" />
@@ -209,7 +222,7 @@ index e5c5076..72231a6 100644
-@@ -3014,7 +3024,7 @@ skip.installer property in build.properties" />
+@@ -3084,7 +3094,7 @@ skip.installer property in build.properties" />
@@ -218,7 +231,7 @@ index e5c5076..72231a6 100644
-@@ -3029,7 +3039,7 @@ skip.installer property in build.properties" />
+@@ -3099,7 +3109,7 @@ skip.installer property in build.properties" />
@@ -227,7 +240,7 @@ index e5c5076..72231a6 100644
-@@ -3057,7 +3067,7 @@ skip.installer property in build.properties" />
+@@ -3127,7 +3137,7 @@ skip.installer property in build.properties" />
@@ -236,7 +249,7 @@ index e5c5076..72231a6 100644
-@@ -3068,7 +3078,7 @@ skip.installer property in build.properties" />
+@@ -3138,7 +3148,7 @@ skip.installer property in build.properties" />
@@ -245,7 +258,7 @@ index e5c5076..72231a6 100644
-@@ -3079,7 +3089,7 @@ skip.installer property in build.properties" />
+@@ -3149,7 +3159,7 @@ skip.installer property in build.properties" />
-@@ -3097,7 +3107,7 @@ Read the Building page on the Apache Tomcat documentation site for details on ho
+@@ -3167,7 +3177,7 @@ Read the Building page on the Apache Tomcat documentation site for details on ho
${P}.tar.gz"
+SRC_URI="https://github.com/hluk/CopyQ/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test webkit"
+RESTRICT="!test? ( test )"
+
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -21,6 +25,7 @@ RDEPEND="
dev-qt/qtscript:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
x11-libs/libX11
x11-libs/libXfixes
x11-libs/libXtst
@@ -30,15 +35,24 @@ DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
test? ( dev-qt/qttest:5 )
"
-
-S=${WORKDIR}/CopyQ-${PV}
+S=${WORKDIR}/$MY_P
src_configure() {
+ # CMakeLists.txt concatenates INSTALL_PREFIX with INSTALL_MANDIR leading to /usr/usr
local mycmakeargs=(
-DPLUGIN_INSTALL_PREFIX="/usr/$(get_libdir)/${PN}/plugins"
-DWITH_QT5=ON
-DWITH_TESTS=$(usex test)
-DWITH_WEBKIT=$(usex webkit)
+ -DCMAKE_INSTALL_MANDIR="share/man"
)
cmake-utils_src_configure
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-apps/radeon-profile-daemon/Manifest b/x11-apps/radeon-profile-daemon/Manifest
new file mode 100644
index 000000000000..636a758f2f60
--- /dev/null
+++ b/x11-apps/radeon-profile-daemon/Manifest
@@ -0,0 +1 @@
+DIST radeon-profile-daemon-20190309.tar.gz 12178 BLAKE2B 931ce4bb123456e349a68c8fe0b18150ff988a83a5e58cf451f68025240a8b4c802e03a567ef41684e91442bf21c02cc00d31ef6c82a67ca7eb7587754c6f32e SHA512 f2bb6f7dc0bf322e5c43c5ca1f99501a4fd3f4532cc9c1686b5cfbc58bdd423e81c25d3ae03fcae9dc15dc92d8ad089b2357b27b0ff399de7ac27213e00b2f37
diff --git a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd
new file mode 100644
index 000000000000..e4e7afb04c5c
--- /dev/null
+++ b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="Daemon for radeon-profile GUI"
+
+command="/usr/sbin/radeon-profile-daemon"
+command_background="true"
+pidfile="/run/${SVCNAME}.pid"
diff --git a/x11-apps/radeon-profile-daemon/metadata.xml b/x11-apps/radeon-profile-daemon/metadata.xml
new file mode 100644
index 000000000000..1b9303f07e95
--- /dev/null
+++ b/x11-apps/radeon-profile-daemon/metadata.xml
@@ -0,0 +1,11 @@
+
+
+
+
+ polynomial-c@gentoo.org
+ Lars Wendler
+
+
+ marazmista/radeon-profile-daemon
+
+
diff --git a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild
new file mode 100644
index 000000000000..052a3ef3b330
--- /dev/null
+++ b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils systemd
+
+DESCRIPTION="Daemon for radeon-profile GUI"
+HOMEPAGE="https://github.com/marazmista/radeon-profile-daemon"
+if [[ "${PV}" == 99999999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/marazmista/radeon-profile-daemon.git"
+else
+ SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE=""
+
+S="${WORKDIR}/${P}/${PN}"
+
+src_prepare() {
+ default
+ sed \
+ -e '/^bin\.path/s@/bin@/sbin@' \
+ -e "/^service\.path/s@=.*\$@= $(systemd_get_systemunitdir)@" \
+ -i radeon-profile-daemon.pro || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+}
diff --git a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild
new file mode 100644
index 000000000000..052a3ef3b330
--- /dev/null
+++ b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils systemd
+
+DESCRIPTION="Daemon for radeon-profile GUI"
+HOMEPAGE="https://github.com/marazmista/radeon-profile-daemon"
+if [[ "${PV}" == 99999999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/marazmista/radeon-profile-daemon.git"
+else
+ SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE=""
+
+S="${WORKDIR}/${P}/${PN}"
+
+src_prepare() {
+ default
+ sed \
+ -e '/^bin\.path/s@/bin@/sbin@' \
+ -e "/^service\.path/s@=.*\$@= $(systemd_get_systemunitdir)@" \
+ -i radeon-profile-daemon.pro || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+}
diff --git a/x11-apps/radeon-profile/Manifest b/x11-apps/radeon-profile/Manifest
new file mode 100644
index 000000000000..9306bc955e47
--- /dev/null
+++ b/x11-apps/radeon-profile/Manifest
@@ -0,0 +1 @@
+DIST radeon-profile-20190311.tar.gz 381505 BLAKE2B e15fbf60f9b790ef81f6b86f74cdada20fe232d2d1965c35248c33bead5f47503780804f0710c8627e4a487e6f95f6688d0dc52b325c278700f9539773547729 SHA512 285ff4fd9f4376135a38009e0e531ec9d9c727840284d9cb4135e0044134a778786559b4280e329be8b78d635928feacd1c0ccc15bce15297d15e4f065460463
diff --git a/x11-apps/radeon-profile/metadata.xml b/x11-apps/radeon-profile/metadata.xml
new file mode 100644
index 000000000000..127798b95dd1
--- /dev/null
+++ b/x11-apps/radeon-profile/metadata.xml
@@ -0,0 +1,11 @@
+
+
+
+
+ polynomial-c@gentoo.org
+ Lars Wendler
+
+
+ marazmista/radeon-profile
+
+
diff --git a/x11-apps/radeon-profile/radeon-profile-20190311.ebuild b/x11-apps/radeon-profile/radeon-profile-20190311.ebuild
new file mode 100644
index 000000000000..9221aca4ad86
--- /dev/null
+++ b/x11-apps/radeon-profile/radeon-profile-20190311.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Id: 77337142ec368ef43c179461f5ca0beb09d5cd21 $
+
+EAPI=7
+
+inherit qmake-utils
+
+DESCRIPTION="Read current clocks of ATi/AMD Radeon cards"
+HOMEPAGE="https://github.com/marazmista/radeon-profile"
+if [[ "${PV}" == 99999999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/marazmista/radeon-profile.git"
+else
+ SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE=""
+
+S="${WORKDIR}/${P}/${PN}"
+
+RDEPEND="
+ dev-qt/qtcharts:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ x11-libs/libX11
+ x11-libs/libXrandr
+"
+
+DEPEND="
+ ${RDEPEND}
+ media-libs/mesa
+ x11-libs/libdrm
+"
+
+src_prepare() {
+ default
+ sed 's@TrayIcon;@@' -i extra/${PN}.desktop || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}
+
+pkg_postinst() {
+ elog "In order to run ${PN} as non-root user, the"
+ elog " x11-apps/radeon-profile-daemon"
+ elog "package needs to be installed and the daemon must run."
+}
diff --git a/x11-apps/radeon-profile/radeon-profile-99999999.ebuild b/x11-apps/radeon-profile/radeon-profile-99999999.ebuild
new file mode 100644
index 000000000000..9221aca4ad86
--- /dev/null
+++ b/x11-apps/radeon-profile/radeon-profile-99999999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Id: 77337142ec368ef43c179461f5ca0beb09d5cd21 $
+
+EAPI=7
+
+inherit qmake-utils
+
+DESCRIPTION="Read current clocks of ATi/AMD Radeon cards"
+HOMEPAGE="https://github.com/marazmista/radeon-profile"
+if [[ "${PV}" == 99999999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/marazmista/radeon-profile.git"
+else
+ SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE=""
+
+S="${WORKDIR}/${P}/${PN}"
+
+RDEPEND="
+ dev-qt/qtcharts:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ x11-libs/libX11
+ x11-libs/libXrandr
+"
+
+DEPEND="
+ ${RDEPEND}
+ media-libs/mesa
+ x11-libs/libdrm
+"
+
+src_prepare() {
+ default
+ sed 's@TrayIcon;@@' -i extra/${PN}.desktop || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}
+
+pkg_postinst() {
+ elog "In order to run ${PN} as non-root user, the"
+ elog " x11-apps/radeon-profile-daemon"
+ elog "package needs to be installed and the daemon must run."
+}
diff --git a/x11-libs/Manifest.gz b/x11-libs/Manifest.gz
index e1562f56f8b4..fa34ec85ac6c 100644
Binary files a/x11-libs/Manifest.gz and b/x11-libs/Manifest.gz differ
diff --git a/x11-libs/gtk+/Manifest b/x11-libs/gtk+/Manifest
index 52931b67b912..50e265e19942 100644
--- a/x11-libs/gtk+/Manifest
+++ b/x11-libs/gtk+/Manifest
@@ -3,3 +3,5 @@ DIST gtk+-2.24.32.tar.xz 12620860 BLAKE2B 03f4c0a8be98473f62bc8c86859937969c4169
DIST gtk+-3.24.1.tar.xz 19307612 BLAKE2B f09b7cb252898b7290a3806f8fb579b706fc0ecd021817e34e71b101a7d222604b395c850c559f3ff0c38e0848abdffc483efe65f086357532be85db872028e7 SHA512 13ddb1099a2a0eb44ea53fa4be5054a403e1b27468a33862646ba111577b7bb72b9bbe4f6aea15889c2a2bee1238023bc23524b901cf2dbb3adf0e126eb6ea5d
DIST gtk+-3.24.4.tar.xz 21102236 BLAKE2B 1ef6445d582217a54538549fd63c59dd1e7f14832b33a41e971d2dd184a8887876d1eb599cb9fcbd590ec1a16ca29f0be92bc96344b1e7d2fdf88456d63c9a7f SHA512 d1cce6d0d7f1c5ef0f4e8988b88372a32b9d8a2924da4cfc46a80ede91cf8a2aacdcd87eec122dfab1369b36fc849d875832ac11d79426cf6884e1730e5d4dd1
DIST gtk+-3.24.7.tar.xz 19375708 BLAKE2B 28ec4106258a7ecfa78d2f3dd8d2145cdf8ecbb55167bf22002e38186721e2e1658885032630eb306785bfe36486834c40e34fd5ac20d1c30d4f5de58cba7fae SHA512 2605087c3e09c81192769e6c4bcc4374e0fadbc4d05433edeaefd9915e128ff925c64fb3d07799bacccb16d85d31e53936ac09c696a09349efa6e21d886074c5
+DIST gtk+-3.24.8-patchset.tar.xz 3684 BLAKE2B 686356993b95f5342942764af5f92ab52b17fcd326ee3fd0de5179ed2a55b6e0192e16707ee882866d39ede7d28150b8b8bc6945355f04a4b191b671ae70fb7d SHA512 31f9b982592a81095afad91f16ad96e72a7a2b0e2bf812f0b719da56d70235bc06bc991b5f619fefded3e1634efc5b7e8ef00053929c89e967351d8625518428
+DIST gtk+-3.24.8.tar.xz 22419364 BLAKE2B 262384d0bf1d843edfcb13007eae3584235fa166286f071b8b98803d452df3f4f8934f2b1830427d0c0cd956b67170e576f8c3f733e9b6323b8f89f6d0ddea71 SHA512 a988ca2e25f0f32e55b2931f16c72f9649ed98405579d217e8a5e7f0ac10bcd1969090c622c5d9eb7d75235813ff7ccb90e30e252afd71ba283c6172ee459fe5
diff --git a/x11-libs/gtk+/files/gtk+-3.24.8-update-icon-cache.patch b/x11-libs/gtk+/files/gtk+-3.24.8-update-icon-cache.patch
new file mode 100644
index 000000000000..6fcbb5c07ba4
--- /dev/null
+++ b/x11-libs/gtk+/files/gtk+-3.24.8-update-icon-cache.patch
@@ -0,0 +1,138 @@
+From 87693de873b15194b122e98438b3bc1bf37f6d0b Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue
+Date: Tue, 1 Nov 2016 15:24:22 +0100
+Subject: [PATCH] Always use external gtk-update-icon-cache
+
+Check for gtk-update-icon-cache to install demos, otherwise it is not
+used when building.
+---
+ configure.ac | 2 ++
+ demos/gtk-demo/Makefile.am | 2 +-
+ demos/widget-factory/Makefile.am | 2 +-
+ docs/reference/gtk/Makefile.am | 1 -
+ gtk/Makefile.am | 44 --------------------------------
+ 5 files changed, 4 insertions(+), 47 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index f700616649..e3604fef05 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1003,6 +1003,8 @@ dnl Look for a host system's gdk-pixbuf-csource if we are cross-compiling
+
+ AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
+
++AC_PATH_PROG(GTK_UPDATE_ICON_CACHE, [gtk-update-icon-cache], [no])
++
+ ########################################
+ # Windowing system checks
+ ########################################
+diff --git a/demos/gtk-demo/Makefile.am b/demos/gtk-demo/Makefile.am
+index c8529e5bf7..b2924fc081 100644
+--- a/demos/gtk-demo/Makefile.am
++++ b/demos/gtk-demo/Makefile.am
+@@ -171,7 +171,7 @@ dist_appsicon32_DATA = data/32x32/gtk3-demo.png data/32x32/gtk3-demo-symbolic.sy
+ dist_appsicon48_DATA = data/48x48/gtk3-demo.png data/48x48/gtk3-demo-symbolic.symbolic.png
+ dist_appsicon256_DATA = data/256x256/gtk3-demo.png data/256x256/gtk3-demo-symbolic.symbolic.png
+
+-update_icon_cache = $(top_builddir)/gtk/gtk-update-icon-cache$(EXEEXT) --ignore-theme-index --force
++update_icon_cache = $(GTK_UPDATE_ICON_CACHE) --ignore-theme-index --force
+
+ install-data-hook: install-update-icon-cache
+ uninstall-hook: uninstall-update-icon-cache
+diff --git a/demos/widget-factory/Makefile.am b/demos/widget-factory/Makefile.am
+index 62c156aa09..7aad079dcd 100644
+--- a/demos/widget-factory/Makefile.am
++++ b/demos/widget-factory/Makefile.am
+@@ -47,7 +47,7 @@ dist_appsicon32_DATA = data/32x32/gtk3-widget-factory.png data/32x32/gtk3-widget
+ dist_appsicon48_DATA = data/48x48/gtk3-widget-factory.png data/48x48/gtk3-widget-factory-symbolic.symbolic.png
+ dist_appsicon256_DATA = data/256x256/gtk3-widget-factory.png data/256x256/gtk3-widget-factory-symbolic.symbolic.png
+
+-update_icon_cache = $(top_builddir)/gtk/gtk-update-icon-cache$(EXEEXT) --ignore-theme-index --force
++update_icon_cache = $(GTK_UPDATE_ICON_CACHE) --ignore-theme-index --force
+
+ install-data-hook: install-update-icon-cache
+ uninstall-hook: uninstall-update-icon-cache
+diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am
+index abdea7fb59..0ee826c31e 100644
+--- a/docs/reference/gtk/Makefile.am
++++ b/docs/reference/gtk/Makefile.am
+@@ -502,7 +502,6 @@ EXTRA_DIST += version.xml.in gtk3.types.in
+
+ man_MANS = \
+ gtk-query-immodules-3.0.1 \
+- gtk-update-icon-cache.1 \
+ gtk-encode-symbolic-svg.1 \
+ gtk-launch.1 \
+ gtk3-demo.1 \
+diff --git a/gtk/Makefile.am b/gtk/Makefile.am
+index e556e9d3af..4d7973f3b1 100644
+--- a/gtk/Makefile.am
++++ b/gtk/Makefile.am
+@@ -1653,7 +1653,6 @@ endif
+ #
+ bin_PROGRAMS = \
+ gtk-query-immodules-3.0 \
+- gtk-update-icon-cache \
+ gtk-encode-symbolic-svg \
+ gtk-builder-tool \
+ gtk-query-settings \
+@@ -1666,9 +1665,6 @@ gtk_query_immodules_3_0_LDADD = \
+ $(GMODULE_LIBS) \
+ $(GTK_DEP_LIBS)
+
+-gtk_update_icon_cache_SOURCES = updateiconcache.c
+-gtk_update_icon_cache_LDADD = $(GDK_PIXBUF_LIBS)
+-
+ gtk_encode_symbolic_svg_SOURCES = encodesymbolic.c
+ gtk_encode_symbolic_svg_LDADD = \
+ $(GDK_PIXBUF_LIBS) \
+@@ -1693,46 +1689,6 @@ gtk_launch_LDADD = \
+ $(top_builddir)/gdk/libgdk-3.la \
+ $(GTK_DEP_LIBS)
+
+-if OS_WIN32
+-
+-# Workaround for UAC silliness: programs with "update" in their name
+-# are believed to be installers and require elevated privileges to be
+-# used... Embed a manifest file into executable to tell Windows that
+-# gtk-update-icon-cache.exe doesn't require any special privileges.
+-
+-GTK_UPDATE_ICON_CACHE_MANIFEST = gtk-update-icon-cache.exe.manifest
+-GTK_UPDATE_ICON_CACHE_RC = gtk-update-icon-cache.rc
+-GTK_UPDATE_ICON_CACHE_MANIFEST_OBJECT = gtk-update-icon-cache_manifest.o
+-
+-$(GTK_UPDATE_ICON_CACHE_MANIFEST):
+- (echo '' ; \
+- echo '' ; \
+- echo ' ' ; \
+- echo ' ' ; \
+- echo ' ' ; \
+- echo ' ' ; \
+- echo ' ' ; \
+- echo ' ' ; \
+- echo ' ' ; \
+- echo ' ' ; \
+- echo ' ' ; \
+- echo '' ) >$@
+-
+-$(GTK_UPDATE_ICON_CACHE_RC):
+- (echo -e '#include \nCREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST '$(GTK_UPDATE_ICON_CACHE_MANIFEST)) >$@
+-
+-$(GTK_UPDATE_ICON_CACHE_MANIFEST_OBJECT): $(GTK_UPDATE_ICON_CACHE_RC) $(GTK_UPDATE_ICON_CACHE_MANIFEST)
+- $(WINDRES) --input $< --output $@ --output-format=coff
+-
+-gtk_update_icon_cache_LDADD += $(GTK_UPDATE_ICON_CACHE_MANIFEST_OBJECT)
+-
+-endif
+-
+ .PHONY: files
+
+ files:
+--
+2.17.0
+
diff --git a/x11-libs/gtk+/gtk+-3.24.4-r1.ebuild b/x11-libs/gtk+/gtk+-3.24.4-r1.ebuild
index adee45f1b141..701bfa472e4e 100644
--- a/x11-libs/gtk+/gtk+-3.24.4-r1.ebuild
+++ b/x11-libs/gtk+/gtk+-3.24.4-r1.ebuild
@@ -18,7 +18,7 @@ REQUIRED_USE="
xinerama? ( X )
"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
# Upstream wants us to do their job:
# https://bugzilla.gnome.org/show_bug.cgi?id=768662#c1
diff --git a/x11-libs/gtk+/gtk+-3.24.8.ebuild b/x11-libs/gtk+/gtk+-3.24.8.ebuild
new file mode 100644
index 000000000000..2044ec67b36e
--- /dev/null
+++ b/x11-libs/gtk+/gtk+-3.24.8.ebuild
@@ -0,0 +1,234 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+GNOME2_EAUTORECONF="yes"
+
+inherit flag-o-matic gnome2 multilib virtualx multilib-minimal
+
+DESCRIPTION="Gimp ToolKit +"
+HOMEPAGE="https://www.gtk.org/"
+SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
+
+LICENSE="LGPL-2+"
+SLOT="3"
+IUSE="aqua broadway cloudprint colord cups examples gtk-doc +introspection test vim-syntax wayland +X xinerama"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ xinerama? ( X )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+# Upstream wants us to do their job:
+# https://bugzilla.gnome.org/show_bug.cgi?id=768662#c1
+RESTRICT="test"
+
+# FIXME: introspection data is built against system installation of gtk+:3,
+# bug #????
+COMMON_DEPEND="
+ >=dev-libs/atk-2.15[introspection?,${MULTILIB_USEDEP}]
+ >=dev-libs/fribidi-0.19.7[${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.53.4:2[${MULTILIB_USEDEP}]
+ media-libs/fontconfig[${MULTILIB_USEDEP}]
+ >=media-libs/libepoxy-1.4[X(+)?,${MULTILIB_USEDEP}]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?,${MULTILIB_USEDEP}]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?,${MULTILIB_USEDEP}]
+ >=x11-libs/pango-1.41.0[introspection?,${MULTILIB_USEDEP}]
+ >=media-libs/harfbuzz-0.9:=
+ x11-misc/shared-mime-info
+
+ cloudprint? (
+ >=net-libs/rest-0.7[${MULTILIB_USEDEP}]
+ >=dev-libs/json-glib-1.0[${MULTILIB_USEDEP}] )
+ colord? ( >=x11-misc/colord-0.1.9:0=[${MULTILIB_USEDEP}] )
+ cups? ( >=net-print/cups-1.2[${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ wayland? (
+ >=dev-libs/wayland-1.9.91[${MULTILIB_USEDEP}]
+ >=dev-libs/wayland-protocols-1.12
+ media-libs/mesa[wayland,${MULTILIB_USEDEP}]
+ >=x11-libs/libxkbcommon-0.2[${MULTILIB_USEDEP}]
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3[${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ >=x11-libs/libXi-1.3[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ >=x11-libs/libXrandr-1.5[${MULTILIB_USEDEP}]
+ x11-libs/libXcursor[${MULTILIB_USEDEP}]
+ x11-libs/libXfixes[${MULTILIB_USEDEP}]
+ x11-libs/libXcomposite[${MULTILIB_USEDEP}]
+ x11-libs/libXdamage[${MULTILIB_USEDEP}]
+ xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xsl-stylesheets
+ app-text/docbook-xml-dtd:4.1.2
+ dev-libs/libxslt
+ dev-libs/gobject-introspection-common
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=dev-util/gtk-doc-am-1.20
+ gtk-doc? ( >=dev-util/gtk-doc-1.20 )
+ >=sys-devel/gettext-0.19.7[${MULTILIB_USEDEP}]
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ X? ( x11-base/xorg-proto )
+ test? (
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc )
+"
+# gtk+-3.2.2 breaks Alt key handling in <=x11-libs/vte-0.30.1:2.90
+# gtk+-3.3.18 breaks scrolling in <=x11-libs/vte-0.31.0:2.90
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+ !=x11-themes/adwaita-icon-theme-3.14
+ vim-syntax? ( app-vim/gtk-syntax )
+"
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/gtk-query-immodules-3.0$(get_exeext)
+)
+
+strip_builddir() {
+ local rule=$1
+ shift
+ local directory=$1
+ shift
+ sed -e "s/^\(${rule} =.*\)${directory}\(.*\)$/\1\2/" -i $@ \
+ || die "Could not strip director ${directory} from build."
+}
+
+src_prepare() {
+ if ! use test ; then
+ # don't waste time building tests
+ strip_builddir SRC_SUBDIRS testsuite Makefile.{am,in}
+
+ # the tests dir needs to be build now because since commit
+ # 7ff3c6df80185e165e3bf6aa31bd014d1f8bf224 tests/gtkgears.o needs to be there
+ # strip_builddir SRC_SUBDIRS tests Makefile.{am,in}
+ fi
+
+ if ! use examples; then
+ # don't waste time building demos
+ strip_builddir SRC_SUBDIRS demos Makefile.{am,in}
+ strip_builddir SRC_SUBDIRS examples Makefile.{am,in}
+ fi
+
+ # Select patches from origin/gtk-3-24 on 2019-04-20
+ eapply "${WORKDIR}"/patches
+
+ # gtk-update-icon-cache is installed by dev-util/gtk-update-icon-cache
+ eapply "${FILESDIR}"/${P}-update-icon-cache.patch
+
+ # Fix broken autotools logic
+ eapply "${FILESDIR}"/${PN}-3.22.20-libcloudproviders-automagic.patch
+
+ gnome2_src_prepare
+}
+
+multilib_src_configure() {
+ # need libdir here to avoid a double slash in a path that libtool doesn't
+ # grok so well during install (// between $EPREFIX and usr ...)
+ # cloudprovider is not packaged in Gentoo
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure \
+ $(use_enable aqua quartz-backend) \
+ $(use_enable broadway broadway-backend) \
+ $(use_enable cloudprint) \
+ $(use_enable colord) \
+ $(use_enable cups cups auto) \
+ $(multilib_native_use_enable gtk-doc) \
+ $(multilib_native_use_enable introspection) \
+ $(use_enable wayland wayland-backend) \
+ $(use_enable X x11-backend) \
+ $(use_enable X xcomposite) \
+ $(use_enable X xdamage) \
+ $(use_enable X xfixes) \
+ $(use_enable X xkb) \
+ $(use_enable X xrandr) \
+ $(use_enable xinerama) \
+ --disable-cloudproviders \
+ --disable-mir-backend \
+ --disable-papi \
+ --enable-man \
+ --with-xml-catalog="${EPREFIX}"/etc/xml/catalog \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ CUPS_CONFIG="${EPREFIX}/usr/bin/${CHOST}-cups-config"
+
+ # work-around gtk-doc out-of-source brokedness
+ if multilib_is_native_abi; then
+ local d
+ for d in gdk gtk libgail-util; do
+ ln -s "${S}"/docs/reference/${d}/html docs/reference/${d}/html || die
+ done
+ fi
+}
+
+multilib_src_test() {
+ "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx emake check
+}
+
+multilib_src_install() {
+ gnome2_src_install
+}
+
+multilib_src_install_all() {
+ insinto /etc/gtk-3.0
+ doins "${FILESDIR}"/settings.ini
+ # Skip README.{in,commits,win32} and useless ChangeLog that would get installed by default
+ DOCS=( AUTHORS NEWS README )
+ einstalldocs
+}
+
+pkg_preinst() {
+ gnome2_pkg_preinst
+
+ multilib_pkg_preinst() {
+ # Make immodules.cache belongs to gtk+ alone
+ local cache="usr/$(get_libdir)/gtk-3.0/3.0.0/immodules.cache"
+
+ if [[ -e ${EROOT}${cache} ]]; then
+ cp "${EROOT}"${cache} "${ED}"/${cache} || die
+ else
+ touch "${ED}"/${cache} || die
+ fi
+ }
+ multilib_parallel_foreach_abi multilib_pkg_preinst
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ multilib_pkg_postinst() {
+ gnome2_query_immodules_gtk3 \
+ || die "Update immodules cache failed (for ${ABI})"
+ }
+ multilib_parallel_foreach_abi multilib_pkg_postinst
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+
+ if [[ -z ${REPLACED_BY_VERSION} ]]; then
+ multilib_pkg_postrm() {
+ rm -f "${EROOT}"usr/$(get_libdir)/gtk-3.0/3.0.0/immodules.cache
+ }
+ multilib_foreach_abi multilib_pkg_postrm
+ fi
+}
diff --git a/x11-libs/hippo-canvas/Manifest b/x11-libs/hippo-canvas/Manifest
deleted file mode 100644
index 8b230792c5db..000000000000
--- a/x11-libs/hippo-canvas/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST hippo-canvas-0.3.0.tar.bz2 376859 BLAKE2B f224aab41c0cd34c2e65e30a36f0ce58969a20d911c7d63ec488634879206a4b02fa246f6540f5b3fce4a7ffa6a5953aec8b6f93501c9fd711211d1182386206 SHA512 8290f6ab1875eed606ea152f12741ec4ebd8839091a9c258b8c4fa39f395adf94217576c6c689c5ab22b62c65e37d82991c7b8942815cb2030bd45616528f4f3
diff --git a/x11-libs/hippo-canvas/files/hippo-canvas-python-override.patch b/x11-libs/hippo-canvas/files/hippo-canvas-python-override.patch
deleted file mode 100644
index bcbae474160b..000000000000
--- a/x11-libs/hippo-canvas/files/hippo-canvas-python-override.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- hippo.override 2008-05-21 16:22:02.000000000 -0700
-+++ hippo.override-new 2010-04-13 13:11:20.826177339 -0700
-@@ -19,6 +19,7 @@
- #include "hippo/hippo-canvas-widget.h"
- #include "hippo/hippo-canvas-window.h"
- #include "hippo/hippo-canvas-widgets.h"
-+#include "common/hippo/hippo-canvas-test.h"
-
- #include "hippo/hippo-canvas-type-builtins.h"
-
diff --git a/x11-libs/hippo-canvas/hippo-canvas-0.3.0-r2.ebuild b/x11-libs/hippo-canvas/hippo-canvas-0.3.0-r2.ebuild
deleted file mode 100644
index 5def06c083aa..000000000000
--- a/x11-libs/hippo-canvas/hippo-canvas-0.3.0-r2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-GCONF_DEBUG="no"
-GNOME_TARBALL_SUFFIX="bz2"
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils gnome2 multilib python-single-r1
-
-DESCRIPTION="A canvas library based on GTK+ 2, Cairo, and Pango"
-HOMEPAGE="https://wiki.gnome.org/Projects/HippoCanvas"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- >=dev-libs/glib-2.6:2
- dev-libs/libcroco
- >=x11-libs/gtk+-2.6:2
- x11-libs/pango
- gnome-base/librsvg:2
- python? (
- ${PYTHON_DEPS}
- dev-python/pycairo[${PYTHON_USEDEP}]
- dev-python/pygtk:2[${PYTHON_USEDEP}] )
-"
-DEPEND="${RDEPEND}
- dev-util/glib-utils
- dev-util/gtk-doc-am
- virtual/pkgconfig
-"
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- cd "${S}/python"
- epatch "${FILESDIR}/${PN}-python-override.patch"
- cd "${S}"
- gnome2_src_prepare
-}
-
-src_configure() {
- gnome2_src_configure \
- --disable-static \
- $(use_enable python)
-}
diff --git a/x11-libs/hippo-canvas/metadata.xml b/x11-libs/hippo-canvas/metadata.xml
deleted file mode 100644
index 65b0f97626e6..000000000000
--- a/x11-libs/hippo-canvas/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
- HippoCanvas is a generic user interface element that can draw Cairo graphics, respond to key and mouse events,
- and lay out other widgets. It is currently used to implement a number of Sugar's custom widgets (toolbars,
- rounded buttons, etc.) and to lay out the screen.
-
-
diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest
index ea4af8f52149..dee0a549175e 100644
--- a/x11-libs/libdrm/Manifest
+++ b/x11-libs/libdrm/Manifest
@@ -1,2 +1,3 @@
DIST libdrm-2.4.96.tar.bz2 829518 BLAKE2B d9a21ce31af65812c1b23968ef6c1901aea106b4cc68d76d3641a17b98423024b804bfda509862174eba98271bd7156c7f08d81bc0a520ea4a25c8e2e0bfd598 SHA512 008cb7658d953b44e11fa3cc6e00dfeb3efb59c7fdadd59f7066101aff138acbbc2f2508e9ebe0528340e39dc7693937755d1641816ddde135c10a13e7d81e3b
DIST libdrm-2.4.97.tar.bz2 837329 BLAKE2B b47393d81917a0b43c22f7798ff2e1c21a05fc716a63092dbe0e49cda0fe3bd899d5cc4d703ae49f781e283f5067c62cd37a4931362427e21c3356584cb5e810 SHA512 3e08ee9d6c9ce265d783a59b51e22449905ea73aa27f25a082a1e9e1532f7c99e1c9f7cb966eb0970be2a08e2e5993dc9aa55093b1bff548689fdb465e7145ed
+DIST libdrm-2.4.98.tar.bz2 833295 BLAKE2B abcb51046d95dd0620d8ae705a731c4a0b9db817cc897c6bf2063c3c25c13f45019b5c016248fe93269b77252de96724c3215eaf5be990b925a38034bfe4a4e4 SHA512 3d333d060ceb14fa8e204ef468ca2c95d6f07205185ca90a044b685832b9b2d7256faa5e81d5871ce8b70aa1fdf9fb1ade18b4e582ff0c7ef5551da8506eb27b
diff --git a/x11-libs/libdrm/libdrm-2.4.98.ebuild b/x11-libs/libdrm/libdrm-2.4.98.ebuild
new file mode 100644
index 000000000000..29daf988738c
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.4.98.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/drm.git"
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git-r3"
+fi
+
+inherit ${GIT_ECLASS} meson multilib-minimal
+
+DESCRIPTION="X.Org libdrm library"
+HOMEPAGE="https://dri.freedesktop.org/ https://gitlab.freedesktop.org/mesa/drm"
+if [[ ${PV} = 9999* ]]; then
+ SRC_URI=""
+else
+ SRC_URI="https://dri.freedesktop.org/libdrm/${P}.tar.bz2"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+fi
+
+VIDEO_CARDS="amdgpu exynos freedreno intel nouveau omap radeon tegra vc4 vivante vmware"
+for card in ${VIDEO_CARDS}; do
+ IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS} libkms valgrind"
+RESTRICT="test" # see bug #236845
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="elibc_FreeBSD? ( >=dev-libs/libpthread-stubs-0.4:=[${MULTILIB_USEDEP}] )
+ video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ valgrind? ( dev-util/valgrind )"
+
+src_unpack() {
+ default
+ [[ $PV = 9999* ]] && git-r3_src_unpack
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ # Udev is only used by tests now.
+ -Dudev=false
+ -Dcairo-tests=false
+ -Damdgpu=$(usex video_cards_amdgpu true false)
+ -Dexynos=$(usex video_cards_exynos true false)
+ -Dfreedreno=$(usex video_cards_freedreno true false)
+ -Dintel=$(usex video_cards_intel true false)
+ -Dnouveau=$(usex video_cards_nouveau true false)
+ -Domap=$(usex video_cards_omap true false)
+ -Dradeon=$(usex video_cards_radeon true false)
+ -Dtegra=$(usex video_cards_tegra true false)
+ -Dvc4=$(usex video_cards_vc4 true false)
+ -Detnaviv=$(usex video_cards_vivante true false)
+ -Dvmwgfx=$(usex video_cards_vmware true false)
+ -Dlibkms=$(usex libkms true false)
+ # valgrind installs its .pc file to the pkgconfig for the primary arch
+ -Dvalgrind=$(usex valgrind auto false)
+ )
+ meson_src_configure
+}
+
+multilib_src_compile() {
+ meson_src_compile
+}
+
+multilib_src_test() {
+ meson_src_test
+}
+
+multilib_src_install() {
+ meson_src_install
+}
diff --git a/x11-libs/pango/pango-1.42.4-r1.ebuild b/x11-libs/pango/pango-1.42.4-r1.ebuild
index 676a13a07419..6d39dcbd4297 100644
--- a/x11-libs/pango/pango-1.42.4-r1.ebuild
+++ b/x11-libs/pango/pango-1.42.4-r1.ebuild
@@ -7,7 +7,7 @@ GNOME2_LA_PUNT="yes"
inherit gnome2 multilib-minimal toolchain-funcs
DESCRIPTION="Internationalized text layout and rendering library"
-HOMEPAGE="http://www.pango.org/"
+HOMEPAGE="https://www.pango.org/"
SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
LICENSE="LGPL-2+ FTL"
diff --git a/x11-libs/pango/pango-1.42.4.ebuild b/x11-libs/pango/pango-1.42.4.ebuild
index c987f5eaae74..43b3643e7dc6 100644
--- a/x11-libs/pango/pango-1.42.4.ebuild
+++ b/x11-libs/pango/pango-1.42.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -7,7 +7,7 @@ GNOME2_LA_PUNT="yes"
inherit gnome2 multilib-minimal toolchain-funcs
DESCRIPTION="Internationalized text layout and rendering library"
-HOMEPAGE="http://www.pango.org/"
+HOMEPAGE="https://www.pango.org/"
LICENSE="LGPL-2+ FTL"
SLOT="0"
diff --git a/x11-misc/Manifest.gz b/x11-misc/Manifest.gz
index 9f7d3521b78a..04e356bf33cf 100644
Binary files a/x11-misc/Manifest.gz and b/x11-misc/Manifest.gz differ
diff --git a/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.17.ebuild b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.17.ebuild
index 8017519a1386..c94e1d9cbba9 100644
--- a/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.17.ebuild
+++ b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.17.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/enkore/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="test"
DEPEND="test? ( dev-cpp/catch:1 )"
diff --git a/x11-misc/xdotool/xdotool-3.20160805.1.ebuild b/x11-misc/xdotool/xdotool-3.20160805.1.ebuild
index 8ba3a06aae80..42794df4d8f5 100644
--- a/x11-misc/xdotool/xdotool-3.20160805.1.ebuild
+++ b/x11-misc/xdotool/xdotool-3.20160805.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jordansissel/xdotool/releases/download/v${PV}/${P}.t
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="examples"
RDEPEND="
diff --git a/x11-plugins/Manifest.gz b/x11-plugins/Manifest.gz
index 45ac62011b13..c08a7cb51262 100644
Binary files a/x11-plugins/Manifest.gz and b/x11-plugins/Manifest.gz differ
diff --git a/x11-plugins/enigmail/enigmail-2.0.10.ebuild b/x11-plugins/enigmail/enigmail-2.0.10-r1.ebuild
similarity index 97%
rename from x11-plugins/enigmail/enigmail-2.0.10.ebuild
rename to x11-plugins/enigmail/enigmail-2.0.10-r1.ebuild
index cce103eab08b..3441befecb08 100644
--- a/x11-plugins/enigmail/enigmail-2.0.10.ebuild
+++ b/x11-plugins/enigmail/enigmail-2.0.10-r1.ebuild
@@ -44,6 +44,8 @@ DEPEND="${RDEPEND}
dev-lang/perl
"
+PATCHES=( "${FILESDIR}"/enigmail-no_pEp_auto_download.patch )
+
src_compile() {
emake ipc public ui package lang stdlib
emake xpi
diff --git a/x11-plugins/wmpeople/Manifest b/x11-plugins/wmpeople/Manifest
deleted file mode 100644
index 7f09b75aa6a2..000000000000
--- a/x11-plugins/wmpeople/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST wmpeople-1.3.tar.gz 111148 BLAKE2B 6a3fbfa8d4d47d6a80da7eaaaf07dbc269c529bba20bde9e229b415a54c8dd016f9fbbd021dcf9e9788d5d22f62f58bd8a2e745cd5e1014cb52cad7e06d54104 SHA512 af01e2d43d158eab3d520ebb0b9ebd50e1b5955920e3b86d5238d9bc0313cc055001bfa44d76e1ccfe721f668b9494373f18175f2ef7d248a0e237bbefe9e129
diff --git a/x11-plugins/wmpeople/wmpeople-1.3-r1.ebuild b/x11-plugins/wmpeople/wmpeople-1.3-r1.ebuild
deleted file mode 100644
index 2441c69f293a..000000000000
--- a/x11-plugins/wmpeople/wmpeople-1.3-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Nice, highly configurable WMaker DockApp that monitors your mail boxes"
-HOMEPAGE="http://peephole.sourceforge.net/"
-SRC_URI="mirror://sourceforge/peephole/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="ppc ~sparc x86"
-
-RDEPEND="x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXt
- x11-libs/libXpm"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto
- >=net-mail/peephole-1.2"
-
-pkg_postinst() {
- einfo "Before you can use wmpeople you must copy"
- einfo "/etc/skel/.wmpeoplerc to your home dir"
- einfo "and edit it to suit your needs."
- einfo "Also, make sure that the peephole daemon"
- einfo "is up and running before you start wmpeople."
-}