diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-17 18:31:07 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-17 18:31:07 +0000 |
| commit | 4313dc2fa4800d8ee4dfe1197f0e48d4e10e5f62 (patch) | |
| tree | 42ce07db06fdfa3e16c6252ddb4603f6fafe9cac | |
| parent | 253ab65250807f215129ac5f2be07e255b3f5ad4 (diff) | |
| download | baldeagleos-repo-4313dc2fa4800d8ee4dfe1197f0e48d4e10e5f62.tar.gz baldeagleos-repo-4313dc2fa4800d8ee4dfe1197f0e48d4e10e5f62.tar.xz baldeagleos-repo-4313dc2fa4800d8ee4dfe1197f0e48d4e10e5f62.zip | |
Updating liguros repo
139 files changed, 3546 insertions, 2290 deletions
diff --git a/app-admin/pony/Manifest b/app-admin/pony/Manifest index 5fd3779e550c..b7cb6a513b61 100644 --- a/app-admin/pony/Manifest +++ b/app-admin/pony/Manifest @@ -1 +1,2 @@ DIST pony-0.1.0_pre20170123.tar.gz 193066 BLAKE2B 0b44a7e70d0ecae9b18ea6051867c005154f431f81c8800d1cf607814db393bdfc2608b9b5ba1fc31644ac0c0dca3ff4793e953694987b52a5a7657e72f0d9de SHA512 f943681d1683b7dec17d8ed5e6bada6555ab38e115ca4744d93431cb296a2a8f0505383bce40783c7fe0c0d46b1c92115e090126394c540ab4473405ee981f33 +DIST pony-0.2.4.tar.gz 1042696 BLAKE2B d1858a7b75019bb6efe8b85bdcf27a36e897f7326258d8e2e3290989c62dca4b3be6644f6ff9bcf39f9944bdf6d5ff5248aeea1a2d6cdd3303238cc141cfef59 SHA512 0da27a1c9bc96aa0900305d9f908476f80dadb8605dd2c8ae422107affc6680b691859bfdf5cafa52df39161ba2f4e6550ff5037001c6483b0a2d031b09ca134 diff --git a/app-admin/pony/pony-0.1.0_pre20170123.ebuild b/app-admin/pony/pony-0.1.0_pre20170123.ebuild deleted file mode 100644 index 7ffb60434d5c..000000000000 --- a/app-admin/pony/pony-0.1.0_pre20170123.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2020 Go Overlay Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -GOLANG_PKG_IMPORTPATH="github.com/jfrazelle" -GOLANG_PKG_VERSION="85e750a290ebcf3167d77cc9b4a0334d400e5cf8" - -#GOLANG_PKG_DEPENDENCIES=( -# "github.com/Sirupsen/logrus:4b6ea73" # v0.10.0 -# "github.com/atotto/clipboard:bb272b8" -# "github.com/codegangsta/cli:f9cc300" -# "github.com/docker/docker:23cf638 -> github.com/dotcloud" # v1.12.1 -# "github.com/golang/crypto:81372b2 -> golang.org/x" -# "github.com/opencontainers/runc:baf6536" #v0.1.1 -#) - -inherit golang-single - -DESCRIPTION="Local File-Based Password, API Key, Secret, Recovery Code Store Backed vy GPG" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~arm" - -RESTRICT+=" test" - -RDEPEND="|| ( x11-misc/xsel x11-misc/xclip )" diff --git a/app-admin/pony/pony-0.2.4.ebuild b/app-admin/pony/pony-0.2.4.ebuild new file mode 100644 index 000000000000..21361f3f6c94 --- /dev/null +++ b/app-admin/pony/pony-0.2.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Go Overlay Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GOLANG_PKG_IMPORTPATH="github.com/jessfraz" +GOLANG_PKG_ARCHIVEPREFIX="v" +GOLANG_PKG_LDFLAGS="-X ${GOLANG_PKG_IMPORTPATH}/${PN}/version.GITCOMMIT=85eae5c -X ${GOLANG_PKG_IMPORTPATH}/${PN}/version.VERSION=${PV}" +GOLANG_PKG_TAGS="netgo" +GOLANG_PKG_HAVE_TEST=1 + +inherit golang-single + +DESCRIPTION="Local File-Based Password, API Key, Secret, Recovery Code Store Backed vy GPG" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="static" + +RDEPEND="|| ( x11-misc/xsel x11-misc/xclip )" + +pkg_setup() { + use static && GOLANG_PKG_LDFLAGS+=" -extldflags -static" + use static && GOLANG_PKG_TAGS+=" static_build" +} + +src_test() { + GOLANG_PKG_IS_MULTIPLE=1 + golang-single_src_test +} diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index e0ddd86c54d1..fdf9ea6c9726 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -1,2 +1 @@ -DIST clamav-0.102.3.tar.gz 13226108 BLAKE2B 741c0cc6a088ffe880eabb7a59151b3c13c5754f9cb36582ffca9cbeea6b039e3c49b7155ba14fa302e9ee4bfa6adf8b98f0e29f2354ea8569b11b1ed2b2532c SHA512 d239718814b303fb0f1655d9bdaf3675d888eea57e786d927eafabb7b6f58cd7f5fb7dc149511c2af6f800dcc919f2e1d6954110d45b9e16619c632e8d2b37f2 DIST clamav-0.102.4.tar.gz 13234444 BLAKE2B 7109da3e2281472032777b8a9d14ca6ff345aead33e5aaf0b9d1ff4721459926062f789dd1f7e8637155e4b9f3bce9f78127bf450f32baf3f1006b8083d3431a SHA512 29893deb8d2d913dff72331875d3dc3a10356bfb254ddfe1c1933b3ea4f8b76c96a1b840f95e72be36cbc0e00b9ec35e395225ef264761f53e709bb1026a4f09 diff --git a/app-antivirus/clamav/clamav-0.102.3.ebuild b/app-antivirus/clamav/clamav-0.102.3.ebuild deleted file mode 100644 index 53ece5a2bf29..000000000000 --- a/app-antivirus/clamav/clamav-0.102.3.ebuild +++ /dev/null @@ -1,214 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic systemd - -DESCRIPTION="Clam Anti-Virus Scanner" -HOMEPAGE="https://www.clamav.net/" -SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="bzip2 doc clamdtop clamsubmit iconv ipv6 libclamav-only libressl milter metadata-analysis-api selinux test uclibc xml" - -REQUIRED_USE="libclamav-only? ( !clamdtop !clamsubmit !milter !metadata-analysis-api )" - -RESTRICT="!test? ( test )" - -# Require acct-{user,group}/clamav at build time so that we can set -# the permissions on /var/lib/clamav in src_install rather than in -# pkg_postinst; calling "chown" on the live filesystem scares me. -CDEPEND="acct-group/clamav - acct-user/clamav - dev-libs/libltdl - dev-libs/libmspack - || ( dev-libs/libpcre2 >dev-libs/libpcre-6 ) - >=sys-libs/zlib-1.2.2:= - bzip2? ( app-arch/bzip2 ) - clamdtop? ( sys-libs/ncurses:0 ) - clamsubmit? ( net-misc/curl dev-libs/json-c:= ) - elibc_musl? ( sys-libs/fts-standalone ) - iconv? ( virtual/libiconv ) - !libclamav-only? ( net-misc/curl ) - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) - xml? ( dev-libs/libxml2 )" - -BDEPEND="virtual/pkgconfig" - -DEPEND="${CDEPEND} - metadata-analysis-api? ( dev-libs/json-c:* ) - test? ( dev-libs/check )" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-clamav )" - -PATCHES=( - "${FILESDIR}/${PN}-0.101.2-tinfo.patch" #670729 - "${FILESDIR}/${PN}-0.102.1-libxml2_pkgconfig.patch" #661328 - "${FILESDIR}/${PN}-0.102.2-fix-curl-detection.patch" #709616 -) - -src_prepare() { - default - eautoconf -} - -src_configure() { - use elibc_musl && append-ldflags -lfts - use ppc64 && append-flags -mminimal-toc - use uclibc && export ac_cv_type_error_t=yes - - # according to configure help it should be - # $(use_enable xml) - # but that does not work - # do not add this, since --disable-xml seems to override - # --without-xml - JSONUSE="--without-libjson" - - if use clamsubmit || use metadata-analysis-api; then - # either of those 2 requires libjson. - # clamsubmit will be built as soon as libjson and curl are found - # but we only install the binary if requested - JSONUSE="--with-libjson=${EPREFIX}/usr" - fi - - local myeconfargs=( - $(use_enable bzip2) - $(use_enable clamdtop) - $(use_enable ipv6) - $(use_enable milter) - $(use_enable test check) - $(use_with xml) - $(use_with iconv) - ${JSONUSE} - $(use_enable libclamav-only) - $(use_with !libclamav-only libcurl) - --with-system-libmspack - --cache-file="${S}"/config.cache - --disable-experimental - --disable-static - --disable-zlib-vcheck - --enable-id-check - --with-dbdir="${EPREFIX}"/var/lib/clamav - # Don't call --with-zlib=/usr (see bug #699296) - --with-zlib - --disable-llvm - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - rm -rf "${ED}"/var/lib/clamav || die - - if ! use libclamav-only ; then - newinitd "${FILESDIR}"/clamd.initd-r6 clamd - newconfd "${FILESDIR}"/clamd.conf-r1 clamd - - systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf" - systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service" - systemd_dounit "${FILESDIR}/clamd.service" - systemd_dounit "${FILESDIR}/freshclamd.service" - - insinto /etc/logrotate.d - newins "${FILESDIR}"/clamav.logrotate clamav - - # Modify /etc/{clamd,freshclam}.conf to be usable out of the box - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \ - -e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \ - -e "s:^\#\(LogTime\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - -e "s:^\#\(DatabaseDirectory\).*:\1 /var/lib/clamav:" \ - "${ED}"/etc/clamd.conf.sample || die - - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \ - -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ - -e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \ - -e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \ - -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - -e "s:^\#\(DatabaseDirectory\).*:\1 /var/lib/clamav:" \ - "${ED}"/etc/freshclam.conf.sample || die - - if use milter ; then - # MilterSocket one to include ' /' because there is a 2nd line for - # inet: which we want to leave - ##dodoc "${FILESDIR}"/clamav-milter.README.gentoo - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \ - -e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \ - "${ED}"/etc/clamav-milter.conf.sample || die - - cat >> "${ED}"/etc/conf.d/clamd <<-EOF - MILTER_NICELEVEL=19 - START_MILTER=no - EOF - - systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service - fi - - local i - for i in clamd freshclam clamav-milter - do - if [[ -f "${ED}"/etc/"${i}".conf.sample ]]; then - mv "${ED}"/etc/"${i}".conf{.sample,} || die - fi - done - - # These both need to be writable by the clamav user. - # TODO: use syslog by default; that's what it's for. - diropts -o clamav -g clamav - keepdir /var/lib/clamav - keepdir /var/log/clamav - fi - - if use doc ; then - local HTML_DOCS=( docs/html/. ) - einstalldocs - - if ! use libclamav-only ; then - doman docs/man/*.[1-8] - fi - fi - - find "${ED}" -name '*.la' -delete || die -} - -src_test() { - if use libclamav-only ; then - ewarn "Test target not available when USE=libclamav-only is set, skipping tests ..." - return 0 - fi - - emake quick-check -} - -pkg_postinst() { - if use milter ; then - elog "For simple instructions how to setup the clamav-milter read the" - elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}" - fi - - local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d ) - if [[ ! -f "${databases}" ]] ; then - ewarn "You must run freshclam manually to populate the virus database" - ewarn "before starting clamav for the first time." - fi - - elog "For instructions on how to use clamonacc, see" - elog - elog " https://www.clamav.net/documents/on-access-scanning" -} diff --git a/app-antivirus/clamav/clamav-0.102.4.ebuild b/app-antivirus/clamav/clamav-0.102.4.ebuild index 0a4fac640e38..41623104ea44 100644 --- a/app-antivirus/clamav/clamav-0.102.4.ebuild +++ b/app-antivirus/clamav/clamav-0.102.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" IUSE="bzip2 doc clamdtop clamsubmit iconv ipv6 libclamav-only libressl milter metadata-analysis-api selinux test uclibc xml" REQUIRED_USE="libclamav-only? ( !clamdtop !clamsubmit !milter !metadata-analysis-api )" diff --git a/app-backup/bacula/bacula-9.6.5.ebuild b/app-backup/bacula/bacula-9.6.5.ebuild index 8b6104a81e97..9456256ad40c 100644 --- a/app-backup/bacula/bacula-9.6.5.ebuild +++ b/app-backup/bacula/bacula-9.6.5.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz" LICENSE="AGPL-3" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" +KEYWORDS="~amd64 ppc ~sparc ~x86" IUSE="acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 libressl logwatch mysql postgres qt5 readline +sqlite ssl static tcpd vim-syntax X" DEPEND=" diff --git a/app-crypt/mit-krb5/mit-krb5-1.18.2-r1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.18.2-r1.ebuild index 028d6760e0da..4572747ed10b 100644 --- a/app-crypt/mit-krb5/mit-krb5-1.18.2-r1.ebuild +++ b/app-crypt/mit-krb5/mit-krb5-1.18.2-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86" IUSE="cpu_flags_x86_aes doc +keyutils libressl lmdb nls openldap +pkinit selinux +threads test xinetd" # Test suite requires network access diff --git a/app-eselect/eselect-iptables/eselect-iptables-20200508.ebuild b/app-eselect/eselect-iptables/eselect-iptables-20200508.ebuild index f033207e9698..da358b059dd0 100644 --- a/app-eselect/eselect-iptables/eselect-iptables-20200508.ebuild +++ b/app-eselect/eselect-iptables/eselect-iptables-20200508.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~chutzpah/dist/iptables/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND="app-admin/eselect" diff --git a/app-text/podofo/podofo-0.9.6_p20190928.ebuild b/app-text/podofo/podofo-0.9.6_p20190928.ebuild index ef3dfe099136..d68e332c1e9f 100644 --- a/app-text/podofo/podofo-0.9.6_p20190928.ebuild +++ b/app-text/podofo/podofo-0.9.6_p20190928.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz" LICENSE="GPL-2 LGPL-2.1" SLOT="0/${PV%_*}" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86" IUSE="+boost idn libressl debug test +tools" RESTRICT="!test? ( test )" REQUIRED_USE="test? ( tools )" diff --git a/dev-cpp/ms-gsl/ms-gsl-3.1.0.ebuild b/dev-cpp/ms-gsl/ms-gsl-3.1.0.ebuild index 525d59e6e4c9..d3ecf6decf9d 100644 --- a/dev-cpp/ms-gsl/ms-gsl-3.1.0.ebuild +++ b/dev-cpp/ms-gsl/ms-gsl-3.1.0.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/GSL-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="amd64 ~ppc64 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.57.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.57.ebuild index b6216e53c6b0..8ca71a96dfaf 100644 --- a/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.57.ebuild +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.57.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz" LICENSE="Apache-2.0" SLOT="3.1" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 ~arm64 ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" IUSE="" DEPEND=">=virtual/jdk-1.8" diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index faf172eba3d1..fbb3ea463a88 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -10,11 +10,7 @@ DIST go-linux-ppc64le-bootstrap-1.8.tbz 52211575 BLAKE2B 7a28ec5a381369c4e9415c8 DIST go-linux-s390x-bootstrap-1.8.tbz 57124869 BLAKE2B 920a176b8f4fc3a816e724324bbb30a383d599e31a0d2093d24797dbcd0e799a662a3589dbb87d2f5dd16df07c4cf8f1e444e87b540ec732746bb025dc9271f8 SHA512 d429cae870d66217ab2e07c74209d3031d97baa4f899b4d70ae6283a1a5b1434b037904c4cfca0b2bc798d5ba0b358c3739e000eccbc74809baf564c5686df5a DIST go-solaris-amd64-bootstrap-1.8.tbz 54926326 BLAKE2B 0a45312f090d81ebf46fe5950cb65c059e2801394231e715e94145d1f918eb59b10472b2385e57ebd5cfb9eca0ad7290fb118436486b665520bb540970f971ab SHA512 52b849e5b9a940e10de7ba3df0ebdf6e1c5d631de9581d936c9edf8f38e6bb3314acbc2b2d5202b0528fde2a359d52bc0c6f39acf9b1b614725e4b4a947ed10d DIST go1.12.17.src.tar.gz 20725913 BLAKE2B 2eef7374195302656268a42409619445dfeb3ede1f9218ae4eab195916876b97f7510cc62585a0bfdd9f86dddf8a74000032a84b29bc9891d84fc69db94f0274 SHA512 069f8f445d9d2268ebb14b2446fab34843d56283c04561636d122fd8b4c1ea0b63640a84437db7a7be71039440ffe170cd3f8025b03b0acf95f2a56fa2febec6 -DIST go1.13.10.src.tar.gz 21702804 BLAKE2B 586494604455594c552d25a207634d70ae7f5ad142e18e22f5ef462c6488327cc01630c0bc99a4ede9dee0d649982802cf79f34f35ad7f810ca0701c35a7d555 SHA512 9e020dd89ab6201c4cbb893caecc0b077d5fbb2e10381e1b76a29ddc18c141d8db67a1b0f607ed915b0e9c40c4fb2c65b0319472535892534a31ad962e72fe05 -DIST go1.13.12.src.tar.gz 21703700 BLAKE2B d503b864edd753d838ab2776c00ee29d79c4dadaa8f9414291d7fd9ef420950361e676d78111db171d4d7bad9f28d23897333720d77c259691231cac81aa7b2a SHA512 85ffe18171cd131fc5bdfaa8f5e944643399ef1f270a599cdccbe0212f1d1651a87075d11877220466d18ff590bb9eadeac48851b630ab9f0e06c199c0286cc4 DIST go1.13.13.src.tar.gz 21704330 BLAKE2B 462a8c7a438c5638158645d012bcf361f5033b94209ee3b89b15b066c6a92ae7b632d9fa295be2bfd2ed20398471a3e9531eccea1c67f511901f6a7f77242557 SHA512 1bee57e6b5d7154e7d93ccf33b9bd8ccacb005d3de1f0dc2272d4d431ab171707a57fe81d65ff17f6016f5c94d5bec6618c13174d43538f7c370d923958529c3 DIST go1.13.14.src.tar.gz 21704891 BLAKE2B fff860b45b296359cb226f123279b3351f654336d267f8d60607fb0eb9f555e99d2e8250331510ddcf40de43235a864867af4b16db153b3f0827a3ccff045c19 SHA512 49dd28394333eaa7676fdf530d2fc18a645546c814fbe9247c9613e36529eb23634816b5c84574fea1cd9191fa86e684130e75dc70545344851c6b47c846558d -DIST go1.14.2.src.tar.gz 22454649 BLAKE2B edd8a1081e7da6988532b9fefe6d6f789a7d336562d61d5e585a8b881fb45d77721bee9837ae79318295471aea138e175650c2138175a587f0b7957988e8e209 SHA512 3f6804e1a60df6a7c55c294fe4147b2d6f028c619ad4ae5b1ae8793c6be637a1e6a62721cc7ce0b28918ab3441a89fa9acda72cb5450bf5af8d7872411d28015 -DIST go1.14.4.src.tar.gz 22535243 BLAKE2B 8dc44b2144587e24ef53adcffdf335ec03dbcbb1101e38ac54611eb9e6216d3a676f5a24daab24342018b549b7de2a8730e556abfda5e18199c55d266ac3a44b SHA512 b0d657ea33331062db5a4da0aff14798f292ca967a53665af1a93e04eba7a03e49a3dbc4768c4f099ec5ff25a31885750f7658f819057057093e2d7bfb085575 DIST go1.14.5.src.tar.gz 22533577 BLAKE2B 4e07fd46f977e14cf493d92a3c3e2d61c8eadf8f6e07b2de3eec7442d2ee0c736ac99f75eaaf405a48d1751144f4ae770692c3a1db9bc8e27e7c48e89fd74540 SHA512 1019b86304925fe60ebd81289349c4582e2e5932dc3ed35d9dc7b36ac293ee583ab6dcf3ae9a96f0f60274f24c295fb0662a8f4d06b717f624fa695c2b40e29c DIST go1.14.6.src.tar.gz 22534714 BLAKE2B 9dacb150108dc30fe3600c6fdc1df3cd2c36f701518f402d2ad8cd2e4ba51203176e5097adf66ac9223181197b1bea7de625933c570567d9e7dddf485bc2c204 SHA512 5c865c8272fb0dc8eab1514732b0200dbc867276512714dd30afc658a0d2afac6bd758e00c6f576d8d254e411418a52a564c895399b56cfe06c2b1785271a8fd diff --git a/dev-lang/go/go-1.13.10.ebuild b/dev-lang/go/go-1.13.10.ebuild deleted file mode 100644 index 1f323d04c2e8..000000000000 --- a/dev-lang/go/go-1.13.10.ebuild +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} - -MY_PV=${PV/_/} - -inherit toolchain-funcs - -case ${PV} in -*9999*) - EGIT_REPO_URI="https://github.com/golang/go.git" - inherit git-r3 - ;; -*) - SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz " - S="${WORKDIR}"/go - case ${PV} in - *_beta*|*_rc*) ;; - *) - KEYWORDS="-* amd64 arm arm64 ppc64 ~s390 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" - # The upstream tests fail under portage but pass if the build is - # run according to their documentation [1]. - # I am restricting the tests on released versions until this is - # solved. - # [1] https://golang.org/issues/18442 - RESTRICT="test" - ;; - esac -esac - -DESCRIPTION="A concurrent garbage collected and typesafe programming language" -HOMEPAGE="https://golang.org" - -LICENSE="BSD" -SLOT="0/${PV}" - -BDEPEND="|| ( - dev-lang/go - dev-lang/go-bootstrap )" -RDEPEND="!<dev-go/go-tools-0_pre20150902" - -# These test data objects have writable/executable stacks. -QA_EXECSTACK=" - usr/lib/go/src/debug/elf/testdata/*.obj - usr/lib/go/src/*.gox - " - -# Do not complain about CFLAGS, etc, since Go doesn't use them. -QA_FLAGS_IGNORED='.*' - -REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*" - -# The tools in /usr/lib/go should not cause the multilib-strict check to fail. -QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" - -# Do not strip this package. Stripping is unsupported upstream and may -# fail. -RESTRICT+=" strip" - -DOCS=( -AUTHORS -CONTRIBUTING.md -CONTRIBUTORS -PATENTS -README.md -) - -go_arch() -{ - # By chance most portage arch names match Go - local portage_arch=$(tc-arch $@) - case "${portage_arch}" in - x86) echo 386;; - x64-*) echo amd64;; - ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; - s390) echo s390x ;; - *) echo "${portage_arch}";; - esac -} - -go_arm() -{ - case "${1:-${CHOST}}" in - armv5*) echo 5;; - armv6*) echo 6;; - armv7*) echo 7;; - *) - die "unknown GOARM for ${1:-${CHOST}}" - ;; - esac -} - -go_os() -{ - case "${1:-${CHOST}}" in - *-linux*) echo linux;; - *-darwin*) echo darwin;; - *-freebsd*) echo freebsd;; - *-netbsd*) echo netbsd;; - *-openbsd*) echo openbsd;; - *-solaris*) echo solaris;; - *-cygwin*|*-interix*|*-winnt*) - echo windows - ;; - *) - die "unknown GOOS for ${1:-${CHOST}}" - ;; - esac -} - -go_tuple() -{ - echo "$(go_os $@)_$(go_arch $@)" -} - -go_cross_compile() -{ - [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] -} - -src_compile() -{ - if has_version -b dev-lang/go; then - export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go" - elif has_version -b dev-lang/go-bootstrap; then - export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap" - else - eerror "Go cannot be built without go or go-bootstrap installed" - die "Should not be here, please report a bug" - fi - - export GOROOT_FINAL="${EPREFIX}"/usr/lib/go - export GOROOT="$(pwd)" - export GOBIN="${GOROOT}/bin" - - # Go's build script does not use BUILD/HOST/TARGET consistently. :( - export GOHOSTARCH=$(go_arch ${CBUILD}) - export GOHOSTOS=$(go_os ${CBUILD}) - export CC=$(tc-getBUILD_CC) - - export GOARCH=$(go_arch) - export GOOS=$(go_os) - export CC_FOR_TARGET=$(tc-getCC) - export CXX_FOR_TARGET=$(tc-getCXX) - if [[ ${ARCH} == arm ]]; then - export GOARM=$(go_arm) - fi - - cd src - bash -x ./make.bash || die "build failed" -} - -src_test() -{ - go_cross_compile && return 0 - - cd src - PATH="${GOBIN}:${PATH}" \ - ./run.bash -no-rebuild || die "tests failed" -} - -src_install() -{ - local bin_path f x - - dodir /usr/lib/go - - # There is a known issue which requires the source tree to be installed [1]. - # Once this is fixed, we can consider using the doc use flag to control - # installing the doc and src directories. - # [1] https://golang.org/issue/2775 - # - # deliberately use cp to retain permissions - cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go - if go_cross_compile; then - bin_path="bin/$(go_tuple)" - else - bin_path=bin - fi - for x in ${bin_path}/*; do - f=${x##*/} - dosym ../lib/go/${bin_path}/${f} /usr/bin/${f} - done - einstalldocs - - if [[ ${CHOST} == *-darwin* ]] ; then - # fix install_name for test object (binutils_test) on Darwin, it - # is never used in real circumstances - local libmac64="${EPREFIX}"/usr/lib/go/src/cmd/vendor/github.com/ - libmac64+=google/pprof/internal/binutils/testdata/lib_mac_64 - install_name_tool -id "${libmac64}" "${D}${libmac64}" - fi -} diff --git a/dev-lang/go/go-1.13.12.ebuild b/dev-lang/go/go-1.13.12.ebuild deleted file mode 100644 index d71bff70d905..000000000000 --- a/dev-lang/go/go-1.13.12.ebuild +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} - -MY_PV=${PV/_/} - -inherit toolchain-funcs - -case ${PV} in -*9999*) - EGIT_REPO_URI="https://github.com/golang/go.git" - inherit git-r3 - ;; -*) - SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz " - S="${WORKDIR}"/go - case ${PV} in - *_beta*|*_rc*) ;; - *) - KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" - # The upstream tests fail under portage but pass if the build is - # run according to their documentation [1]. - # I am restricting the tests on released versions until this is - # solved. - # [1] https://golang.org/issues/18442 - RESTRICT="test" - ;; - esac -esac - -DESCRIPTION="A concurrent garbage collected and typesafe programming language" -HOMEPAGE="https://golang.org" - -LICENSE="BSD" -SLOT="0/${PV}" - -BDEPEND="|| ( - dev-lang/go - dev-lang/go-bootstrap )" -RDEPEND="!<dev-go/go-tools-0_pre20150902" - -# These test data objects have writable/executable stacks. -QA_EXECSTACK=" - usr/lib/go/src/debug/elf/testdata/*.obj - usr/lib/go/src/*.gox - " - -# Do not complain about CFLAGS, etc, since Go doesn't use them. -QA_FLAGS_IGNORED='.*' - -REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*" - -# The tools in /usr/lib/go should not cause the multilib-strict check to fail. -QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" - -# Do not strip this package. Stripping is unsupported upstream and may -# fail. -RESTRICT+=" strip" - -DOCS=( -AUTHORS -CONTRIBUTING.md -CONTRIBUTORS -PATENTS -README.md -) - -go_arch() -{ - # By chance most portage arch names match Go - local portage_arch=$(tc-arch $@) - case "${portage_arch}" in - x86) echo 386;; - x64-*) echo amd64;; - ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; - s390) echo s390x ;; - *) echo "${portage_arch}";; - esac -} - -go_arm() -{ - case "${1:-${CHOST}}" in - armv5*) echo 5;; - armv6*) echo 6;; - armv7*) echo 7;; - *) - die "unknown GOARM for ${1:-${CHOST}}" - ;; - esac -} - -go_os() -{ - case "${1:-${CHOST}}" in - *-linux*) echo linux;; - *-darwin*) echo darwin;; - *-freebsd*) echo freebsd;; - *-netbsd*) echo netbsd;; - *-openbsd*) echo openbsd;; - *-solaris*) echo solaris;; - *-cygwin*|*-interix*|*-winnt*) - echo windows - ;; - *) - die "unknown GOOS for ${1:-${CHOST}}" - ;; - esac -} - -go_tuple() -{ - echo "$(go_os $@)_$(go_arch $@)" -} - -go_cross_compile() -{ - [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] -} - -src_compile() -{ - if has_version -b dev-lang/go; then - export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go" - elif has_version -b dev-lang/go-bootstrap; then - export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap" - else - eerror "Go cannot be built without go or go-bootstrap installed" - die "Should not be here, please report a bug" - fi - - export GOROOT_FINAL="${EPREFIX}"/usr/lib/go - export GOROOT="$(pwd)" - export GOBIN="${GOROOT}/bin" - - # Go's build script does not use BUILD/HOST/TARGET consistently. :( - export GOHOSTARCH=$(go_arch ${CBUILD}) - export GOHOSTOS=$(go_os ${CBUILD}) - export CC=$(tc-getBUILD_CC) - - export GOARCH=$(go_arch) - export GOOS=$(go_os) - export CC_FOR_TARGET=$(tc-getCC) - export CXX_FOR_TARGET=$(tc-getCXX) - if [[ ${ARCH} == arm ]]; then - export GOARM=$(go_arm) - fi - - cd src - bash -x ./make.bash || die "build failed" -} - -src_test() -{ - go_cross_compile && return 0 - - cd src - PATH="${GOBIN}:${PATH}" \ - ./run.bash -no-rebuild || die "tests failed" -} - -src_install() -{ - local bin_path f x - - dodir /usr/lib/go - - # There is a known issue which requires the source tree to be installed [1]. - # Once this is fixed, we can consider using the doc use flag to control - # installing the doc and src directories. - # [1] https://golang.org/issue/2775 - # - # deliberately use cp to retain permissions - cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go - if go_cross_compile; then - bin_path="bin/$(go_tuple)" - else - bin_path=bin - fi - for x in ${bin_path}/*; do - f=${x##*/} - dosym ../lib/go/${bin_path}/${f} /usr/bin/${f} - done - einstalldocs - - if [[ ${CHOST} == *-darwin* ]] ; then - # fix install_name for test object (binutils_test) on Darwin, it - # is never used in real circumstances - local libmac64="${EPREFIX}"/usr/lib/go/src/cmd/vendor/github.com/ - libmac64+=google/pprof/internal/binutils/testdata/lib_mac_64 - install_name_tool -id "${libmac64}" "${D}${libmac64}" - fi -} diff --git a/dev-lang/go/go-1.14.2.ebuild b/dev-lang/go/go-1.14.2.ebuild deleted file mode 100644 index 178eb1504f2f..000000000000 --- a/dev-lang/go/go-1.14.2.ebuild +++ /dev/null @@ -1,188 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} - -MY_PV=${PV/_/} - -inherit toolchain-funcs - -case ${PV} in -*9999*) - EGIT_REPO_URI="https://github.com/golang/go.git" - inherit git-r3 - ;; -*) - SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz " - S="${WORKDIR}"/go - case ${PV} in - *_beta*|*_rc*) ;; - *) - KEYWORDS="-* amd64 arm arm64 ppc64 ~s390 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" - ;; - esac -esac - -DESCRIPTION="A concurrent garbage collected and typesafe programming language" -HOMEPAGE="https://golang.org" - -LICENSE="BSD" -SLOT="0/${PV}" - -BDEPEND="|| ( - dev-lang/go - dev-lang/go-bootstrap )" -RDEPEND="!<dev-go/go-tools-0_pre20150902" - -# Do not complain about CFLAGS, etc, since Go doesn't use them. -QA_FLAGS_IGNORED='.*' - -# The tools in /usr/lib/go should not cause the multilib-strict check to fail. -QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" - -# Do not strip this package. Stripping is unsupported upstream and may -# fail. -RESTRICT+=" strip" - -DOCS=( -AUTHORS -CONTRIBUTING.md -CONTRIBUTORS -PATENTS -README.md -) - -go_arch() -{ - # By chance most portage arch names match Go - local portage_arch=$(tc-arch $@) - case "${portage_arch}" in - x86) echo 386;; - x64-*) echo amd64;; - ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; - s390) echo s390x ;; - *) echo "${portage_arch}";; - esac -} - -go_arm() -{ - case "${1:-${CHOST}}" in - armv5*) echo 5;; - armv6*) echo 6;; - armv7*) echo 7;; - *) - die "unknown GOARM for ${1:-${CHOST}}" - ;; - esac -} - -go_os() -{ - case "${1:-${CHOST}}" in - *-linux*) echo linux;; - *-darwin*) echo darwin;; - *-freebsd*) echo freebsd;; - *-netbsd*) echo netbsd;; - *-openbsd*) echo openbsd;; - *-solaris*) echo solaris;; - *-cygwin*|*-interix*|*-winnt*) - echo windows - ;; - *) - die "unknown GOOS for ${1:-${CHOST}}" - ;; - esac -} - -go_tuple() -{ - echo "$(go_os $@)_$(go_arch $@)" -} - -go_cross_compile() -{ - [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] -} - -src_compile() -{ - if has_version -b dev-lang/go; then - export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go" - elif has_version -b dev-lang/go-bootstrap; then - export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap" - else - eerror "Go cannot be built without go or go-bootstrap installed" - die "Should not be here, please report a bug" - fi - - export GOROOT_FINAL="${EPREFIX}"/usr/lib/go - export GOROOT="$(pwd)" - export GOBIN="${GOROOT}/bin" - - # Go's build script does not use BUILD/HOST/TARGET consistently. :( - export GOHOSTARCH=$(go_arch ${CBUILD}) - export GOHOSTOS=$(go_os ${CBUILD}) - export CC=$(tc-getBUILD_CC) - - export GOARCH=$(go_arch) - export GOOS=$(go_os) - export CC_FOR_TARGET=$(tc-getCC) - export CXX_FOR_TARGET=$(tc-getCXX) - if [[ ${ARCH} == arm ]]; then - export GOARM=$(go_arm) - fi - - cd src - bash -x ./make.bash || die "build failed" -} - -src_test() -{ - go_cross_compile && return 0 - - cd src - PATH="${GOBIN}:${PATH}" \ - ./run.bash -no-rebuild || die "tests failed" - cd .. - rm -fr pkg/*_race || die - rm -fr pkg/obj/go-build || die -} - -src_install() -{ - local bin_path f x - - dodir /usr/lib/go - - # There is a known issue which requires the source tree to be installed [1]. - # Once this is fixed, we can consider using the doc use flag to control - # installing the doc and src directories. - # [1] https://golang.org/issue/2775 - # - # deliberately use cp to retain permissions - cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go - # testdata directories are not needed on the installed system - rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print) - if go_cross_compile; then - bin_path="bin/$(go_tuple)" - else - bin_path=bin - fi - for x in ${bin_path}/*; do - f=${x##*/} - dosym ../lib/go/${bin_path}/${f} /usr/bin/${f} - done - einstalldocs - - if [[ ${CHOST} == *-darwin* ]] ; then - # fix install_name for test object (binutils_test) on Darwin, it - # is never used in real circumstances - local libmac64="${EPREFIX}"/usr/lib/go/src/cmd/vendor/github.com/ - libmac64+=google/pprof/internal/binutils/testdata/lib_mac_64 - install_name_tool -id "${libmac64}" "${D}${libmac64}" - fi -} diff --git a/dev-lang/go/go-1.14.4.ebuild b/dev-lang/go/go-1.14.4.ebuild deleted file mode 100644 index fa07749bdeb3..000000000000 --- a/dev-lang/go/go-1.14.4.ebuild +++ /dev/null @@ -1,188 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} - -MY_PV=${PV/_/} - -inherit toolchain-funcs - -case ${PV} in -*9999*) - EGIT_REPO_URI="https://github.com/golang/go.git" - inherit git-r3 - ;; -*) - SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz " - S="${WORKDIR}"/go - case ${PV} in - *_beta*|*_rc*) ;; - *) - KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" - ;; - esac -esac - -DESCRIPTION="A concurrent garbage collected and typesafe programming language" -HOMEPAGE="https://golang.org" - -LICENSE="BSD" -SLOT="0/${PV}" - -BDEPEND="|| ( - dev-lang/go - dev-lang/go-bootstrap )" -RDEPEND="!<dev-go/go-tools-0_pre20150902" - -# Do not complain about CFLAGS, etc, since Go doesn't use them. -QA_FLAGS_IGNORED='.*' - -# The tools in /usr/lib/go should not cause the multilib-strict check to fail. -QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" - -# Do not strip this package. Stripping is unsupported upstream and may -# fail. -RESTRICT+=" strip" - -DOCS=( -AUTHORS -CONTRIBUTING.md -CONTRIBUTORS -PATENTS -README.md -) - -go_arch() -{ - # By chance most portage arch names match Go - local portage_arch=$(tc-arch $@) - case "${portage_arch}" in - x86) echo 386;; - x64-*) echo amd64;; - ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; - s390) echo s390x ;; - *) echo "${portage_arch}";; - esac -} - -go_arm() -{ - case "${1:-${CHOST}}" in - armv5*) echo 5;; - armv6*) echo 6;; - armv7*) echo 7;; - *) - die "unknown GOARM for ${1:-${CHOST}}" - ;; - esac -} - -go_os() -{ - case "${1:-${CHOST}}" in - *-linux*) echo linux;; - *-darwin*) echo darwin;; - *-freebsd*) echo freebsd;; - *-netbsd*) echo netbsd;; - *-openbsd*) echo openbsd;; - *-solaris*) echo solaris;; - *-cygwin*|*-interix*|*-winnt*) - echo windows - ;; - *) - die "unknown GOOS for ${1:-${CHOST}}" - ;; - esac -} - -go_tuple() -{ - echo "$(go_os $@)_$(go_arch $@)" -} - -go_cross_compile() -{ - [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] -} - -src_compile() -{ - if has_version -b dev-lang/go; then - export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go" - elif has_version -b dev-lang/go-bootstrap; then - export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap" - else - eerror "Go cannot be built without go or go-bootstrap installed" - die "Should not be here, please report a bug" - fi - - export GOROOT_FINAL="${EPREFIX}"/usr/lib/go - export GOROOT="$(pwd)" - export GOBIN="${GOROOT}/bin" - - # Go's build script does not use BUILD/HOST/TARGET consistently. :( - export GOHOSTARCH=$(go_arch ${CBUILD}) - export GOHOSTOS=$(go_os ${CBUILD}) - export CC=$(tc-getBUILD_CC) - - export GOARCH=$(go_arch) - export GOOS=$(go_os) - export CC_FOR_TARGET=$(tc-getCC) - export CXX_FOR_TARGET=$(tc-getCXX) - if [[ ${ARCH} == arm ]]; then - export GOARM=$(go_arm) - fi - - cd src - bash -x ./make.bash || die "build failed" -} - -src_test() -{ - go_cross_compile && return 0 - - cd src - PATH="${GOBIN}:${PATH}" \ - ./run.bash -no-rebuild || die "tests failed" - cd .. - rm -fr pkg/*_race || die - rm -fr pkg/obj/go-build || die -} - -src_install() -{ - local bin_path f x - - dodir /usr/lib/go - - # There is a known issue which requires the source tree to be installed [1]. - # Once this is fixed, we can consider using the doc use flag to control - # installing the doc and src directories. - # [1] https://golang.org/issue/2775 - # - # deliberately use cp to retain permissions - cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go - # testdata directories are not needed on the installed system - rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print) - if go_cross_compile; then - bin_path="bin/$(go_tuple)" - else - bin_path=bin - fi - for x in ${bin_path}/*; do - f=${x##*/} - dosym ../lib/go/${bin_path}/${f} /usr/bin/${f} - done - einstalldocs - - if [[ ${CHOST} == *-darwin* ]] ; then - # fix install_name for test object (binutils_test) on Darwin, it - # is never used in real circumstances - local libmac64="${EPREFIX}"/usr/lib/go/src/cmd/vendor/github.com/ - libmac64+=google/pprof/internal/binutils/testdata/lib_mac_64 - install_name_tool -id "${libmac64}" "${D}${libmac64}" - fi -} diff --git a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild index 1183c07d14bd..652ae713d28d 100644 --- a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild +++ b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz" LICENSE="Apache-2.0 GPL-2+" SLOT="0" -KEYWORDS="amd64 ~ppc ~x86" +KEYWORDS="amd64 ppc ~x86" IUSE="debug doc examples pedro qt5 readline threads" RDEPEND=" diff --git a/dev-lang/rust-bin/rust-bin-1.44.1.ebuild b/dev-lang/rust-bin/rust-bin-1.44.1.ebuild index fa177c8f1e03..deda0f9338d8 100644 --- a/dev-lang/rust-bin/rust-bin-1.44.1.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.44.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="$(rust_all_arch_uris ${MY_P})" LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" SLOT="stable" -KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" IUSE="clippy cpu_flags_x86_sse2 doc rustfmt" DEPEND="" diff --git a/dev-lang/rust/rust-1.44.1.ebuild b/dev-lang/rust/rust-1.44.1.ebuild index d646717b9b7a..c2b66aaff53f 100644 --- a/dev-lang/rust/rust-1.44.1.ebuild +++ b/dev-lang/rust/rust-1.44.1.ebuild @@ -18,7 +18,7 @@ else SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" - KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm arm64 ppc64 x86" fi RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).1" diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 80ec94d28ba4..f261c07415bf 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -5,3 +5,4 @@ DIST swipl-8.3.0.tar.gz 10955310 BLAKE2B 74fbe2460b4b911281846ee7fffb0ca053e6c1c DIST swipl-8.3.1.tar.gz 10956733 BLAKE2B 8fab6bb759371af7bf2ed71d7588eeb0694d9f8317a8daff0b663bf883428d0b80ce75196029d87192a82760719bb07086bb11a9969f0700d6dcb232bbd13704 SHA512 8e8e1b65e5e8f7b3ac22e09c9d9700fbdf44ada1470c9a741e3ea98063e096ce859cdfdf0ab1face7c41f1c04b55583ab5a38f91d8fa1fbd26ba1dff199be116 DIST swipl-8.3.2.tar.gz 10971577 BLAKE2B d6dc5b7f4a3133d4fb97b236113c691a4aa4aecaeb9a1f9f2f417fc541a934eb3987ca3413b4d72e14849575aeb6eacd150f1b4e4290e2a62995e1554048509c SHA512 cab637aba1f11be96553bd68a4a7364d407ef600408d607f26ad2bab53f26b1399cd082dce65c1b8c7b73bc63ea16553942234f80d3024ef3ca853457769cda7 DIST swipl-8.3.3.tar.gz 10983958 BLAKE2B 41243dc83a5bdf17f6b78b18f9da00b691294fcc557c3ae828e4d1d3ac3347019162143243864ff5db78c65ada1a5a07ff0b282bac57c5882f59518a62203771 SHA512 58bb9166e2b4c83b399985bf9b79e6851b76f459e97c6a820872f66b8a211ca490d953ed5815acc939b0b295533e017f31466bacd0be2e0f8d8e2357cf2d2d42 +DIST swipl-8.3.4.tar.gz 10998331 BLAKE2B 3d290b0119a8493f57788afb16c4ee4178a9d295a7e75897f92a13caf35c8638059334984d07c993e03e6eecb8eb37002287b3066c491848fb19ffbdb8e575d1 SHA512 119bcd7229443ef574be0ab420668d1cfab9ad1f90a6b708b3b17a41d7f3af8f8c2493a6c34e7bf0061b300013a0e95a2f1519e313aad081dd5fa7ffa002859e diff --git a/dev-lang/swi-prolog/swi-prolog-8.3.4.ebuild b/dev-lang/swi-prolog/swi-prolog-8.3.4.ebuild new file mode 100644 index 000000000000..41831379c1bf --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-8.3.4.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils eutils flag-o-matic multilib + +PATCHSET_VER="0" + +DESCRIPTION="versatile implementation of the Prolog programming language" +HOMEPAGE="https://www.swi-prolog.org/" +SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="archive berkdb debug doc +gmp java +libedit libressl minimal odbc pcre qt5 readline ssl test uuid X yaml" +RESTRICT="!test? ( test )" + +RDEPEND="sys-libs/ncurses:= + sys-libs/zlib + archive? ( app-arch/libarchive ) + berkdb? ( >=sys-libs/db-4:= ) + odbc? ( dev-db/unixODBC ) + pcre? ( dev-libs/libpcre ) + readline? ( sys-libs/readline:= ) + libedit? ( dev-libs/libedit ) + gmp? ( dev-libs/gmp:0 ) + ssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) + java? ( >=virtual/jdk-1.7:= ) + uuid? ( dev-libs/ossp-uuid ) + qt5? ( + dev-qt/qtwidgets:5 + dev-qt/qtgui:5 + ) + X? ( + virtual/jpeg:0 + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXinerama + x11-libs/libXpm + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM ) + yaml? ( dev-libs/libyaml )" + +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto ) + java? ( test? ( =dev-java/junit-3.8* ) )" + +S="${WORKDIR}/swipl-${PV}" +BUILD_DIR="${S}/build" +CMAKE_USE_DIR="${S}" + +src_prepare() { + if [[ -d "${WORKDIR}"/${PV} ]] ; then + eapply "${WORKDIR}"/${PV} + fi + eapply_user + + sed -i -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + append-flags -fno-strict-aliasing + use debug && append-flags -DO_DEBUG + + mycmakeargs=( + -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl + -DUSE_GMP=$(usex gmp) + -DINSTALL_DOCUMENTATION=$(use doc && usex archive) + -DSWIPL_PACKAGES_BASIC=$(usex !minimal) + -DSWIPL_PACKAGES_ARCHIVE=$(usex archive) + -DSWIPL_PACKAGES_ODBC=$(usex odbc) + -DSWIPL_PACKAGES_BDB=$(usex berkdb) + -DSWIPL_PACKAGES_PCRE=$(usex pcre) + -DSWIPL_PACKAGES_YAML=$(usex yaml) + -DSWIPL_PACKAGES_SSL=$(usex ssl) + -DSWIPL_PACKAGES_JAVA=$(usex java) + -DSWIPL_PACKAGES_QT=$(usex qt5) + -DSWIPL_PACKAGES_X=$(usex X) + -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi) + ) + + cmake-utils_src_configure +} + +src_compile() { + XDG_CONFIG_DIRS="${HOME}" \ + XDG_DATA_DIRS="${HOME}" \ + cmake-utils_src_compile +} + +src_test() { + USE_PUBLIC_NETWORK_TESTS=false \ + USE_ODBC_TESTS=false \ + cmake-utils_src_test -V +} diff --git a/dev-lang/xsb/Manifest b/dev-lang/xsb/Manifest index ad6562515d28..2be465372b24 100644 --- a/dev-lang/xsb/Manifest +++ b/dev-lang/xsb/Manifest @@ -1,4 +1,6 @@ DIST XSB360.tar.gz 12842882 BLAKE2B 734d17a05eb9cb79906a98a77a6562a9445603a884523689c1f2e5e5f9cd4ebfc7182e9ecde9bf9f97c18a90bc4d0d35a2344ac92193d9ee43eb733530571836 SHA512 2ac2f4d4c7501479648b7f618815d4cd996969791a617f2148ef7498cf08bacd67eab298136303b6804cb689129ae3365e1490ec693f2232f9c9f1ad515d9c6c DIST XSB370.tar.gz 12322913 BLAKE2B 64db80704ce656bfaa402d161a94c7b1cd3119a363e848b2c7768665df580b25f1fc43b49b381960d9049d947590b7eb3c846c1a2d6b8a1233d8eb2c4de04f7e SHA512 e2c11b0e5fbbffc2fb6d493e39b7dd74de43509ea1c844f1b3e5d1002c116d6fb8b245905b7b512499e40765a6603d4bef883052bdeec4a3078011c305f85a9f +DIST XSB38.tar.gz 13830570 BLAKE2B 60a6ab38435348d09e2d08bc65ca62c06b38495b72f40a6f3f10fe8d23949bfed0c580c9be0c8304d8a88a53b227bb695870b558d67f33a47543de6c1529180f SHA512 457c691450afcf3ed4e2fffc28deaef0949ef4bbf6fd69b504acc6507fbb144f2c6e427a25da2b6346b15b82e803c02d1b6962af698d16c1fcb9a3d56160ea30 DIST xsb-3.6.0-gentoo-patchset-4.tar.gz 7513 BLAKE2B cf846dc94e0f1194f5da381b888f4ce6476a4e861cb23e6dca87b0cd2c0ea24c4290ea080432d2c5440f7350cf0862c7fc34e303a8dfe824e2e3e06f29aa4815 SHA512 bb7ba7836fa2df7a54fd2837b4cb760f7ae0e9511bc0a4b2be8cba89ed4aeedda6712937a4748bd9e9ee16366d442fd962a121dbf83017e2199eb3a287efb1d5 DIST xsb-3.7.0-gentoo-patchset-3.tar.gz 5636 BLAKE2B f7b66131d3f02fd75e8b6019f8e64cb6f531155116364da432df41a8f7b3ba2b8d300f7b64bbcae7a755478c6aeb637b36457b491998c88457a96b64e5ecb46e SHA512 bee6d62b900c9ee3a373dfa0ad7362b18c748bb9e0559a878534ed517067d753e1fa79277b0588133a1eeceafcd56b4dcc9ff81892309f6c6666150baaaaf047 +DIST xsb-3.8.0-gentoo-patchset-0.tar.gz 6527 BLAKE2B 8b9efe0612c1a7cabb2987d95c55b659333fcb7c7ec7b5c31f839ef86485d74c46b477632f060d6a2221bfdfb1eb1dabdf4a61b512ffd2bd3fd4d2cc70192e76 SHA512 a8ce81751c3e391bff3e0bf2c8b90eb0887a2cbc5aa2e0f5f6ba80ea4dfbfb677422453b2dde814d50dc0ba0b1adfcecff7589008b06c62834d9093da6cea29c diff --git a/dev-lang/xsb/xsb-3.8.0.ebuild b/dev-lang/xsb/xsb-3.8.0.ebuild new file mode 100644 index 000000000000..7505f7da400f --- /dev/null +++ b/dev-lang/xsb/xsb-3.8.0.ebuild @@ -0,0 +1,198 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PATCHSET_VER="0" + +inherit autotools java-pkg-opt-2 + +DESCRIPTION="XSB is a logic programming and deductive database system" +HOMEPAGE="https://sourceforge.net/projects/xsb/" +SRC_URI="https://sourceforge.net/projects/xsb/downloads/XSB38.tar.gz + https://dev.gentoo.org/~keri/distfiles/xsb/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="curl debug iodbc java mysql odbc pcre threads xml" + +RDEPEND="curl? ( net-misc/curl ) + iodbc? ( dev-db/libiodbc ) + java? ( >=virtual/jdk-1.4:= ) + mysql? ( dev-db/mysql-connector-c:0= ) + odbc? ( dev-db/unixODBC ) + pcre? ( dev-libs/libpcre ) + xml? ( dev-libs/libxml2 )" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/XSB + +PATCHES=( "${WORKDIR}/${PV}" ) + +src_prepare() { + default + cd "${S}"/build + eautoconf +} + +src_configure() { + cd "${S}"/build + + econf \ + --prefix=/usr/$(get_libdir) \ + --disable-optimization \ + --disable-ccmpl \ + --without-smodels \ + $(use_with odbc) \ + $(use_with iodbc) \ + $(use_enable threads mt) \ + $(use_enable debug) + + if use curl ; then + cd "${S}"/packages/curl + econf + fi + + if use mysql ; then + cd "${S}"/packages/dbdrivers/mysql + econf + fi + + if use odbc ; then + cd "${S}"/packages/dbdrivers/odbc + econf + fi + + if use pcre ; then + cd "${S}"/packages/pcre + econf + fi + + if use xml ; then + cd "${S}"/packages/xpath + econf + fi +} + +src_compile() { + cd "${S}"/build + + default + + # All XSB Packages are compiled using a single Prolog engine. + # Consequently they must all be compiled using a single make job. + + cd "${S}"/packages + rm -f *.xwam + emake -j1 + + if use curl ; then + emake -j1 curl + emake -j1 sgml + if use xml ; then + emake -j1 xpath + fi + fi + + if use mysql ; then + emake -j1 mysql + fi + + if use odbc ; then + emake -j1 odbc + fi + + if use pcre ; then + emake -j1 pcre + fi +} + +src_install() { + cd "${S}"/build + default + + local XSB_INSTALL_DIR=/usr/$(get_libdir)/xsb-${PV} + dosym ${XSB_INSTALL_DIR}/bin/xsb /usr/bin/xsb + + cd "${S}"/packages + local PACKAGES=${XSB_INSTALL_DIR}/packages + insinto ${PACKAGES} + doins *.xwam + + insinto ${PACKAGES}/chr + doins chr/*.xwam + + insinto ${PACKAGES}/clpqr + doins clpqr/*.xwam + + insinto ${PACKAGES}/gap + doins gap/*.xwam + + insinto ${PACKAGES}/justify + doins justify/*.xwam + doins justify/*.H + + insinto ${PACKAGES}/regmatch + doins regmatch/*.xwam + insinto ${PACKAGES}/regmatch/cc + doins regmatch/cc/*.H + + insinto ${PACKAGES}/slx + doins slx/*.xwam + + insinto ${PACKAGES}/wildmatch + doins wildmatch/*.xwam + insinto ${PACKAGES}/wildmatch/cc + doins wildmatch/cc/*.H + + if use curl ; then + insinto ${PACKAGES}/curl + doins curl/*.xwam + insinto ${PACKAGES}/curl/cc + doins curl/cc/*.H + insinto ${PACKAGES}/sgml + doins sgml/*.xwam + insinto ${PACKAGES}/sgml/cc + doins sgml/cc/*.H + insinto ${PACKAGES}/sgml/cc/dtd + doins sgml/cc/dtd/* + if use xml ; then + insinto ${PACKAGES}/xpath + doins xpath/*xwam + insinto ${PACKAGES}/xpath/cc + doins xpath/cc/*.H + fi + fi + + if use mysql || use odbc ; then + insinto ${PACKAGES}/dbdrivers + doins dbdrivers/*.xwam + doins dbdrivers/*.H + insinto ${PACKAGES}/dbdrivers/cc + doins dbdrivers/cc/*.H + if use mysql ; then + insinto ${PACKAGES}/dbdrivers/mysql + doins dbdrivers/mysql/*.xwam + insinto ${PACKAGES}/dbdrivers/mysql/cc + doins dbdrivers/mysql/cc/*.H + fi + if use odbc ; then + insinto ${PACKAGES}/dbdrivers/odbc + doins dbdrivers/odbc/*.xwam + insinto ${PACKAGES}/dbdrivers/odbc/cc + doins dbdrivers/odbc/cc/*.H + fi + fi + + if use pcre ; then + insinto ${PACKAGES}/pcre + doins pcre/*.xwam + insinto ${PACKAGES}/pcre/cc + doins pcre/cc/*.H + fi + + cd "${S}" + dodoc FAQ README +} diff --git a/dev-libs/elfutils/elfutils-0.180.ebuild b/dev-libs/elfutils/elfutils-0.180.ebuild index 669226165c62..8138af532b6e 100644 --- a/dev-libs/elfutils/elfutils-0.180.ebuild +++ b/dev-libs/elfutils/elfutils-0.180.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="bzip2 lzma nls static-libs test +threads +utils valgrind" RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] diff --git a/dev-libs/libinput/libinput-1.15.6.ebuild b/dev-libs/libinput/libinput-1.15.6.ebuild index 7ae9b0b06559..612514911a8d 100644 --- a/dev-libs/libinput/libinput-1.15.6.ebuild +++ b/dev-libs/libinput/libinput-1.15.6.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" LICENSE="MIT" SLOT="0/10" [[ "$(ver_cut 3)" -gt 900 ]] || \ -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 sparc ~x86" IUSE="doc input_devices_wacom test" RESTRICT="!test? ( test )" diff --git a/dev-libs/libzia/libzia-4.21.ebuild b/dev-libs/libzia/libzia-4.21.ebuild index 8dae5afda940..94c03871b6e2 100644 --- a/dev-libs/libzia/libzia-4.21.ebuild +++ b/dev-libs/libzia/libzia-4.21.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="ftdi" RDEPEND="dev-libs/glib:2 diff --git a/dev-libs/tomsfastmath/tomsfastmath-0.13.1.ebuild b/dev-libs/tomsfastmath/tomsfastmath-0.13.1.ebuild index 183f6c04c6d8..84470bb7f274 100644 --- a/dev-libs/tomsfastmath/tomsfastmath-0.13.1.ebuild +++ b/dev-libs/tomsfastmath/tomsfastmath-0.13.1.ebuild @@ -17,7 +17,7 @@ LICENSE="Unlicense" # https://abi-laboratory.pro/index.php?view=timeline&l=tomsfastmath SLOT="0/1" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86" PATCHES=( "${FILESDIR}/${P}-makefile-fix.patch" diff --git a/dev-perl/Data-Stag/Data-Stag-0.140.0-r2.ebuild b/dev-perl/Data-Stag/Data-Stag-0.140.0-r2.ebuild new file mode 100644 index 000000000000..30bb7e699658 --- /dev/null +++ b/dev-perl/Data-Stag/Data-Stag-0.140.0-r2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=CMUNGALL +DIST_VERSION=0.14 +inherit perl-module + +DESCRIPTION="Structured Tags datastructures" +HOMEPAGE="https://sourceforge.net/projects/stag/ https://metacpan.org/release/Data-Stag" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-perl/IO-String" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker +" diff --git a/dev-perl/Data-Stream-Bulk/Data-Stream-Bulk-0.110.0-r2.ebuild b/dev-perl/Data-Stream-Bulk/Data-Stream-Bulk-0.110.0-r2.ebuild new file mode 100644 index 000000000000..b74718c9ed9f --- /dev/null +++ b/dev-perl/Data-Stream-Bulk/Data-Stream-Bulk-0.110.0-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=DOY +DIST_VERSION=${PV:0:4} +inherit perl-module + +DESCRIPTION="N at a time iteration API" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-perl/Moose-0.900.0 + dev-perl/Path-Class + dev-perl/Sub-Exporter + dev-perl/namespace-clean +" +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.300.0 + test? ( + dev-perl/Test-Requires + >=virtual/perl-Test-Simple-0.880.0 + ) +" +PERL_RM_FILES=( + "t/release-eol.t" + "t/release-pod-coverage.t" + "t/release-pod-syntax.t" +) diff --git a/dev-python/pythondialog/pythondialog-3.5.1.ebuild b/dev-python/pythondialog/pythondialog-3.5.1.ebuild index 5dd3447b0582..8e2cbead7178 100644 --- a/dev-python/pythondialog/pythondialog-3.5.1.ebuild +++ b/dev-python/pythondialog/pythondialog-3.5.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/pythondialog/${PV}/python3-${P}.tar.bz2" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~ia64 ppc sparc ~x86" RDEPEND="dev-util/dialog" diff --git a/dev-python/scrypt/scrypt-0.8.15.ebuild b/dev-python/scrypt/scrypt-0.8.15.ebuild index bbecfe7218ee..dbfa29411a4d 100644 --- a/dev-python/scrypt/scrypt-0.8.15.ebuild +++ b/dev-python/scrypt/scrypt-0.8.15.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/holgern/py-scrypt/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" SLOT="0" IUSE="libressl" diff --git a/dev-python/setuptools/setuptools-46.4.0-r1.ebuild b/dev-python/setuptools/setuptools-46.4.0-r1.ebuild index d2c62194e941..c6933e0ee478 100644 --- a/dev-python/setuptools/setuptools-46.4.0-r1.ebuild +++ b/dev-python/setuptools/setuptools-46.4.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/trustme/trustme-0.6.0.ebuild b/dev-python/trustme/trustme-0.6.0.ebuild index 36f5d8ad014d..30dcbd30e2db 100644 --- a/dev-python/trustme/trustme-0.6.0.ebuild +++ b/dev-python/trustme/trustme-0.6.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 ~s390 sparc x86" RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] dev-python/idna[${PYTHON_USEDEP}] diff --git a/dev-python/urllib3/urllib3-1.25.9.ebuild b/dev-python/urllib3/urllib3-1.25.9.ebuild index 82e4aafb2013..5b5cb800aa0c 100644 --- a/dev-python/urllib3/urllib3-1.25.9.ebuild +++ b/dev-python/urllib3/urllib3-1.25.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~ppc ~ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 ~s390 sparc x86" IUSE="brotli test" RESTRICT="!test? ( test )" diff --git a/eclass/golang-common.eclass b/eclass/golang-common.eclass index 9cdcc41d9502..4357ef55e205 100644 --- a/eclass/golang-common.eclass +++ b/eclass/golang-common.eclass @@ -168,6 +168,10 @@ GOLANG_PKG_VENDOR=() # This eclass defaults to an empty list. GOLANG_PKG_STATIK="${GOLANG_PKG_STATIK:-}" +# @ECLASS-VARIABLE: GOLANG_PKG_USE_MODULES +# @DESCRIPTION: +# Set to enable the compilation of the package with Go modules support. + # @ECLASS-VARIABLE: GO # @DEFAULT_UNSET @@ -399,7 +403,10 @@ golang_setup() { export CGO_ENABLED #export GOEXPERIMENT #export GO15VENDOREXPERIMENT=0 - export GO111MODULE="off" + + GO111MODULE="off" + [[ -z ${GOLANG_PKG_USE_MODULES} ]] || GO111MODULE="on" + export GO111MODULE debug-print "${FUNCNAME}: GOPATH = ${GOPATH}" debug-print "${FUNCNAME}: GOBIN = ${GOBIN}" @@ -556,7 +563,6 @@ golang-common_src_prepare() { golang_add_vendor "${VENDOR}" fi - # Evaluates PATCHES array. default_src_prepare } diff --git a/games-util/steam-launcher/Manifest b/games-util/steam-launcher/Manifest index f21a1790f532..3a93a1410923 100644 --- a/games-util/steam-launcher/Manifest +++ b/games-util/steam-launcher/Manifest @@ -1 +1 @@ -DIST steam_1.0.0.62.tar.gz 3000116 BLAKE2B 2a033f9e3449dc839aa31c82cde0d8aeb20467425dc3253a721c13b0d068d731e4dab94cb7840febbdfd5c67e39aed2dc3b5a05d0587470f1399d7c8a3c806ea SHA512 0f1638d17ed28f8d8710e31391c516df631f42f5b3f187fa2b8227e9e1819b48a4c9fbca1ee35e7c1de6f3b52135a67ce720f26c531767ade7f0e242a8599e84 +DIST steam_1.0.0.64.tar.gz 3013735 BLAKE2B f8e19a768ecc507fa503ad774ce2bbf31f79f8bbaf205d687153a523761cb067ae83b718a0954ec6389dbdc7b97001932163efd888de7c73a12e1dec7e429dab SHA512 4a287b993d0ba6f49041d116512a28ca827eeac280808b70542d304f0de2d489be1f75d66d614f65ae11686a78e0d026b12e983ead7843e9ad0a28f1d21bdf4c diff --git a/games-util/steam-launcher/metadata.xml b/games-util/steam-launcher/metadata.xml new file mode 100644 index 000000000000..2038b81bdb2f --- /dev/null +++ b/games-util/steam-launcher/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev@kicherer.org</email> + <name>Mario Kicherer</name> + </maintainer> + <longdescription> + This ebuild installs common files for the Steam environment, + like bootstrap archive and icons, but not the client itself. + </longdescription> + <upstream> + <bugs-to>https://github.com/anyc/steam-overlay</bugs-to> + </upstream> + <use> + <flag name='steamruntime'>Use the official steam runtime libraries</flag> + </use> + <origin>steam-overlayl</origin> +</pkgmetadata> diff --git a/games-util/steam-launcher/steam-launcher-1.0.0.62.ebuild b/games-util/steam-launcher/steam-launcher-1.0.0.64.ebuild index 501d823dd171..350d9e8c7d5b 100644 --- a/games-util/steam-launcher/steam-launcher-1.0.0.62.ebuild +++ b/games-util/steam-launcher/steam-launcher-1.0.0.64.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://repo-steampowered-com.steamos.cloud/steam/pool/steam/s/steam/st LICENSE="ValveSteamLicense MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="~amd64 ~x86" IUSE="+steamruntime" RESTRICT="bindist mirror test" diff --git a/mail-client/thunderbird/thunderbird-68.10.0.ebuild b/mail-client/thunderbird/thunderbird-68.10.0.ebuild index 5a073e4dc807..5da743f127c7 100644 --- a/mail-client/thunderbird/thunderbird-68.10.0.ebuild +++ b/mail-client/thunderbird/thunderbird-68.10.0.ebuild @@ -48,7 +48,7 @@ inherit check-reqs eapi7-ver flag-o-matic toolchain-funcs eutils \ DESCRIPTION="Thunderbird Mail Client" HOMEPAGE="https://www.mozilla.org/thunderbird" -KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" SLOT="0" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" @@ -132,6 +132,9 @@ DEPEND="${CDEPEND} >=net-libs/nodejs-8.11.0 >=sys-devel/binutils-2.30 sys-apps/findutils + virtual/pkgconfig + >=virtual/rust-1.34.0 + <virtual/rust-1.45.0 || ( ( sys-devel/clang:10 @@ -171,7 +174,6 @@ DEPEND="${CDEPEND} ) ) pulseaudio? ( media-sound/pulseaudio ) - >=virtual/rust-1.34.0 wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) amd64? ( >=dev-lang/yasm-1.1 virtual/opengl ) x86? ( >=dev-lang/yasm-1.1 virtual/opengl ) @@ -290,6 +292,12 @@ src_prepare() { "${S}"/build/moz.configure/toolchain.configure \ || die "sed failed to set num_cores" + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + # Enable gnomebreakpad if use debug ; then sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.24.0.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.24.0.ebuild index 98c31ab09eb6..16e1e40cdfdb 100644 --- a/mate-extra/mate-screensaver/mate-screensaver-1.24.0.ebuild +++ b/mate-extra/mate-screensaver/mate-screensaver-1.24.0.ebuild @@ -36,7 +36,6 @@ COMMON_DEPEND=" x11-libs/libXext x11-libs/libXrandr x11-libs/libXScrnSaver - x11-libs/libXxf86misc x11-libs/libXxf86vm x11-libs/libxklavier x11-libs/pango diff --git a/mate-extra/mate-utils/mate-utils-1.24.0.ebuild b/mate-extra/mate-utils/mate-utils-1.24.0-r1.ebuild index bf3d5637929c..2e100ad69552 100644 --- a/mate-extra/mate-utils/mate-utils-1.24.0.ebuild +++ b/mate-extra/mate-utils/mate-utils-1.24.0-r1.ebuild @@ -43,6 +43,7 @@ DEPEND="${RDEPEND} >=dev-util/intltool-0.50.1 gnome-base/librsvg sys-devel/gettext + sys-fs/udisks:2 virtual/pkgconfig x11-base/xorg-proto" diff --git a/media-fonts/terminus-font/terminus-font-4.48-r2.ebuild b/media-fonts/terminus-font/terminus-font-4.48-r2.ebuild index 03692dbb9fd3..022d6ebeac43 100644 --- a/media-fonts/terminus-font/terminus-font-4.48-r2.ebuild +++ b/media-fonts/terminus-font/terminus-font-4.48-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz" LICENSE="OFL-1.1 GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="a-like-o +center-tilde distinct-l otf +pcf +pcf-unicode-only +psf quote ru-dv +ru-g ru-i ru-k" diff --git a/media-gfx/nomacs/nomacs-3.14.2.ebuild b/media-gfx/nomacs/nomacs-3.14.2.ebuild index ff12e28b2c9e..399cf622d2d9 100644 --- a/media-gfx/nomacs/nomacs-3.14.2.ebuild +++ b/media-gfx/nomacs/nomacs-3.14.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" +KEYWORDS="amd64 x86 ~amd64-linux" IUSE="+jpeg +opencv plugins raw tiff zip" REQUIRED_USE=" diff --git a/media-libs/libglvnd/libglvnd-1.3.2.ebuild b/media-libs/libglvnd/libglvnd-1.3.2.ebuild index 4c976349c6d9..1408e6fdc7dc 100644 --- a/media-libs/libglvnd/libglvnd-1.3.2.ebuild +++ b/media-libs/libglvnd/libglvnd-1.3.2.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://gitlab.freedesktop.org/glvnd/libglvnd" if [[ ${PV} = 9999* ]]; then SRC_URI="" else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc ~x86" SRC_URI="https://gitlab.freedesktop.org/glvnd/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" S=${WORKDIR}/${PN}-v${PV} fi diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest index bcce992d6067..e55717b0fb51 100644 --- a/media-libs/libtgvoip/Manifest +++ b/media-libs/libtgvoip/Manifest @@ -1,3 +1 @@ -DIST libtgvoip-2.4.4_p20200430.tar.gz 1481816 BLAKE2B 82bf6b880f28c9b63f547e473547298e25ea3b7e35b3a832a7375b0ae3a745ea3b5d55f5e635ec678e388a608532a14de85f50828da1dbc9ed77dc23be64b9e0 SHA512 f3130c50dfa7d3f710809bb72fb71d1b246bc91e9f8f413e704499011c8ff01f87a7226315f7cfd6edf2d2b8b6c875508185f516792ff5db74556aface33cdb4 -DIST libtgvoip-2.4.4_p20200525.tar.gz 1482357 BLAKE2B 9324165a2818f3d6907fb80403c8df83e196e7566161d781f5608c2bc4fc0f34a4b69883202ac1a9d20d783d363534c11436cedcd24fa93c092eaca97369734e SHA512 5c9fbbccde8fb7dbe8076cda53a3ec80f633493c9b3016627307463dca3426623703cd28ea7ad360bd9ff7c062edecd04787b9f8a32c439cc6622d8680d624c0 DIST libtgvoip-2.4.4_p20200704.tar.gz 1090620 BLAKE2B 27880d296eef108613cb9330344bfc133efcd7b3fc82b7e793cf623187ff491f44021d1a47703949a0b830ae50106ed2d5b41e26cb6f5849b69b836a592112ff SHA512 ffff8ce9b991e03a2b0fb9b71e04311151081b7c682f728ae7d50a88a87470249d9f6841b24df3264245c5027a06da004d9022bf3652c4f11d03b2058e00d895 diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200430.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200430.ebuild deleted file mode 100644 index 3438d6218474..000000000000 --- a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200430.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -EGIT_COMMIT="a045c9eea47b371c0c514c72c76172a211c894cb" - -DESCRIPTION="VoIP library for Telegram clients" -HOMEPAGE="https://github.com/telegramdesktop/libtgvoip" -SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="amd64 ~ppc64" -IUSE="+alsa +dsp libressl pulseaudio" - -DEPEND=" - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - media-libs/opus:= - alsa? ( media-libs/alsa-lib ) - pulseaudio? ( media-sound/pulseaudio ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -REQUIRED_USE="|| ( alsa pulseaudio )" - -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myconf=( - --disable-static - $(use_enable dsp) - $(use_with alsa) - $(use_with pulseaudio pulse) - ) - - econf "${myconf[@]}" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200525.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200525.ebuild deleted file mode 100644 index 89791a76dd27..000000000000 --- a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200525.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -EGIT_COMMIT="d2e63429ec94ee178a62b55be01f1cca98e9de83" - -DESCRIPTION="VoIP library for Telegram clients" -HOMEPAGE="https://github.com/telegramdesktop/libtgvoip" -SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" -IUSE="+alsa +dsp libressl pulseaudio" - -DEPEND=" - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - media-libs/opus:= - alsa? ( media-libs/alsa-lib ) - pulseaudio? ( media-sound/pulseaudio ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -REQUIRED_USE="|| ( alsa pulseaudio )" - -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -src_prepare() { - default - sed -i 's/-std=gnu++0x/-std=gnu++17/' Makefile.am || die - eautoreconf -} - -src_configure() { - local myconf=( - --disable-static - $(use_enable dsp) - $(use_with alsa) - $(use_with pulseaudio pulse) - ) - - econf "${myconf[@]}" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200704.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200704.ebuild index 23d709725b3d..cd168857e579 100644 --- a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200704.ebuild +++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200704.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${EGIT_COMMIT}.tar LICENSE="Unlicense" SLOT="0" -KEYWORDS="~amd64 ~ppc64" +KEYWORDS="amd64 ~ppc64" IUSE="+alsa +dsp libressl pulseaudio" DEPEND=" diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild index 8d0db38492a4..43bc28dbfd90 100644 --- a/media-libs/openh264/openh264-2.1.1.ebuild +++ b/media-libs/openh264/openh264-2.1.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz" LICENSE="BSD" SLOT="0/6" # subslot = openh264 soname version -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86" IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils" RESTRICT="bindist test" diff --git a/media-radio/fldigi/fldigi-4.1.12.ebuild b/media-radio/fldigi/fldigi-4.1.12.ebuild index 0c33ebb3d5a1..7bc2581bb6b1 100644 --- a/media-radio/fldigi/fldigi-4.1.12.ebuild +++ b/media-radio/fldigi/fldigi-4.1.12.ebuild @@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="hamlib nls pulseaudio" IUSE_CPU_FLAGS=" sse sse2 sse3" IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}" diff --git a/media-radio/flrig/flrig-1.3.50.ebuild b/media-radio/flrig/flrig-1.3.50.ebuild index a5aa1cb1245b..4ef7a8be2d1a 100644 --- a/media-radio/flrig/flrig-1.3.50.ebuild +++ b/media-radio/flrig/flrig-1.3.50.ebuild @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="nls" DOCS=(AUTHORS ChangeLog README) diff --git a/media-radio/tlf/tlf-1.4.1.ebuild b/media-radio/tlf/tlf-1.4.1.ebuild index fbc95f403f4a..841b23b3d149 100644 --- a/media-radio/tlf/tlf-1.4.1.ebuild +++ b/media-radio/tlf/tlf-1.4.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/media-radio/tucnak/tucnak-4.21.ebuild b/media-radio/tucnak/tucnak-4.21.ebuild index 71a755a37fdf..af213f5c2a4b 100644 --- a/media-radio/tucnak/tucnak-4.21.ebuild +++ b/media-radio/tucnak/tucnak-4.21.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="alsa fftw gpm hamlib suid" RDEPEND="dev-libs/glib:2 diff --git a/media-radio/unixcw/unixcw-3.5.1-r1.ebuild b/media-radio/unixcw/unixcw-3.5.1-r1.ebuild index 83e3eb080c70..bff20b150206 100644 --- a/media-radio/unixcw/unixcw-3.5.1-r1.ebuild +++ b/media-radio/unixcw/unixcw-3.5.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~x86" +KEYWORDS="~alpha ~amd64 ppc x86" IUSE="alsa ncurses pulseaudio suid test qt5" RESTRICT="!test? ( test )" diff --git a/media-radio/xastir/xastir-2.1.6.ebuild b/media-radio/xastir/xastir-2.1.6.ebuild index d95f1b14e82d..fb1f2ec46e23 100644 --- a/media-radio/xastir/xastir-2.1.6.ebuild +++ b/media-radio/xastir/xastir-2.1.6.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/Xastir/Xastir/archive/Release-${PV}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="geotiff +graphicsmagick" DEPEND=">=x11-libs/motif-2.3:0 diff --git a/media-sound/hydrogen/hydrogen-1.0.0_rc1.ebuild b/media-sound/hydrogen/hydrogen-1.0.0_rc1.ebuild index 3f1babc28bff..359381e27ac5 100644 --- a/media-sound/hydrogen/hydrogen-1.0.0_rc1.ebuild +++ b/media-sound/hydrogen/hydrogen-1.0.0_rc1.ebuild @@ -11,11 +11,11 @@ HOMEPAGE="https://www.hydrogen-music.org/" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/${PN}-music/${PN}" - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + KEYWORDS="amd64 ~ppc ~ppc64 x86" else MY_PV=${PV/_/-} SRC_URI="https://github.com/${PN}-music/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + KEYWORDS="amd64 ~ppc ~ppc64 x86" S="${WORKDIR}"/${PN}-${MY_PV} fi diff --git a/media-sound/kid3/kid3-3.8.3.ebuild b/media-sound/kid3/kid3-3.8.3.ebuild index fea30cf58c3f..e547876a20a7 100644 --- a/media-sound/kid3/kid3-3.8.3.ebuild +++ b/media-sound/kid3/kid3-3.8.3.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://kid3.kde.org/" if [[ ${KDE_BUILD_TYPE} != live ]]; then SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 x86" fi LICENSE="GPL-2+" diff --git a/media-video/ffmpeg/ffmpeg-4.2.4.ebuild b/media-video/ffmpeg/ffmpeg-4.2.4.ebuild index b4ba9f045b8f..a6eba778d934 100644 --- a/media-video/ffmpeg/ffmpeg-4.2.4.ebuild +++ b/media-video/ffmpeg/ffmpeg-4.2.4.ebuild @@ -62,7 +62,7 @@ LICENSE=" samba? ( GPL-3 ) " if [ "${PV#9999}" = "${PV}" ] ; then - KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" fi # Options to use as use_enable in the foo[:bar] form. diff --git a/net-analyzer/cacti-spine/cacti-spine-1.2.13.ebuild b/net-analyzer/cacti-spine/cacti-spine-1.2.13.ebuild index 1b9fcf0b8e25..c8ca4a48050f 100644 --- a/net-analyzer/cacti-spine/cacti-spine-1.2.13.ebuild +++ b/net-analyzer/cacti-spine/cacti-spine-1.2.13.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.cacti.net/downloads/spine/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 sparc x86" IUSE="libressl" CDEPEND=" diff --git a/net-analyzer/cacti/cacti-1.2.13.ebuild b/net-analyzer/cacti/cacti-1.2.13.ebuild index 39482a004fee..5099189ca704 100644 --- a/net-analyzer/cacti/cacti-1.2.13.ebuild +++ b/net-analyzer/cacti/cacti-1.2.13.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://www.cacti.net/" SRC_URI="https://www.cacti.net/downloads/${MY_P}.tar.gz" LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 sparc x86" IUSE="snmp doc" need_httpd diff --git a/net-dns/bind-tools/bind-tools-9.16.4.ebuild b/net-dns/bind-tools/bind-tools-9.16.4.ebuild index 65efa1537bef..4ef91a197ffd 100644 --- a/net-dns/bind-tools/bind-tools-9.16.4.ebuild +++ b/net-dns/bind-tools/bind-tools-9.16.4.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://downloads.isc.org/isc/bind9/${PV}/${MY_P}.tar.xz" LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="+caps doc gssapi idn ipv6 libedit libressl readline xml" # no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 diff --git a/net-firewall/ebtables/ebtables-2.0.11-r2.ebuild b/net-firewall/ebtables/ebtables-2.0.11-r2.ebuild index eb1d5b096259..f63c4f7ad065 100644 --- a/net-firewall/ebtables/ebtables-2.0.11-r2.ebuild +++ b/net-firewall/ebtables/ebtables-2.0.11-r2.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~x86" IUSE="+perl static" BDEPEND=">=app-eselect/eselect-iptables-20200508" diff --git a/net-im/telegram-desktop/Manifest b/net-im/telegram-desktop/Manifest index bb07ebfca987..baec09df3b84 100644 --- a/net-im/telegram-desktop/Manifest +++ b/net-im/telegram-desktop/Manifest @@ -1,5 +1,2 @@ -DIST tdesktop-2.1.0-full.tar.gz 26133964 BLAKE2B c5eb476ea3ed02c2618e5b770bdce365bcf0d6124f75558570189e07e9dcd9f6f3282d53fec621be736cbd1269a9dd820629d4d9a36167d8f71109bfcd5a52e2 SHA512 46f5453c64d1dbd4cf8adde73fcc48e6b6f795972ab0f6516cb55112f47d5af990a049da356bedb81e6d3f7103c14a7be45369ff9a5a1812c07a1bfcda70646d -DIST tdesktop-2.1.11-full.tar.gz 36548657 BLAKE2B 969ee0b680cb225c86bbab25e792b9fa21182227d73f062700ac56f08de83b249cca41d661c711e1a7dbcbeeeda70ddb13535403bee6f001ea10c4864b995c67 SHA512 9f2fba2814a5ab64f946913e32fce66dbc842d9607cbaee00994689ef6a661a04c2a8de5e075fc532e7d8926b51432c06c2b1510b019d729eef40da373d91d42 -DIST tdesktop-2.1.12-full.tar.gz 36549678 BLAKE2B 0a973f8f560ccd30a35f172d4a63af9b4d16601af47f2ed71f37f6c3845e328501a79062f2917f37842248646b60ff3d88f8444d75df8bbae967969907cd3a83 SHA512 961f7e4900f782d58d5d1b1045590a7029777c3daa8d26f47a61663de9ab0c3c3cdfa7507c0710af2fb231e480ffe67de0bcbd61b72acb751ae8133b73d86cff DIST tdesktop-2.1.13-full.tar.gz 36549505 BLAKE2B 48514be8add4ad4491c8e81a868f140228787ee489de7cd90faf31dbee959b0fb87cf2c844bf98c5b62fd6de8e32f504a6d19b071c56e6a4c0cd489d7b283818 SHA512 f28ae7c8c9a9eb8094fc52784742b470235234a3df7487902152858bc7c297b2dcfe5c8b939cdb9653a356b3835609e7289f53cdf7d5fb3f009823d3dbeb1bd8 DIST tdesktop-2.1.18-full.tar.gz 36579968 BLAKE2B 49b0d8e6fd1233588601fdd39ba22f1686ad2d9900e71ebdadc3f0c8870bb2c752e60f437795ab484d87899aad7edcc7e530ae3c640d9a875f889d004c83e525 SHA512 e7c1df200ac5ca8f0d3cb244e9a5daf49996046176488046d8d503ecfbf67d91bec9504fb712cfd649ae5cc0bed1cbbfc78e3a9fd6bed95c558cf51cb014dd66 diff --git a/net-im/telegram-desktop/files/2.1.0-kde-dir.patch b/net-im/telegram-desktop/files/2.1.0-kde-dir.patch deleted file mode 100644 index b936275e3613..000000000000 --- a/net-im/telegram-desktop/files/2.1.0-kde-dir.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 7bc86cc9af28ba3d04a5cb69f6f7c16bfe7f8719 Mon Sep 17 00:00:00 2001 -From: Ilya Fedin <fedin-ilja2010@ya.ru> -Date: Tue, 21 Apr 2020 23:05:17 +0400 -Subject: [PATCH] Fix directory opening with portal and use them by default - with KDE - ---- - .../SourceFiles/platform/linux/file_utilities_linux.cpp | 6 +++--- - Telegram/SourceFiles/platform/linux/specific_linux.cpp | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp -index 47dd56a411..88f8a69a91 100644 ---- a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp -+++ b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp -@@ -83,11 +83,11 @@ constexpr auto kPreviewHeight = 512; - using Type = ::FileDialog::internal::Type; - - #ifndef TDESKTOP_DISABLE_GTK_INTEGRATION --bool NativeSupported() { -+bool NativeSupported(Type type = Type::ReadFile) { - #ifndef TDESKTOP_FORCE_GTK_FILE_DIALOG - return false; - #endif // TDESKTOP_FORCE_GTK_FILE_DIALOG -- return !Platform::UseXDGDesktopPortal() -+ return (!Platform::UseXDGDesktopPortal() || type == Type::ReadFolder) - && Platform::internal::GdkHelperLoaded() - && (Libs::gtk_widget_hide_on_delete != nullptr) - && (Libs::gtk_clipboard_store != nullptr) -@@ -192,7 +192,7 @@ bool Get( - parent = parent->window(); - } - #ifndef TDESKTOP_DISABLE_GTK_INTEGRATION -- if (NativeSupported()) { -+ if (NativeSupported(type)) { - return GetNative( - parent, - files, -diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -index 0bb3963420..c12e5a0780 100644 ---- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp -+++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -@@ -266,7 +266,7 @@ bool UseXDGDesktopPortal() { - const auto envVar = qEnvironmentVariableIsSet("TDESKTOP_USE_PORTAL"); - const auto portalPresent = IsXDGDesktopPortalPresent(); - -- return envVar && portalPresent; -+ return (DesktopEnvironment::IsKDE() || envVar) && portalPresent; - }(); - - return UsePortal; diff --git a/net-im/telegram-desktop/files/telegram-desktop-qt5.15.patch b/net-im/telegram-desktop/files/telegram-desktop-qt5.15.patch deleted file mode 100644 index 80c02b10db2b..000000000000 --- a/net-im/telegram-desktop/files/telegram-desktop-qt5.15.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -ru tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/animation_value.h tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/animation_value.h ---- tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/animation_value.h 2020-05-24 09:44:41.000000000 +0200 -+++ tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/animation_value.h 2020-05-26 20:31:34.381796057 +0200 -@@ -10,6 +10,8 @@ - - #include "ui/style/style_core.h" - -+#include <QPainterPath> -+ - namespace anim { - - enum class type { -diff -ru tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/cross_animation.cpp tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/cross_animation.cpp ---- tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/cross_animation.cpp 2020-05-24 09:44:41.000000000 +0200 -+++ tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/cross_animation.cpp 2020-05-26 20:32:16.340015129 +0200 -@@ -10,6 +10,7 @@ - #include "ui/painter.h" - - #include <QtCore/QtMath> -+#include <QPainterPath> - - namespace Ui { - namespace { diff --git a/net-im/telegram-desktop/telegram-desktop-2.1.0-r1.ebuild b/net-im/telegram-desktop/telegram-desktop-2.1.0-r1.ebuild deleted file mode 100644 index 11e09aa8bed7..000000000000 --- a/net-im/telegram-desktop/telegram-desktop-2.1.0-r1.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) - -inherit cmake desktop flag-o-matic python-any-r1 xdg-utils - -MY_P="tdesktop-${PV}-full" - -DESCRIPTION="Official desktop client for Telegram" -HOMEPAGE="https://desktop.telegram.org" -SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${MY_P}.tar.gz" - -LICENSE="GPL-3-with-openssl-exception" -SLOT="0" -KEYWORDS="amd64 ~ppc64" -IUSE="+alsa +dbus enchant +hunspell libressl pulseaudio +spell wayland +X" - -RDEPEND=" - !net-im/telegram-desktop-bin - app-arch/lz4:= - app-arch/xz-utils - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - dev-libs/xxhash - dev-qt/qtcore:5 - dev-qt/qtgui:5[jpeg,png,wayland?,X(-)?] - dev-qt/qtimageformats:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5[png,X(-)?] - media-fonts/open-sans - media-libs/fontconfig:= - >=media-libs/libtgvoip-2.4.4_p20200301[alsa?,pulseaudio?] - media-libs/openal[alsa?,pulseaudio?] - media-libs/opus:= - media-video/ffmpeg:=[alsa?,opus,pulseaudio?] - sys-libs/zlib[minizip] - virtual/libiconv - dbus? ( - dev-qt/qtdbus:5 - dev-libs/libdbusmenu-qt[qt5(+)] - ) - enchant? ( app-text/enchant:= ) - hunspell? ( >=app-text/hunspell-1.7:= ) - pulseaudio? ( media-sound/pulseaudio ) -" - -DEPEND=" - ${PYTHON_DEPS} - ${RDEPEND} - ~dev-cpp/ms-gsl-2.1.0 - dev-cpp/range-v3 -" - -BDEPEND=" - >=dev-util/cmake-3.16 - virtual/pkgconfig -" - -REQUIRED_USE=" - || ( alsa pulseaudio ) - || ( X wayland ) - spell? ( - ^^ ( enchant hunspell ) - ) -" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${PV}-kde-dir.patch" - "${FILESDIR}/${PN}-qt5.15.patch" -) - -src_configure() { - local mycxxflags=( - -Wno-deprecated-declarations - -Wno-error=deprecated-declarations - -Wno-switch - ) - - append-cxxflags "${mycxxflags[@]}" - - # TODO: unbundle header-only libs, ofc telegram uses git versions... - # it fals with tl-expected-1.0.0, so we use bundled for now to avoid git rev snapshots - # EXPECTED VARIANT - local mycmakeargs=( - -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON - -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF - -DDESKTOP_APP_USE_PACKAGED=ON - -DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF - -DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF - -DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF - -DTDESKTOP_LAUNCHER_BASENAME="${PN}" - -DDESKTOP_APP_DISABLE_DBUS_INTEGRATION="$(usex dbus OFF ON)" - -DDESKTOP_APP_DISABLE_SPELLCHECK="$(usex spell OFF ON)" # enables hunspell (recommended) - -DDESKTOP_APP_USE_ENCHANT="$(usex enchant ON OFF)" # enables enchant and disables hunspell - ) - - if [[ -n ${MY_TDESKTOP_API_ID} && -n ${MY_TDESKTOP_API_HASH} ]]; then - einfo "Found custom API credentials" - mycmakeargs+=( - -DTDESKTOP_API_ID="${MY_TDESKTOP_API_ID}" - -DTDESKTOP_API_HASH="${MY_TDESKTOP_API_HASH}" - ) - else - # https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml - # Building with snapcraft API credentials by default - # Custom API credentials can be obtained here: - # https://github.com/telegramdesktop/tdesktop/blob/dev/docs/api_credentials.md - # After getting credentials you can export variables: - # export MY_TDESKTOP_API_ID="17349"" - # export MY_TDESKTOP_API_HASH="344583e45741c457fe1862106095a5eb" - # and restart the build" - # you can set above variables (without export) in /etc/portage/env/net-im/telegram-desktop - # portage will use custom variable every build automatically - mycmakeargs+=( - -DTDESKTOP_API_ID="611335" - -DTDESKTOP_API_HASH="d524b414d21f4d37f08684c1df41ac9c" - ) - fi - - cmake_src_configure -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} diff --git a/net-im/telegram-desktop/telegram-desktop-2.1.11-r1.ebuild b/net-im/telegram-desktop/telegram-desktop-2.1.11-r1.ebuild deleted file mode 100644 index c22c68053cc4..000000000000 --- a/net-im/telegram-desktop/telegram-desktop-2.1.11-r1.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) - -inherit cmake desktop flag-o-matic python-any-r1 xdg-utils - -MY_P="tdesktop-${PV}-full" - -DESCRIPTION="Official desktop client for Telegram" -HOMEPAGE="https://desktop.telegram.org" -SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${MY_P}.tar.gz" - -LICENSE="GPL-3-with-openssl-exception" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" -IUSE="+alsa +dbus enchant +hunspell libressl pulseaudio +spell wayland +X" - -RDEPEND=" - !net-im/telegram-desktop-bin - app-arch/lz4:= - app-arch/xz-utils - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - dev-libs/xxhash - dev-qt/qtcore:5 - dev-qt/qtgui:5[jpeg,png,wayland?,X(-)?] - dev-qt/qtimageformats:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5[png,X(-)?] - media-fonts/open-sans - media-libs/fontconfig:= - >=media-libs/libtgvoip-2.4.4_p20200525[alsa?,pulseaudio?] - media-libs/openal[alsa?,pulseaudio?] - media-libs/opus:= - media-video/ffmpeg:=[alsa?,opus,pulseaudio?] - sys-libs/zlib[minizip] - virtual/libiconv - dbus? ( - dev-qt/qtdbus:5 - dev-libs/libdbusmenu-qt[qt5(+)] - ) - enchant? ( app-text/enchant:= ) - hunspell? ( >=app-text/hunspell-1.7:= ) - pulseaudio? ( media-sound/pulseaudio ) -" - -DEPEND=" - ${PYTHON_DEPS} - ${RDEPEND} - dev-cpp/range-v3 - =dev-cpp/ms-gsl-3* -" - -BDEPEND=" - >=dev-util/cmake-3.16 - virtual/pkgconfig -" - -REQUIRED_USE=" - || ( alsa pulseaudio ) - || ( X wayland ) - spell? ( - ^^ ( enchant hunspell ) - ) -" - -S="${WORKDIR}/${MY_P}" - -pkg_pretend() { - if has ccache ${FEATURES}; then - ewarn - ewarn "ccache does not work with ${PN} out of the box" - ewarn "due to usage of precompiled headers" - ewarn "check bug https://bugs.gentoo.org/715114 for more info" - ewarn - fi -} - -src_configure() { - local mycxxflags=( - -Wno-deprecated-declarations - -Wno-error=deprecated-declarations - -Wno-switch - ) - - append-cxxflags "${mycxxflags[@]}" - - # TODO: unbundle header-only libs, ofc telegram uses git versions... - # it fals with tl-expected-1.0.0, so we use bundled for now to avoid git rev snapshots - # EXPECTED VARIANT - local mycmakeargs=( - -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON - -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF - -DDESKTOP_APP_USE_PACKAGED=ON - -DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF - -DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF - -DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF - -DTDESKTOP_LAUNCHER_BASENAME="${PN}" - -DDESKTOP_APP_DISABLE_DBUS_INTEGRATION="$(usex dbus OFF ON)" - -DDESKTOP_APP_DISABLE_SPELLCHECK="$(usex spell OFF ON)" # enables hunspell (recommended) - -DDESKTOP_APP_USE_ENCHANT="$(usex enchant ON OFF)" # enables enchant and disables hunspell - ) - - if [[ -n ${MY_TDESKTOP_API_ID} && -n ${MY_TDESKTOP_API_HASH} ]]; then - einfo "Found custom API credentials" - mycmakeargs+=( - -DTDESKTOP_API_ID="${MY_TDESKTOP_API_ID}" - -DTDESKTOP_API_HASH="${MY_TDESKTOP_API_HASH}" - ) - else - # https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml - # Building with snapcraft API credentials by default - # Custom API credentials can be obtained here: - # https://github.com/telegramdesktop/tdesktop/blob/dev/docs/api_credentials.md - # After getting credentials you can export variables: - # export MY_TDESKTOP_API_ID="17349"" - # export MY_TDESKTOP_API_HASH="344583e45741c457fe1862106095a5eb" - # and restart the build" - # you can set above variables (without export) in /etc/portage/env/net-im/telegram-desktop - # portage will use custom variable every build automatically - mycmakeargs+=( - -DTDESKTOP_API_ID="611335" - -DTDESKTOP_API_HASH="d524b414d21f4d37f08684c1df41ac9c" - ) - fi - - cmake_src_configure -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} diff --git a/net-im/telegram-desktop/telegram-desktop-2.1.12.ebuild b/net-im/telegram-desktop/telegram-desktop-2.1.12.ebuild deleted file mode 100644 index 339746697842..000000000000 --- a/net-im/telegram-desktop/telegram-desktop-2.1.12.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) - -inherit cmake desktop flag-o-matic python-any-r1 xdg-utils - -MY_P="tdesktop-${PV}-full" - -DESCRIPTION="Official desktop client for Telegram" -HOMEPAGE="https://desktop.telegram.org" -SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${MY_P}.tar.gz" - -LICENSE="GPL-3-with-openssl-exception" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" -IUSE="+alsa +dbus enchant +hunspell libressl pulseaudio +spell wayland +X" - -RDEPEND=" - !net-im/telegram-desktop-bin - app-arch/lz4:= - app-arch/xz-utils - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - dev-libs/xxhash - dev-qt/qtcore:5 - dev-qt/qtgui:5[jpeg,png,wayland?,X(-)?] - dev-qt/qtimageformats:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5[png,X(-)?] - media-fonts/open-sans - media-libs/fontconfig:= - >=media-libs/libtgvoip-2.4.4_p20200525[alsa?,pulseaudio?] - media-libs/openal[alsa?,pulseaudio?] - media-libs/opus:= - media-video/ffmpeg:=[alsa?,opus,pulseaudio?] - sys-libs/zlib[minizip] - virtual/libiconv - x11-libs/gtk+:3 - dbus? ( - dev-qt/qtdbus:5 - dev-libs/libdbusmenu-qt[qt5(+)] - ) - enchant? ( app-text/enchant:= ) - hunspell? ( >=app-text/hunspell-1.7:= ) - pulseaudio? ( media-sound/pulseaudio ) -" - -DEPEND=" - ${PYTHON_DEPS} - ${RDEPEND} - dev-cpp/range-v3 - =dev-cpp/ms-gsl-3* -" - -BDEPEND=" - >=dev-util/cmake-3.16 - virtual/pkgconfig -" - -REQUIRED_USE=" - || ( alsa pulseaudio ) - || ( X wayland ) - spell? ( - ^^ ( enchant hunspell ) - ) -" - -S="${WORKDIR}/${MY_P}" - -pkg_pretend() { - if has ccache ${FEATURES}; then - ewarn - ewarn "ccache does not work with ${PN} out of the box" - ewarn "due to usage of precompiled headers" - ewarn "check bug https://bugs.gentoo.org/715114 for more info" - ewarn - fi -} - -src_configure() { - local mycxxflags=( - -Wno-deprecated-declarations - -Wno-error=deprecated-declarations - -Wno-switch - ) - - append-cxxflags "${mycxxflags[@]}" - - # TODO: unbundle header-only libs, ofc telegram uses git versions... - # it fals with tl-expected-1.0.0, so we use bundled for now to avoid git rev snapshots - # EXPECTED VARIANT - local mycmakeargs=( - -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON - -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF - -DDESKTOP_APP_USE_PACKAGED=ON - -DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF - -DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF - -DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF - -DTDESKTOP_LAUNCHER_BASENAME="${PN}" - -DDESKTOP_APP_DISABLE_DBUS_INTEGRATION="$(usex dbus OFF ON)" - -DDESKTOP_APP_DISABLE_SPELLCHECK="$(usex spell OFF ON)" # enables hunspell (recommended) - -DDESKTOP_APP_USE_ENCHANT="$(usex enchant ON OFF)" # enables enchant and disables hunspell - ) - - if [[ -n ${MY_TDESKTOP_API_ID} && -n ${MY_TDESKTOP_API_HASH} ]]; then - einfo "Found custom API credentials" - mycmakeargs+=( - -DTDESKTOP_API_ID="${MY_TDESKTOP_API_ID}" - -DTDESKTOP_API_HASH="${MY_TDESKTOP_API_HASH}" - ) - else - # https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml - # Building with snapcraft API credentials by default - # Custom API credentials can be obtained here: - # https://github.com/telegramdesktop/tdesktop/blob/dev/docs/api_credentials.md - # After getting credentials you can export variables: - # export MY_TDESKTOP_API_ID="17349"" - # export MY_TDESKTOP_API_HASH="344583e45741c457fe1862106095a5eb" - # and restart the build" - # you can set above variables (without export) in /etc/portage/env/net-im/telegram-desktop - # portage will use custom variable every build automatically - mycmakeargs+=( - -DTDESKTOP_API_ID="611335" - -DTDESKTOP_API_HASH="d524b414d21f4d37f08684c1df41ac9c" - ) - fi - - cmake_src_configure -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} diff --git a/net-im/telegram-desktop/telegram-desktop-2.1.13.ebuild b/net-im/telegram-desktop/telegram-desktop-2.1.13.ebuild index 339746697842..fdbdccb40dcb 100644 --- a/net-im/telegram-desktop/telegram-desktop-2.1.13.ebuild +++ b/net-im/telegram-desktop/telegram-desktop-2.1.13.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${ LICENSE="GPL-3-with-openssl-exception" SLOT="0" -KEYWORDS="~amd64 ~ppc64" +KEYWORDS="amd64 ~ppc64" IUSE="+alsa +dbus enchant +hunspell libressl pulseaudio +spell wayland +X" RDEPEND=" diff --git a/net-im/toxic/toxic-0.8.3-r1.ebuild b/net-im/toxic/toxic-0.8.3-r1.ebuild index fcdcabb71fd7..30f2e2860bcb 100644 --- a/net-im/toxic/toxic-0.8.3-r1.ebuild +++ b/net-im/toxic/toxic-0.8.3-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/JFreegman/toxic/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="notification python qrcode +sound +video +X" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" diff --git a/net-libs/libslirp/libslirp-4.3.1.ebuild b/net-libs/libslirp/libslirp-4.3.1.ebuild index 6bf997e6a7ad..91586cf7f19e 100644 --- a/net-libs/libslirp/libslirp-4.3.1.ebuild +++ b/net-libs/libslirp/libslirp-4.3.1.ebuild @@ -5,7 +5,7 @@ EAPI=7 inherit meson -KEYWORDS="~amd64 ~ppc ~ppc64" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" MY_P="${PN}-v${PV}" SRC_URI="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" DESCRIPTION="A general purpose TCP-IP emulator used by virtual machine hypervisors to provide virtual networking services." diff --git a/net-libs/quiche/Manifest b/net-libs/quiche/Manifest index 113da7b4461f..d5d0ce699965 100644 --- a/net-libs/quiche/Manifest +++ b/net-libs/quiche/Manifest @@ -83,6 +83,7 @@ DIST js-sys-0.3.35.crate 62149 BLAKE2B e0cdc501cbeef53d12b7ed25a976e4c0f7fa5d20b DIST js-sys-0.3.36.crate 66941 BLAKE2B 37681d56a799833d4a897086594c9a2b394ef1c9d0f0a2a95f944a9b7855445a37deb86c6348d7e054a3a15325de21370629e927656cc58efbb333ea022d5ddf SHA512 811960047bbeac89ab654de2a7da237f2feffe287fc5c0a40484af1c52f73666d05d67a497827f2a55d5e244c2a3fd6ad8be0754330dd046e02ce51993697388 DIST js-sys-0.3.39.crate 67247 BLAKE2B 3ca3dd7956ebf5ab383314568d3826f8ad4582ee4453cb375238a3f050e4ec387632ce29519151bf6c6e334c029aaff7aff0f9dbc407ee1070f1a2905edf7b9f SHA512 a56a52d0012e459ccbc8c1affb2922f3ac53f96c0563ea8bdf4dd2007995a048f7204705f04e064db11059d21571f423bef9ff022a807acebba9f620f61483bd DIST js-sys-0.3.41.crate 67020 BLAKE2B c1076632eeab3d22adb5e85bd92a452226535fe62ab397807d937154e041b3bbaf96429feed310d64115930e195e72e0ea2a187707cb9491fc76e44b60b1e63b SHA512 45a63db189afb5104588a4b80d89931d3faadd7458540d06c5907a43eaae85c38d4d47ea1c97e4358c552e506d2d2360aa2cea51b6364e4300d37bc4fad963ca +DIST js-sys-0.3.42.crate 67017 BLAKE2B a5db2a97a9cc4738d698e3db36c0a1024fc3d60a23dbd0ec4ddd7f887d04a7860b1641729ea4ac24669d98aafaff78d0a3d8a3211f8523e104cd668a11ce2af0 SHA512 5193b77f58741a7cb59ab871d5e66a2629e56c8a036bbe0cd7619e1115e9925e19a5f01f6b0f4854c22f36fcc3c1a335779f5f6923dbd6c617e850247a3c85b5 DIST kernel32-sys-0.2.2.crate 24537 BLAKE2B dfc4a1e31d3ec9e2ac62b890839919fb7fed1444070c1dcd75bb75acfb53556d6cf2eddf5a6639e7852a3df2a0cc715c5ce1d3fc898ef16a1687020d98f715bc SHA512 682bc7c629aefd035966a2873518fd60719121cca7d63d89d6c97ff5306f24d8b5055a3c91b4eedaec22b1d5dd3fb8b48ff7341a05bbd72d86e06c422dab473b DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 DIST libc-0.2.62.crate 433193 BLAKE2B cb6c3f6def6c33f0723ec3dcea2ec4b96f2a7a2e0bbe5ba0ed6a6cb69a43e64016bd05569c6d8e4701592a9d69f7b8a92213a25b5889f833f03bf2f7de9cf184 SHA512 93c178429a099606d4d61576d74204e87c042c4591b8472eb56eb3ddee883b135e28be09ff48e2718c4cdadbfc641e3a313665fe493d64b1820a7e6018f79d1e @@ -91,6 +92,7 @@ DIST libc-0.2.67.crate 458605 BLAKE2B a4c57d6f9917b10e6e7747f40d769f16b9ed599f46 DIST libc-0.2.70.crate 472909 BLAKE2B bbc4b3ec2ebad2bed2a164e407e344ee4a70a7d83a00b8501d82d70a03dd76a3af40b5a494676d203c37683d602437737c8fd1cf1e7f513bfe5db2820ff29b39 SHA512 a543b972e73d5bf142988464cd62f4402b782796074aabf4ec9396e341050d545b83212c7e4c62c224d5e06de4d794c67fea91b83d605626df115b30d8f326de DIST libc-0.2.72.crate 478292 BLAKE2B 23914e92f9ae57a023bbb9bd9cd823cf535ba14ce8d01f171d3223cd227bb9d3884f7596dc2f74c690f7de813da4783e277204dfa690fc1e4f26ee566f1fe32b SHA512 f59caec272f24b8cc29d421baa4ee4145afea8eb9e4a83d8c245602f6bd8de3c91c04008a9920f7f70c9967a3392cc44d8df141c83c6c18d1f14893b21ae4ea0 DIST libm-0.2.1.crate 111906 BLAKE2B aedb58515c1f63a1731231cc3415b2269a1dedd8c56e614ec08b9075c80a0edec5480efd984b320c38a256ab97d9590851f8880e846ce7dd03fb5dd7711f798d SHA512 a037ce773e4c4b0a9c20a23a9c04a34bc468753a1ccafb42199ae1793adc100148b77b08533c4bcc0f269d7de421c0657b6ea62f132ae808cc3b998f55e713a9 +DIST log-0.4.11.crate 36276 BLAKE2B 728647c829e96cb4fc795682facceebec887508e1ca14f13c0e7984db8ac39b3045885d1daa2f335de3e8f25c5cf1b519a1e7c8c6f4160a716bb8e39d085009f SHA512 e216fcb3c9635d8c4b67b05c1ada1e5de4e99dce89ab4c8f8033ddce6ac488605d8af09f93c42d25ebf8844feea22c93b71682e77a368ee01c686a15133fdeec DIST log-0.4.8.crate 31297 BLAKE2B 31037fdc2fc94f4ab8a6e89a251b0bc29975027dc7efb7cc86a8e848dfc8e2ae50acdb177b7ba9f7c1f20ec01e50798f89abb772d67a33f1b060ac617cf9a8ab SHA512 0b71f97d5964134b5eea1332347e177806b2f171d0be5c410c0ff1539470b242ba9f0933fafd853e4171a43b5e373a150af18918924be431c7216022553a8a3b DIST matches-0.1.8.crate 2216 BLAKE2B f18176110921b1cf6e58d52d12f1d1a3455ce2dc04421fbf1b392f66cdd81a88e924571fa27e307a06301d83b04f3b8a0ca3ae40d2da6f2decb8aac4e2801fbb SHA512 98b58f6a2694b03a7dd1be69ebf7e3ad14483fc8e4cb6e6c26a4937e4e660e843efb4dd04a7312dd9659ca02acd3775678f73b8faac44a76ffafaf873c22f590 DIST maybe-uninit-2.0.0.crate 11809 BLAKE2B 5e517b8c59f9ae4f1a4f86b48679ea64d62450ec2519c8caaa914479ce9e5b3aff24707e2e37272ba74bb60499afdc602fff17756337b0c50a9184edbd8b8805 SHA512 3006fc009c7c743d9147a4122e677cdeb2546f7bb46963b2f266839614eb906f9d763c161044fd0bf3f7b54124ac0734ac9ae7f7151b1a7a5f45cbc739976434 @@ -131,6 +133,7 @@ DIST quiche-0.2.0.crate 3588074 BLAKE2B e229a2e9b5030d348c847c5dee1add8376e9fecd DIST quiche-0.3.0.crate 3521895 BLAKE2B 6c98bb0752b0aaa1284930ffcd30bc9378e58f75c2a43b566f75ddfcf17c5a42f749f3e02c3f879491e83d36100e9f73a7c27348f4d1e61897a71958b3afb081 SHA512 a10c54a54f4de4990c29121c6d14400a0385e884be79648a116a9a80d4abf8bf16145e5804a52bb5c556b437f0ac3b4a715af41c5fc1469139c52d46968f4681 DIST quiche-0.4.0.crate 3575212 BLAKE2B 0d23f5ad24e3fd8fbaf973649c3845c561e6124e9df3dcc4903f06475cd51977184c9d7b4beec9161e6012f9a180b96b5c8515b1b161a9365c01320fae137c22 SHA512 19671d497337896d18d5c4d2da7302ca0ba478d8bdc5a136f529ae4541629cbdae456344b31f371d7d3a144fabe4b0b75ec16a486860fd72b9e5f4f309d9a4ba DIST quiche-0.5.0.crate 3610750 BLAKE2B 3a7988e8c90867ffa5b888094a89c9d33495c012ecc49c55f29fe3f4afb2fe4bc187a707e921fbe042e902c5fac62b24d58d70062056353f1797910d2f431655 SHA512 b068835c3bb8a8303b4a2bf093f850116bacf97922b75157d3a13379aff6057802586626b75ba3fcbcaf21e35a0d5c5ec1ea552ddc4f1d7520d0d2713b32a056 +DIST quiche-0.5.1.crate 3265682 BLAKE2B 1d404317e48a62ac2cb3759aae51f0b91eb87d9c9694333331db528b79cc19a72f0f8da2b0785469ae81237c8b8afa760a4f00b039895330aa8b6e3b3d356ca3 SHA512 7f9af3f104aa788076cf7be2f643c823264cb616dbc9dbafb21afbbdfde4d74edff9e48ef79828ee47e3185215a3177131dec9b48a65e96e8ab4b6214b409fc5 DIST quick-error-1.2.2.crate 15132 BLAKE2B 0c35f1d0145d4a3bc4b835f203cc4348e1d9e8f6f7c1ef887d923bf8a9a63f896929da67e27978f0d797a9455be5aa868078bccfb8eac480569d62ad64e0fee8 SHA512 f4ed283635e1fb72bd30929457ac04b1b79c36b4b08603af6266a3ea6e18f12c834cb88ac090e42bb869c8a608f7521812de81932a81073a34f16fc882c6148b DIST quick-error-1.2.3.crate 15066 BLAKE2B 1c61525d383f3588c1c5017f016f60b484bbf2035e7f63c553bd9a49b638ab0c6106ac3676a41072b24da4e13dde78706e0f99fd1ec9ee329d5be81d45a85866 SHA512 f8aaf9024d20ccd42b706c756eed8320aee339f8776392b47a41cc82ca06b03df1a5b1f00854cea96689c5af261b4d8c5d2b1a242d10f2755e7e33dc41be35b9 DIST quote-0.6.13.crate 17475 BLAKE2B 985287f3e619c46b052e704c6da78565fe5d8e4f9a0d503aa0e8818f595fbef32a437d67228c35cd02d817ee3e19efc03e75239013a87a79553bb252f15c8ac5 SHA512 bafa9ba42ea6ff2d6df652384485c58327de6eaea2832423eedd8ef8b4aace673c23b70f1f22106515ac13d7f625cb8b1a5e8c4388c1701ea3cd86fb9ac3056e @@ -233,42 +236,49 @@ DIST wasm-bindgen-0.2.58.crate 150537 BLAKE2B e958babff0b29d1c0b931abbbba924b2a2 DIST wasm-bindgen-0.2.59.crate 152264 BLAKE2B aa52bdfc70c1098aac8506f8a071942a86da99e8ad489f9d0dabc297cf473bc4de215261c96c72d3f2f2a63bd0eb14c34b672a50265a8f54be44a01edf4a3d02 SHA512 f1fa396e6b1c67750f13f63618207b1b24e04d9b186f52a0fde2df4735a799507f23c577528c83fce37a294651d307882b7f4cbced0dfdfd98475968a95926c6 DIST wasm-bindgen-0.2.62.crate 154556 BLAKE2B fd4d4c28e4bfb1f1ac076ea3621f08b37114fd7e3c75b4247e79d9941d88294cf8d537197458ed6570c8b4033ccf75baa5c1e7f906f7af5e0f308d640681be19 SHA512 40f1a2047f658b7608dfb4aed85a9c89b9d16aeca53aef88ded497511dff64bd5bde5658807e455b71f35958c942cb8bc1e3cf4e997f459d489506dca7d2f3bd DIST wasm-bindgen-0.2.64.crate 156369 BLAKE2B f73aae74e7bb8764c7089c081f45a960598ca8f361feb95833f3bd51643929faab4fa2c0cd6fe371ad521786ae22aefe124ef25809dddcfdfdd9209837828daa SHA512 9e2af764da7c7a91db10dc1d83cbebe7e33dfa1d5ef33d2a6be15f2703093cf851ce02a2c124c644c3e27824f1eb955d1813d7d7d460d5dae8cc1de1e9ca5f50 +DIST wasm-bindgen-0.2.65.crate 156753 BLAKE2B 4b68313c60c6bf1ccdde58c05cf736e1806e1115271172b2751e256eeff83b93e65d00306ff18529f02c7e5c47df89a2784334d8cf44e09ab4d4465cf85dbe3f SHA512 6fdbc50e06c0db49833b2e5a638d1dc2444b326a4ef19f640316fdbbcb83704a79a6fe0f47818bc69d271bd3791ea6945194960a5d005a3e4a823300023a35c2 DIST wasm-bindgen-backend-0.2.50.crate 21115 BLAKE2B 79f9322281636c6bec83c8c6aea5f4ceef360cc0b42ed28de667eb0b18f9b0772dd8f455df84933f43b5be0312cc03c02ebe8f11dc652a7aac3fccaa1d2e4cc7 SHA512 6e53da0259b5c3e167129ae67f8a45497973028af2f48d67964605f8924754a1c6ec6045fe0e3d30ab05902ea2962845a1944d3ed13ee4fc0fcdb6892dd35885 DIST wasm-bindgen-backend-0.2.51.crate 21373 BLAKE2B 8641aea89deb10550b94a5e83e7b1d6309d3179c05b82f29536061f781dde9ac97449f892da06ddeac480426d9c18c1f4c322baff54dc1165a9f2ed8379a3ec1 SHA512 d0740d003e8dbb62494e6a12e41a7b10e0809877501d8a5f59979c797d08fe7ab57b172bc20ed9d2113ae57a2b1868ce923b68cc2413e1771fd8a4844eb58c06 DIST wasm-bindgen-backend-0.2.58.crate 21479 BLAKE2B 101d311e32330a2d2d0cca325a9f544fb555bdb1d2b354f02cd16e6b3ec76e0a7056e189b1bde769e22e07a57b05174c6746cee9896141656fa095501518842f SHA512 b58388b94f0389bfa1a28fd975e3f239d05b57fa89aed7bf802ed4cf1065c016a925100eef3fd650d53a581990b9165f6431866ac64798bb11dce44897130417 DIST wasm-bindgen-backend-0.2.59.crate 23306 BLAKE2B f963f5f7ef437da8c47493b0120ab1a2b1f6e14886e7f126ce2d125c010237437d782f988b6228b1191b3bad0cdf7c53255f5bd81ba23a059dbfe8d6288981a4 SHA512 466861080881dc16023e7c620d0b327a9587177cc608e3ab9652dc1857e8371a55720fb54c611498f70a42cfda8009879b5422b4dc385012c0fbceec96b25ad8 DIST wasm-bindgen-backend-0.2.62.crate 23280 BLAKE2B 1a770f707c3b353e915633fa7597e1b6b4082d18249d6b2390bcee62fb653bf008cbfcbe49af8ded8d48977a186ad2fde9d1cdd2030df283a498b64bee0cf69c SHA512 bee6ba897eaadc1ffcb5404a5b95c77c9cdcc1833a163743fb413e0d02ce2c3274e6c81efb7c0541733a1563c17c4f92088d036a9328a2222e2a86fcad12cd7c DIST wasm-bindgen-backend-0.2.64.crate 23318 BLAKE2B 9ea6155585391ad3c4871d115f87d353e7b27f9801202985c078d2319283647699a8046e7b4ce0aab642bdedd615b50513e563b776e6560fbc6573ee89ebc082 SHA512 991ec5a3cbe0a2ac56d3e25a378a146eb40bcb7dbbfb11a52650273eb0ab8851d49b7d236baf5f3e8822de214d65af1dde26ea74be94fe77d02139e7b50c993d +DIST wasm-bindgen-backend-0.2.65.crate 23551 BLAKE2B 4aa556cd36d2b7742cc8397eab0c1e3c9e0c24433e82a516aa71dbd3a32cfa760bfba93fc4311e9b69f527dffcd39be6dd7fe81f0fcbae30ebe6fc21c5e632e9 SHA512 7043f525453da6060574cab9926023b65e1e402d10c042804ab90ada78981300fcfabb97f3a661acc9c685bbc65a29c7c5c6ac446f11705bc85b8c9488985bb5 DIST wasm-bindgen-macro-0.2.50.crate 10849 BLAKE2B b59e71d7f7ce427a60d0c48a5921b4c00f0b97472a8e3c79f9f2a0a3801c02131d0f6b6a249100eeef0e0d6d8fe616511422e70256cd74ccc9edbbe666b36097 SHA512 1d1c273f520c997c6c1b6d86c08ac99c4e25e04da12a25a6efb87e1b8a887618b8435129d6774a7ec2accded5c87c3561285dd8063d28efe19f60052e6d167c6 DIST wasm-bindgen-macro-0.2.51.crate 11421 BLAKE2B 8bbb0a21d101fdf04db7d0ef31be58a24189c8e5a37593b272213ac4275117aed0caee7736a98f6263634186123ace9c5fb84593fd15fcdf21a4eb6f5293f3c9 SHA512 672a772952773566687ad167bbaa580463d7695d3e040a416263974a4941475b02554e334de5bbeed1f6d3951b1f647728f83055f8bb744a4782f58f8fbb22df DIST wasm-bindgen-macro-0.2.58.crate 11599 BLAKE2B 7ec50395addfbfdd40bc09820c73b56ea00bb22dbe835cd5572c0f44b86c862482a3fed5d85b285cdb4075f6a18010055f14baf068dcd52784799b33b8bfda82 SHA512 abc8731d6a6143adca93d7b0c24f3417191f9ceced08a1e2a7df3f8ec86ccf491bba84e94ffe5fdefc0897fe9b33a05355335f5771cda076ab9294d847d81e76 DIST wasm-bindgen-macro-0.2.59.crate 11562 BLAKE2B b941e0e60eecf4dc043b956e2a0cc137a51a5d10693d2c0e0d7006b3a9cbf73c5145eb2a208e98a8a93bb49e43f9fe5a0614cebe86d6bb40a5bdcdab7155745d SHA512 ecc311c5fd134848e6b43431ead23a0e1616a1735a39f98d5ce91ad425bc4b8dd1ed8890f2ca534362ab1cce6c35d9b3274fc4007c96497d3277ee2a47afa55c DIST wasm-bindgen-macro-0.2.62.crate 11676 BLAKE2B f8ce4053c326458846796fc14fbc7755afbdf193827313df0e173eac6f38bedf228acf0862ada9cc4b81bb3a78931112e65603f792a84846c9d43e2df72758cf SHA512 c5182b2704ec141a5a7569d6daa4ed3dfd572bcd99551f55871670753ffe6602dda08880b9a75b301c418c23e130b94f755c271e213af3941951515fc861c6d5 DIST wasm-bindgen-macro-0.2.64.crate 11623 BLAKE2B e8225a66db2002cc64c34ce995fcead1bee8c0720a8470f3097e5aab2f2a91fcc21c5b8875daae0058c86f90b7ce09757587792a8b87fdec57ee011ca88c5761 SHA512 4f4b1e5900a3ddac069cae49caac8ec63909c40f3798cef4cecf38eb936c729a3d2f3abd19717a2841bc5d0a242abb82486ec847b6664af725ea777ce9ffe672 +DIST wasm-bindgen-macro-0.2.65.crate 11624 BLAKE2B 010ec37dd315fa9053745978a4bbe2758904f5599c3c05195e0fab0c6bc40e671eb6f025e48afe8a0376933eadf550c1ee5b61fddee0d82f3e8f6216e4615e25 SHA512 a5a1071cd09548b2ec2bd0dce4713f00d72ede2c2be8c8e4b3a852e5b2f0456a1e87996f31604523e3e1f226b14d8e4d6e263af86bdde78df830f65fa1a37244 DIST wasm-bindgen-macro-support-0.2.50.crate 16461 BLAKE2B ae44dd17804d4c554b676d11136868958eed5b6d3dfe58a80fb113c7546e511d20b7cb8a92d53b0b3ff3fff02313d407f8d4e5089b558f0b936332c0a7a82436 SHA512 f855ad370334fc64ccba2d3d00ecff0dec2319ce644b337f60300d4f76c9d8323e2676dda52fdee3ef58e1d9f16ee378beccacb6b02cbda16c2d40f82526df91 DIST wasm-bindgen-macro-support-0.2.51.crate 16476 BLAKE2B d726d89f063e01c2caeea38ff44d0f7584ebd92a37e139dd5720430a4be54774faec9a4edfecfbc2771adb4b1bbea37c11380c9d9a264663007ef204eb8abc67 SHA512 a53252f8276494a8d706c401e5a5a4b785749da91f7f171f1242268316de926f518e7e3d8c4f36f139e21e2ee3150a6e07ad416125d6f738aa5633f2337036df DIST wasm-bindgen-macro-support-0.2.58.crate 16510 BLAKE2B e75fce5858219d70278e5b78ff68e6611226926f8d8ed56a1fbbe0cb73909cdcbbca65b748e1cdb6f3efc0394390628c1fddf09356a22d773851093003cc3054 SHA512 fc8d2606fbd9507bb681a39be26cc01ba1776995a5230f54c3f8052107c9ca177c4680a1f4e8d326bece0285d7d39e04c4291875e5e903f7c45fc721cc3ea9b1 DIST wasm-bindgen-macro-support-0.2.59.crate 16875 BLAKE2B a3b92c007ec37c774219fe720f6f52b21a0f26cc7dfbc63a274d44dfb3f2424b587f240924417c18f1235e590da798284cc3927f3f747d43f5dd48be1d2a453a SHA512 65b4cddeabe6b9031b1b513d1df95b3308db89b066686bb9427b2cf826101e5dca318db9d4736674ad672eb306b1306d0061b736725b6e52a8f34ea9b09ba89a DIST wasm-bindgen-macro-support-0.2.62.crate 17452 BLAKE2B 0472ed6d7f0ea1fb6f38c933ef8994447c369705b00d2021ad73bc2cbd9826c47be630798766e9b61abb2e6d141d4fec679cb2e941d65cf5b7fd7ee8f0d62c38 SHA512 f51f968b48f9b4919f4d0a9dbd82c29a2f06601e6d2fc63b1e2e4b57359bfdcf747d1c9d0bb89cef7da5d8add93b49b437ae4cb6f98949cbfe44995bde07d49b DIST wasm-bindgen-macro-support-0.2.64.crate 17799 BLAKE2B 7429a77a66912d55a2909ec7206af9636a1f6e62b80777ebac9c8523f0d78519e23998c9583de5b351135e96cfb0e594e5197ec5837e75643d2be5515e607db5 SHA512 ee36ecd9551981adefde4847d89929ffa800f366471e4958b3ce4c894e1818d4322c233c4c5a4e2809fb159a930edd62128a23013622acfc8e7668f8526c8e4a +DIST wasm-bindgen-macro-support-0.2.65.crate 17801 BLAKE2B 1c54484f3d04e4da5b5d9c0f30935420f04a3db9389190f1dfb051c283a274a9f3c37685db6e3f40f836f022c92f9613f5b1570b47d53ca1f15418c4b6e02e95 SHA512 7c12ac36a8e7295e66dc3bdddb26ba2ccef73d1d47dddc98d7416f387963a3def8e86e07dd1464703e9f06132ad1353d54f6d220fcebd2d96bb85dcf10d1f84b DIST wasm-bindgen-shared-0.2.50.crate 6727 BLAKE2B 9bd99d6f9441c748d1891c532bf42d60838919d3d100eae20b0be2cffc99bdd774a4172e106e121dbccb87130faa2c33e0c4598e43a6252647e63c1c490195ce SHA512 c1d327b1dcdb0abaf76f7121adff7e618691cc8efac5be3fe97e4375446003d9e0c41288288eb1b432e2bd49d1776be11b9cc4f675d42f78606456b711d4e877 DIST wasm-bindgen-shared-0.2.51.crate 6721 BLAKE2B 651005f120d4d647c3a3db19bcc726ef0669577d2c072f6fe0cde64a7a94933ed51c7b9a5e4f87f41bfa6cc9b2d68e989345c71e4ce2ccbbb1869f0a1f179309 SHA512 29c36bcb531715457f1e2d4b017f505fbc81a685fa80c8137b3558f2448780357e93ca222c67214f32e248585888a58df3f3895b59246dbc59f47a7ddf7632e3 DIST wasm-bindgen-shared-0.2.58.crate 6740 BLAKE2B f90364bb447cdc7409ea663f8df7d8b8d45df80d1acf1cce0ec0d3e9a1c3def8f93eb3537a69525d18941f71de04aa3e4824c15e34b396ec4462a46d8eff528a SHA512 970b60d8ed46cc86cef2b5954899e4bc4113e86f6d927e920b77194d078726213fe0d92e2f06e5ef6ca85b4379b002b43b798f7050573d68130e0099654b3f48 DIST wasm-bindgen-shared-0.2.59.crate 6745 BLAKE2B a314206a48c0784d49080f0451a3ae64af6a5fadc1563f8a9d7b7fde805535c54961466df7759a236c2aa369c055ea990473fb6d7b13c018ba5d3069f1852dac SHA512 969e5c59b80bd83900affb82c5659bd1807014482a811828928fc34441e8d0c20b27aa838f401af75d488a70e8d272ef5429ad69c76a177c247a3083c698a3ae DIST wasm-bindgen-shared-0.2.62.crate 6745 BLAKE2B 235a121f4f15e81fcbeb305384aa9e2542a1690cd2cc690203e4199fecd95d2904a3b24954a9d2f607c896ef06129b58f8dc1cf1e04b0ab654438ed5e328b1a0 SHA512 595e810c89e2de9d16f1f131fa05a022b67b66c9b94550a046eba7b08019442442d4da996d9385c1f6035da429b99339d335a0891632395ebaddd21016ae1737 DIST wasm-bindgen-shared-0.2.64.crate 6744 BLAKE2B 4feb39dd6051b2945d41b29771cf937e716eaacf6594cae4db04ec27c4261cca9139ce4c7f1c7c98e0c12eba288f96bbd13843a35eff39fb8602430e0a3827cf SHA512 1554ced919c2a512a3263fff16e54976ec51b411064084c7a68706efdf6150d7a4eb76d6ff15831ce9698df35905189f365e22d0aa539b0b74e5b1c35fb36a3f +DIST wasm-bindgen-shared-0.2.65.crate 6745 BLAKE2B 3881c8e3db5968f51490676cdfa5a06f8def5e8d6417e41ad592f506291299863342fb59984249ab2484ce6135f67df4545f1ab896bc99dc8cd60ef318223e90 SHA512 32aba8419c42b6798ebeeb57cb562251db6d37bff84b4e2f29264b5f910e8e1fc76c8989f82bd8e224dff978d1e7c25ac19e646f93474f7dd53a85ad2a05d284 DIST wasm-bindgen-webidl-0.2.50.crate 24182 BLAKE2B 276641836fc21b2a7513534867799527e56e158ed9f8678f0c8a370cb38fc2dc5eb023fc9aa04db5afae0e7c3f49e5031ab4650daac35dd543594ebc834e24f7 SHA512 a1af0dd9c31cdb8fc52ed55b6f27f1423218c5fa427d8b295b3989122fc3b01650f1c9174bc77f5b6883ad6e05ce6e90af0e1e40aeb236772cf782c63c2d6c20 DIST wasm-bindgen-webidl-0.2.51.crate 24203 BLAKE2B 7b8f5cf4cc74f357e8c1193262f667551708fea51fed9b8fd38c3bce2ca0608c9af86f998d2a8716024a645c90c83b31dabb214f515783f332991da47710ae95 SHA512 b9dade093a8ed835aaa1be2ef5b989176887c57dccc4cc90cf9e608b54da489bb66bfa9fdaf4c9edc2df1ab2c71fb2018bdddcc502c52250d3d5a36ef354b554 DIST wasm-bindgen-webidl-0.2.58.crate 23864 BLAKE2B 1d7ecae7c1dea10aaaf830676b502a0ec9fd607a87ab3f3863eddbdeb245d695c08edcf2c954519b753b5dac05593140c10b058a8e08a6a7e3113877cdf55d0c SHA512 3344b82063f4dbcbfe9b0777b9e071ca072b716c87142e7fc2ca043f0ce973477b4609fabb415ab43261bbb19bbe5ab7df3301c92cd9d159dc0ae6b85fb20a15 DIST wasm-bindgen-webidl-0.2.59.crate 35711 BLAKE2B a95e203ccb1df906ced64b3052662c77103017f67dfd0364335e19dabab2718ef0683809a7f67af267abaa99187c301752f89f3186ae4a4a1259b3766065289a SHA512 975b71a144a11ee005451aafef72d6410bfa9663702cc788f5604a773c88d0c2fe36e4ff53ec7bc882935662590f3b2503f7530cdb1e014d729463341c3ff56e DIST wasm-bindgen-webidl-0.2.62.crate 35861 BLAKE2B 2828e0908a290ac433036229f7b8c7267310c804ff2eefd564427317252e2059560d458a694a345404f39b8dd0c783a8eb2c4bef063ce17dafd6a4a5d8e25301 SHA512 c6c7b26982dea90623c916716027fca2d84046f048f05d6721d3ab7ffbf2febdd89c649341c0626dabaf70706186f2ce6c56b956d96e6cce9e6e7f8743323aae DIST wasm-bindgen-webidl-0.2.64.crate 35848 BLAKE2B b583279a900934a545fff3ac6a3486870a0db41ea38a44e6ad0bdf61d403f9b65e21687fc657806e016cf34cc09d36e1e715b9d0b0e75781182c3fdb299bc610 SHA512 077924b827afb51ab3ec28db0249388543c594aa54abe217cf1d0473791df57d909ec431c5562ce8f13eab085bab50e8bdf993ef6772325db85e5c4c6a00f6e9 +DIST wasm-bindgen-webidl-0.2.65.crate 35843 BLAKE2B 444b0c2d46d6971b7bd06f9ed80fb2088818524a58aefe4b0dac7ca4be40bb3480228883feeacadae3be1b3e6c30b7d5642cdae6fd23c11212991eb26a3a9e5e SHA512 3ee204a0e7588f02b19e03c83843f773b179a07815b1c17bb814fb78e5a430ee0d3c8a58b626465709a6f62efadd9467ea9869f5d44c22e3bda2142e96a38267 DIST web-sys-0.3.27.crate 204250 BLAKE2B 73a067c079b3b3c5cf858adf185016f8be9cf02559c18b62b2f24628366df769e5e71010277718dee6a479191d38bc2f97dc42128b1327434dbc9f6c78d869c6 SHA512 906a16b5642a515dbaf996b4b4b42b4fc93ec1c614651fed476fd62ba3296f8e4d111a5f1f86bc0d3d565174e6a9da3a8f9b0a3b2dff827501b03bc734653b26 DIST web-sys-0.3.28.crate 204077 BLAKE2B b8e7eb716e0eb6b20d2cd994cfe708964923be61c1d71ed303ff3b7a8210dfcb58858f608d28249f33bc6fb03f97ab497143e40fb2665523907b78dd122a1a50 SHA512 c26acca4493e3521feaeb081aea53a1c9be248bc547f42dbac7ef98a108e765e150678c37888de92cb06d97f1102ac96a5faebbf32621f9bd2bb74f668faadc4 DIST web-sys-0.3.35.crate 204293 BLAKE2B 0f07e1da5ec23b286a1b7ac830050a0f0b48ecdffefb871f105647ccbefe8696d7c1e27498231b7d810ec9a9b73ad851eaad9ce9ed1fe87ecfc78b52b3e89388 SHA512 d9ba1d162030c07d3abb91f42c29f06162ad22952f7d55bff5b3f051de4be594eb1bd910b65d2e527c0faffaab2f731bff9e9f9573eb298e0392e918f7029195 DIST web-sys-0.3.36.crate 615528 BLAKE2B 45dc9ae3227f04a9cba4c9c1cdc8d50f273e83ba83356d1fcd50f695559fbf36cb9c00a0ac5efc89d439c8ab213361cb6460798bd80f3864e45377c57262069d SHA512 203995e587c7ac9042587a79899834be4409dd1dc73fdb3a76545e206f0516093833d975db9fd2349d63e4262f50f6b22b3ef1e22cd556ebd377da73240e4761 DIST web-sys-0.3.39.crate 629036 BLAKE2B b23333cab0275768e19533fdfa280015b50ea746100b0f1ce50e72fffdaca149baf96c9ab8ac11cde99404cdc7f9681cf4180500b1b24a4334107a6535cca912 SHA512 d0450c655a172ecf3f61c4d289cf5334334025910e08a8fb7e1604e48bac95d6baaae168132c72e85dcb642b2304df7e7ba39f57ffd0bd669d3f4000cdcc3dde DIST web-sys-0.3.41.crate 628602 BLAKE2B d6616e5d144b241fa7155011a8e4f1f20a68ff213f513331022d2c941a04bd49ce2c1cb9698c854978586e0d66283705207403faf7bc71990c4643f7c65af53e SHA512 1dc3ac9a906a968487d2338845dc20eca076d23a67b3366e9f2fc509a2175dfcceb0ff6d12e2bf09f4018a1870aeab2f69f58a0c42adfe74f71ea6266db26eee +DIST web-sys-0.3.42.crate 628615 BLAKE2B 7fa7c50c8e71c6b9ac43e056f70a03ddd9532b756fda50ce2183a7f24bbf3b2ad6fbca29f10f955e0032d21aa20b966c2a292f24defc00ad9021af86c0115006 SHA512 6e0af1c1f2ba0ea63033b67c25d45ec550086ba864eea532175e4424a7073f7c2a9d006f19702cbd3369eea80bce08bc25a014911ea1d7ffcc9e3c007e711a4b DIST weedle-0.10.0.crate 34686 BLAKE2B 9592932b38543c700717dbc1ea2852acc4fc73cc9c6550e4abdec6d230c7e4a2e01663643222a5fe025767d83d0a802be74a9798fcb57083dd795b513a64ade2 SHA512 c7e5ca778af68d69284cc93556a67884adbc437aae32f85ef305bb9489a5181dd3b77ded68657c1d3a088386586ead4830707a8e6bc0c912c953e1a74ded49ad DIST winapi-0.2.8.crate 455145 BLAKE2B 50f3c2a0cf4eeedd6891b11392e520c1cca139a71f8f736eabaf43aa7e4b1b5d57697918978220459572d373940edf971eb8302f292cbff832283e905076319a SHA512 115e6f027cdd4a56f77ca24f4ab249d2a6cac1e1f955c826a9b6ee05db4861790a533f5e674aebbb540370fff52ed41618c2cd7c906e73200e92df213109cebe DIST winapi-0.3.8.crate 1128308 BLAKE2B e0e8ef6121f222b0500525192ebb69b26b71cc16f9ba92186f8ad6acc9de4cb8cc7c738f9c31f5bd223d2e34c93c496e8448c973d69797776004670c70abf69c SHA512 5a899ee5f09f30d742b8b8eba78da05cd9f4c664408fdeb9370373f8756a962a23e3f1c07619e745b3270138606c9a369076c02c3f5353f657df09d203d9a736 diff --git a/net-libs/quiche/quiche-0.5.1.ebuild b/net-libs/quiche/quiche-0.5.1.ebuild new file mode 100644 index 000000000000..dc4874a1c7ce --- /dev/null +++ b/net-libs/quiche/quiche-0.5.1.ebuild @@ -0,0 +1,186 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +anyhow-1.0.26 +aho-corasick-0.7.6 +arrayvec-0.4.11 +atty-0.2.14 +autocfg-1.0.0 +backtrace-0.3.37 +backtrace-sys-0.1.31 +bitflags-1.2.1 +bstr-0.2.12 +bumpalo-3.4.0 +byteorder-1.3.4 +cast-0.2.3 +cc-1.0.58 +cfg-if-0.1.10 +clap-2.33.0 +cmake-0.1.44 +criterion-0.3.1 +criterion-plot-0.4.1 +crossbeam-deque-0.7.3 +crossbeam-epoch-0.8.2 +crossbeam-queue-0.2.1 +crossbeam-utils-0.7.2 +csv-1.1.3 +csv-core-0.1.10 +either-1.5.3 +fuchsia-zircon-0.3.3 +fuchsia-zircon-sys-0.3.3 +hermit-abi-0.1.8 +idna-0.1.5 +iovec-0.1.4 +itertools-0.8.2 +itoa-0.4.6 +js-sys-0.3.42 +kernel32-sys-0.2.2 +lazy_static-1.4.0 +libc-0.2.72 +libm-0.2.1 +log-0.4.11 +matches-0.1.8 +maybe-uninit-2.0.0 +memchr-2.3.3 +memoffset-0.5.3 +mio-0.6.22 +miow-0.2.1 +net2-0.2.34 +num-traits-0.2.11 +num_cpus-1.12.0 +once_cell-1.4.0 +oorandom-11.1.0 +percent-encoding-1.0.1 +plotters-0.2.12 +proc-macro2-1.0.18 +qlog-0.3.0 +quote-1.0.7 +rayon-1.3.0 +rayon-core-1.7.0 +regex-1.3.5 +regex-automata-0.1.9 +regex-syntax-0.6.17 +ring-0.16.15 +rustc_version-0.2.3 +ryu-1.0.5 +same-file-1.0.6 +scopeguard-1.1.0 +semver-0.9.0 +semver-parser-0.7.0 +serde-1.0.114 +serde_derive-1.0.114 +serde_json-1.0.56 +serde_with-1.4.0 +serde_with_macros-1.1.0 +slab-0.4.2 +smallvec-1.4.0 +spin-0.5.2 +syn-1.0.34 +textwrap-0.11.0 +tinytemplate-1.0.3 +tinyvec-0.3.3 +unicode-bidi-0.3.4 +unicode-normalization-0.1.13 +unicode-width-0.1.7 +unicode-xid-0.1.0 +unicode-xid-0.2.1 +untrusted-0.7.1 +url-1.7.2 +walkdir-2.3.1 +wasm-bindgen-0.2.65 +wasm-bindgen-backend-0.2.65 +wasm-bindgen-macro-0.2.65 +wasm-bindgen-macro-support-0.2.65 +wasm-bindgen-shared-0.2.65 +wasm-bindgen-webidl-0.2.65 +web-sys-0.3.42 +winapi-0.2.8 +winapi-0.3.9 +winapi-build-0.1.1 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-util-0.1.3 +winapi-x86_64-pc-windows-gnu-0.4.0 +ws2_32-sys-0.2.1 +" + +inherit cargo cmake-utils flag-o-matic multilib-minimal rust-toolchain + +DESCRIPTION="Implementation of the QUIC transport protocol and HTTP/3" +HOMEPAGE="https://github.com/cloudflare/quiche" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/cloudflare/${PN}.git" + inherit git-r3 +else + CRATES+=" ${P//_/-}" + SRC_URI="$(cargo_crate_uris ${CRATES})" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${P//_/-}" +fi + +LICENSE="|| ( Apache-2.0 Boost-1.0 ) + || ( Apache-2.0 MIT ) + || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT ) + BSD-2 + BSD + ISC + MIT + || ( Unlicense MIT ) + openssl" +SLOT="0/0" +IUSE="" +DOCS=( CODEOWNERS COPYING README.md ) + +BDEPEND=" + >=virtual/rust-1.39.0[${MULTILIB_USEDEP}] + dev-util/cmake +" +DEPEND="" +RDEPEND="" + +CMAKE_USE_DIR="${S}/deps/boringssl" + +src_unpack() { + if [[ "${PV}" == *9999* ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + tar -xf "${DISTDIR}/${P//_/-}.crate" -C "${WORKDIR}" || die + fi +} + +src_prepare() { + default + cmake-utils_src_prepare + multilib_copy_sources +} + +multilib_src_configure() { + append-flags "-fPIC" + local mycmakeargs=( + -DOPENSSL_NO_ASM=ON + -DBUILD_SHARED_LIBS=OFF + ) + BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_configure +} + +multilib_src_compile() { + BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_compile bssl + QUICHE_BSSL_PATH="${BUILD_DIR}/deps/boringssl" cargo_src_compile --features pkg-config-meta --target="$(rust_abi)" +} + +multilib_src_test() { + QUICHE_BSSL_PATH="${BUILD_DIR}/deps/boringssl" cargo_src_test --target="$(rust_abi)" +} + +multilib_src_install() { + sed -i -e "s:libdir=.\+:libdir=${EPREFIX}/usr/$(get_libdir):" -e "s:includedir=.\+:includedir=${EPREFIX}/usr/include:" target/release/quiche.pc || die + insinto "/usr/$(get_libdir)/pkgconfig" + doins target/release/quiche.pc + doheader -r include/* + dolib.so "target/$(rust_abi)/release/libquiche.so" +} diff --git a/net-libs/quiche/quiche-9999.ebuild b/net-libs/quiche/quiche-9999.ebuild index beff04e0be2a..dc4874a1c7ce 100644 --- a/net-libs/quiche/quiche-9999.ebuild +++ b/net-libs/quiche/quiche-9999.ebuild @@ -36,12 +36,12 @@ idna-0.1.5 iovec-0.1.4 itertools-0.8.2 itoa-0.4.6 -js-sys-0.3.41 +js-sys-0.3.42 kernel32-sys-0.2.2 lazy_static-1.4.0 libc-0.2.72 libm-0.2.1 -log-0.4.8 +log-0.4.11 matches-0.1.8 maybe-uninit-2.0.0 memchr-2.3.3 @@ -90,13 +90,13 @@ unicode-xid-0.2.1 untrusted-0.7.1 url-1.7.2 walkdir-2.3.1 -wasm-bindgen-0.2.64 -wasm-bindgen-backend-0.2.64 -wasm-bindgen-macro-0.2.64 -wasm-bindgen-macro-support-0.2.64 -wasm-bindgen-shared-0.2.64 -wasm-bindgen-webidl-0.2.64 -web-sys-0.3.41 +wasm-bindgen-0.2.65 +wasm-bindgen-backend-0.2.65 +wasm-bindgen-macro-0.2.65 +wasm-bindgen-macro-support-0.2.65 +wasm-bindgen-shared-0.2.65 +wasm-bindgen-webidl-0.2.65 +web-sys-0.3.42 winapi-0.2.8 winapi-0.3.9 winapi-build-0.1.1 @@ -161,7 +161,6 @@ src_prepare() { multilib_src_configure() { append-flags "-fPIC" - filter-flags "-floop-nest-optimize" # https://github.com/cloudflare/quiche/issues/589 local mycmakeargs=( -DOPENSSL_NO_ASM=ON -DBUILD_SHARED_LIBS=OFF diff --git a/net-misc/ethertypes/ethertypes-0.ebuild b/net-misc/ethertypes/ethertypes-0.ebuild index 55613d1c6a54..4bceefb751a5 100644 --- a/net-misc/ethertypes/ethertypes-0.ebuild +++ b/net-misc/ethertypes/ethertypes-0.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" !<net-firewall/ebtables-2.0.10.4-r2 diff --git a/net-misc/oidentd/oidentd-2.5.0.ebuild b/net-misc/oidentd/oidentd-2.5.0.ebuild index 8b9a26b79b28..fd799d2a1495 100644 --- a/net-misc/oidentd/oidentd-2.5.0.ebuild +++ b/net-misc/oidentd/oidentd-2.5.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://files.janikrabe.com/pub/${PN}/releases/${PV}/${P}.tar.xz" LICENSE="BSD-2 GPL-2 LGPL-2+ MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86" IUSE="debug ipv6 masquerade selinux" DEPEND="masquerade? ( net-libs/libnetfilter_conntrack )" diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest index 460c00f1a6d4..b9b578f1def5 100644 --- a/net-vpn/tor/Manifest +++ b/net-vpn/tor/Manifest @@ -1,3 +1,4 @@ DIST tor-0.4.2.7.tar.gz 7604875 BLAKE2B d24f9bd5a3467c909cf95e7e06873817df1a11a86f002450058df7d2aa637b25441128ec57951e22681fdd9b0ef95808306d76b6485e060365f4fbf10e263ac8 SHA512 a23c7eec8f399372227433c62c97278563a63e4cf03e475307915d395fb0b7efc461b4c8a077149e7b6df955ec26d52cd833dfe37fb650d23b3fcb1a4163d64d -DIST tor-0.4.3.5.tar.gz 7740166 BLAKE2B 9b5e39bc57a9581a7ba901868100295b53001d09c429b9d6ca011bd66317eb38d8b7d90395985533c33b887779bade5ac6d88f35438516eaa2d90df7d212feaa SHA512 3ba019d08009ccd288411c35e2db987e17e4f012c363fa51f2d8387b24b21c96f1bd7c210ee126fa81f585a6f75a72cbcb7f32365cfbb0a5dac582459953bb7c -DIST tor-0.4.4.1-alpha.tar.gz 7789510 BLAKE2B 8b5fa959de47859198ef349d5cf8b92f610bb80a6c0690a94991d51fd23aaa120106e44388d0cf5b9ec3364d93f975e43e096684d38136b7b642eeb1169b74a9 SHA512 4156095d5770cedd801a50bb8cd4639c0bf0852b90623027f26868ae41c832055c06525262e39e03f653d4798e8b53f4cbcdfc271b5b4af567afa0900f24ae04 +DIST tor-0.4.2.8.tar.gz 7610427 BLAKE2B 5b637047f4944e97350ef1354f61ed6ac611a1660a61a4a44d3706abb0ec12af121d35ee10023c627a1a7d175490ef854c0a99d17268756eaa7d626926ef245f SHA512 599ec5acd51a84b56f023458f71d35ea622390c4500e77f8a7ff416930e76f2ef3ec76402e971eca366d1f03aac4c1f6ccb8e9ab69e98f1d4b111d52731b45f2 +DIST tor-0.4.3.6.tar.gz 7745954 BLAKE2B 3b04b2c79281483ef72421f8f5bfbc4f48358b6d38c151470eea7ea9bd2666e7098fe3fb0887d551f796443718791a3a464b007669c96e6bbcce7d7fc4c25d3a SHA512 f4ab0788d27b3eab40853dde31eaf087ac84616fc3488973e7d01f4dbd3e71ba6ce3a3afcf0c6272223897d0a9c1556aa26dbc4d9b98cc5b43dd729d20a2fcca +DIST tor-0.4.4.2-alpha.tar.gz 7791919 BLAKE2B 68e71323f7ee1528b6970f58d337452633b8658c3386c888375d00719fc44f2b41e2d0486acca2a19899399f17b1fca1e58e9918c13ee674b3b235ba3f7ac5fc SHA512 404d743cfdb7239f4a69446ca574cf8d7fc5291052591c3ff18a41ff71e8f53785fcab077988189c2d5541ebe165da7d61b885d1e2d6dfa3997320079c3ee842 diff --git a/net-vpn/tor/tor-0.4.2.8.ebuild b/net-vpn/tor/tor-0.4.2.8.ebuild new file mode 100644 index 000000000000..25076b25ec7e --- /dev/null +++ b/net-vpn/tor/tor-0.4.2.8.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic readme.gentoo-r1 systemd + +MY_PV="$(ver_rs 4 -)" +MY_PF="${PN}-${MY_PV}" +DESCRIPTION="Anonymizing overlay network for TCP" +HOMEPAGE="https://www.torproject.org/" +SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz + https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" +S="${WORKDIR}/${MY_PF}" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" +IUSE="caps doc libressl lzma +man scrypt seccomp selinux systemd tor-hardening test zstd" + +DEPEND=" + dev-libs/libevent:=[ssl] + sys-libs/zlib + caps? ( sys-libs/libcap ) + man? ( app-text/asciidoc ) + !libressl? ( dev-libs/openssl:0=[-bindist] ) + libressl? ( dev-libs/libressl:0= ) + lzma? ( app-arch/xz-utils ) + scrypt? ( app-crypt/libscrypt ) + seccomp? ( >=sys-libs/libseccomp-2.4.1 ) + systemd? ( sys-apps/systemd ) + zstd? ( app-arch/zstd )" +RDEPEND=" + acct-user/tor + acct-group/tor + ${DEPEND} + selinux? ( sec-policy/selinux-tor )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch + "${FILESDIR}"/${PN}-0.3.3.2-alpha-tor.service.in.patch +) + +DOCS=() + +RESTRICT="!test? ( test )" + +src_configure() { + use doc && DOCS+=( README ChangeLog ReleaseNotes doc/HACKING ) + export ac_cv_lib_cap_cap_init=$(usex caps) + econf \ + --localstatedir="${EPREFIX}/var" \ + --enable-system-torrc \ + --disable-android \ + --disable-html-manual \ + --disable-libfuzzer \ + --disable-module-dirauth \ + --enable-pic \ + --disable-rust \ + --disable-restart-debugging \ + --disable-zstd-advanced-apis \ + $(use_enable man asciidoc) \ + $(use_enable man manpage) \ + $(use_enable lzma) \ + $(use_enable scrypt libscrypt) \ + $(use_enable seccomp) \ + $(use_enable systemd) \ + $(use_enable tor-hardening gcc-hardening) \ + $(use_enable tor-hardening linker-hardening) \ + $(use_enable test unittests) \ + $(use_enable test coverage) \ + $(use_enable zstd) +} + +src_install() { + default + readme.gentoo_create_doc + + newconfd "${FILESDIR}"/tor.confd tor + newinitd "${FILESDIR}"/tor.initd-r9 tor + systemd_dounit contrib/dist/tor.service + + keepdir /var/lib/tor + + fperms 750 /var/lib/tor + fowners tor:tor /var/lib/tor + + insinto /etc/tor/ + newins "${FILESDIR}"/torrc-r2 torrc +} diff --git a/net-vpn/tor/tor-0.4.3.5.ebuild b/net-vpn/tor/tor-0.4.3.6.ebuild index 3f6bbc1e4587..3f6bbc1e4587 100644 --- a/net-vpn/tor/tor-0.4.3.5.ebuild +++ b/net-vpn/tor/tor-0.4.3.6.ebuild diff --git a/net-vpn/tor/tor-0.4.4.1_alpha.ebuild b/net-vpn/tor/tor-0.4.4.2_alpha.ebuild index 29de81a92071..29de81a92071 100644 --- a/net-vpn/tor/tor-0.4.4.1_alpha.ebuild +++ b/net-vpn/tor/tor-0.4.4.2_alpha.ebuild diff --git a/sci-libs/libsvm/libsvm-3.24.ebuild b/sci-libs/libsvm/libsvm-3.24.ebuild index e68a5236b219..00a39ce719db 100644 --- a/sci-libs/libsvm/libsvm-3.24.ebuild +++ b/sci-libs/libsvm/libsvm-3.24.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.csie.ntu.edu.tw/~cjlin/libsvm/${P}.tar.gz" LICENSE="BSD" SLOT="0/2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="java openmp python tools" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" diff --git a/sci-libs/proj/proj-7.0.1.ebuild b/sci-libs/proj/proj-7.0.1.ebuild index c27e655b2747..d1540cbac7a0 100644 --- a/sci-libs/proj/proj-7.0.1.ebuild +++ b/sci-libs/proj/proj-7.0.1.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0/19" -KEYWORDS="~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~amd64 ~arm arm64 ~ia64 ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="curl europe static-libs test +tiff" REQUIRED_USE="test? ( !europe )" diff --git a/sys-kernel/debian-sources/Manifest b/sys-kernel/debian-sources/Manifest index cd13bc12cdeb..35c561c865c9 100644 --- a/sys-kernel/debian-sources/Manifest +++ b/sys-kernel/debian-sources/Manifest @@ -1,7 +1,12 @@ -AUX 5.6.14/debian-sources-5.6.14-fix-bluetooth-polling.patch 1809 BLAKE2B d59992e91d7924df307da42d956131145986ea650b26f268eff9372cd848ead23b7a85b4b0a896bb44c21a9c2313c7b840134f087bd1a8ad8b893388c3b2ee1f SHA512 605a8bc34c159cc28d60ae975b94b772d009171f659c1a4e0f4820f1b1e5e5e146c65c1c318053c7c3515a2f3a95d50c5b6493751612f0273d06a16754d66d5c -AUX 5.6.14/export_kernel_fpu_functions_5_3.patch 1224 BLAKE2B 7922054672029120447da6c7dbb88e51b3c4a65c5476ff945220cc8851716fad89d8b3258abb86713444cfa603e51279ed80b512b1a4c9340087b13804040873 SHA512 bcd65aae8b039ce94c1a30b7ca99f180c4f0d6c4e09eb70f1e7d358f8759528df2e8c1d0924cfa80b29227a12b5145f296fac5919e9ccb75e8d7ecaf6ddf85d1 -AUX config-extract 6663 BLAKE2B 72ac29890b4a569957b56801c51c14d68a5d1b962ee1d3f42b8c5e4f90392698796100380fbf526447421520374156ad82f748b047930f7cfd8d94d1c8f9f05d SHA512 a664c9f7471eb98dac441149d4180ca00b0bc235a745aac82528f613bcc20f5e46423b2d92d44e3c3647b31c86fb2150cca7d40a7fe56b604928a57053c71deb -DIST linux_5.6.14-2~bpo10+1.debian.tar.xz 1314720 BLAKE2B 5e78e531df55e3d09a40f764a81c0a69b401e73da7a0531540e0b9b607aa86bf6e4f0a9d78385d1c6de3c3d0d18eccb3d2e66fe54754b20e1f55c2bf5d346a08 SHA512 2a8363a897d854d048691ef1611b9614a16ee335bd3f7cd38fac4bdad184fe5361fcd9ce92159f933cedc169605d897cc5efdfb922cc5526b4457d5b647722e3 +DIST linux_4.19.118-2.debian.tar.xz 3283568 BLAKE2B 7c809591573748f1718a2b0c97e439edb9ec92c71c6502440133371e10f6389a667f77b7316f4907ba95aa7c8cc143eee3db77b141e8d67fab4e91c8da9f26ad SHA512 fe3a8e9353375ccc914209dfc218f62ead73f88de81151cc86a8d5ab2bb19e37397721c33c6c4ace4d3dd3fb7ec4685089e2f3093ae87448ff384cdac0638641 +DIST linux_4.19.118.orig.tar.xz 107469088 BLAKE2B 79f906da78551c9d3070db3ab12eafa3ddbf1da81ad7c30ae354f78901f4f8fd7cd2a153496e295bf2afd80411bd47079e1f2271e5f14a37d7134353bc4e245c SHA512 d21618aefb825a5f3dfe11a38f2e2b0ac449e018fbf8d692d51de1495c3b09137b31b4842f5ceadb6021cad366594c202b25591e152c1a693fb4a4ed8018199a +DIST linux_4.19.98-1.debian.tar.xz 1347332 BLAKE2B bdbeac3d5a57db0b44b774b18f0f66894c90103c496b710db7ac5cf61d17c09d70f1cae978a7dce4125872bae2b7d4bf827b250bc110799a413f928481f52235 SHA512 0c9f8729bc10f5ea298bfd6428655344705ca2fa71c265b5feab96128de39e67b52245fceb4cbdc7aec59628bf9dff6fdaa2483243d6a0d566c59a3147458849 +DIST linux_4.19.98.orig.tar.xz 107435812 BLAKE2B edc211f19ec56bced9cd290c701242ecaa4be02a1b67e8c0f9fbb858d450324fc8c59400f312a3fad7021134d0e957675183c68b44154596fe2502ae3961d1c2 SHA512 a5150de7aa1971b9936199d6055861ff3b69ccc73563fadda02c284589ba46b5d0c8a1b2226f8fca44b88fd402e6831a9ed576acefbe77a81b292f75318baf53 +DIST linux_5.4.19-1.debian.tar.xz 1208900 BLAKE2B 37bc935de3dd6f85dce4a81e32e897ddd48a88602eebbdcd9e9382052b06903f097bf4ec40a93bc5aae50f83f3ca919a823f36b429122e4f74d680c5cd37810c SHA512 b5a4275cd07b5649d0d47e26134b2f2fe4edf8a92e81858ea8a1a8a63ef5a49e7f99cf2ebde126aac744c76a9fefdb7ec4d534043f2ecbd268710301d94e6c96 +DIST linux_5.4.19.orig.tar.xz 113678372 BLAKE2B 19c3a220523e27d4efda7788cfe817588d195c11520e98cf52eefafda0647cf243d4dcc1e414e32b226181c50a1f72f9281e3ae90166eff688927fe1877422d0 SHA512 fb51d82593867e927e757fedacb2c2606e7f62ebf114e5c64400632362ae21a412818f84f5fa6c59709dba5bd81e92714fe89965dc36058b3dfb17343a1de60e +DIST linux_5.5.17-1.debian.tar.xz 1335884 BLAKE2B ae97d148e6f1c59f88542805a290e677f6c1f641ef12cf566938e6c7a09a8371eba281242db081f4751e1fa9986973a8f833e4a0723f70e79d67ce962cb021fb SHA512 888ecfc2eeb061729778f8f5e5f7ec9b87e5b09dd471a23b3b222d77b1298d3e1d9a6c2c945e18b554ef6e7e4ba80e5ae7bf060b10d917326a2335fa52c1df88 +DIST linux_5.5.17.orig.tar.xz 115227304 BLAKE2B 2fe61be7a9aaf553711a2c09ebceae09e3f18d9067b8731b836f7c01fec0ba15caf12ce03df26ea5c99d735a092ebf14136d37699aa31956d097730b13f458d6 SHA512 2871d1fb52bf77963b86b89899ae1370edf25edb2013e2cfe3d93d28d77407a9c752beb8b0eb50e240f3bc65eaaf602d35417d9de80c89da14fad419bd112d3c +DIST linux_5.6.14-1.debian.tar.xz 1303696 BLAKE2B 54a502165fbfe14215bed557ded72afc83da3092b1fe479fa41be64fcc75a6a9173118120a5fb6c7acb6d62dcfee999b472ed863afdecb5596daaa7a33e43cf0 SHA512 d50a94c96476c3b52259ff062ecd24e0566c11e2cc3223585fb4c6c4e19ec572aa7a792abc98544e9bbea15231607ccdd4f2646f9589b700d4151d9fc848f160 DIST linux_5.6.14.orig.tar.xz 116098756 BLAKE2B 0c35a5287598de6f53447cac71c1e4884592ab031fdfb57fc73dc9584ffbb71c42c09f88f77ae646d2d90a075c53c18b3afe03d8ba166bfceb1707a799e2ad3c SHA512 5db09e66fad2ec65116d3a20a5f9436bf22c89f7ead8d0cc42c59dd40013450dc1a5520060abdf7ea1291d3e45e06f8da54f0a25d3a4bb56d3e18eb0ad5ac446 -EBUILD debian-sources-5.6.14_p2.ebuild 18306 BLAKE2B ffdecaff9b8cafa8b251f1261483beee8c24f8210f983ea9dadcc6c9a83b33b296091e368e98f8de28f23e2c9d085d6ac536c958a59c50570d38b570716496a4 SHA512 e90f5d8446f555bb7103ae854ab695b29de21472d22f6d7ae62d996efe24b26b519184ec629f2f01b7d5656ce82c1d42bfaa9c6897bd11b38f8e615f2b5b1c2b -MISC metadata.xml 279 BLAKE2B 00c8dce49aae16cc265c0b1073eaef85985856d7f5e06e93140d7b921e0d5a9641fc454a8ad8f74581d4572fe55b34e53f4e3322eeacc84bd91bbcbf92ebf84a SHA512 797be7c55ce2c20ed44d7b7c72685e215540b61e959139333c04ae03495fc73c32bfacf2f802691ab8c0823583c3311c12a635f7cc9d67493eef176a1337304e +DIST linux_5.6.7-1.debian.tar.xz 1292804 BLAKE2B aafb06dc6bec92bf98912be3f5e516f9c1d6bd126661191dd5bd70e0f1915c8c07d130348ce282e8587d15bb0b7fa9cf86d7f611c41e478d7b2b5129f5f47ffe SHA512 854f538e17e2020599593bf6bb295d2d2b919200e8719780798749ce4a26e0689bb6cf1c5bd150ce65f919ee211bd25c1a7b3126f8a68a5a224e17c7f9ff3b63 +DIST linux_5.6.7.orig.tar.xz 116087540 BLAKE2B 9ac537375be80fb6afed67854782a274f8e817f9799778813cd2c23acf77ecc81f92ef1e9347192613dcac837de9b255c3318077a5f2ac88f09422b4102b0cd9 SHA512 a965b0148cf86a0157b760134f167708959d790022ccc12dd9476088fd364bf3e40be2a08fbb0ce2e85efde5b1a26a7edeb093dc5d237a7678c081cac3cf73b6 diff --git a/sys-kernel/debian-sources/debian-sources-4.19.118_p2.ebuild b/sys-kernel/debian-sources/debian-sources-4.19.118_p2.ebuild new file mode 100644 index 000000000000..6525ad6fd661 --- /dev/null +++ b/sys-kernel/debian-sources/debian-sources-4.19.118_p2.ebuild @@ -0,0 +1,307 @@ +# Distributed under the terms of the GNU General Public License v2 + +# Documentation for adding new kernels -- do not remove! +# +# Find latest stable kernel release for debian here: +# https://packages.debian.org/stable/kernel/ + +EAPI=5 + +inherit check-reqs eutils mount-boot + +SLOT=$PF +CKV=${PV} +KV_FULL=${PN}-${PVR} +DEB_PV_BASE="4.19.118" +DEB_EXTRAVERSION="-2" +EXTRAVERSION="_p2" + +# install modules to /lib/modules/${DEB_PV_BASE}${EXTRAVERSION}-$MODULE_EXT +MODULE_EXT=${EXTRAVERSION} +[ "$PR" != "r0" ] && MODULE_EXT=$MODULE_EXT-$PR +MODULE_EXT=$MODULE_EXT-${PN} +# install sources to /usr/src/$LINUX_SRCDIR +LINUX_SRCDIR=linux-${PF} +DEB_PV="$DEB_PV_BASE${DEB_EXTRAVERSION}" +KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz" +PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz" +RESTRICT="binchecks strip mirror" +LICENSE="GPL-2" +KEYWORDS="*" +IUSE="binary btrfs custom-cflags ec2 luks lvm sign-modules zfs" +DEPEND=" + virtual/libelf + binary? ( >=sys-kernel/genkernel-3.4.40.7 ) + btrfs? ( sys-fs/btrfs-progs sys-kernel/genkernel[btrfs] ) + zfs? ( sys-fs/zfs ) + luks? ( sys-kernel/genkernel[cryptsetup] )" +REQUIRED_USE=" +btrfs? ( binary ) +custom-cflags? ( binary ) +luks? ( binary ) +lvm? ( binary ) +sign-modules? ( binary ) +zfs? ( binary ) +" +DESCRIPTION="Debian Sources (and optional binary kernel)" +DEB_UPSTREAM="http://http.debian.net/debian/pool/main/l/linux" +HOMEPAGE="https://packages.debian.org/stable/kernel/" +SRC_URI="$DEB_UPSTREAM/${KERNEL_ARCHIVE} $DEB_UPSTREAM/${PATCH_ARCHIVE}" +S="$WORKDIR/linux-${DEB_PV_BASE}" + +get_patch_list() { + [[ -z "${1}" ]] && die "No patch series file specified" + local patch_series="${1}" + while read line ; do + if [[ "${line:0:1}" != "#" ]] ; then + echo "${line}" + fi + done < "${patch_series}" +} + +tweak_config() { + einfo "Setting $2=$3 in kernel config." + sed -i -e "/^$2=/d" $1 + echo "$2=$3" >> $1 +} + +setno_config() { + einfo "Setting $2*=y to n in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=n/g" $1 +} + +setyes_config() { + einfo "Setting $2*=* to y in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=y/g" $1 +} + +zap_config() { + einfo "Removing *$2* from kernel config." + sed -i -e "/$2/d" $1 +} + +pkg_pretend() { + # Ensure we have enough disk space to compile + if use binary ; then + CHECKREQS_DISK_BUILD="5G" + check-reqs_pkg_setup + fi +} + +get_certs_dir() { + # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules. + for subdir in $PF $P linux; do + certdir=/etc/kernel/certs/$subdir + if [ -d $certdir ]; then + if [ ! -e $certdir/signing_key.pem ]; then + eerror "$certdir exists but missing signing key; exiting." + exit 1 + fi + echo $certdir + return + fi + done +} + +pkg_setup() { + export REAL_ARCH="$ARCH" + unset ARCH; unset LDFLAGS #will interfere with Makefile if set +} + +src_prepare() { + cd "${S}" + for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do + epatch -p1 "${WORKDIR}/debian/patches/${debpatch}" + done + # end of debian-specific stuff... + + # do not include debian devs certificates + rm -rf "${WORKDIR}"/debian/certs + + sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die + sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die + rm -f .config >/dev/null + cp -a "${WORKDIR}"/debian "${T}" + make -s mrproper || die "make mrproper failed" + #make -s include/linux/version.h || die "make include/linux/version.h failed" + cd "${S}" + cp -aR "${WORKDIR}"/debian "${S}"/debian + + ## XFS LIBCRC kernel config fixes, FL-823 + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-xfs-libcrc32c-fix.patch + + ## FL-4424: enable legacy support for MCELOG. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-mcelog.patch + + ## do not configure debian devs certs. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-nocerts.patch + + ## FL-3381. enable IKCONFIG + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-ikconfig.patch + + ## increase bluetooth polling patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-fix-bluetooth-polling.patch + + ## add support for newer AMD APUs to AMDGPU + epatch "${FILESDIR}"/${DEB_PV_BASE}/amdgpu-picasso.patch + + ## fix for USB device enumeration for USBPre2: + ## does not apply cleanly and may have been fixed as of 4.19.118 needs looking into + ##epatch "${FILESDIR}/${DEB_PV_BASE}/usb-blacklist-endpoint-sound-devices-usbpre2.patch" + + local arch featureset subarch + featureset="standard" + if [[ ${REAL_ARCH} == x86 ]]; then + arch="i386" + subarch="686-pae" + elif [[ ${REAL_ARCH} == amd64 ]]; then + arch="amd64" + subarch="amd64" + else + die "Architecture not handled in ebuild" + fi + cp "${FILESDIR}"/config-extract . || die + chmod +x config-extract || die + ./config-extract ${arch} ${featureset} ${subarch} || die + setno_config .config CONFIG_DEBUG + if use ec2; then + setyes_config .config CONFIG_BLK_DEV_NVME + setyes_config .config CONFIG_XEN_BLKDEV_FRONTEND + setyes_config .config CONFIG_XEN_BLKDEV_BACKEND + setyes_config .config CONFIG_IXGBEVF + fi + if use sign-modules; then + certs_dir=$(get_certs_dir) + echo + if [ -z "$certs_dir" ]; then + eerror "No certs dir found in /etc/kernel/certs; aborting." + die + else + einfo "Using certificate directory of $certs_dir for kernel module signing." + fi + echo + # turn on options for signing modules. + # first, remove existing configs and comments: + zap_config .config CONFIG_MODULE_SIG + # now add our settings: + tweak_config .config CONFIG_MODULE_SIG y + tweak_config .config CONFIG_MODULE_SIG_FORCE n + tweak_config .config CONFIG_MODULE_SIG_ALL n + tweak_config .config CONFIG_MODULE_SIG_HASH \"sha512\" + tweak_config .config CONFIG_MODULE_SIG_KEY \"${certs_dir}/signing_key.pem\" + tweak_config .config CONFIG_SYSTEM_TRUSTED_KEYRING y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE 4096 + echo "CONFIG_MODULE_SIG_SHA512=y" >> .config + ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING." + ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot" + ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)" + echo + fi + if use custom-cflags; then + MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")" + if [ -n "$MARCH" ]; then + sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!" + fi + fi + # get config into good state: + yes "" | make oldconfig >/dev/null 2>&1 || die + cp .config "${T}"/config || die + make -s mrproper || die "make mrproper failed" +} + +src_compile() { + ! use binary && return + install -d "${WORKDIR}"/out/{lib,boot} + install -d "${T}"/{cache,twork} + install -d "${WORKDIR}"/build + cp "${T}"/config "${WORKDIR}"/build/.config + DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel ${GKARGS} \ + --no-save-config \ + --no-oldconfig \ + --kernel-config=${T}/config \ + --kernname="${PN}" \ + --build-src="${S}" \ + --build-dst="${WORKDIR}"/build \ + --makeopts="${MAKEOPTS}" \ + --cachedir="${T}"/cache \ + --tempdir="${T}"/twork \ + --logfile="${WORKDIR}"/genkernel.log \ + --bootdir="${WORKDIR}"/out/boot \ + --disklabel \ + $(usex lvm --lvm --no-lvm ) \ + $(usex luks --luks --no-luks ) \ + --mdadm \ + $(usex btrfs --btrfs --no-btrfs) \ + $(usex zfs --zfs --no-zfs) \ + --module-prefix="${WORKDIR}"/out \ + all || die +} + +src_install() { + # copy sources into place: + dodir /usr/src + cp -a "${S}" "${D}"/usr/src/${LINUX_SRCDIR} || die + cd "${D}"/usr/src/${LINUX_SRCDIR} + # prepare for real-world use and 3rd-party module building: + make mrproper || die + cp "${T}"/config .config || die + cp -a "${T}"/debian debian || die + + + # if we didn't use genkernel, we're done. The kernel source tree is left in + # an unconfigured state - you can't compile 3rd-party modules against it yet. + use binary || return + make prepare || die + make scripts || die + # OK, now the source tree is configured to allow 3rd-party modules to be + # built against it, since we want that to work since we have a binary kernel + # built. + cp -a "${WORKDIR}"/out/* "${D}"/ || die "couldn't copy output files into place" + # module symlink fixup: + rm -f "${D}"/lib/modules/*/source || die + rm -f "${D}"/lib/modules/*/build || die + cd "${D}"/lib/modules + local moddir="$(ls -d [234]*)" + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/source || die + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/build || die + # Fixes FL-14 + cp "${WORKDIR}/build/System.map" "${D}/usr/src/${LINUX_SRCDIR}/" || die + cp "${WORKDIR}/build/Module.symvers" "${D}/usr/src/${LINUX_SRCDIR}/" || die + if use sign-modules; then + for x in $(find "${D}"/lib/modules -iname *.ko); do + # $certs_dir defined previously in this function. + ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die + done + # install the sign-file executable for future use. + exeinto /usr/src/${LINUX_SRCDIR}/scripts + doexe ${WORKDIR}/build/scripts/sign-file + fi + + # The new naming scheme leaves an extra -${PN} at the name of various things in /boot. This should fix that. + cd ${D}/boot + for x in $(ls *); do + xnew=${x%-${PN}} + mv $x ${xnew} || die + done + + +} + +pkg_postinst() { + if use binary && [[ -h "${ROOT}"usr/src/linux ]]; then + rm "${ROOT}"usr/src/linux + fi + if use binary && [[ ! -e "${ROOT}"usr/src/linux ]]; then + ewarn "With binary use flag enabled /usr/src/linux" + ewarn "symlink automatically set to debian kernel" + ln -sf ${LINUX_SRCDIR} "${ROOT}"usr/src/linux + fi + + if [ -e ${ROOT}lib/modules ]; then + depmod -a $DEP_PV + fi + if [ -e /etc/boot.conf ]; then + ego boot update + fi +} diff --git a/sys-kernel/debian-sources/debian-sources-4.19.98_p1.ebuild b/sys-kernel/debian-sources/debian-sources-4.19.98_p1.ebuild new file mode 100644 index 000000000000..ea7001b74f72 --- /dev/null +++ b/sys-kernel/debian-sources/debian-sources-4.19.98_p1.ebuild @@ -0,0 +1,300 @@ +# Distributed under the terms of the GNU General Public License v2 + +# Documentation for adding new kernels -- do not remove! +# +# Find latest stable kernel release for debian here: +# https://packages.debian.org/unstable/kernel/ + +EAPI=5 + +inherit check-reqs eutils mount-boot + +SLOT=$PF +CKV=${PV} +KV_FULL=${PN}-${PVR} +DEB_PV_BASE="4.19.98" +DEB_EXTRAVERSION="-1" +EXTRAVERSION="_p1" + +# install modules to /lib/modules/${DEB_PV_BASE}${EXTRAVERSION}-$MODULE_EXT +MODULE_EXT=${EXTRAVERSION} +[ "$PR" != "r0" ] && MODULE_EXT=$MODULE_EXT-$PR +MODULE_EXT=$MODULE_EXT-${PN} +# install sources to /usr/src/$LINUX_SRCDIR +LINUX_SRCDIR=linux-${PF} +DEB_PV="$DEB_PV_BASE${DEB_EXTRAVERSION}" +KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz" +PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz" +RESTRICT="binchecks strip mirror" +LICENSE="GPL-2" +KEYWORDS="*" +IUSE="binary btrfs custom-cflags ec2 luks lvm sign-modules zfs" +DEPEND=" + virtual/libelf + binary? ( >=sys-kernel/genkernel-3.4.40.7 ) + btrfs? ( sys-fs/btrfs-progs sys-kernel/genkernel[btrfs] ) + zfs? ( sys-fs/zfs ) + luks? ( sys-kernel/genkernel[cryptsetup] )" +REQUIRED_USE=" +btrfs? ( binary ) +custom-cflags? ( binary ) +luks? ( binary ) +lvm? ( binary ) +sign-modules? ( binary ) +zfs? ( binary ) +" +DESCRIPTION="Debian Sources (and optional binary kernel)" +DEB_UPSTREAM="http://http.debian.net/debian/pool/main/l/linux" +HOMEPAGE="https://packages.debian.org/unstable/kernel/" +SRC_URI="$DEB_UPSTREAM/${KERNEL_ARCHIVE} $DEB_UPSTREAM/${PATCH_ARCHIVE}" +S="$WORKDIR/linux-${DEB_PV_BASE}" + +get_patch_list() { + [[ -z "${1}" ]] && die "No patch series file specified" + local patch_series="${1}" + while read line ; do + if [[ "${line:0:1}" != "#" ]] ; then + echo "${line}" + fi + done < "${patch_series}" +} + +tweak_config() { + einfo "Setting $2=$3 in kernel config." + sed -i -e "/^$2=/d" $1 + echo "$2=$3" >> $1 +} + +setno_config() { + einfo "Setting $2*=y to n in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=n/g" $1 +} + +setyes_config() { + einfo "Setting $2*=* to y in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=y/g" $1 +} + +zap_config() { + einfo "Removing *$2* from kernel config." + sed -i -e "/$2/d" $1 +} + +pkg_pretend() { + # Ensure we have enough disk space to compile + if use binary ; then + CHECKREQS_DISK_BUILD="5G" + check-reqs_pkg_setup + fi +} + +get_certs_dir() { + # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules. + for subdir in $PF $P linux; do + certdir=/etc/kernel/certs/$subdir + if [ -d $certdir ]; then + if [ ! -e $certdir/signing_key.pem ]; then + eerror "$certdir exists but missing signing key; exiting." + exit 1 + fi + echo $certdir + return + fi + done +} + +pkg_setup() { + export REAL_ARCH="$ARCH" + unset ARCH; unset LDFLAGS #will interfere with Makefile if set +} + +src_prepare() { + cd "${S}" + for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do + epatch -p1 "${WORKDIR}/debian/patches/${debpatch}" + done + # end of debian-specific stuff... + + # do not include debian devs certificates + rm -rf "${WORKDIR}"/debian/certs + + sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die + sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die + rm -f .config >/dev/null + cp -a "${WORKDIR}"/debian "${T}" + make -s mrproper || die "make mrproper failed" + #make -s include/linux/version.h || die "make include/linux/version.h failed" + cd "${S}" + cp -aR "${WORKDIR}"/debian "${S}"/debian + + ## XFS LIBCRC kernel config fixes, FL-823 + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-xfs-libcrc32c-fix.patch + + ## FL-4424: enable legacy support for MCELOG. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-mcelog.patch + + ## do not configure debian devs certs. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-nocerts.patch + + ## FL-3381. enable IKCONFIG + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-ikconfig.patch + + ## increase bluetooth polling patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-fix-bluetooth-polling.patch + + local arch featureset subarch + featureset="standard" + if [[ ${REAL_ARCH} == x86 ]]; then + arch="i386" + subarch="686-pae" + elif [[ ${REAL_ARCH} == amd64 ]]; then + arch="amd64" + subarch="amd64" + else + die "Architecture not handled in ebuild" + fi + cp "${FILESDIR}"/config-extract . || die + chmod +x config-extract || die + ./config-extract ${arch} ${featureset} ${subarch} || die + setno_config .config CONFIG_DEBUG + if use ec2; then + setyes_config .config CONFIG_BLK_DEV_NVME + setyes_config .config CONFIG_XEN_BLKDEV_FRONTEND + setyes_config .config CONFIG_XEN_BLKDEV_BACKEND + setyes_config .config CONFIG_IXGBEVF + fi + if use sign-modules; then + certs_dir=$(get_certs_dir) + echo + if [ -z "$certs_dir" ]; then + eerror "No certs dir found in /etc/kernel/certs; aborting." + die + else + einfo "Using certificate directory of $certs_dir for kernel module signing." + fi + echo + # turn on options for signing modules. + # first, remove existing configs and comments: + zap_config .config CONFIG_MODULE_SIG + # now add our settings: + tweak_config .config CONFIG_MODULE_SIG y + tweak_config .config CONFIG_MODULE_SIG_FORCE n + tweak_config .config CONFIG_MODULE_SIG_ALL n + tweak_config .config CONFIG_MODULE_SIG_HASH \"sha512\" + tweak_config .config CONFIG_MODULE_SIG_KEY \"${certs_dir}/signing_key.pem\" + tweak_config .config CONFIG_SYSTEM_TRUSTED_KEYRING y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE 4096 + echo "CONFIG_MODULE_SIG_SHA512=y" >> .config + ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING." + ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot" + ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)" + echo + fi + if use custom-cflags; then + MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")" + if [ -n "$MARCH" ]; then + sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!" + fi + fi + # get config into good state: + yes "" | make oldconfig >/dev/null 2>&1 || die + cp .config "${T}"/config || die + make -s mrproper || die "make mrproper failed" +} + +src_compile() { + ! use binary && return + install -d "${WORKDIR}"/out/{lib,boot} + install -d "${T}"/{cache,twork} + install -d "${WORKDIR}"/build + cp "${T}"/config "${WORKDIR}"/build/.config + DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel ${GKARGS} \ + --no-save-config \ + --no-oldconfig \ + --kernel-config=${T}/config \ + --kernname="${PN}" \ + --build-src="${S}" \ + --build-dst="${WORKDIR}"/build \ + --makeopts="${MAKEOPTS}" \ + --cachedir="${T}"/cache \ + --tempdir="${T}"/twork \ + --logfile="${WORKDIR}"/genkernel.log \ + --bootdir="${WORKDIR}"/out/boot \ + --disklabel \ + $(usex lvm --lvm --no-lvm ) \ + $(usex luks --luks --no-luks ) \ + --mdadm \ + $(usex btrfs --btrfs --no-btrfs) \ + $(usex zfs --zfs --no-zfs) \ + --module-prefix="${WORKDIR}"/out \ + all || die +} + +src_install() { + # copy sources into place: + dodir /usr/src + cp -a "${S}" "${D}"/usr/src/${LINUX_SRCDIR} || die + cd "${D}"/usr/src/${LINUX_SRCDIR} + # prepare for real-world use and 3rd-party module building: + make mrproper || die + cp "${T}"/config .config || die + cp -a "${T}"/debian debian || die + + + # if we didn't use genkernel, we're done. The kernel source tree is left in + # an unconfigured state - you can't compile 3rd-party modules against it yet. + use binary || return + make prepare || die + make scripts || die + # OK, now the source tree is configured to allow 3rd-party modules to be + # built against it, since we want that to work since we have a binary kernel + # built. + cp -a "${WORKDIR}"/out/* "${D}"/ || die "couldn't copy output files into place" + # module symlink fixup: + rm -f "${D}"/lib/modules/*/source || die + rm -f "${D}"/lib/modules/*/build || die + cd "${D}"/lib/modules + local moddir="$(ls -d [234]*)" + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/source || die + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/build || die + # Fixes FL-14 + cp "${WORKDIR}/build/System.map" "${D}/usr/src/${LINUX_SRCDIR}/" || die + cp "${WORKDIR}/build/Module.symvers" "${D}/usr/src/${LINUX_SRCDIR}/" || die + if use sign-modules; then + for x in $(find "${D}"/lib/modules -iname *.ko); do + # $certs_dir defined previously in this function. + ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die + done + # install the sign-file executable for future use. + exeinto /usr/src/${LINUX_SRCDIR}/scripts + doexe ${WORKDIR}/build/scripts/sign-file + fi + + # The new naming scheme leaves an extra -${PN} at the name of various things in /boot. This should fix that. + cd ${D}/boot + for x in $(ls *); do + xnew=${x%-${PN}} + mv $x ${xnew} || die + done + + +} + +pkg_postinst() { + if use binary && [[ -h "${ROOT}"usr/src/linux ]]; then + rm "${ROOT}"usr/src/linux + fi + if use binary && [[ ! -e "${ROOT}"usr/src/linux ]]; then + ewarn "With binary use flag enabled /usr/src/linux" + ewarn "symlink automatically set to debian kernel" + ln -sf ${LINUX_SRCDIR} "${ROOT}"usr/src/linux + fi + + if [ -e ${ROOT}lib/modules ]; then + depmod -a $DEP_PV + fi + if [ -e /etc/boot.conf ]; then + ego boot update + fi +} diff --git a/sys-kernel/debian-sources/debian-sources-5.4.19_p1.ebuild b/sys-kernel/debian-sources/debian-sources-5.4.19_p1.ebuild new file mode 100644 index 000000000000..397ad9eff948 --- /dev/null +++ b/sys-kernel/debian-sources/debian-sources-5.4.19_p1.ebuild @@ -0,0 +1,300 @@ +# Distributed under the terms of the GNU General Public License v2 + +# Documentation for adding new kernels -- do not remove! +# +# Find latest stable kernel release for debian here: +# https://packages.debian.org/unstable/kernel/ + +EAPI=5 + +inherit check-reqs eutils mount-boot + +SLOT=$PF +CKV=${PV} +KV_FULL=${PN}-${PVR} +DEB_PV_BASE="5.4.19" +DEB_EXTRAVERSION="-1" +EXTRAVERSION="_p1" + +# install modules to /lib/modules/${DEB_PV_BASE}${EXTRAVERSION}-$MODULE_EXT +MODULE_EXT=${EXTRAVERSION} +[ "$PR" != "r0" ] && MODULE_EXT=$MODULE_EXT-$PR +MODULE_EXT=$MODULE_EXT-${PN} +# install sources to /usr/src/$LINUX_SRCDIR +LINUX_SRCDIR=linux-${PF} +DEB_PV="$DEB_PV_BASE${DEB_EXTRAVERSION}" +KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz" +PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz" +RESTRICT="binchecks strip mirror" +LICENSE="GPL-2" +KEYWORDS="*" +IUSE="binary btrfs custom-cflags ec2 luks lvm sign-modules zfs" +DEPEND=" + virtual/libelf + binary? ( >=sys-kernel/genkernel-3.4.40.7 ) + btrfs? ( sys-fs/btrfs-progs sys-kernel/genkernel[btrfs] ) + zfs? ( sys-fs/zfs ) + luks? ( sys-kernel/genkernel[cryptsetup] )" +REQUIRED_USE=" +btrfs? ( binary ) +custom-cflags? ( binary ) +luks? ( binary ) +lvm? ( binary ) +sign-modules? ( binary ) +zfs? ( binary ) +" +DESCRIPTION="Debian Sources (and optional binary kernel)" +DEB_UPSTREAM="http://http.debian.net/debian/pool/main/l/linux" +HOMEPAGE="https://packages.debian.org/unstable/kernel/" +SRC_URI="$DEB_UPSTREAM/${KERNEL_ARCHIVE} $DEB_UPSTREAM/${PATCH_ARCHIVE}" +S="$WORKDIR/linux-${DEB_PV_BASE}" + +get_patch_list() { + [[ -z "${1}" ]] && die "No patch series file specified" + local patch_series="${1}" + while read line ; do + if [[ "${line:0:1}" != "#" ]] ; then + echo "${line}" + fi + done < "${patch_series}" +} + +tweak_config() { + einfo "Setting $2=$3 in kernel config." + sed -i -e "/^$2=/d" $1 + echo "$2=$3" >> $1 +} + +setno_config() { + einfo "Setting $2*=y to n in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=n/g" $1 +} + +setyes_config() { + einfo "Setting $2*=* to y in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=y/g" $1 +} + +zap_config() { + einfo "Removing *$2* from kernel config." + sed -i -e "/$2/d" $1 +} + +pkg_pretend() { + # Ensure we have enough disk space to compile + if use binary ; then + CHECKREQS_DISK_BUILD="5G" + check-reqs_pkg_setup + fi +} + +get_certs_dir() { + # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules. + for subdir in $PF $P linux; do + certdir=/etc/kernel/certs/$subdir + if [ -d $certdir ]; then + if [ ! -e $certdir/signing_key.pem ]; then + eerror "$certdir exists but missing signing key; exiting." + exit 1 + fi + echo $certdir + return + fi + done +} + +pkg_setup() { + export REAL_ARCH="$ARCH" + unset ARCH; unset LDFLAGS #will interfere with Makefile if set +} + +src_prepare() { + cd "${S}" + for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do + epatch -p1 "${WORKDIR}/debian/patches/${debpatch}" + done + # end of debian-specific stuff... + + # do not include debian devs certificates + rm -rf "${WORKDIR}"/debian/certs + + sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die + sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die + rm -f .config >/dev/null + cp -a "${WORKDIR}"/debian "${T}" + make -s mrproper || die "make mrproper failed" + #make -s include/linux/version.h || die "make include/linux/version.h failed" + cd "${S}" + cp -aR "${WORKDIR}"/debian "${S}"/debian + + ## XFS LIBCRC kernel config fixes, FL-823 + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-xfs-libcrc32c-fix.patch + + ## FL-4424: enable legacy support for MCELOG. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-mcelog.patch + + ## do not configure debian devs certs. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-nocerts.patch + + ## FL-3381. enable IKCONFIG + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-ikconfig.patch + + ## increase bluetooth polling patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-fix-bluetooth-polling.patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/export_kernel_fpu_functions_5_3.patch + local arch featureset subarch + featureset="standard" + if [[ ${REAL_ARCH} == x86 ]]; then + arch="i386" + subarch="686-pae" + elif [[ ${REAL_ARCH} == amd64 ]]; then + arch="amd64" + subarch="amd64" + else + die "Architecture not handled in ebuild" + fi + cp "${FILESDIR}"/config-extract . || die + chmod +x config-extract || die + ./config-extract ${arch} ${featureset} ${subarch} || die + setno_config .config CONFIG_DEBUG + if use ec2; then + setyes_config .config CONFIG_BLK_DEV_NVME + setyes_config .config CONFIG_XEN_BLKDEV_FRONTEND + setyes_config .config CONFIG_XEN_BLKDEV_BACKEND + setyes_config .config CONFIG_IXGBEVF + fi + if use sign-modules; then + certs_dir=$(get_certs_dir) + echo + if [ -z "$certs_dir" ]; then + eerror "No certs dir found in /etc/kernel/certs; aborting." + die + else + einfo "Using certificate directory of $certs_dir for kernel module signing." + fi + echo + # turn on options for signing modules. + # first, remove existing configs and comments: + zap_config .config CONFIG_MODULE_SIG + # now add our settings: + tweak_config .config CONFIG_MODULE_SIG y + tweak_config .config CONFIG_MODULE_SIG_FORCE n + tweak_config .config CONFIG_MODULE_SIG_ALL n + tweak_config .config CONFIG_MODULE_SIG_HASH \"sha512\" + tweak_config .config CONFIG_MODULE_SIG_KEY \"${certs_dir}/signing_key.pem\" + tweak_config .config CONFIG_SYSTEM_TRUSTED_KEYRING y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE 4096 + echo "CONFIG_MODULE_SIG_SHA512=y" >> .config + ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING." + ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot" + ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)" + echo + fi + if use custom-cflags; then + MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")" + if [ -n "$MARCH" ]; then + sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!" + fi + fi + # get config into good state: + yes "" | make oldconfig >/dev/null 2>&1 || die + cp .config "${T}"/config || die + make -s mrproper || die "make mrproper failed" +} + +src_compile() { + ! use binary && return + install -d "${WORKDIR}"/out/{lib,boot} + install -d "${T}"/{cache,twork} + install -d "${WORKDIR}"/build + cp "${T}"/config "${WORKDIR}"/build/.config + DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel ${GKARGS} \ + --no-save-config \ + --no-oldconfig \ + --kernel-config=${T}/config \ + --kernname="${PN}" \ + --build-src="${S}" \ + --build-dst="${WORKDIR}"/build \ + --makeopts="${MAKEOPTS}" \ + --cachedir="${T}"/cache \ + --tempdir="${T}"/twork \ + --logfile="${WORKDIR}"/genkernel.log \ + --bootdir="${WORKDIR}"/out/boot \ + --disklabel \ + $(usex lvm --lvm --no-lvm ) \ + $(usex luks --luks --no-luks ) \ + --mdadm \ + $(usex btrfs --btrfs --no-btrfs) \ + $(usex zfs --zfs --no-zfs) \ + --module-prefix="${WORKDIR}"/out \ + all || die +} + +src_install() { + # copy sources into place: + dodir /usr/src + cp -a "${S}" "${D}"/usr/src/${LINUX_SRCDIR} || die + cd "${D}"/usr/src/${LINUX_SRCDIR} + # prepare for real-world use and 3rd-party module building: + make mrproper || die + cp "${T}"/config .config || die + cp -a "${T}"/debian debian || die + + + # if we didn't use genkernel, we're done. The kernel source tree is left in + # an unconfigured state - you can't compile 3rd-party modules against it yet. + use binary || return + make prepare || die + make scripts || die + # OK, now the source tree is configured to allow 3rd-party modules to be + # built against it, since we want that to work since we have a binary kernel + # built. + cp -a "${WORKDIR}"/out/* "${D}"/ || die "couldn't copy output files into place" + # module symlink fixup: + rm -f "${D}"/lib/modules/*/source || die + rm -f "${D}"/lib/modules/*/build || die + cd "${D}"/lib/modules + local moddir="$(ls -d [234]*)" + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/source || die + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/build || die + # Fixes FL-14 + cp "${WORKDIR}/build/System.map" "${D}/usr/src/${LINUX_SRCDIR}/" || die + cp "${WORKDIR}/build/Module.symvers" "${D}/usr/src/${LINUX_SRCDIR}/" || die + if use sign-modules; then + for x in $(find "${D}"/lib/modules -iname *.ko); do + # $certs_dir defined previously in this function. + ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die + done + # install the sign-file executable for future use. + exeinto /usr/src/${LINUX_SRCDIR}/scripts + doexe ${WORKDIR}/build/scripts/sign-file + fi + + # The new naming scheme leaves an extra -${PN} at the name of various things in /boot. This should fix that. + cd ${D}/boot + for x in $(ls *); do + xnew=${x%-${PN}} + mv $x ${xnew} || die + done + + +} + +pkg_postinst() { + if use binary && [[ -h "${ROOT}"usr/src/linux ]]; then + rm "${ROOT}"usr/src/linux + fi + if use binary && [[ ! -e "${ROOT}"usr/src/linux ]]; then + ewarn "With binary use flag enabled /usr/src/linux" + ewarn "symlink automatically set to debian kernel" + ln -sf ${LINUX_SRCDIR} "${ROOT}"usr/src/linux + fi + + if [ -e ${ROOT}lib/modules ]; then + depmod -a $DEP_PV + fi + if [ -e /etc/boot.conf ]; then + ego boot update + fi +} diff --git a/sys-kernel/debian-sources/debian-sources-5.5.17_p1.ebuild b/sys-kernel/debian-sources/debian-sources-5.5.17_p1.ebuild new file mode 100644 index 000000000000..51f4e37f69b1 --- /dev/null +++ b/sys-kernel/debian-sources/debian-sources-5.5.17_p1.ebuild @@ -0,0 +1,300 @@ +# Distributed under the terms of the GNU General Public License v2 + +# Documentation for adding new kernels -- do not remove! +# +# Find latest stable kernel release for debian here: +# https://packages.debian.org/unstable/kernel/ + +EAPI=5 + +inherit check-reqs eutils mount-boot + +SLOT=$PF +CKV=${PV} +KV_FULL=${PN}-${PVR} +DEB_PV_BASE="5.5.17" +DEB_EXTRAVERSION="-1" +EXTRAVERSION="_p1" + +# install modules to /lib/modules/${DEB_PV_BASE}${EXTRAVERSION}-$MODULE_EXT +MODULE_EXT=${EXTRAVERSION} +[ "$PR" != "r0" ] && MODULE_EXT=$MODULE_EXT-$PR +MODULE_EXT=$MODULE_EXT-${PN} +# install sources to /usr/src/$LINUX_SRCDIR +LINUX_SRCDIR=linux-${PF} +DEB_PV="$DEB_PV_BASE${DEB_EXTRAVERSION}" +KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz" +PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz" +RESTRICT="binchecks strip mirror" +LICENSE="GPL-2" +KEYWORDS="*" +IUSE="binary btrfs custom-cflags ec2 luks lvm sign-modules zfs" +DEPEND=" + virtual/libelf + binary? ( >=sys-kernel/genkernel-3.4.40.7 ) + btrfs? ( sys-fs/btrfs-progs sys-kernel/genkernel[btrfs] ) + zfs? ( sys-fs/zfs ) + luks? ( sys-kernel/genkernel[cryptsetup] )" +REQUIRED_USE=" +btrfs? ( binary ) +custom-cflags? ( binary ) +luks? ( binary ) +lvm? ( binary ) +sign-modules? ( binary ) +zfs? ( binary ) +" +DESCRIPTION="Debian Sources (and optional binary kernel)" +DEB_UPSTREAM="http://http.debian.net/debian/pool/main/l/linux" +HOMEPAGE="https://packages.debian.org/unstable/kernel/" +SRC_URI="$DEB_UPSTREAM/${KERNEL_ARCHIVE} $DEB_UPSTREAM/${PATCH_ARCHIVE}" +S="$WORKDIR/linux-${DEB_PV_BASE}" + +get_patch_list() { + [[ -z "${1}" ]] && die "No patch series file specified" + local patch_series="${1}" + while read line ; do + if [[ "${line:0:1}" != "#" ]] ; then + echo "${line}" + fi + done < "${patch_series}" +} + +tweak_config() { + einfo "Setting $2=$3 in kernel config." + sed -i -e "/^$2=/d" $1 + echo "$2=$3" >> $1 +} + +setno_config() { + einfo "Setting $2*=y to n in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=n/g" $1 +} + +setyes_config() { + einfo "Setting $2*=* to y in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=y/g" $1 +} + +zap_config() { + einfo "Removing *$2* from kernel config." + sed -i -e "/$2/d" $1 +} + +pkg_pretend() { + # Ensure we have enough disk space to compile + if use binary ; then + CHECKREQS_DISK_BUILD="5G" + check-reqs_pkg_setup + fi +} + +get_certs_dir() { + # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules. + for subdir in $PF $P linux; do + certdir=/etc/kernel/certs/$subdir + if [ -d $certdir ]; then + if [ ! -e $certdir/signing_key.pem ]; then + eerror "$certdir exists but missing signing key; exiting." + exit 1 + fi + echo $certdir + return + fi + done +} + +pkg_setup() { + export REAL_ARCH="$ARCH" + unset ARCH; unset LDFLAGS #will interfere with Makefile if set +} + +src_prepare() { + cd "${S}" + for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do + epatch -p1 "${WORKDIR}/debian/patches/${debpatch}" + done + # end of debian-specific stuff... + + # do not include debian devs certificates + rm -rf "${WORKDIR}"/debian/certs + + sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die + sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die + rm -f .config >/dev/null + cp -a "${WORKDIR}"/debian "${T}" + make -s mrproper || die "make mrproper failed" + #make -s include/linux/version.h || die "make include/linux/version.h failed" + cd "${S}" + cp -aR "${WORKDIR}"/debian "${S}"/debian + + ## XFS LIBCRC kernel config fixes, FL-823 + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-xfs-libcrc32c-fix.patch + + ## FL-4424: enable legacy support for MCELOG. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-mcelog.patch + + ## do not configure debian devs certs. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-nocerts.patch + + ## FL-3381. enable IKCONFIG + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-ikconfig.patch + + ## increase bluetooth polling patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-fix-bluetooth-polling.patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/export_kernel_fpu_functions_5_3.patch + local arch featureset subarch + featureset="standard" + if [[ ${REAL_ARCH} == x86 ]]; then + arch="i386" + subarch="686-pae" + elif [[ ${REAL_ARCH} == amd64 ]]; then + arch="amd64" + subarch="amd64" + else + die "Architecture not handled in ebuild" + fi + cp "${FILESDIR}"/config-extract . || die + chmod +x config-extract || die + ./config-extract ${arch} ${featureset} ${subarch} || die + setno_config .config CONFIG_DEBUG + if use ec2; then + setyes_config .config CONFIG_BLK_DEV_NVME + setyes_config .config CONFIG_XEN_BLKDEV_FRONTEND + setyes_config .config CONFIG_XEN_BLKDEV_BACKEND + setyes_config .config CONFIG_IXGBEVF + fi + if use sign-modules; then + certs_dir=$(get_certs_dir) + echo + if [ -z "$certs_dir" ]; then + eerror "No certs dir found in /etc/kernel/certs; aborting." + die + else + einfo "Using certificate directory of $certs_dir for kernel module signing." + fi + echo + # turn on options for signing modules. + # first, remove existing configs and comments: + zap_config .config CONFIG_MODULE_SIG + # now add our settings: + tweak_config .config CONFIG_MODULE_SIG y + tweak_config .config CONFIG_MODULE_SIG_FORCE n + tweak_config .config CONFIG_MODULE_SIG_ALL n + tweak_config .config CONFIG_MODULE_SIG_HASH \"sha512\" + tweak_config .config CONFIG_MODULE_SIG_KEY \"${certs_dir}/signing_key.pem\" + tweak_config .config CONFIG_SYSTEM_TRUSTED_KEYRING y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE 4096 + echo "CONFIG_MODULE_SIG_SHA512=y" >> .config + ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING." + ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot" + ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)" + echo + fi + if use custom-cflags; then + MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")" + if [ -n "$MARCH" ]; then + sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!" + fi + fi + # get config into good state: + yes "" | make oldconfig >/dev/null 2>&1 || die + cp .config "${T}"/config || die + make -s mrproper || die "make mrproper failed" +} + +src_compile() { + ! use binary && return + install -d "${WORKDIR}"/out/{lib,boot} + install -d "${T}"/{cache,twork} + install -d "${WORKDIR}"/build + cp "${T}"/config "${WORKDIR}"/build/.config + DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel ${GKARGS} \ + --no-save-config \ + --no-oldconfig \ + --kernel-config=${T}/config \ + --kernname="${PN}" \ + --build-src="${S}" \ + --build-dst="${WORKDIR}"/build \ + --makeopts="${MAKEOPTS}" \ + --cachedir="${T}"/cache \ + --tempdir="${T}"/twork \ + --logfile="${WORKDIR}"/genkernel.log \ + --bootdir="${WORKDIR}"/out/boot \ + --disklabel \ + $(usex lvm --lvm --no-lvm ) \ + $(usex luks --luks --no-luks ) \ + --mdadm \ + $(usex btrfs --btrfs --no-btrfs) \ + $(usex zfs --zfs --no-zfs) \ + --module-prefix="${WORKDIR}"/out \ + all || die +} + +src_install() { + # copy sources into place: + dodir /usr/src + cp -a "${S}" "${D}"/usr/src/${LINUX_SRCDIR} || die + cd "${D}"/usr/src/${LINUX_SRCDIR} + # prepare for real-world use and 3rd-party module building: + make mrproper || die + cp "${T}"/config .config || die + cp -a "${T}"/debian debian || die + + + # if we didn't use genkernel, we're done. The kernel source tree is left in + # an unconfigured state - you can't compile 3rd-party modules against it yet. + use binary || return + make prepare || die + make scripts || die + # OK, now the source tree is configured to allow 3rd-party modules to be + # built against it, since we want that to work since we have a binary kernel + # built. + cp -a "${WORKDIR}"/out/* "${D}"/ || die "couldn't copy output files into place" + # module symlink fixup: + rm -f "${D}"/lib/modules/*/source || die + rm -f "${D}"/lib/modules/*/build || die + cd "${D}"/lib/modules + local moddir="$(ls -d [234]*)" + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/source || die + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/build || die + # Fixes FL-14 + cp "${WORKDIR}/build/System.map" "${D}/usr/src/${LINUX_SRCDIR}/" || die + cp "${WORKDIR}/build/Module.symvers" "${D}/usr/src/${LINUX_SRCDIR}/" || die + if use sign-modules; then + for x in $(find "${D}"/lib/modules -iname *.ko); do + # $certs_dir defined previously in this function. + ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die + done + # install the sign-file executable for future use. + exeinto /usr/src/${LINUX_SRCDIR}/scripts + doexe ${WORKDIR}/build/scripts/sign-file + fi + + # The new naming scheme leaves an extra -${PN} at the name of various things in /boot. This should fix that. + cd ${D}/boot + for x in $(ls *); do + xnew=${x%-${PN}} + mv $x ${xnew} || die + done + + +} + +pkg_postinst() { + if use binary && [[ -h "${ROOT}"usr/src/linux ]]; then + rm "${ROOT}"usr/src/linux + fi + if use binary && [[ ! -e "${ROOT}"usr/src/linux ]]; then + ewarn "With binary use flag enabled /usr/src/linux" + ewarn "symlink automatically set to debian kernel" + ln -sf ${LINUX_SRCDIR} "${ROOT}"usr/src/linux + fi + + if [ -e ${ROOT}lib/modules ]; then + depmod -a $DEP_PV + fi + if [ -e /etc/boot.conf ]; then + ego boot update + fi +} diff --git a/sys-kernel/debian-sources/debian-sources-5.6.14_p1.ebuild b/sys-kernel/debian-sources/debian-sources-5.6.14_p1.ebuild new file mode 100644 index 000000000000..548298205364 --- /dev/null +++ b/sys-kernel/debian-sources/debian-sources-5.6.14_p1.ebuild @@ -0,0 +1,300 @@ +# Distributed under the terms of the GNU General Public License v2 + +# Documentation for adding new kernels -- do not remove! +# +# Find latest stable kernel release for debian here: +# https://packages.debian.org/unstable/kernel/ + +EAPI=5 + +inherit check-reqs eutils mount-boot + +SLOT=$PF +CKV=${PV} +KV_FULL=${PN}-${PVR} +DEB_PV_BASE="5.6.14" +DEB_EXTRAVERSION="-1" +EXTRAVERSION="_p1" + +# install modules to /lib/modules/${DEB_PV_BASE}${EXTRAVERSION}-$MODULE_EXT +MODULE_EXT=${EXTRAVERSION} +[ "$PR" != "r0" ] && MODULE_EXT=$MODULE_EXT-$PR +MODULE_EXT=$MODULE_EXT-${PN} +# install sources to /usr/src/$LINUX_SRCDIR +LINUX_SRCDIR=linux-${PF} +DEB_PV="$DEB_PV_BASE${DEB_EXTRAVERSION}" +KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz" +PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz" +RESTRICT="binchecks strip mirror" +LICENSE="GPL-2" +KEYWORDS="*" +IUSE="binary btrfs custom-cflags ec2 luks lvm sign-modules zfs" +DEPEND=" + virtual/libelf + binary? ( >=sys-kernel/genkernel-3.4.40.7 ) + btrfs? ( sys-fs/btrfs-progs sys-kernel/genkernel[btrfs] ) + zfs? ( sys-fs/zfs ) + luks? ( sys-kernel/genkernel[cryptsetup] )" +REQUIRED_USE=" +btrfs? ( binary ) +custom-cflags? ( binary ) +luks? ( binary ) +lvm? ( binary ) +sign-modules? ( binary ) +zfs? ( binary ) +" +DESCRIPTION="Debian Sources (and optional binary kernel)" +DEB_UPSTREAM="http://http.debian.net/debian/pool/main/l/linux" +HOMEPAGE="https://packages.debian.org/unstable/kernel/" +SRC_URI="$DEB_UPSTREAM/${KERNEL_ARCHIVE} $DEB_UPSTREAM/${PATCH_ARCHIVE}" +S="$WORKDIR/linux-${DEB_PV_BASE}" + +get_patch_list() { + [[ -z "${1}" ]] && die "No patch series file specified" + local patch_series="${1}" + while read line ; do + if [[ "${line:0:1}" != "#" ]] ; then + echo "${line}" + fi + done < "${patch_series}" +} + +tweak_config() { + einfo "Setting $2=$3 in kernel config." + sed -i -e "/^$2=/d" $1 + echo "$2=$3" >> $1 +} + +setno_config() { + einfo "Setting $2*=y to n in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=n/g" $1 +} + +setyes_config() { + einfo "Setting $2*=* to y in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=y/g" $1 +} + +zap_config() { + einfo "Removing *$2* from kernel config." + sed -i -e "/$2/d" $1 +} + +pkg_pretend() { + # Ensure we have enough disk space to compile + if use binary ; then + CHECKREQS_DISK_BUILD="5G" + check-reqs_pkg_setup + fi +} + +get_certs_dir() { + # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules. + for subdir in $PF $P linux; do + certdir=/etc/kernel/certs/$subdir + if [ -d $certdir ]; then + if [ ! -e $certdir/signing_key.pem ]; then + eerror "$certdir exists but missing signing key; exiting." + exit 1 + fi + echo $certdir + return + fi + done +} + +pkg_setup() { + export REAL_ARCH="$ARCH" + unset ARCH; unset LDFLAGS #will interfere with Makefile if set +} + +src_prepare() { + cd "${S}" + for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do + epatch -p1 "${WORKDIR}/debian/patches/${debpatch}" + done + # end of debian-specific stuff... + + # do not include debian devs certificates + rm -rf "${WORKDIR}"/debian/certs + + sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die + sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die + rm -f .config >/dev/null + cp -a "${WORKDIR}"/debian "${T}" + make -s mrproper || die "make mrproper failed" + #make -s include/linux/version.h || die "make include/linux/version.h failed" + cd "${S}" + cp -aR "${WORKDIR}"/debian "${S}"/debian + + ## XFS LIBCRC kernel config fixes, FL-823 + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-xfs-libcrc32c-fix.patch + + ## FL-4424: enable legacy support for MCELOG. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-mcelog.patch + + ## do not configure debian devs certs. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-nocerts.patch + + ## FL-3381. enable IKCONFIG + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-ikconfig.patch + + ## increase bluetooth polling patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-fix-bluetooth-polling.patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/export_kernel_fpu_functions_5_3.patch + local arch featureset subarch + featureset="standard" + if [[ ${REAL_ARCH} == x86 ]]; then + arch="i386" + subarch="686-pae" + elif [[ ${REAL_ARCH} == amd64 ]]; then + arch="amd64" + subarch="amd64" + else + die "Architecture not handled in ebuild" + fi + cp "${FILESDIR}"/config-extract . || die + chmod +x config-extract || die + ./config-extract ${arch} ${featureset} ${subarch} || die + setno_config .config CONFIG_DEBUG + if use ec2; then + setyes_config .config CONFIG_BLK_DEV_NVME + setyes_config .config CONFIG_XEN_BLKDEV_FRONTEND + setyes_config .config CONFIG_XEN_BLKDEV_BACKEND + setyes_config .config CONFIG_IXGBEVF + fi + if use sign-modules; then + certs_dir=$(get_certs_dir) + echo + if [ -z "$certs_dir" ]; then + eerror "No certs dir found in /etc/kernel/certs; aborting." + die + else + einfo "Using certificate directory of $certs_dir for kernel module signing." + fi + echo + # turn on options for signing modules. + # first, remove existing configs and comments: + zap_config .config CONFIG_MODULE_SIG + # now add our settings: + tweak_config .config CONFIG_MODULE_SIG y + tweak_config .config CONFIG_MODULE_SIG_FORCE n + tweak_config .config CONFIG_MODULE_SIG_ALL n + tweak_config .config CONFIG_MODULE_SIG_HASH \"sha512\" + tweak_config .config CONFIG_MODULE_SIG_KEY \"${certs_dir}/signing_key.pem\" + tweak_config .config CONFIG_SYSTEM_TRUSTED_KEYRING y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE 4096 + echo "CONFIG_MODULE_SIG_SHA512=y" >> .config + ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING." + ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot" + ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)" + echo + fi + if use custom-cflags; then + MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")" + if [ -n "$MARCH" ]; then + sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!" + fi + fi + # get config into good state: + yes "" | make oldconfig >/dev/null 2>&1 || die + cp .config "${T}"/config || die + make -s mrproper || die "make mrproper failed" +} + +src_compile() { + ! use binary && return + install -d "${WORKDIR}"/out/{lib,boot} + install -d "${T}"/{cache,twork} + install -d "${WORKDIR}"/build + cp "${T}"/config "${WORKDIR}"/build/.config + DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel ${GKARGS} \ + --no-save-config \ + --no-oldconfig \ + --kernel-config=${T}/config \ + --kernname="${PN}" \ + --build-src="${S}" \ + --build-dst="${WORKDIR}"/build \ + --makeopts="${MAKEOPTS}" \ + --cachedir="${T}"/cache \ + --tempdir="${T}"/twork \ + --logfile="${WORKDIR}"/genkernel.log \ + --bootdir="${WORKDIR}"/out/boot \ + --disklabel \ + $(usex lvm --lvm --no-lvm ) \ + $(usex luks --luks --no-luks ) \ + --mdadm \ + $(usex btrfs --btrfs --no-btrfs) \ + $(usex zfs --zfs --no-zfs) \ + --module-prefix="${WORKDIR}"/out \ + all || die +} + +src_install() { + # copy sources into place: + dodir /usr/src + cp -a "${S}" "${D}"/usr/src/${LINUX_SRCDIR} || die + cd "${D}"/usr/src/${LINUX_SRCDIR} + # prepare for real-world use and 3rd-party module building: + make mrproper || die + cp "${T}"/config .config || die + cp -a "${T}"/debian debian || die + + + # if we didn't use genkernel, we're done. The kernel source tree is left in + # an unconfigured state - you can't compile 3rd-party modules against it yet. + use binary || return + make prepare || die + make scripts || die + # OK, now the source tree is configured to allow 3rd-party modules to be + # built against it, since we want that to work since we have a binary kernel + # built. + cp -a "${WORKDIR}"/out/* "${D}"/ || die "couldn't copy output files into place" + # module symlink fixup: + rm -f "${D}"/lib/modules/*/source || die + rm -f "${D}"/lib/modules/*/build || die + cd "${D}"/lib/modules + local moddir="$(ls -d [234]*)" + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/source || die + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/build || die + # Fixes FL-14 + cp "${WORKDIR}/build/System.map" "${D}/usr/src/${LINUX_SRCDIR}/" || die + cp "${WORKDIR}/build/Module.symvers" "${D}/usr/src/${LINUX_SRCDIR}/" || die + if use sign-modules; then + for x in $(find "${D}"/lib/modules -iname *.ko); do + # $certs_dir defined previously in this function. + ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die + done + # install the sign-file executable for future use. + exeinto /usr/src/${LINUX_SRCDIR}/scripts + doexe ${WORKDIR}/build/scripts/sign-file + fi + + # The new naming scheme leaves an extra -${PN} at the name of various things in /boot. This should fix that. + cd ${D}/boot + for x in $(ls *); do + xnew=${x%-${PN}} + mv $x ${xnew} || die + done + + +} + +pkg_postinst() { + if use binary && [[ -h "${ROOT}"usr/src/linux ]]; then + rm "${ROOT}"usr/src/linux + fi + if use binary && [[ ! -e "${ROOT}"usr/src/linux ]]; then + ewarn "With binary use flag enabled /usr/src/linux" + ewarn "symlink automatically set to debian kernel" + ln -sf ${LINUX_SRCDIR} "${ROOT}"usr/src/linux + fi + + if [ -e ${ROOT}lib/modules ]; then + depmod -a $DEP_PV + fi + if [ -e /etc/boot.conf ]; then + ego boot update + fi +} diff --git a/sys-kernel/debian-sources/debian-sources-5.6.14_p2.ebuild b/sys-kernel/debian-sources/debian-sources-5.6.14_p2.ebuild deleted file mode 100644 index 82e9f9cf05a1..000000000000 --- a/sys-kernel/debian-sources/debian-sources-5.6.14_p2.ebuild +++ /dev/null @@ -1,550 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 - -# Documentation for adding new kernels -- do not remove! -# -# Find latest stable kernel release for debian here: -# https://packages.debian.org/unstable/kernel/ - -EAPI=7 - -inherit check-reqs eutils mount-boot toolchain-funcs - -SLOT=$PF -CKV=${PV} -KV_FULL=${PN}-${PVR} -DEB_PV_BASE="5.6.14" -DEB_EXTRAVERSION="-2~bpo10+1" -EXTRAVERSION="_p2" - -# install modules to /lib/modules/${DEB_PV_BASE}${EXTRAVERSION}-$MODULE_EXT -MODULE_EXT=${EXTRAVERSION} -[ "$PR" != "r0" ] && MODULE_EXT=$MODULE_EXT-$PR -MODULE_EXT=$MODULE_EXT-${PN} - -DEB_PV="${DEB_PV_BASE}${DEB_EXTRAVERSION}" -KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz" -PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz" -DEB_UPSTREAM="http://http.debian.net/debian/pool/main/l/linux" - -SRC_URI=" - $DEB_UPSTREAM/${KERNEL_ARCHIVE} - $DEB_UPSTREAM/${PATCH_ARCHIVE} -" - -S="$WORKDIR/linux-${DEB_PV_BASE}" - -DESCRIPTION="Linux kernel sources with Debian patches." -HOMEPAGE="https://packages.debian.org/unstable/kernel/" - -RESTRICT="binchecks strip mirror" -LICENSE="GPL-2" -KEYWORDS="*" - -IUSE="binary btrfs clang custom-cflags dmraid ec2 firmware hardened iscsi libressl luks lvm mdadm microcode multipath nbd nfs plymouth selinux sign-modules systemd wireguard zfs" - -BDEPEND=" - sys-devel/bc - virtual/libelf -" - -DEPEND=" - binary? ( sys-kernel/dracut ) - btrfs? ( sys-fs/btrfs-progs ) - firmware? ( - sys-kernel/linux-firmware - ) - luks? ( sys-fs/cryptsetup ) - lvm? ( sys-fs/lvm2 ) - mdadm? ( sys-fs/mdadm ) - plymouth? ( - x11-libs/libdrm[libkms] - sys-boot/plymouth[libkms,udev] - ) - sign-modules? ( - || ( dev-libs/openssl ) ( dev-libs/libressl ) - sys-apps/kmod - ) - systemd? ( sys-apps/systemd ) - wireguard? ( virtual/wireguard ) - zfs? ( sys-fs/zfs ) -" - -REQUIRED_USE=" - btrfs? ( binary ) - custom-cflags? ( binary ) - ec2? ( binary ) - libressl? ( binary ) - luks? ( binary ) - lvm? ( binary ) - mdadm? ( binary ) - microcode? ( binary ) - plymouth? ( binary ) - selinux? ( binary ) - sign-modules? ( binary ) - systemd? ( binary ) - wireguard? ( binary ) - zfs? ( binary ) -" - -get_patch_list() { - [[ -z "${1}" ]] && die "No patch series file specified" - local patch_series="${1}" - while read line ; do - if [[ "${line:0:1}" != "#" ]] ; then - echo "${line}" - fi - done < "${patch_series}" -} - -tweak_config() { - einfo "Setting $2=$3 in kernel config." - sed -i -e "/^$2=/d" $1 -} - -set_no_config() { - einfo "Setting $2*=y to n in kernel config." - sed -i -e "s/^$2\(.*\)=.*/$2\1=n/g" $1 -} - -set_yes_config() { - einfo "Setting $2*=* to y in kernel config." - sed -i -e "s/^$2\(.*\)=.*/$2\1=y/g" $1 -} - -set_module_config() { - einfo "Setting $2*=* to m in kernel config." - sed -i -e "s/^$2\(.*\)=.*/$2\1=y/g" $1 -} - -zap_config() { - einfo "Removing *$2* from kernel config." - sed -i -e "/$2/d" $1 -} - -get_certs_dir() { - # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules. - for subdir in $PF $P linux; do - certdir=/etc/kernel/certs/$subdir - if [ -d $certdir ]; then - if [ ! -e $certdir/signing_key.pem ]; then - eerror "$certdir exists but missing signing key; exiting." - exit 1 - fi - echo $certdir - return - fi - done -} - -pkg_pretend() { - # Ensure we have enough disk space to compile - if use binary ; then - CHECKREQS_DISK_BUILD="5G" - check-reqs_pkg_setup - fi -} - -pkg_setup() { - export REAL_ARCH="$ARCH" - unset ARCH; unset LDFLAGS #will interfere with Makefile if set -} - -src_prepare() { - - debug-print-function ${FUNCNAME} "${@}" - - # apply debian patches - cd "${S}" - for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do - eapply -p1 "${WORKDIR}/debian/patches/${debpatch}" - done - # end of debian-specific stuff... - - # do not include debian devs certificates - rm -rf "${WORKDIR}"/debian/certs - - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die - sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die - rm -f .config >/dev/null - cp -a "${WORKDIR}"/debian "${T}" - make -s mrproper || die "make mrproper failed" - #make -s include/linux/version.h || die "make include/linux/version.h failed" - cd "${S}" - cp -aR "${WORKDIR}"/debian "${S}"/debian - - ## increase bluetooth polling patch - eapply "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-fix-bluetooth-polling.patch - - # Restore export_kernel_fpu_functions for zfs - eapply "${FILESDIR}"/${DEB_PV_BASE}/export_kernel_fpu_functions_5_3.patch - - local arch featureset subarch - featureset="standard" - if [[ ${REAL_ARCH} == x86 ]]; then - arch="i386" - subarch="686-pae" - elif [[ ${REAL_ARCH} == amd64 ]]; then - arch="amd64" - subarch="amd64" - elif [[ ${REAL_ARCH} == arm64 ]]; then - arch="arm64" - subarch="arm64" - else - die "Architecture not handled in ebuild" - fi - cp "${FILESDIR}"/config-extract . || die - chmod +x config-extract || die - ./config-extract ${arch} ${featureset} ${subarch} || die - - ### TWEAK KERNEL CONFIG ### - - ## FL-3381 Enable IKCONFIG so that /proc/config.gz can be used for various checks - ## TODO: Maybe not a good idea for USE=hardened, look into this. - tweak_config .config CONFIG_IKCONFIG y - tweak_config .config CONFIG_IKCONFIG_PROC y - - ## FL-4424 Enable legacy support for MCELOG - ## TODO: See if this is still required? if not, can it be shit canned? - tweak_config .config CONFIG_X86_MCELOG_LEGACY y - - ## FL-823 Build XFS into kernel - ## TODO: can most likely be shit canned as no longer using genkernel, + Dracut includes all kernel moduels in initrd. - tweak_config .config CONFIG_XFS_FS y - tweak_config .config CONFIG_LIBCRC32C y - - ## Do not configure Debian devs certificates - tweak_config .config CONFIG_SYSTEM_TRUSTED_KEYS - - set_no_config .config CONFIG_DEBUG - if use custom-cflags; then - MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")" - if [ -n "$MARCH" ]; then - sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!" - fi - fi - if use ec2; then - tweak_config .config CONFIG_BLK_DEV_NVME y - tweak_config .config CONFIG_XEN_BLKDEV_FRONTEND y - tweak_config .config CONFIG_XEN_BLKDEV_BACKEND y - tweak_config .config CONFIG_IXGBEVF y - fi - if use hardened; then - tweak_config .config CONFIG_AUDIT y - tweak_config .config CONFIG_EXPERT y - tweak_config .config CONFIG_SLUB_DEBUG y - tweak_config .config CONFIG_SLAB_MERGE_DEFAULT n - tweak_config .config CONFIG_SLAB_FREELIST_RANDOM y - tweak_config .config CONFIG_SLAB_FREELIST_HARDENED y - tweak_config .config CONFIG_SLAB_CANARY y - tweak_config .config CONFIG_SHUFFLE_PAGE_ALLOCATOR y - tweak_config .config CONFIG_RANDOMIZE_BASE y - tweak_config .config CONFIG_RANDOMIZE_MEMORY y - tweak_config .config CONFIG_HIBERNATION n - tweak_config .config CONFIG_HARDENED_USERCOPY y - tweak_config .config CONFIG_HARDENED_USERCOPY_FALLBACK n - tweak_config .config CONFIG_FORTIFY_SOURCE y - tweak_config .config CONFIG_STACKPROTECTOR y - tweak_config .config CONFIG_STACKPROTECTOR_STRONG y - tweak_config .config CONFIG_ARCH_MMAP_RND_BITS 32 - tweak_config .config CONFIG_ARCH_MMAP_RND_COMPAT_BITS 16 - tweak_config .config CONFIG_INIT_ON_FREE_DEFAULT_ON y - tweak_config .config CONFIG_INIT_ON_ALLOC_DEFAULT_ON y - tweak_config .config CONFIG_SLAB_SANITIZE_VERIFY y - tweak_config .config CONFIG_PAGE_SANITIZE_VERIFY y - - ! if use clang; then - tweak_config .config CONFIG_GCC_PLUGINS y - tweak_config .config CONFIG_GCC_PLUGIN_LATENT_ENTROPY y - tweak_config .config CONFIG_GCC_PLUGIN_STRUCTLEAK y - tweak_config .config CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL y - tweak_config .config CONFIG_GCC_PLUGIN_RANDSTRUCT y - tweak_config .config CONFIG_GCC_PLUGIN_RANDSTRUCT_PERFORMANCE n - tweak_config .config CONFIG_GCC_PLUGIN_STACKLEAK y - tweak_config .config CONFIG_STACKLEAK_TRACK_MIN_SIZE 100 - tweak_config .config CONFIG_STACKLEAK_METRICS n - tweak_config .config CONFIG_STACKLEAK_RUNTIME_DISABLE n - fi - fi - if use sign-modules; then - certs_dir=$(get_certs_dir) - echo - if [ -z "$certs_dir" ]; then - eerror "No certs dir found in /etc/kernel/certs; aborting." - die - else - einfo "Using certificate directory of $certs_dir for kernel module signing." - fi - echo - # turn on options for signing modules. - # first, remove existing configs and comments: - zap_config .config CONFIG_MODULE_SIG - # now add our settings: - tweak_config .config CONFIG_MODULE_SIG y - tweak_config .config CONFIG_MODULE_SIG_FORCE n - tweak_config .config CONFIG_MODULE_SIG_ALL n - # LibreSSL currently (2.9.0) does not have CMS support, so is limited to SHA1. - # https://bugs.gentoo.org/706086 - # https://bugzilla.kernel.org/show_bug.cgi?id=202159 - if use libressl; then - tweak_config .config CONFIG_MODULE_SIG_HASH \"sha1\" - else - tweak_config .config CONFIG_MODULE_SIG_HASH \"sha512\" - fi - tweak_config .config CONFIG_MODULE_SIG_KEY \"${certs_dir}/signing_key.pem\" - tweak_config .config CONFIG_SYSTEM_TRUSTED_KEYRING y - tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE y - tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE 4096 - # See above comment re: LibreSSL - if use libressl; then - echo "CONFIG_MODULE_SIG_SHA1=y" >> .config - else - echo "CONFIG_MODULE_SIG_SHA512=y" >> .config - fi - ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING." - ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot" - ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)" - echo - fi - if use wireguard; then - tweak_config .config CONFIG_NET y - tweak_config .config CONFIG_INET y - tweak_config .config CONFIG_INET_UDP_TUNNEL y - tweak_config .config CONFIG_NF_CONNTRACK y - tweak_config .config CONFIG_NETFILTER_XT_MATCH_HASHLIMIT y - tweak_config .config CONFIG_IP6_NF_IPTABLES y - tweak_config .config CONFIG_CRYPTO_BLKCIPHER y - tweak_config .config CONFIG_PADATA y - fi - # get config into good state: - yes "" | make oldconfig >/dev/null 2>&1 || die - cp .config "${T}"/.config || die - make -s mrproper || die "make mrproper failed" - - # Apply any user patches - eapply_user -} - -src_configure() { - - ! use binary && return - - debug-print-function ${FUNCNAME} "${@}" - - tc-export_build_env - MAKEARGS=( - V=1 - - HOSTCC="$(tc-getBUILD_CC)" - HOSTCXX="$(tc-getBUILD_CXX)" - HOSTCFLAGS="${BUILD_CFLAGS}" - HOSTLDFLAGS="${BUILD_LDFLAGS}" - - CROSS_COMPILE=${CHOST}- - AS="$(tc-getAS)" - CC="$(tc-getCC)" - LD="$(tc-getLD)" - AR="$(tc-getAR)" - NM="$(tc-getNM)" - STRIP=":" - OBJCOPY="$(tc-getOBJCOPY)" - OBJDUMP="$(tc-getOBJDUMP)" - - # we need to pass it to override colliding Gentoo envvar - ARCH=$(tc-arch-kernel) - ) - - mkdir -p "${WORKDIR}"/modprep || die - cp "${T}"/.config "${WORKDIR}"/modprep/ || die - emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" olddefconfig || die "kernel configure failed" - emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" modules_prepare || die "modules_prepare failed" - cp -pR "${WORKDIR}"/modprep "${WORKDIR}"/build || die -} - -src_compile() { - - ! use binary && return - - debug-print-function ${FUNCNAME} "${@}" - - emake O="${WORKDIR}"/build "${MAKEARGS[@]}" all || "kernel build failed" -} - -src_install() { - - debug-print-function ${FUNCNAME} "${@}" - - # TODO: Change to SANDBOX_WRITE=".." for installkernel writes - # Disable sandbox - export SANDBOX_ON=0 - - # copy sources into place: - dodir /usr/src - cp -a "${S}" "${D}"/usr/src/linux-${PN}-${PV} || die - cd "${D}"/usr/src/linux-${PN}-${PV} - - # prepare for real-world use and 3rd-party module building: - make mrproper || die - cp "${T}"/.config .config || die - cp -a "${T}"/debian debian || die - - # if we didn't use genkernel, we're done. The kernel source tree is left in - # an unconfigured state - you can't compile 3rd-party modules against it yet. - use binary || return - make prepare || die - make scripts || die - - local targets=( modules_install ) - - # ARM / ARM64 requires dtb - if (use arm || use arm64); then - targets+=( dtbs_install ) - fi - - emake O="${WORKDIR}"/build "${MAKEARGS[@]}" INSTALL_MOD_PATH="${ED}" INSTALL_PATH="${ED}/boot" "${targets[@]}" - installkernel "${PN}-${PV}" "${WORKDIR}/build/arch/x86_64/boot/bzImage" "${WORKDIR}/build/System.map" "${EROOT}/boot" - - # module symlink fix-up: - rm -f "${D}"/lib/modules/${PV}-${PN}/source || die - rm -f "${D}"/lib/modules/${PV}-${PN}/build || die - - # Set-up module symlinks: - ln -s /usr/src/linux-${PN}-${PV} "${D}"/lib/modules/${PV}-${PN}/source || die "failed to install source symlink" - ln -s /usr/src/linux-${PN}-${PV} "${D}"/lib/modules/${PV}-${PN}/build || die "failed to install build symlink" - - # Fixes FL-14 - cp "${WORKDIR}/build/System.map" "${D}"/usr/src/linux-${PN}-${PV}/ || die "failed to install System.map" - cp "${WORKDIR}/build/Module.symvers" "${D}"/usr/src/linux-${PN}-${PV}/ || die "failed to install Module.symvers" - - if use sign-modules; then - for x in $(find "${D}"/lib/modules -iname *.ko); do - # $certs_dir defined previously in this function. - ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die - done - # install the sign-file executable for future use. - exeinto /usr/src/linux-${PN}-${PV}/scripts - doexe ${WORKDIR}/build/scripts/sign-file - fi -} - -pkg_postinst() { - - # TODO: Change to SANDBOX_WRITE=".." for Dracut writes - export SANDBOX_ON=0 - - if use binary && [[ -h "${ROOT}"usr/src/linux ]]; then - rm "${ROOT}"usr/src/linux - fi - - if use binary && [[ ! -e "${ROOT}"usr/src/linux ]]; then - ewarn "WARNING... WARNING... WARNING" - ewarn "" - ewarn "/usr/src/linux symlink automatically set to ${PN}-${PV}" - ewarn "" - ln -sf linux-${PN}-${PV} "${ROOT}"usr/src/linux - fi - - if [ -e ${ROOT}lib/modules ]; then - depmod -a ${PV}-${PN} - fi - - # NOTE: WIP and not well tested yet. - # - # Dracut will build an initramfs when USE=binary. - # The initramfs will be configurable via USE, i.e. - # USE=zfs will pass '--zfs' to Dracut and USE=-systemd - # will pass '--omit dracut-systemd systemd systemd-networkd systemd-initrd' - # to exclude these (Dracut) modules from the initramfs. - if use binary; then - einfo ">>> Dracut: building initramfs" - dracut \ - --stdlog=1 \ - --force \ - --no-hostonly \ - --add "base dm fs-lib i18n kernel-modules network rootfs-block shutdown terminfo udev-rules usrmount" \ - --omit "biosdevname bootchart busybox caps convertfs dash debug dmsquash-live dmsquash-live-ntfs fcoe fcoe-uefi fstab-sys gensplash ifcfg img-lib livenet mksh network-manager qemu qemu-net rpmversion securityfs ssh-client stratis syslog url-lib" \ - $(usex btrfs "-a btrfs" "-o btrfs") \ - $(usex dmraid "-a dmraid" "-o dmraid") \ - $(usex hardened "-o resume" "-a resume") - $(usex iscsi "-a iscsi" "-o iscsi") \ - $(usex lvm "-a lvm" "-o lvm") \ - $(usex lvm "--lvmconf" "--nolvmconf") \ - $(usex luks "-a crypt" "-o crypt") \ - $(usex mdadm "--mdadmconf" "--nomdadmconf") \ - $(usex mdadm "-a mdraid" "-o mdraid") \ - $(usex microcode "--early-microcode" "--no-early-microcode") \ - $(usex multipath "-a multipath" "-o multipath") \ - $(usex nbd "-a nbd" "-o nbd") \ - $(usex nfs "-a nfs" "-o nfs") \ - $(usex plymouth "-a plymouth" "-o plymouth") \ - $(usex selinux "-a selinux" "-o selinux") \ - $(usex systemd "-a systemd systemd-initrd systemd-networkd" "-o systemd systemd-initrd systemd-networkd") \ - $(usex zfs "-a zfs" "-o zfs") \ - --kver "${PV}-${PN}" \ - --kmoddir "${ROOT}"lib/modules/${PV}-${PN} \ - --fwdir "${ROOT}"lib/firmware \ - --kernel-image "${ROOT}"boot/kernel-${PV}-${PN} - einfo ">>> Dracut: Finished building initramfs" - ewarn "Dracut initramfs has been generated!" - ewarn "" - ewarn "Required kernel arguments:" - ewarn "" - ewarn " root=/dev/ROOT" - ewarn "" - ewarn " Where ROOT is the device node for your root partition as the" - ewarn " one specified in /etc/fstab" - ewarn "" - ewarn "Additional kernel cmdline arguments that *may* be required to boot properly..." - ewarn "" - ewarn "If you use hibernation:" - ewarn "" - ewarn " resume=/dev/SWAP" - ewarn "" - ewarn " Where $SWAP is the swap device used by hibernate software of your choice." - ewarn"" - ewarn " Please consult "man 7 dracut.kernel" for additional kernel arguments." - fi - - if use hardened; then - ewarn "WARNING... WARNING... WARNING..." - ewarn "" - ewarn "Hardened patches have been applied to the kernel and KCONFIG options have been set." - ewarn "These KCONFIG options and patches change kernel behavior." - ewarn "Changes include:" - ewarn "Increased entropy for Address Space Layout Randomization" - ewarn "GCC plugins (if using GCC)" - ewarn "Memory allocation" - ewarn "... and more" - ewarn "" - ewarn "These changes will stop certain programs from functioning" - ewarn "e.g. VirtualBox, Skype" - ewarn "Full information available in $DOCUMENTATION" - ewarn "" - fi - - if use wireguard && [[ ${PV} < "5.6.0" ]]; then - ewarn "WARNING... WARNING... WARNING..." - ewarn "" - ewarn "WireGuard with Linux ${PV} is supported as an external kernel module" - ewarn "You are required to add WireGuard to /etc/conf.d/modules and" - ewarn "add the 'modules' service to the boot runlevel." - ewarn "" - ewarn "e.g rc-update add modules boot" - ewarn "" - fi - - # TODO: tidy up below - if use binary && [[ -e "${ROOT}"var/lib/module-rebuild/moduledb ]]; then - ewarn "WARNING... WARNING... WARNING..." - ewarn "" - ewarn "External kernel modules are not yet automatically built" - ewarn "by USE=binary - emerge @modules-rebuild to do this" - ewarn "and regenerate your initramfs if you are using ZFS root filesystem" - ewarn "" - fi - - if use binary; then - if [ -e /etc/boot.conf ]; then - ego boot update - fi - fi -} diff --git a/sys-kernel/debian-sources/debian-sources-5.6.7_p1.ebuild b/sys-kernel/debian-sources/debian-sources-5.6.7_p1.ebuild new file mode 100644 index 000000000000..9643769a7605 --- /dev/null +++ b/sys-kernel/debian-sources/debian-sources-5.6.7_p1.ebuild @@ -0,0 +1,300 @@ +# Distributed under the terms of the GNU General Public License v2 + +# Documentation for adding new kernels -- do not remove! +# +# Find latest stable kernel release for debian here: +# https://packages.debian.org/unstable/kernel/ + +EAPI=5 + +inherit check-reqs eutils mount-boot + +SLOT=$PF +CKV=${PV} +KV_FULL=${PN}-${PVR} +DEB_PV_BASE="5.6.7" +DEB_EXTRAVERSION="-1" +EXTRAVERSION="_p1" + +# install modules to /lib/modules/${DEB_PV_BASE}${EXTRAVERSION}-$MODULE_EXT +MODULE_EXT=${EXTRAVERSION} +[ "$PR" != "r0" ] && MODULE_EXT=$MODULE_EXT-$PR +MODULE_EXT=$MODULE_EXT-${PN} +# install sources to /usr/src/$LINUX_SRCDIR +LINUX_SRCDIR=linux-${PF} +DEB_PV="$DEB_PV_BASE${DEB_EXTRAVERSION}" +KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz" +PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz" +RESTRICT="binchecks strip mirror" +LICENSE="GPL-2" +KEYWORDS="*" +IUSE="binary btrfs custom-cflags ec2 luks lvm sign-modules zfs" +DEPEND=" + virtual/libelf + binary? ( >=sys-kernel/genkernel-3.4.40.7 ) + btrfs? ( sys-fs/btrfs-progs sys-kernel/genkernel[btrfs] ) + zfs? ( sys-fs/zfs ) + luks? ( sys-kernel/genkernel[cryptsetup] )" +REQUIRED_USE=" +btrfs? ( binary ) +custom-cflags? ( binary ) +luks? ( binary ) +lvm? ( binary ) +sign-modules? ( binary ) +zfs? ( binary ) +" +DESCRIPTION="Debian Sources (and optional binary kernel)" +DEB_UPSTREAM="http://http.debian.net/debian/pool/main/l/linux" +HOMEPAGE="https://packages.debian.org/unstable/kernel/" +SRC_URI="$DEB_UPSTREAM/${KERNEL_ARCHIVE} $DEB_UPSTREAM/${PATCH_ARCHIVE}" +S="$WORKDIR/linux-${DEB_PV_BASE}" + +get_patch_list() { + [[ -z "${1}" ]] && die "No patch series file specified" + local patch_series="${1}" + while read line ; do + if [[ "${line:0:1}" != "#" ]] ; then + echo "${line}" + fi + done < "${patch_series}" +} + +tweak_config() { + einfo "Setting $2=$3 in kernel config." + sed -i -e "/^$2=/d" $1 + echo "$2=$3" >> $1 +} + +setno_config() { + einfo "Setting $2*=y to n in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=n/g" $1 +} + +setyes_config() { + einfo "Setting $2*=* to y in kernel config." + sed -i -e "s/^$2\(.*\)=.*/$2\1=y/g" $1 +} + +zap_config() { + einfo "Removing *$2* from kernel config." + sed -i -e "/$2/d" $1 +} + +pkg_pretend() { + # Ensure we have enough disk space to compile + if use binary ; then + CHECKREQS_DISK_BUILD="5G" + check-reqs_pkg_setup + fi +} + +get_certs_dir() { + # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules. + for subdir in $PF $P linux; do + certdir=/etc/kernel/certs/$subdir + if [ -d $certdir ]; then + if [ ! -e $certdir/signing_key.pem ]; then + eerror "$certdir exists but missing signing key; exiting." + exit 1 + fi + echo $certdir + return + fi + done +} + +pkg_setup() { + export REAL_ARCH="$ARCH" + unset ARCH; unset LDFLAGS #will interfere with Makefile if set +} + +src_prepare() { + cd "${S}" + for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do + epatch -p1 "${WORKDIR}/debian/patches/${debpatch}" + done + # end of debian-specific stuff... + + # do not include debian devs certificates + rm -rf "${WORKDIR}"/debian/certs + + sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die + sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die + rm -f .config >/dev/null + cp -a "${WORKDIR}"/debian "${T}" + make -s mrproper || die "make mrproper failed" + #make -s include/linux/version.h || die "make include/linux/version.h failed" + cd "${S}" + cp -aR "${WORKDIR}"/debian "${S}"/debian + + ## XFS LIBCRC kernel config fixes, FL-823 + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-xfs-libcrc32c-fix.patch + + ## FL-4424: enable legacy support for MCELOG. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-mcelog.patch + + ## do not configure debian devs certs. + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-nocerts.patch + + ## FL-3381. enable IKCONFIG + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-ikconfig.patch + + ## increase bluetooth polling patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-fix-bluetooth-polling.patch + epatch "${FILESDIR}"/${DEB_PV_BASE}/export_kernel_fpu_functions_5_3.patch + local arch featureset subarch + featureset="standard" + if [[ ${REAL_ARCH} == x86 ]]; then + arch="i386" + subarch="686-pae" + elif [[ ${REAL_ARCH} == amd64 ]]; then + arch="amd64" + subarch="amd64" + else + die "Architecture not handled in ebuild" + fi + cp "${FILESDIR}"/config-extract . || die + chmod +x config-extract || die + ./config-extract ${arch} ${featureset} ${subarch} || die + setno_config .config CONFIG_DEBUG + if use ec2; then + setyes_config .config CONFIG_BLK_DEV_NVME + setyes_config .config CONFIG_XEN_BLKDEV_FRONTEND + setyes_config .config CONFIG_XEN_BLKDEV_BACKEND + setyes_config .config CONFIG_IXGBEVF + fi + if use sign-modules; then + certs_dir=$(get_certs_dir) + echo + if [ -z "$certs_dir" ]; then + eerror "No certs dir found in /etc/kernel/certs; aborting." + die + else + einfo "Using certificate directory of $certs_dir for kernel module signing." + fi + echo + # turn on options for signing modules. + # first, remove existing configs and comments: + zap_config .config CONFIG_MODULE_SIG + # now add our settings: + tweak_config .config CONFIG_MODULE_SIG y + tweak_config .config CONFIG_MODULE_SIG_FORCE n + tweak_config .config CONFIG_MODULE_SIG_ALL n + tweak_config .config CONFIG_MODULE_SIG_HASH \"sha512\" + tweak_config .config CONFIG_MODULE_SIG_KEY \"${certs_dir}/signing_key.pem\" + tweak_config .config CONFIG_SYSTEM_TRUSTED_KEYRING y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE y + tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE 4096 + echo "CONFIG_MODULE_SIG_SHA512=y" >> .config + ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING." + ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot" + ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)" + echo + fi + if use custom-cflags; then + MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")" + if [ -n "$MARCH" ]; then + sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!" + fi + fi + # get config into good state: + yes "" | make oldconfig >/dev/null 2>&1 || die + cp .config "${T}"/config || die + make -s mrproper || die "make mrproper failed" +} + +src_compile() { + ! use binary && return + install -d "${WORKDIR}"/out/{lib,boot} + install -d "${T}"/{cache,twork} + install -d "${WORKDIR}"/build + cp "${T}"/config "${WORKDIR}"/build/.config + DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel ${GKARGS} \ + --no-save-config \ + --no-oldconfig \ + --kernel-config=${T}/config \ + --kernname="${PN}" \ + --build-src="${S}" \ + --build-dst="${WORKDIR}"/build \ + --makeopts="${MAKEOPTS}" \ + --cachedir="${T}"/cache \ + --tempdir="${T}"/twork \ + --logfile="${WORKDIR}"/genkernel.log \ + --bootdir="${WORKDIR}"/out/boot \ + --disklabel \ + $(usex lvm --lvm --no-lvm ) \ + $(usex luks --luks --no-luks ) \ + --mdadm \ + $(usex btrfs --btrfs --no-btrfs) \ + $(usex zfs --zfs --no-zfs) \ + --module-prefix="${WORKDIR}"/out \ + all || die +} + +src_install() { + # copy sources into place: + dodir /usr/src + cp -a "${S}" "${D}"/usr/src/${LINUX_SRCDIR} || die + cd "${D}"/usr/src/${LINUX_SRCDIR} + # prepare for real-world use and 3rd-party module building: + make mrproper || die + cp "${T}"/config .config || die + cp -a "${T}"/debian debian || die + + + # if we didn't use genkernel, we're done. The kernel source tree is left in + # an unconfigured state - you can't compile 3rd-party modules against it yet. + use binary || return + make prepare || die + make scripts || die + # OK, now the source tree is configured to allow 3rd-party modules to be + # built against it, since we want that to work since we have a binary kernel + # built. + cp -a "${WORKDIR}"/out/* "${D}"/ || die "couldn't copy output files into place" + # module symlink fixup: + rm -f "${D}"/lib/modules/*/source || die + rm -f "${D}"/lib/modules/*/build || die + cd "${D}"/lib/modules + local moddir="$(ls -d [234]*)" + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/source || die + ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/build || die + # Fixes FL-14 + cp "${WORKDIR}/build/System.map" "${D}/usr/src/${LINUX_SRCDIR}/" || die + cp "${WORKDIR}/build/Module.symvers" "${D}/usr/src/${LINUX_SRCDIR}/" || die + if use sign-modules; then + for x in $(find "${D}"/lib/modules -iname *.ko); do + # $certs_dir defined previously in this function. + ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die + done + # install the sign-file executable for future use. + exeinto /usr/src/${LINUX_SRCDIR}/scripts + doexe ${WORKDIR}/build/scripts/sign-file + fi + + # The new naming scheme leaves an extra -${PN} at the name of various things in /boot. This should fix that. + cd ${D}/boot + for x in $(ls *); do + xnew=${x%-${PN}} + mv $x ${xnew} || die + done + + +} + +pkg_postinst() { + if use binary && [[ -h "${ROOT}"usr/src/linux ]]; then + rm "${ROOT}"usr/src/linux + fi + if use binary && [[ ! -e "${ROOT}"usr/src/linux ]]; then + ewarn "With binary use flag enabled /usr/src/linux" + ewarn "symlink automatically set to debian kernel" + ln -sf ${LINUX_SRCDIR} "${ROOT}"usr/src/linux + fi + + if [ -e ${ROOT}lib/modules ]; then + depmod -a $DEP_PV + fi + if [ -e /etc/boot.conf ]; then + ego boot update + fi +} diff --git a/sys-kernel/debian-sources/files/4.19.118/amdgpu-picasso.patch b/sys-kernel/debian-sources/files/4.19.118/amdgpu-picasso.patch new file mode 100644 index 000000000000..8f3180118b2c --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.118/amdgpu-picasso.patch @@ -0,0 +1,20 @@ +--- linux-4.19.66-gentoo/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 2019-08-26 06:23:22.455074755 +0200 ++++ linux-4.19.66-gentoo/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 2019-09-09 13:11:52.879809819 +0200 +@@ -785,6 +785,7 @@ static const struct pci_device_id pciidl + {0x1002, 0x66AF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGA20|AMD_EXP_HW_SUPPORT}, + /* Raven */ + {0x1002, 0x15dd, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RAVEN|AMD_IS_APU}, ++ {0x1002, 0x15d8, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RAVEN|AMD_IS_MOBILITY|AMD_IS_APU}, + + {0, 0, 0} + }; +--- linux-4.19.66-gentoo/drivers/gpu/drm/amd/amdkfd/kfd_device.c 2019-08-26 06:23:22.683079348 +0200 ++++ linux-4.19.66-gentoo/drivers/gpu/drm/amd/amdkfd/kfd_device.c 2019-09-09 13:31:18.563024146 +0200 +@@ -275,6 +275,7 @@ static const struct kfd_deviceid support + { 0x9876, &carrizo_device_info }, /* Carrizo */ + { 0x9877, &carrizo_device_info }, /* Carrizo */ + { 0x15DD, &raven_device_info }, /* Raven */ ++ { 0x15D8, &raven_device_info }, /* Raven */ + #endif + { 0x67A0, &hawaii_device_info }, /* Hawaii */ + { 0x67A1, &hawaii_device_info }, /* Hawaii */ diff --git a/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-fix-bluetooth-polling.patch b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-fix-bluetooth-polling.patch new file mode 100644 index 000000000000..b7e7ddb275e5 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-fix-bluetooth-polling.patch @@ -0,0 +1,45 @@ +Update the default BLE connection parameters. + +Commit c49a8682fc5d298d44e8d911f4fa14690ea9485e introduced a bounds +check on connection interval update requests, but the default min/max +values were left at 24-40 (30-50ms) which caused problems for devices +that want to negotiate connection intervals outside of those bounds. + +Setting the default min/max connection interval to the full allowable +range in the bluetooth specification restores the default Linux behavior +of allowing remote devices to negotiate their desired connection +interval, while still permitting the system administrator to later +narrow the range. + +The default supervision timeout must also be modified to accommodate +the max connection interval increase. The new default value meets the +requirements of the bluetooth specification and the conditions in +the hci_check_conn_params function. + +The downside to modifying the default supervision timeout is that +it will take longer (about 10 seconds) to detect a link loss condition. + +Fixes c49a8682fc5d: (validate BLE connection interval updates) + +Signed-off-by: Carey Sonsino <csonsino@xxxxxxxxx> + +--- + +diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c +index 04bc79359a17..895d17ec9291 100644 +--- a/net/bluetooth/hci_core.c ++++ b/net/bluetooth/hci_core.c +@@ -3181,10 +3181,10 @@ struct hci_dev *hci_alloc_dev(void) + hdev->le_adv_max_interval = 0x0800; + hdev->le_scan_interval = 0x0060; + hdev->le_scan_window = 0x0030; +- hdev->le_conn_min_interval = 0x0018; +- hdev->le_conn_max_interval = 0x0028; ++ hdev->le_conn_min_interval = 0x0006; ++ hdev->le_conn_max_interval = 0x0c80; + hdev->le_conn_latency = 0x0000; +- hdev->le_supv_timeout = 0x002a; ++ hdev->le_supv_timeout = 0x03ea; + hdev->le_def_tx_len = 0x001b; + hdev->le_def_tx_time = 0x0148; + hdev->le_max_tx_len = 0x001b; diff --git a/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-ikconfig.patch b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-ikconfig.patch new file mode 100644 index 000000000000..7fd83ab8ddd4 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-ikconfig.patch @@ -0,0 +1,13 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2018-12-16 17:37:36.000000000 +0000 ++++ debian-fixed/config/config 2018-12-21 19:38:42.417410783 +0000 +@@ -5970,7 +5970,8 @@ + CONFIG_TASK_XACCT=y + CONFIG_TASK_IO_ACCOUNTING=y + CONFIG_CPU_ISOLATION=y +-# CONFIG_IKCONFIG is not set ++CONFIG_IKCONFIG=y ++CONFIG_IKCONFIG_PROC=y + CONFIG_LOG_BUF_SHIFT=17 + CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 + CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 diff --git a/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-mcelog.patch b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-mcelog.patch new file mode 100644 index 000000000000..dd219db89ab4 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-mcelog.patch @@ -0,0 +1,14 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2017-10-28 22:51:59.000000000 +0300 ++++ debian-fixed/config/config 2017-11-13 06:47:04.809885320 +0200 +@@ -14,6 +14,10 @@ + CONFIG_STRICT_KERNEL_RWX=y + + ## ++## file: arch/x86/Kconfig ++## ++CONFIG_X86_MCELOG_LEGACY=y ++ + ## file: block/Kconfig + ## + CONFIG_BLOCK=y diff --git a/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-nocerts.patch b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-nocerts.patch new file mode 100644 index 000000000000..4fae0b08eb93 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-nocerts.patch @@ -0,0 +1,12 @@ +diff -urN debian/config/config debian.fixed/config/config +--- debian/config/config 2019-05-05 10:59:14.000000000 -0400 ++++ debian.fixed/config/config 2019-05-06 13:03:53.445432253 -0400 +@@ -77,7 +77,7 @@ + #. Actually a file containing X.509 certificates, not keys. + #. Whenever the filename changes, this also needs to be updated in + #. debian/featureset-*/config +-CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem" ++CONFIG_SYSTEM_TRUSTED_KEYS="" + #. Add secondary keyring with keys from UEFI db and MOK. + CONFIG_SECONDARY_TRUSTED_KEYRING=y + CONFIG_SYSTEM_BLACKLIST_KEYRING=y diff --git a/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-xfs-libcrc32c-fix.patch b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-xfs-libcrc32c-fix.patch new file mode 100644 index 000000000000..da144c5e9b74 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.118/debian-sources-4.19.118-xfs-libcrc32c-fix.patch @@ -0,0 +1,27 @@ +diff -Nuar debian/config/config debian-fix/config/config +--- debian/config/config 2014-04-29 01:57:15.000000000 +0000 ++++ debian-fix/config/config 2014-05-16 15:02:38.622819509 +0000 +@@ -1,4 +1,4 @@ +-## ++### + ## file: arch/Kconfig + ## + CONFIG_KPROBES=y +@@ -4710,7 +4710,7 @@ + ## + ## file: fs/xfs/Kconfig + ## +-CONFIG_XFS_FS=m ++CONFIG_XFS_FS=y + CONFIG_XFS_QUOTA=y + CONFIG_XFS_POSIX_ACL=y + CONFIG_XFS_RT=y +@@ -4909,7 +4909,7 @@ + CONFIG_CRC32=y + # CONFIG_CRC32_SELFTEST is not set + CONFIG_CRC7=m +-CONFIG_LIBCRC32C=m ++CONFIG_LIBCRC32C=y + # CONFIG_CRC8 is not set + # CONFIG_RANDOM32_SELFTEST is not set + CONFIG_CORDIC=m diff --git a/sys-kernel/debian-sources/files/4.19.118/usb-blacklist-endpoint-sound-devices-usbpre2.patch b/sys-kernel/debian-sources/files/4.19.118/usb-blacklist-endpoint-sound-devices-usbpre2.patch new file mode 100644 index 000000000000..b1b68515fb5c --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.118/usb-blacklist-endpoint-sound-devices-usbpre2.patch @@ -0,0 +1,131 @@ +See: https://lore.kernel.org/linux-usb/20200202134159.GM10381@localhost/ + +Add a new device quirk that can be used to blacklist endpoints. + +Since commit 3e4f8e21c4f2 ("USB: core: fix check for duplicate +endpoints") USB core ignores any duplicate endpoints found during +descriptor parsing. + +In order to handle devices where the first interfaces with duplicate +endpoints are the ones that should have their endpoints ignored, we need +to add a blacklist. + +Signed-off-by: Johan Hovold <johan@kernel.org> +--- + drivers/usb/core/config.c | 11 +++++++++++ + drivers/usb/core/quirks.c | 35 +++++++++++++++++++++++++++++++++++ + drivers/usb/core/usb.h | 3 +++ + include/linux/usb/quirks.h | 3 +++ + 4 files changed, 52 insertions(+) + +diff --git a/drivers/usb/core/config.c b/drivers/usb/core/config.c +index 26bc05e48d8a..7df22bcefa9d 100644 +--- a/drivers/usb/core/config.c ++++ b/drivers/usb/core/config.c +@@ -256,6 +256,7 @@ static int usb_parse_endpoint(struct device *ddev, int cfgno, + struct usb_host_interface *ifp, int num_ep, + unsigned char *buffer, int size) + { ++ struct usb_device *udev = to_usb_device(ddev); + unsigned char *buffer0 = buffer; + struct usb_endpoint_descriptor *d; + struct usb_host_endpoint *endpoint; +@@ -297,6 +298,16 @@ static int usb_parse_endpoint(struct device *ddev, int cfgno, + goto skip_to_next_endpoint_or_interface_descriptor; + } + ++ /* Ignore blacklisted endpoints */ ++ if (udev->quirks & USB_QUIRK_ENDPOINT_BLACKLIST) { ++ if (usb_endpoint_is_blacklisted(udev, ifp, d)) { ++ dev_warn(ddev, "config %d interface %d altsetting %d has a blacklisted endpoint with address 0x%X, skipping\n", ++ cfgno, inum, asnum, ++ d->bEndpointAddress); ++ goto skip_to_next_endpoint_or_interface_descriptor; ++ } ++ } ++ + endpoint = &ifp->endpoint[ifp->desc.bNumEndpoints]; + ++ifp->desc.bNumEndpoints; + +diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c +index 6b6413073584..9925b18e2154 100644 +--- a/drivers/usb/core/quirks.c ++++ b/drivers/usb/core/quirks.c +@@ -354,6 +354,9 @@ static const struct usb_device_id usb_quirk_list[] = { + { USB_DEVICE(0x0904, 0x6103), .driver_info = + USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL }, + ++ /* Sound Devices USBPre2 */ ++ { USB_DEVICE(0x0926, 0x0202), .driver_info = USB_QUIRK_ENDPOINT_BLACKLIST }, ++ + /* Keytouch QWERTY Panel keyboard */ + { USB_DEVICE(0x0926, 0x3333), .driver_info = + USB_QUIRK_CONFIG_INTF_STRINGS }, +@@ -472,6 +475,38 @@ static const struct usb_device_id usb_amd_resume_quirk_list[] = { + { } /* terminating entry must be last */ + }; + ++/* ++ * Entries for blacklisted endpoints. ++ * ++ * Matched for devices with USB_QUIRK_ENDPOINT_BLACKLIST. ++ */ ++static const struct usb_device_id usb_endpoint_blacklist_quirk_list[] = { ++ { USB_DEVICE_INTERFACE_NUMBER(0x0926, 0x0202, 1), .driver_info = 0x85 }, ++ { }, ++}; ++ ++bool usb_endpoint_is_blacklisted(struct usb_device *udev, ++ struct usb_host_interface *intf, ++ struct usb_endpoint_descriptor *epd) ++{ ++ const struct usb_device_id *id; ++ unsigned int address; ++ ++ for (id = usb_endpoint_blacklist_quirk_list; id->match_flags; ++id) { ++ if (!usb_match_device(udev, id)) ++ continue; ++ ++ if (!usb_match_one_id_intf(udev, intf, id)) ++ continue; ++ ++ address = id->driver_info; ++ if (address == epd->bEndpointAddress) ++ return true; ++ } ++ ++ return false; ++} ++ + static bool usb_match_any_interface(struct usb_device *udev, + const struct usb_device_id *id) + { +diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h +index cf4783cf661a..3ad0ee57e859 100644 +--- a/drivers/usb/core/usb.h ++++ b/drivers/usb/core/usb.h +@@ -37,6 +37,9 @@ extern void usb_authorize_interface(struct usb_interface *); + extern void usb_detect_quirks(struct usb_device *udev); + extern void usb_detect_interface_quirks(struct usb_device *udev); + extern void usb_release_quirk_list(void); ++extern bool usb_endpoint_is_blacklisted(struct usb_device *udev, ++ struct usb_host_interface *intf, ++ struct usb_endpoint_descriptor *epd); + extern int usb_remove_device(struct usb_device *udev); + + extern int usb_get_device_descriptor(struct usb_device *dev, +diff --git a/include/linux/usb/quirks.h b/include/linux/usb/quirks.h +index a1be64c9940f..22c1f579afe3 100644 +--- a/include/linux/usb/quirks.h ++++ b/include/linux/usb/quirks.h +@@ -69,4 +69,7 @@ + /* Hub needs extra delay after resetting its port. */ + #define USB_QUIRK_HUB_SLOW_RESET BIT(14) + ++/* device has blacklisted endpoints */ ++#define USB_QUIRK_ENDPOINT_BLACKLIST BIT(15) ++ + #endif /* __LINUX_USB_QUIRKS_H */ +-- +2.24.1 + diff --git a/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-fix-bluetooth-polling.patch b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-fix-bluetooth-polling.patch new file mode 100644 index 000000000000..b7e7ddb275e5 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-fix-bluetooth-polling.patch @@ -0,0 +1,45 @@ +Update the default BLE connection parameters. + +Commit c49a8682fc5d298d44e8d911f4fa14690ea9485e introduced a bounds +check on connection interval update requests, but the default min/max +values were left at 24-40 (30-50ms) which caused problems for devices +that want to negotiate connection intervals outside of those bounds. + +Setting the default min/max connection interval to the full allowable +range in the bluetooth specification restores the default Linux behavior +of allowing remote devices to negotiate their desired connection +interval, while still permitting the system administrator to later +narrow the range. + +The default supervision timeout must also be modified to accommodate +the max connection interval increase. The new default value meets the +requirements of the bluetooth specification and the conditions in +the hci_check_conn_params function. + +The downside to modifying the default supervision timeout is that +it will take longer (about 10 seconds) to detect a link loss condition. + +Fixes c49a8682fc5d: (validate BLE connection interval updates) + +Signed-off-by: Carey Sonsino <csonsino@xxxxxxxxx> + +--- + +diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c +index 04bc79359a17..895d17ec9291 100644 +--- a/net/bluetooth/hci_core.c ++++ b/net/bluetooth/hci_core.c +@@ -3181,10 +3181,10 @@ struct hci_dev *hci_alloc_dev(void) + hdev->le_adv_max_interval = 0x0800; + hdev->le_scan_interval = 0x0060; + hdev->le_scan_window = 0x0030; +- hdev->le_conn_min_interval = 0x0018; +- hdev->le_conn_max_interval = 0x0028; ++ hdev->le_conn_min_interval = 0x0006; ++ hdev->le_conn_max_interval = 0x0c80; + hdev->le_conn_latency = 0x0000; +- hdev->le_supv_timeout = 0x002a; ++ hdev->le_supv_timeout = 0x03ea; + hdev->le_def_tx_len = 0x001b; + hdev->le_def_tx_time = 0x0148; + hdev->le_max_tx_len = 0x001b; diff --git a/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-ikconfig.patch b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-ikconfig.patch new file mode 100644 index 000000000000..7fd83ab8ddd4 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-ikconfig.patch @@ -0,0 +1,13 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2018-12-16 17:37:36.000000000 +0000 ++++ debian-fixed/config/config 2018-12-21 19:38:42.417410783 +0000 +@@ -5970,7 +5970,8 @@ + CONFIG_TASK_XACCT=y + CONFIG_TASK_IO_ACCOUNTING=y + CONFIG_CPU_ISOLATION=y +-# CONFIG_IKCONFIG is not set ++CONFIG_IKCONFIG=y ++CONFIG_IKCONFIG_PROC=y + CONFIG_LOG_BUF_SHIFT=17 + CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 + CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 diff --git a/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-mcelog.patch b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-mcelog.patch new file mode 100644 index 000000000000..dd219db89ab4 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-mcelog.patch @@ -0,0 +1,14 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2017-10-28 22:51:59.000000000 +0300 ++++ debian-fixed/config/config 2017-11-13 06:47:04.809885320 +0200 +@@ -14,6 +14,10 @@ + CONFIG_STRICT_KERNEL_RWX=y + + ## ++## file: arch/x86/Kconfig ++## ++CONFIG_X86_MCELOG_LEGACY=y ++ + ## file: block/Kconfig + ## + CONFIG_BLOCK=y diff --git a/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-nocerts.patch b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-nocerts.patch new file mode 100644 index 000000000000..4fae0b08eb93 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-nocerts.patch @@ -0,0 +1,12 @@ +diff -urN debian/config/config debian.fixed/config/config +--- debian/config/config 2019-05-05 10:59:14.000000000 -0400 ++++ debian.fixed/config/config 2019-05-06 13:03:53.445432253 -0400 +@@ -77,7 +77,7 @@ + #. Actually a file containing X.509 certificates, not keys. + #. Whenever the filename changes, this also needs to be updated in + #. debian/featureset-*/config +-CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem" ++CONFIG_SYSTEM_TRUSTED_KEYS="" + #. Add secondary keyring with keys from UEFI db and MOK. + CONFIG_SECONDARY_TRUSTED_KEYRING=y + CONFIG_SYSTEM_BLACKLIST_KEYRING=y diff --git a/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-xfs-libcrc32c-fix.patch b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-xfs-libcrc32c-fix.patch new file mode 100644 index 000000000000..da144c5e9b74 --- /dev/null +++ b/sys-kernel/debian-sources/files/4.19.98/debian-sources-lts-4.19.98-xfs-libcrc32c-fix.patch @@ -0,0 +1,27 @@ +diff -Nuar debian/config/config debian-fix/config/config +--- debian/config/config 2014-04-29 01:57:15.000000000 +0000 ++++ debian-fix/config/config 2014-05-16 15:02:38.622819509 +0000 +@@ -1,4 +1,4 @@ +-## ++### + ## file: arch/Kconfig + ## + CONFIG_KPROBES=y +@@ -4710,7 +4710,7 @@ + ## + ## file: fs/xfs/Kconfig + ## +-CONFIG_XFS_FS=m ++CONFIG_XFS_FS=y + CONFIG_XFS_QUOTA=y + CONFIG_XFS_POSIX_ACL=y + CONFIG_XFS_RT=y +@@ -4909,7 +4909,7 @@ + CONFIG_CRC32=y + # CONFIG_CRC32_SELFTEST is not set + CONFIG_CRC7=m +-CONFIG_LIBCRC32C=m ++CONFIG_LIBCRC32C=y + # CONFIG_CRC8 is not set + # CONFIG_RANDOM32_SELFTEST is not set + CONFIG_CORDIC=m diff --git a/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-fix-bluetooth-polling.patch b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-fix-bluetooth-polling.patch new file mode 100644 index 000000000000..b7e7ddb275e5 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-fix-bluetooth-polling.patch @@ -0,0 +1,45 @@ +Update the default BLE connection parameters. + +Commit c49a8682fc5d298d44e8d911f4fa14690ea9485e introduced a bounds +check on connection interval update requests, but the default min/max +values were left at 24-40 (30-50ms) which caused problems for devices +that want to negotiate connection intervals outside of those bounds. + +Setting the default min/max connection interval to the full allowable +range in the bluetooth specification restores the default Linux behavior +of allowing remote devices to negotiate their desired connection +interval, while still permitting the system administrator to later +narrow the range. + +The default supervision timeout must also be modified to accommodate +the max connection interval increase. The new default value meets the +requirements of the bluetooth specification and the conditions in +the hci_check_conn_params function. + +The downside to modifying the default supervision timeout is that +it will take longer (about 10 seconds) to detect a link loss condition. + +Fixes c49a8682fc5d: (validate BLE connection interval updates) + +Signed-off-by: Carey Sonsino <csonsino@xxxxxxxxx> + +--- + +diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c +index 04bc79359a17..895d17ec9291 100644 +--- a/net/bluetooth/hci_core.c ++++ b/net/bluetooth/hci_core.c +@@ -3181,10 +3181,10 @@ struct hci_dev *hci_alloc_dev(void) + hdev->le_adv_max_interval = 0x0800; + hdev->le_scan_interval = 0x0060; + hdev->le_scan_window = 0x0030; +- hdev->le_conn_min_interval = 0x0018; +- hdev->le_conn_max_interval = 0x0028; ++ hdev->le_conn_min_interval = 0x0006; ++ hdev->le_conn_max_interval = 0x0c80; + hdev->le_conn_latency = 0x0000; +- hdev->le_supv_timeout = 0x002a; ++ hdev->le_supv_timeout = 0x03ea; + hdev->le_def_tx_len = 0x001b; + hdev->le_def_tx_time = 0x0148; + hdev->le_max_tx_len = 0x001b; diff --git a/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-ikconfig.patch b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-ikconfig.patch new file mode 100644 index 000000000000..7fd83ab8ddd4 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-ikconfig.patch @@ -0,0 +1,13 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2018-12-16 17:37:36.000000000 +0000 ++++ debian-fixed/config/config 2018-12-21 19:38:42.417410783 +0000 +@@ -5970,7 +5970,8 @@ + CONFIG_TASK_XACCT=y + CONFIG_TASK_IO_ACCOUNTING=y + CONFIG_CPU_ISOLATION=y +-# CONFIG_IKCONFIG is not set ++CONFIG_IKCONFIG=y ++CONFIG_IKCONFIG_PROC=y + CONFIG_LOG_BUF_SHIFT=17 + CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 + CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 diff --git a/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-mcelog.patch b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-mcelog.patch new file mode 100644 index 000000000000..dd219db89ab4 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-mcelog.patch @@ -0,0 +1,14 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2017-10-28 22:51:59.000000000 +0300 ++++ debian-fixed/config/config 2017-11-13 06:47:04.809885320 +0200 +@@ -14,6 +14,10 @@ + CONFIG_STRICT_KERNEL_RWX=y + + ## ++## file: arch/x86/Kconfig ++## ++CONFIG_X86_MCELOG_LEGACY=y ++ + ## file: block/Kconfig + ## + CONFIG_BLOCK=y diff --git a/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-nocerts.patch b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-nocerts.patch new file mode 100644 index 000000000000..7f5c79b0d802 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-nocerts.patch @@ -0,0 +1,12 @@ +diff -urN debian/config/config debian.fixed/config/config +--- debian/config/config 2019-10-19 18:35:10.000000000 -0400 ++++ debian.fixed/config/config 2019-10-22 01:13:53.262687881 -0400 +@@ -68,7 +68,7 @@ + #. Actually a file containing X.509 certificates, not keys. + #. Whenever the filename changes, this also needs to be updated in + #. debian/featureset-*/config +-CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem" ++CONFIG_SYSTEM_TRUSTED_KEYS="" + #. Add secondary keyring with keys from UEFI db and MOK. + CONFIG_SECONDARY_TRUSTED_KEYRING=y + CONFIG_SYSTEM_BLACKLIST_KEYRING=y diff --git a/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-xfs-libcrc32c-fix.patch b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-xfs-libcrc32c-fix.patch new file mode 100644 index 000000000000..da144c5e9b74 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.4.19/debian-sources-5.4.19-xfs-libcrc32c-fix.patch @@ -0,0 +1,27 @@ +diff -Nuar debian/config/config debian-fix/config/config +--- debian/config/config 2014-04-29 01:57:15.000000000 +0000 ++++ debian-fix/config/config 2014-05-16 15:02:38.622819509 +0000 +@@ -1,4 +1,4 @@ +-## ++### + ## file: arch/Kconfig + ## + CONFIG_KPROBES=y +@@ -4710,7 +4710,7 @@ + ## + ## file: fs/xfs/Kconfig + ## +-CONFIG_XFS_FS=m ++CONFIG_XFS_FS=y + CONFIG_XFS_QUOTA=y + CONFIG_XFS_POSIX_ACL=y + CONFIG_XFS_RT=y +@@ -4909,7 +4909,7 @@ + CONFIG_CRC32=y + # CONFIG_CRC32_SELFTEST is not set + CONFIG_CRC7=m +-CONFIG_LIBCRC32C=m ++CONFIG_LIBCRC32C=y + # CONFIG_CRC8 is not set + # CONFIG_RANDOM32_SELFTEST is not set + CONFIG_CORDIC=m diff --git a/sys-kernel/debian-sources/files/5.4.19/export_kernel_fpu_functions_5_3.patch b/sys-kernel/debian-sources/files/5.4.19/export_kernel_fpu_functions_5_3.patch new file mode 100644 index 000000000000..af71d043e612 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.4.19/export_kernel_fpu_functions_5_3.patch @@ -0,0 +1,43 @@ +From 1e010beda2896bdf3082fb37a3e49f8ce20e04d8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> +Date: Thu, 2 May 2019 05:28:08 +0100 +Subject: [PATCH] x86/fpu: Export kernel_fpu_{begin,end}() with + EXPORT_SYMBOL_GPL +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +We need these symbols in zfs as the fpu implementation breaks userspace: + +https://github.com/zfsonlinux/zfs/issues/9346 +Signed-off-by: Jörg Thalheim <joerg@thalheim.io> +--- + arch/x86/kernel/fpu/core.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c +index 12c70840980e..352538b3bb5d 100644 +--- a/arch/x86/kernel/fpu/core.c ++++ b/arch/x86/kernel/fpu/core.c +@@ -102,7 +102,7 @@ void kernel_fpu_begin(void) + } + __cpu_invalidate_fpregs_state(); + } +-EXPORT_SYMBOL_GPL(kernel_fpu_begin); ++EXPORT_SYMBOL(kernel_fpu_begin); + + void kernel_fpu_end(void) + { +@@ -111,7 +111,7 @@ void kernel_fpu_end(void) + this_cpu_write(in_kernel_fpu, false); + preempt_enable(); + } +-EXPORT_SYMBOL_GPL(kernel_fpu_end); ++EXPORT_SYMBOL(kernel_fpu_end); + + /* + * Save the FPU state (mark it for reload if necessary): +-- +2.23.0 + + diff --git a/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-fix-bluetooth-polling.patch b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-fix-bluetooth-polling.patch new file mode 100644 index 000000000000..b7e7ddb275e5 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-fix-bluetooth-polling.patch @@ -0,0 +1,45 @@ +Update the default BLE connection parameters. + +Commit c49a8682fc5d298d44e8d911f4fa14690ea9485e introduced a bounds +check on connection interval update requests, but the default min/max +values were left at 24-40 (30-50ms) which caused problems for devices +that want to negotiate connection intervals outside of those bounds. + +Setting the default min/max connection interval to the full allowable +range in the bluetooth specification restores the default Linux behavior +of allowing remote devices to negotiate their desired connection +interval, while still permitting the system administrator to later +narrow the range. + +The default supervision timeout must also be modified to accommodate +the max connection interval increase. The new default value meets the +requirements of the bluetooth specification and the conditions in +the hci_check_conn_params function. + +The downside to modifying the default supervision timeout is that +it will take longer (about 10 seconds) to detect a link loss condition. + +Fixes c49a8682fc5d: (validate BLE connection interval updates) + +Signed-off-by: Carey Sonsino <csonsino@xxxxxxxxx> + +--- + +diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c +index 04bc79359a17..895d17ec9291 100644 +--- a/net/bluetooth/hci_core.c ++++ b/net/bluetooth/hci_core.c +@@ -3181,10 +3181,10 @@ struct hci_dev *hci_alloc_dev(void) + hdev->le_adv_max_interval = 0x0800; + hdev->le_scan_interval = 0x0060; + hdev->le_scan_window = 0x0030; +- hdev->le_conn_min_interval = 0x0018; +- hdev->le_conn_max_interval = 0x0028; ++ hdev->le_conn_min_interval = 0x0006; ++ hdev->le_conn_max_interval = 0x0c80; + hdev->le_conn_latency = 0x0000; +- hdev->le_supv_timeout = 0x002a; ++ hdev->le_supv_timeout = 0x03ea; + hdev->le_def_tx_len = 0x001b; + hdev->le_def_tx_time = 0x0148; + hdev->le_max_tx_len = 0x001b; diff --git a/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-ikconfig.patch b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-ikconfig.patch new file mode 100644 index 000000000000..7fd83ab8ddd4 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-ikconfig.patch @@ -0,0 +1,13 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2018-12-16 17:37:36.000000000 +0000 ++++ debian-fixed/config/config 2018-12-21 19:38:42.417410783 +0000 +@@ -5970,7 +5970,8 @@ + CONFIG_TASK_XACCT=y + CONFIG_TASK_IO_ACCOUNTING=y + CONFIG_CPU_ISOLATION=y +-# CONFIG_IKCONFIG is not set ++CONFIG_IKCONFIG=y ++CONFIG_IKCONFIG_PROC=y + CONFIG_LOG_BUF_SHIFT=17 + CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 + CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 diff --git a/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-mcelog.patch b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-mcelog.patch new file mode 100644 index 000000000000..dd219db89ab4 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-mcelog.patch @@ -0,0 +1,14 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2017-10-28 22:51:59.000000000 +0300 ++++ debian-fixed/config/config 2017-11-13 06:47:04.809885320 +0200 +@@ -14,6 +14,10 @@ + CONFIG_STRICT_KERNEL_RWX=y + + ## ++## file: arch/x86/Kconfig ++## ++CONFIG_X86_MCELOG_LEGACY=y ++ + ## file: block/Kconfig + ## + CONFIG_BLOCK=y diff --git a/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-nocerts.patch b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-nocerts.patch new file mode 100644 index 000000000000..7f5c79b0d802 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-nocerts.patch @@ -0,0 +1,12 @@ +diff -urN debian/config/config debian.fixed/config/config +--- debian/config/config 2019-10-19 18:35:10.000000000 -0400 ++++ debian.fixed/config/config 2019-10-22 01:13:53.262687881 -0400 +@@ -68,7 +68,7 @@ + #. Actually a file containing X.509 certificates, not keys. + #. Whenever the filename changes, this also needs to be updated in + #. debian/featureset-*/config +-CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem" ++CONFIG_SYSTEM_TRUSTED_KEYS="" + #. Add secondary keyring with keys from UEFI db and MOK. + CONFIG_SECONDARY_TRUSTED_KEYRING=y + CONFIG_SYSTEM_BLACKLIST_KEYRING=y diff --git a/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-xfs-libcrc32c-fix.patch b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-xfs-libcrc32c-fix.patch new file mode 100644 index 000000000000..da144c5e9b74 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.5.17/debian-sources-5.5.17-xfs-libcrc32c-fix.patch @@ -0,0 +1,27 @@ +diff -Nuar debian/config/config debian-fix/config/config +--- debian/config/config 2014-04-29 01:57:15.000000000 +0000 ++++ debian-fix/config/config 2014-05-16 15:02:38.622819509 +0000 +@@ -1,4 +1,4 @@ +-## ++### + ## file: arch/Kconfig + ## + CONFIG_KPROBES=y +@@ -4710,7 +4710,7 @@ + ## + ## file: fs/xfs/Kconfig + ## +-CONFIG_XFS_FS=m ++CONFIG_XFS_FS=y + CONFIG_XFS_QUOTA=y + CONFIG_XFS_POSIX_ACL=y + CONFIG_XFS_RT=y +@@ -4909,7 +4909,7 @@ + CONFIG_CRC32=y + # CONFIG_CRC32_SELFTEST is not set + CONFIG_CRC7=m +-CONFIG_LIBCRC32C=m ++CONFIG_LIBCRC32C=y + # CONFIG_CRC8 is not set + # CONFIG_RANDOM32_SELFTEST is not set + CONFIG_CORDIC=m diff --git a/sys-kernel/debian-sources/files/5.5.17/export_kernel_fpu_functions_5_3.patch b/sys-kernel/debian-sources/files/5.5.17/export_kernel_fpu_functions_5_3.patch new file mode 100644 index 000000000000..af71d043e612 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.5.17/export_kernel_fpu_functions_5_3.patch @@ -0,0 +1,43 @@ +From 1e010beda2896bdf3082fb37a3e49f8ce20e04d8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> +Date: Thu, 2 May 2019 05:28:08 +0100 +Subject: [PATCH] x86/fpu: Export kernel_fpu_{begin,end}() with + EXPORT_SYMBOL_GPL +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +We need these symbols in zfs as the fpu implementation breaks userspace: + +https://github.com/zfsonlinux/zfs/issues/9346 +Signed-off-by: Jörg Thalheim <joerg@thalheim.io> +--- + arch/x86/kernel/fpu/core.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c +index 12c70840980e..352538b3bb5d 100644 +--- a/arch/x86/kernel/fpu/core.c ++++ b/arch/x86/kernel/fpu/core.c +@@ -102,7 +102,7 @@ void kernel_fpu_begin(void) + } + __cpu_invalidate_fpregs_state(); + } +-EXPORT_SYMBOL_GPL(kernel_fpu_begin); ++EXPORT_SYMBOL(kernel_fpu_begin); + + void kernel_fpu_end(void) + { +@@ -111,7 +111,7 @@ void kernel_fpu_end(void) + this_cpu_write(in_kernel_fpu, false); + preempt_enable(); + } +-EXPORT_SYMBOL_GPL(kernel_fpu_end); ++EXPORT_SYMBOL(kernel_fpu_end); + + /* + * Save the FPU state (mark it for reload if necessary): +-- +2.23.0 + + diff --git a/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-ikconfig.patch b/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-ikconfig.patch new file mode 100644 index 000000000000..7fd83ab8ddd4 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-ikconfig.patch @@ -0,0 +1,13 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2018-12-16 17:37:36.000000000 +0000 ++++ debian-fixed/config/config 2018-12-21 19:38:42.417410783 +0000 +@@ -5970,7 +5970,8 @@ + CONFIG_TASK_XACCT=y + CONFIG_TASK_IO_ACCOUNTING=y + CONFIG_CPU_ISOLATION=y +-# CONFIG_IKCONFIG is not set ++CONFIG_IKCONFIG=y ++CONFIG_IKCONFIG_PROC=y + CONFIG_LOG_BUF_SHIFT=17 + CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 + CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 diff --git a/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-mcelog.patch b/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-mcelog.patch new file mode 100644 index 000000000000..dd219db89ab4 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-mcelog.patch @@ -0,0 +1,14 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2017-10-28 22:51:59.000000000 +0300 ++++ debian-fixed/config/config 2017-11-13 06:47:04.809885320 +0200 +@@ -14,6 +14,10 @@ + CONFIG_STRICT_KERNEL_RWX=y + + ## ++## file: arch/x86/Kconfig ++## ++CONFIG_X86_MCELOG_LEGACY=y ++ + ## file: block/Kconfig + ## + CONFIG_BLOCK=y diff --git a/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-nocerts.patch b/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-nocerts.patch new file mode 100644 index 000000000000..7f5c79b0d802 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-nocerts.patch @@ -0,0 +1,12 @@ +diff -urN debian/config/config debian.fixed/config/config +--- debian/config/config 2019-10-19 18:35:10.000000000 -0400 ++++ debian.fixed/config/config 2019-10-22 01:13:53.262687881 -0400 +@@ -68,7 +68,7 @@ + #. Actually a file containing X.509 certificates, not keys. + #. Whenever the filename changes, this also needs to be updated in + #. debian/featureset-*/config +-CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem" ++CONFIG_SYSTEM_TRUSTED_KEYS="" + #. Add secondary keyring with keys from UEFI db and MOK. + CONFIG_SECONDARY_TRUSTED_KEYRING=y + CONFIG_SYSTEM_BLACKLIST_KEYRING=y diff --git a/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-xfs-libcrc32c-fix.patch b/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-xfs-libcrc32c-fix.patch new file mode 100644 index 000000000000..da144c5e9b74 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.14/debian-sources-5.6.14-xfs-libcrc32c-fix.patch @@ -0,0 +1,27 @@ +diff -Nuar debian/config/config debian-fix/config/config +--- debian/config/config 2014-04-29 01:57:15.000000000 +0000 ++++ debian-fix/config/config 2014-05-16 15:02:38.622819509 +0000 +@@ -1,4 +1,4 @@ +-## ++### + ## file: arch/Kconfig + ## + CONFIG_KPROBES=y +@@ -4710,7 +4710,7 @@ + ## + ## file: fs/xfs/Kconfig + ## +-CONFIG_XFS_FS=m ++CONFIG_XFS_FS=y + CONFIG_XFS_QUOTA=y + CONFIG_XFS_POSIX_ACL=y + CONFIG_XFS_RT=y +@@ -4909,7 +4909,7 @@ + CONFIG_CRC32=y + # CONFIG_CRC32_SELFTEST is not set + CONFIG_CRC7=m +-CONFIG_LIBCRC32C=m ++CONFIG_LIBCRC32C=y + # CONFIG_CRC8 is not set + # CONFIG_RANDOM32_SELFTEST is not set + CONFIG_CORDIC=m diff --git a/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-fix-bluetooth-polling.patch b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-fix-bluetooth-polling.patch new file mode 100644 index 000000000000..b7e7ddb275e5 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-fix-bluetooth-polling.patch @@ -0,0 +1,45 @@ +Update the default BLE connection parameters. + +Commit c49a8682fc5d298d44e8d911f4fa14690ea9485e introduced a bounds +check on connection interval update requests, but the default min/max +values were left at 24-40 (30-50ms) which caused problems for devices +that want to negotiate connection intervals outside of those bounds. + +Setting the default min/max connection interval to the full allowable +range in the bluetooth specification restores the default Linux behavior +of allowing remote devices to negotiate their desired connection +interval, while still permitting the system administrator to later +narrow the range. + +The default supervision timeout must also be modified to accommodate +the max connection interval increase. The new default value meets the +requirements of the bluetooth specification and the conditions in +the hci_check_conn_params function. + +The downside to modifying the default supervision timeout is that +it will take longer (about 10 seconds) to detect a link loss condition. + +Fixes c49a8682fc5d: (validate BLE connection interval updates) + +Signed-off-by: Carey Sonsino <csonsino@xxxxxxxxx> + +--- + +diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c +index 04bc79359a17..895d17ec9291 100644 +--- a/net/bluetooth/hci_core.c ++++ b/net/bluetooth/hci_core.c +@@ -3181,10 +3181,10 @@ struct hci_dev *hci_alloc_dev(void) + hdev->le_adv_max_interval = 0x0800; + hdev->le_scan_interval = 0x0060; + hdev->le_scan_window = 0x0030; +- hdev->le_conn_min_interval = 0x0018; +- hdev->le_conn_max_interval = 0x0028; ++ hdev->le_conn_min_interval = 0x0006; ++ hdev->le_conn_max_interval = 0x0c80; + hdev->le_conn_latency = 0x0000; +- hdev->le_supv_timeout = 0x002a; ++ hdev->le_supv_timeout = 0x03ea; + hdev->le_def_tx_len = 0x001b; + hdev->le_def_tx_time = 0x0148; + hdev->le_max_tx_len = 0x001b; diff --git a/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-ikconfig.patch b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-ikconfig.patch new file mode 100644 index 000000000000..7fd83ab8ddd4 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-ikconfig.patch @@ -0,0 +1,13 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2018-12-16 17:37:36.000000000 +0000 ++++ debian-fixed/config/config 2018-12-21 19:38:42.417410783 +0000 +@@ -5970,7 +5970,8 @@ + CONFIG_TASK_XACCT=y + CONFIG_TASK_IO_ACCOUNTING=y + CONFIG_CPU_ISOLATION=y +-# CONFIG_IKCONFIG is not set ++CONFIG_IKCONFIG=y ++CONFIG_IKCONFIG_PROC=y + CONFIG_LOG_BUF_SHIFT=17 + CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 + CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 diff --git a/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-mcelog.patch b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-mcelog.patch new file mode 100644 index 000000000000..dd219db89ab4 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-mcelog.patch @@ -0,0 +1,14 @@ +diff -Nuar debian/config/config debian-fixed/config/config +--- debian/config/config 2017-10-28 22:51:59.000000000 +0300 ++++ debian-fixed/config/config 2017-11-13 06:47:04.809885320 +0200 +@@ -14,6 +14,10 @@ + CONFIG_STRICT_KERNEL_RWX=y + + ## ++## file: arch/x86/Kconfig ++## ++CONFIG_X86_MCELOG_LEGACY=y ++ + ## file: block/Kconfig + ## + CONFIG_BLOCK=y diff --git a/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-nocerts.patch b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-nocerts.patch new file mode 100644 index 000000000000..7f5c79b0d802 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-nocerts.patch @@ -0,0 +1,12 @@ +diff -urN debian/config/config debian.fixed/config/config +--- debian/config/config 2019-10-19 18:35:10.000000000 -0400 ++++ debian.fixed/config/config 2019-10-22 01:13:53.262687881 -0400 +@@ -68,7 +68,7 @@ + #. Actually a file containing X.509 certificates, not keys. + #. Whenever the filename changes, this also needs to be updated in + #. debian/featureset-*/config +-CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem" ++CONFIG_SYSTEM_TRUSTED_KEYS="" + #. Add secondary keyring with keys from UEFI db and MOK. + CONFIG_SECONDARY_TRUSTED_KEYRING=y + CONFIG_SYSTEM_BLACKLIST_KEYRING=y diff --git a/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-xfs-libcrc32c-fix.patch b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-xfs-libcrc32c-fix.patch new file mode 100644 index 000000000000..da144c5e9b74 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.7/debian-sources-5.6.7-xfs-libcrc32c-fix.patch @@ -0,0 +1,27 @@ +diff -Nuar debian/config/config debian-fix/config/config +--- debian/config/config 2014-04-29 01:57:15.000000000 +0000 ++++ debian-fix/config/config 2014-05-16 15:02:38.622819509 +0000 +@@ -1,4 +1,4 @@ +-## ++### + ## file: arch/Kconfig + ## + CONFIG_KPROBES=y +@@ -4710,7 +4710,7 @@ + ## + ## file: fs/xfs/Kconfig + ## +-CONFIG_XFS_FS=m ++CONFIG_XFS_FS=y + CONFIG_XFS_QUOTA=y + CONFIG_XFS_POSIX_ACL=y + CONFIG_XFS_RT=y +@@ -4909,7 +4909,7 @@ + CONFIG_CRC32=y + # CONFIG_CRC32_SELFTEST is not set + CONFIG_CRC7=m +-CONFIG_LIBCRC32C=m ++CONFIG_LIBCRC32C=y + # CONFIG_CRC8 is not set + # CONFIG_RANDOM32_SELFTEST is not set + CONFIG_CORDIC=m diff --git a/sys-kernel/debian-sources/files/5.6.7/export_kernel_fpu_functions_5_3.patch b/sys-kernel/debian-sources/files/5.6.7/export_kernel_fpu_functions_5_3.patch new file mode 100644 index 000000000000..af71d043e612 --- /dev/null +++ b/sys-kernel/debian-sources/files/5.6.7/export_kernel_fpu_functions_5_3.patch @@ -0,0 +1,43 @@ +From 1e010beda2896bdf3082fb37a3e49f8ce20e04d8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> +Date: Thu, 2 May 2019 05:28:08 +0100 +Subject: [PATCH] x86/fpu: Export kernel_fpu_{begin,end}() with + EXPORT_SYMBOL_GPL +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +We need these symbols in zfs as the fpu implementation breaks userspace: + +https://github.com/zfsonlinux/zfs/issues/9346 +Signed-off-by: Jörg Thalheim <joerg@thalheim.io> +--- + arch/x86/kernel/fpu/core.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c +index 12c70840980e..352538b3bb5d 100644 +--- a/arch/x86/kernel/fpu/core.c ++++ b/arch/x86/kernel/fpu/core.c +@@ -102,7 +102,7 @@ void kernel_fpu_begin(void) + } + __cpu_invalidate_fpregs_state(); + } +-EXPORT_SYMBOL_GPL(kernel_fpu_begin); ++EXPORT_SYMBOL(kernel_fpu_begin); + + void kernel_fpu_end(void) + { +@@ -111,7 +111,7 @@ void kernel_fpu_end(void) + this_cpu_write(in_kernel_fpu, false); + preempt_enable(); + } +-EXPORT_SYMBOL_GPL(kernel_fpu_end); ++EXPORT_SYMBOL(kernel_fpu_end); + + /* + * Save the FPU state (mark it for reload if necessary): +-- +2.23.0 + + diff --git a/sys-kernel/debian-sources/files/config-extract b/sys-kernel/debian-sources/files/config-extract index ddbafee3ecce..4860a6459873 100755 --- a/sys-kernel/debian-sources/files/config-extract +++ b/sys-kernel/debian-sources/files/config-extract @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import os,sys,re import getopt @@ -10,7 +10,7 @@ re_item = re.compile("[A-Z_]*='[^']*'") try: f=open("debian/rules.gen","r") except: - print("Unable to open debian/rules.gen; can't continue.") + print "Unable to open debian/rules.gen; can't continue." sys.exit(1) lines=f.readlines() f.close() @@ -27,7 +27,7 @@ while line < len(lines): if not head_match: line += 1 continue - config_name = head_match.group(1) + config_name = head_match.group(1) line += 1 if not re_flav.findall(lines[line]): continue @@ -57,7 +57,7 @@ for config in configlist: archdict[cs[0]][cs[1]] = [] archdict[cs[0]][cs[1]].append(cs[2]) -arches = list(archdict.keys()) +arches = archdict.keys() arches.sort() features = [ None ] @@ -68,7 +68,7 @@ for arch in arches: PROG="config-extract" def usage(): - print("""This work is free software. + print """This work is free software. Copyright 2011 Funtoo Technologies. You can redistribute and/or modify it under the terms of the GNU General Public License version 3 as published by the Free @@ -77,7 +77,7 @@ license that has been publicly approved for use with this program by Funtoo Technologies (or its successors, if any.) usage: %s [options] arch [featureset] [subarch] - + -h --help print this usage and exit -l --list list all available kernel configurations -o --outfile specify kernel config outfile -- @@ -101,13 +101,13 @@ pick one (and the program will remind you to do this.) The kernel configuration will be written to ".config" in the current directory, or the location you specified using the -o/--outfile option. -""" % PROG) +""" % PROG sys.exit(2) try: opts, args = getopt.getopt(sys.argv[1:], "o:hl", ["help", "list","outfile="]) -except getopt.GetoptError as err: - print(str(err)) +except getopt.GetoptError, err: + print str(err) usage() mode="run" @@ -124,10 +124,10 @@ for o,a in opts: if mode == "run": if len(args) < 1 or len(args) > 3: if len(args) == 0: - print("Please specify an arch - one of: "+", ".join(arches)) + print "Please specify an arch - one of: "+", ".join(arches) sys.exit(2) else: - print("Too many arguments.") + print "Too many arguments." usage() arch = args[0] if outfile == None: @@ -145,30 +145,30 @@ if mode == "run": # print out optimized list of available kernel configurations: if mode=="list": - print() + print for flav in features: label = flav if label == None: label = "standard" - print("====== %s featureset ======" % label) - print() + print "====== %s featureset ======" % label + print for arch in arches: if flav in archdict[arch]: if len(archdict[arch][flav]) == 1: - print(arch.rjust(12)) + print arch.rjust(12) else: flavlist = archdict[arch][flav] flavlist.sort() - variants = ", ".join(flavlist) - print(arch.rjust(12) + ":", variants) - print() + variants = ", ".join(flavlist) + print arch.rjust(12) + ":", variants + print sys.exit(0) # featureset defaults to None. if featureset not in archdict[arch]: - print("Error: There is no '%s' featureset kernel config for arch '%s'. Exiting." % ( featureset, arch )) - print(archdict[arch]) + print "Error: There is no '%s' featureset kernel config for arch '%s'. Exiting." % ( featureset, arch ) + print archdict[arch] sys.exit(2) # If a subarch is not specified (None), then we will auto-pick the subarch if only one is available. @@ -178,13 +178,13 @@ if subarch == None: if len(archdict[arch][featureset]) == 1: subarch = archdict[arch][featureset][0] else: - print("Error: there is more than one 'sub-architecture' for this arch.") - print("Please specify [arch] [featureset] [subarch], with one of these subarches:") - print(", ".join(archdict[arch][featureset])) + print "Error: there is more than one 'sub-architecture' for this arch." + print "Please specify [arch] [featureset] [subarch], with one of these subarches:" + print ", ".join(archdict[arch][featureset]) sys.exit(2) else: if subarch not in archdict[arch][featureset]: - print("Error: specified sub-architecture '%s' is not available for this arch. Exiting." % subarch) + print "Error: specified sub-architecture '%s' is not available for this arch. Exiting." % subarch sys.exit(2) # We've done all our arg processing, now let's construct the master_key that we will use to look up the @@ -200,20 +200,20 @@ if subarch == None: else: master_key += "_%s" % subarch if master_key not in configdict: - print("Master key lookup failed; can't continue. Please report this bug.") + print "Master key lookup failed; can't continue. Please report this bug." sys.exit(1) if "KCONFIG" not in configdict[master_key]: - print("Unable to find KCONFIG option; can't continue. Please report this bug.") + print "Unable to find KCONFIG option; can't continue. Please report this bug." sys.exit(1) -cmd = "python debian/bin/kconfig.py '%s' %s" % ( outfile, configdict[master_key]["KCONFIG"] ) +cmd = "python2 debian/bin/kconfig.py '%s' %s" % ( outfile, configdict[master_key]["KCONFIG"] ) if "KCONFIG_OPTIONS" in configdict[master_key]: cmd += " %s" % configdict[master_key]["KCONFIG_OPTIONS"] os.environ["PYTHONPATH"] = "debian/lib/python" retval = os.system(cmd) if retval == 0: - print("Wrote %s kernel configuration to %s." % ( master_key, outfile )) + print "Wrote %s kernel configuration to %s." % ( master_key, outfile ) sys.exit(0) else: - print("There was an error extracting the Debian kernel config.") + print "There was an error extracting the Debian kernel config." sys.exit(1) diff --git a/sys-kernel/debian-sources/metadata.xml b/sys-kernel/debian-sources/metadata.xml index 1bff4ad25c0e..2457d2f16d57 100644 --- a/sys-kernel/debian-sources/metadata.xml +++ b/sys-kernel/debian-sources/metadata.xml @@ -7,5 +7,5 @@ <flag name='binary'>Builds and installs kernel automatically</flag> <flag name='rt'>Applies the CONFIG_PREEMPT_RT patch series</flag> </use> - <origin>xor-overlay</origin> + <origin>bradlyatc-overlay</origin> </pkgmetadata> diff --git a/virtual/rust/rust-1.44.1.ebuild b/virtual/rust/rust-1.44.1.ebuild index bc0a7d9d7e71..5bc542cc0438 100644 --- a/virtual/rust/rust-1.44.1.ebuild +++ b/virtual/rust/rust-1.44.1.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="Virtual for Rust language compiler" LICENSE="" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" BDEPEND="" RDEPEND="|| ( ~dev-lang/rust-${PV}[${MULTILIB_USEDEP}] ~dev-lang/rust-bin-${PV}[${MULTILIB_USEDEP}] )" diff --git a/www-client/firefox/firefox-68.10.0.ebuild b/www-client/firefox/firefox-68.10.0.ebuild index d89f2d5dca3e..3aeb9504f10d 100644 --- a/www-client/firefox/firefox-68.10.0.ebuild +++ b/www-client/firefox/firefox-68.10.0.ebuild @@ -146,6 +146,7 @@ DEPEND="${CDEPEND} sys-apps/findutils virtual/pkgconfig >=virtual/rust-1.34.0 + <virtual/rust-1.45.0 || ( ( sys-devel/clang:10 @@ -296,6 +297,12 @@ src_prepare() { "${S}"/build/moz.configure/toolchain.configure \ || die "sed failed to set num_cores" + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + # Allow user to apply any additional patches without modifing ebuild eapply_user diff --git a/www-client/firefox/firefox-78.0.2.ebuild b/www-client/firefox/firefox-78.0.2.ebuild index 533c4da067cf..1fcb4d3a7258 100644 --- a/www-client/firefox/firefox-78.0.2.ebuild +++ b/www-client/firefox/firefox-78.0.2.ebuild @@ -351,6 +351,13 @@ src_prepare() { sed -i -e "s@check_prog('RUSTFMT', add_rustup_path('rustfmt')@check_prog('RUSTFMT', add_rustup_path('rustfmt_do_not_use')@" \ "${S}"/build/moz.configure/rust.configure || die + if has_version ">=virtual/rust-1.45.0" ; then + einfo "Unbreak build with >=rust-1.45.0, bmo#1640982 ..." + sed -i \ + -e 's/\(^cargo_rustc_flags +=.* \)-Clto\( \|$\)/\1/' \ + "${S}/config/makefiles/rust.mk" || die + fi + # Autotools configure is now called old-configure.in # This works because there is still a configure.in that happens to be for the # shell wrapper configure script diff --git a/x11-base/xorg-server/xorg-server-1.20.8-r1.ebuild b/x11-base/xorg-server/xorg-server-1.20.8-r1.ebuild index bb60f9d71495..a47407231b31 100644 --- a/x11-base/xorg-server/xorg-server-1.20.8-r1.ebuild +++ b/x11-base/xorg-server/xorg-server-1.20.8-r1.ebuild @@ -10,7 +10,7 @@ EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/xserver.git" DESCRIPTION="X.Org X servers" SLOT="0/${PV}" if [[ ${PV} != 9999* ]]; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux" fi IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb" diff --git a/x11-libs/cairo/cairo-1.16.0-r4.ebuild b/x11-libs/cairo/cairo-1.16.0-r4.ebuild index d9108285f736..c056365e8718 100644 --- a/x11-libs/cairo/cairo-1.16.0-r4.ebuild +++ b/x11-libs/cairo/cairo-1.16.0-r4.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == *9999* ]]; then SRC_URI="" else SRC_URI="https://www.cairographics.org/releases/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="A vector graphics library with cross-device output support" diff --git a/x11-libs/libdrm/libdrm-2.4.102.ebuild b/x11-libs/libdrm/libdrm-2.4.102.ebuild index 46ea35c8a426..595dc7ad708c 100644 --- a/x11-libs/libdrm/libdrm-2.4.102.ebuild +++ b/x11-libs/libdrm/libdrm-2.4.102.ebuild @@ -17,7 +17,7 @@ if [[ ${PV} = 9999* ]]; then SRC_URI="" else SRC_URI="https://dri.freedesktop.org/libdrm/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux" fi VIDEO_CARDS="amdgpu exynos freedreno intel nouveau omap radeon tegra vc4 vivante vmware" diff --git a/x11-libs/libxkbcommon/libxkbcommon-0.10.0-r1.ebuild b/x11-libs/libxkbcommon/libxkbcommon-0.10.0-r1.ebuild index 15fdecd2c429..4a86064aba3a 100644 --- a/x11-libs/libxkbcommon/libxkbcommon-0.10.0-r1.ebuild +++ b/x11-libs/libxkbcommon/libxkbcommon-0.10.0-r1.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} = *9999* ]]; then EGIT_REPO_URI="https://github.com/xkbcommon/${PN}" else SRC_URI="https://xkbcommon.org/download/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86" fi inherit meson multilib-minimal ${GIT_ECLASS} diff --git a/x11-misc/arandr/arandr-0.1.10.ebuild b/x11-misc/arandr/arandr-0.1.10.ebuild index dc86e38022b2..a10346404f0b 100644 --- a/x11-misc/arandr/arandr-0.1.10.ebuild +++ b/x11-misc/arandr/arandr-0.1.10.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://christian.amsuess.com/tools/arandr/files/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" dev-python/pygobject:3=[${PYTHON_USEDEP}] diff --git a/x11-misc/kdocker/kdocker-5.3.ebuild b/x11-misc/kdocker/kdocker-5.3.ebuild index 30bfc104e846..82d27817c1f9 100644 --- a/x11-misc/kdocker/kdocker-5.3.ebuild +++ b/x11-misc/kdocker/kdocker-5.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/user-none/KDocker/archive/${PV}.tar.gz -> ${MY_P}.ta LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="" DEPEND=" diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.30.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.30.ebuild index 66e3276b4ab7..51f341a9b5cc 100644 --- a/x11-misc/xkeyboard-config/xkeyboard-config-2.30.ebuild +++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.30.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == 9999 ]]; then LIVE_DEPEND=">=x11-misc/util-macros-1.18" else SRC_URI="https://www.x.org/releases/individual/data/${PN}/${P}.tar.bz2" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" fi LICENSE="MIT" diff --git a/x11-wm/icewm/icewm-1.6.6.ebuild b/x11-wm/icewm/icewm-1.6.6.ebuild index 505dbe192a46..36ece3565bbf 100644 --- a/x11-wm/icewm/icewm-1.6.6.ebuild +++ b/x11-wm/icewm/icewm-1.6.6.ebuild @@ -11,7 +11,7 @@ LICENSE="GPL-2" SRC_URI="https://github.com/ice-wm/icewm/releases/download/${PV}/${P}.tar.lz" SLOT="0" -KEYWORDS="~amd64 ppc ~sparc ~x86" +KEYWORDS="~amd64 ppc sparc ~x86" IUSE="+alsa ao bidi debug +gdk-pixbuf nls truetype uclibc xinerama" # Tests broken in all versions, patches welcome, bug #323907, #389533 diff --git a/x11-wm/twm/twm-1.0.11.ebuild b/x11-wm/twm/twm-1.0.11.ebuild index 051480ae348d..d40a6184a8da 100644 --- a/x11-wm/twm/twm-1.0.11.ebuild +++ b/x11-wm/twm/twm-1.0.11.ebuild @@ -9,7 +9,7 @@ inherit xorg-3 DESCRIPTION="X.Org Tab Window Manager" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 sparc ~x86 ~amd64-linux ~x86-linux" IUSE="" COMMON_DEPEND=" |
