From b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 19 Mar 2019 11:37:34 +0000 Subject: gentoo resync : 19.03.2019 --- sys-kernel/linux-firmware/Manifest | 16 +-- .../linux-firmware/linux-firmware-20181026.ebuild | 114 ----------------- .../linux-firmware/linux-firmware-20181216.ebuild | 114 ----------------- .../linux-firmware/linux-firmware-20181218.ebuild | 135 --------------------- .../linux-firmware/linux-firmware-20190114.ebuild | 135 --------------------- .../linux-firmware/linux-firmware-20190118.ebuild | 135 --------------------- .../linux-firmware/linux-firmware-20190213.ebuild | 135 --------------------- .../linux-firmware/linux-firmware-20190221.ebuild | 135 --------------------- .../linux-firmware/linux-firmware-20190313.ebuild | 135 +++++++++++++++++++++ 9 files changed, 137 insertions(+), 917 deletions(-) delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20181026.ebuild delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20181216.ebuild delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20181218.ebuild delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20190114.ebuild delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20190118.ebuild delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20190213.ebuild delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20190221.ebuild create mode 100644 sys-kernel/linux-firmware/linux-firmware-20190313.ebuild (limited to 'sys-kernel/linux-firmware') diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest index eae0fae02f4f..572cf1c7a0ba 100644 --- a/sys-kernel/linux-firmware/Manifest +++ b/sys-kernel/linux-firmware/Manifest @@ -1,16 +1,4 @@ -DIST linux-firmware-20181026.tar.gz 167486645 BLAKE2B 9923b9a8ab692023022d7bceb238b2ec4eba395062307864be558d969fba657301ada317b95071cad82a7a883a2d08f63f0ed34ecc7914a36f31ce85f55ac31f SHA512 4d6eff765557888dea432e0a28973c8ec067354a57aa4c37198e887618ca17e9d5e1243a618820fb470a86a5ce4b6255290f1c2c3835baba4fb87148372cafb0 -DIST linux-firmware-20181216.tar.gz 172681622 BLAKE2B 3d98af002e5ab1ba8935a8716273311cb9f8f52462724882dc6bf63d96ac17011f3b68c37a87eb6e7447f1542b289fcd7afd3b4bbe21afa3aa63c7c2a2fa0ec8 SHA512 fd1790571a744ebbde7ac163ab86bdbe0476f5b3774e3a129eaac850207b146e5b537c7c1c01535c8813215274c9ce02ca9efe1cffe2406fb922f764adbf1a02 -DIST linux-firmware-20181218.tar.gz 174835447 BLAKE2B 8bac1dbd413c4fc5c8c07bb299860504cf9ec39b3665e20d86c3755c2a655a5bd4508b406d91fe8648378217bc3aa49fdac05beafd31dcbc0a05496a195d1deb SHA512 58bb759378e569169a4499e5b0e09b7aa3e42a160b1187313fd8e74b4d26e45a018202c2dfd94b7b592cb0a5ad040bbd4051a0f74d7737aa3a72f0e3ed060dfc -DIST linux-firmware-20190114.tar.gz 175568625 BLAKE2B 1d89ed002293343dc448acb97bf047b99752661d7a358d8ea0f8d2fcce5331af85cde0717861fc429e71aa89647189476df0c92ebfc8edb75c2954e56d8a1860 SHA512 05df281667402b3265f401b3845c4ead22521c8c82f9a48a7fb15dbfaadaacce9fb9ca0e17c521c8928e7a82a7e170cc339697b8fbae8b89798a1f0daf9846da -DIST linux-firmware-20190118.tar.gz 175570644 BLAKE2B 4d1492e820c2f03ab47068be4a8f343cbee62ab18fc72849a4edfa8a0afd5f3ed131f95efa578177155d8e31b7d4283567661855ee693566710934588ef65511 SHA512 2cc06f179c4a720a43f6fbf634b169bd664ec1740cff86abc78de4f30b49e5bd280f5134975a55a2d20f442a4bd72a91cc228ad23ef8c5bc67c7a08e1c0e9658 -DIST linux-firmware-20190213.tar.gz 177329601 BLAKE2B f103805a84342650cc994cfdf398a617bec083c9769d9303a274d33b91b0ab0390f92a736168e0f6b8977e7a93d4592dcdca64983617b884a6a7b64de50b7a4c SHA512 f0f56b511c02427b6923ef5ea2e3a00a42172fe52b86bcdfd170146b9496295dcb6f4a3986642674192b27fdfcb4b9961b3b45ccb29f030af76f7dcad2119485 -DIST linux-firmware-20190221.tar.gz 177329601 BLAKE2B f103805a84342650cc994cfdf398a617bec083c9769d9303a274d33b91b0ab0390f92a736168e0f6b8977e7a93d4592dcdca64983617b884a6a7b64de50b7a4c SHA512 f0f56b511c02427b6923ef5ea2e3a00a42172fe52b86bcdfd170146b9496295dcb6f4a3986642674192b27fdfcb4b9961b3b45ccb29f030af76f7dcad2119485 -EBUILD linux-firmware-20181026.ebuild 3255 BLAKE2B e58ebe3e958af8936c609b7c5d5b248aaa1173c1e9e6afef76bdb92c7dd07f3d00b682ee5cac8917b049ab53b4891084c3c45697f18035e233ee0dd892117f3f SHA512 023417193fe2f009038ebdc307d9e01aa90c099bdc90c33e525fed14c32933fb91488005a2755a7852551c6532a84d9ab445c55b0b3457e19af0ffddeab20512 -EBUILD linux-firmware-20181216.ebuild 3255 BLAKE2B 97a96a89f25c95bb3e6699cc6fe52b1ca80bc2c5cc0897410ef748a4cbbcd31490b789f9c17d2df21bf5e5030c089a9b3909b4e1e17af2e777c2d99a523e031a SHA512 ea0fa532b05ccc7a5b31c65f12e212f392c263195723a06c7cf32538c9d1a0137e121e5a9e4708c0201cea582d0069ec61de380ada5e921c9b414afea27636eb -EBUILD linux-firmware-20181218.ebuild 3685 BLAKE2B 6054a411247f1495365d6128fe64c94f2f66f78d28739742be1398e011fe77da4a40d7837ccc1791394be6cd1ed968a9648e8cc31de1044d5eaa5637f3bc5004 SHA512 5f6842443e48cb04c516ba2a2527b09a938651b068b95d24ff1fefd9a96eb9bc2ca5d85c6225631bfce531b8071b7405cde51b612b45992859c3b0471121a739 -EBUILD linux-firmware-20190114.ebuild 3685 BLAKE2B 7bdace9b1d2758be2d074f708d521c2c7de8c44544e1b8fbdf178ceba0f0c68af1b25e92ed62e2754bbe73d51ed943f4f35da4ad4e7d3525bddf3b79f5e4b533 SHA512 4211e50989aeb6be5522b5c374eface16ff119c2b19ba2505ffb4bc0b9e30b71b08e3fef12de815e0200496d92596fe1e82c89b56d4695eabb5d348a66e12b34 -EBUILD linux-firmware-20190118.ebuild 3698 BLAKE2B 240172487255c8f998a5c7520394f38185ab0196653048d2bc74aafd7701dd9f5c6472a74dfc4d4150fa6ce112c0261c1e9e81832cf1b5c84cf117a96d5fda0d SHA512 90108cbc9f964c258367f24bfdbecbf7a9ab74cd274cd34ff2dc69e889841ce73b2f10feddc10cd646cc1a78cda02a423325fc1647a4ca874106be39e6491e4c -EBUILD linux-firmware-20190213.ebuild 3698 BLAKE2B 9baceb86ec520cf355a473954e14122abc53451ddf38b2839634c00b94f5af644358ccbbf253dd5beac357b55a3b2895ea0667122bec9a887c5b4bdf8c3d95f0 SHA512 efc2eb9c03afcdebe4841e385537b668c14fd80d016d947c4f814bc920ff925106c1b8fec13e025efc8575213361a59414dfc81ecc2e526b6fa53660bf9f96b9 -EBUILD linux-firmware-20190221.ebuild 3698 BLAKE2B 9baceb86ec520cf355a473954e14122abc53451ddf38b2839634c00b94f5af644358ccbbf253dd5beac357b55a3b2895ea0667122bec9a887c5b4bdf8c3d95f0 SHA512 efc2eb9c03afcdebe4841e385537b668c14fd80d016d947c4f814bc920ff925106c1b8fec13e025efc8575213361a59414dfc81ecc2e526b6fa53660bf9f96b9 +DIST linux-firmware-20190313.tar.gz 177810569 BLAKE2B 410206491591115505964ca1cefb5effe6bb43002234489285a0985c7a87f80071ed22dd5678f5457ec6611bdd702ac9610ba89b3e44174f8d222b75b5d32d2a SHA512 eec933ebdefe83d466bfcf0babe710f95f67d319317f3187e43518a15a273b47e63ae88a35106932f0a8d5ce54f8a4c5325d7ab9da8b1789eed532a4a500fafd +EBUILD linux-firmware-20190313.ebuild 3685 BLAKE2B 2630a8397dc4a294381d76181c5bb4b73e0a6c7a994dff7af644de2080ff4d3cc41dc6437940ef83372e9ff21761b14a0124f941564a9c41303694c4506911cc SHA512 c13931024b2e044f531878918f71fd8203ba13e0e1f8e29e20d804ce20d756e7fe751b6589ea87a8b9655e9a9f15eca957c03633d5962aa4fe4fec603eb8860f EBUILD linux-firmware-99999999.ebuild 3658 BLAKE2B fd08ee9d29ff91a161693cdfd6b493bf8c898d4596e19ce5633b60f5bf06a07ba6217587f5737edcee36e0bb03cde69dd3a68d6083b0f63cdf3e177dad2367d3 SHA512 64c453294857b99cf7373cb1fe5e8451efbc0ba62d1660dbe49d91670270468a468dfadbcedd3cc03df5ea8d25eed3235f7b82fa21a36f7234fbb2d6e3d1ce9f MISC metadata.xml 570 BLAKE2B 16be542cd3a809097b54d505c5a4d93d5728e326d025f6c303404919832014868afb7cbb19e51052083d01d212ebb39f4a3d400bd1d2bd1bc676a5de9a9ddda8 SHA512 55b3274fb2d43a015620bdfa759c554a2e966b8a83b8fd72a6ef1c08dd0f3b8b0b6afba00fc846fa39b631e100d4df059aed44c98111a6a260d1a3f5048916c9 diff --git a/sys-kernel/linux-firmware/linux-firmware-20181026.ebuild b/sys-kernel/linux-firmware/linux-firmware-20181026.ebuild deleted file mode 100644 index ed836d8e188c..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20181026.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit savedconfig - -if [[ ${PV} == 99999999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" -else - GIT_COMMIT="1cb4e51018293c14642f115b5868cda92b879161" - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="alpha amd64 arm arm64 hppa ia64 mips ppc ppc64 s390 sh sparc x86" -fi - -DESCRIPTION="Linux firmware files" -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" - -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+" -SLOT="0" -IUSE="savedconfig" - -DEPEND="" -RDEPEND="!savedconfig? ( - !sys-firmware/alsa-firmware[alsa_cards_ca0132] - !sys-firmware/alsa-firmware[alsa_cards_korg1212] - !sys-firmware/alsa-firmware[alsa_cards_maestro3] - !sys-firmware/alsa-firmware[alsa_cards_sb16] - !sys-firmware/alsa-firmware[alsa_cards_ymfpci] - !media-tv/cx18-firmware - ! ${PN}.conf - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf - - if use savedconfig; then - restore_config ${PN}.conf - ebegin "Removing all files not listed in config" - find * \( \! -type d -and \! -name ${PN}.conf \) \ - | sort ${PN}.conf ${PN}.conf - \ - | uniq -u | xargs -r rm - eend $? || die - # remove empty directories, bug #396073 - find -type d -empty -delete || die - fi -} - -src_install() { - if use !savedconfig; then - save_config ${PN}.conf - fi - rm ${PN}.conf || die - insinto /lib/firmware/ - doins -r * -} - -pkg_preinst() { - if use savedconfig; then - ewarn "USE=savedconfig is active. You must handle file collisions manually." - fi -} - -pkg_postinst() { - elog "If you are only interested in particular firmware files, edit the saved" - elog "configfile and remove those that you do not want." -} diff --git a/sys-kernel/linux-firmware/linux-firmware-20181216.ebuild b/sys-kernel/linux-firmware/linux-firmware-20181216.ebuild deleted file mode 100644 index aa57d91f5597..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20181216.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit savedconfig - -if [[ ${PV} == 99999999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" -else - GIT_COMMIT="211de1679a68b8ab0f841a8058df35e13e3963f0" - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="alpha amd64 arm arm64 hppa ia64 mips ppc ppc64 s390 sh sparc x86" -fi - -DESCRIPTION="Linux firmware files" -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" - -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+" -SLOT="0" -IUSE="savedconfig" - -DEPEND="" -RDEPEND="!savedconfig? ( - !sys-firmware/alsa-firmware[alsa_cards_ca0132] - !sys-firmware/alsa-firmware[alsa_cards_korg1212] - !sys-firmware/alsa-firmware[alsa_cards_maestro3] - !sys-firmware/alsa-firmware[alsa_cards_sb16] - !sys-firmware/alsa-firmware[alsa_cards_ymfpci] - !media-tv/cx18-firmware - ! ${PN}.conf - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf - - if use savedconfig; then - restore_config ${PN}.conf - ebegin "Removing all files not listed in config" - find * \( \! -type d -and \! -name ${PN}.conf \) \ - | sort ${PN}.conf ${PN}.conf - \ - | uniq -u | xargs -r rm - eend $? || die - # remove empty directories, bug #396073 - find -type d -empty -delete || die - fi -} - -src_install() { - if use !savedconfig; then - save_config ${PN}.conf - fi - rm ${PN}.conf || die - insinto /lib/firmware/ - doins -r * -} - -pkg_preinst() { - if use savedconfig; then - ewarn "USE=savedconfig is active. You must handle file collisions manually." - fi -} - -pkg_postinst() { - elog "If you are only interested in particular firmware files, edit the saved" - elog "configfile and remove those that you do not want." -} diff --git a/sys-kernel/linux-firmware/linux-firmware-20181218.ebuild b/sys-kernel/linux-firmware/linux-firmware-20181218.ebuild deleted file mode 100644 index 1239aa823350..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20181218.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit savedconfig - -if [[ ${PV} == 99999999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" -else - GIT_COMMIT="0f22c8527439eaaf5c3fcf87b31c89445b6fa84d" - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="alpha amd64 arm arm64 hppa ia64 mips ppc ppc64 s390 sh sparc x86" -fi - -DESCRIPTION="Linux firmware files" -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" - -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+" -SLOT="0" -IUSE="savedconfig" - -DEPEND="" -RDEPEND="!savedconfig? ( - !sys-firmware/alsa-firmware[alsa_cards_ca0132] - !sys-firmware/alsa-firmware[alsa_cards_korg1212] - !sys-firmware/alsa-firmware[alsa_cards_maestro3] - !sys-firmware/alsa-firmware[alsa_cards_sb16] - !sys-firmware/alsa-firmware[alsa_cards_ymfpci] - !media-tv/cx18-firmware - ! ${PN}.conf - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf - - if use savedconfig; then - restore_config ${PN}.conf - ebegin "Removing all files not listed in config" - - local file delete_file preserved_file preserved_files=() - - while IFS= read -r file; do - # Ignore comments. - if [[ ${file} != "#"* ]]; then - preserved_files+=("${file}") - fi - done < ${PN}.conf || die - - while IFS= read -d "" -r file; do - delete_file=true - for preserved_file in "${preserved_files[@]}"; do - if [[ "${file}" == "${preserved_file}" ]]; then - delete_file=false - fi - done - - if ${delete_file}; then - rm "${file}" || die - fi - done < <(find * \( \! -type d -and \! -name ${PN}.conf \) -print0 || die) - - eend || die - - # remove empty directories, bug #396073 - find -type d -empty -delete || die - fi -} - -src_install() { - if use !savedconfig; then - save_config ${PN}.conf - fi - rm ${PN}.conf || die - insinto /lib/firmware/ - doins -r * -} - -pkg_preinst() { - if use savedconfig; then - ewarn "USE=savedconfig is active. You must handle file collisions manually." - fi -} - -pkg_postinst() { - elog "If you are only interested in particular firmware files, edit the saved" - elog "configfile and remove those that you do not want." -} diff --git a/sys-kernel/linux-firmware/linux-firmware-20190114.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190114.ebuild deleted file mode 100644 index 7c0da4061f24..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20190114.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit savedconfig - -if [[ ${PV} == 99999999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" -else - GIT_COMMIT="bc656509a3cfb60fcdfc905d7e23c18873e4e7b9" - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="alpha amd64 arm arm64 hppa ia64 mips ppc ppc64 s390 sh sparc x86" -fi - -DESCRIPTION="Linux firmware files" -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" - -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+" -SLOT="0" -IUSE="savedconfig" - -DEPEND="" -RDEPEND="!savedconfig? ( - !sys-firmware/alsa-firmware[alsa_cards_ca0132] - !sys-firmware/alsa-firmware[alsa_cards_korg1212] - !sys-firmware/alsa-firmware[alsa_cards_maestro3] - !sys-firmware/alsa-firmware[alsa_cards_sb16] - !sys-firmware/alsa-firmware[alsa_cards_ymfpci] - !media-tv/cx18-firmware - ! ${PN}.conf - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf - - if use savedconfig; then - restore_config ${PN}.conf - ebegin "Removing all files not listed in config" - - local file delete_file preserved_file preserved_files=() - - while IFS= read -r file; do - # Ignore comments. - if [[ ${file} != "#"* ]]; then - preserved_files+=("${file}") - fi - done < ${PN}.conf || die - - while IFS= read -d "" -r file; do - delete_file=true - for preserved_file in "${preserved_files[@]}"; do - if [[ "${file}" == "${preserved_file}" ]]; then - delete_file=false - fi - done - - if ${delete_file}; then - rm "${file}" || die - fi - done < <(find * \( \! -type d -and \! -name ${PN}.conf \) -print0 || die) - - eend || die - - # remove empty directories, bug #396073 - find -type d -empty -delete || die - fi -} - -src_install() { - if use !savedconfig; then - save_config ${PN}.conf - fi - rm ${PN}.conf || die - insinto /lib/firmware/ - doins -r * -} - -pkg_preinst() { - if use savedconfig; then - ewarn "USE=savedconfig is active. You must handle file collisions manually." - fi -} - -pkg_postinst() { - elog "If you are only interested in particular firmware files, edit the saved" - elog "configfile and remove those that you do not want." -} diff --git a/sys-kernel/linux-firmware/linux-firmware-20190118.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190118.ebuild deleted file mode 100644 index 2cc6902036d7..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20190118.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit savedconfig - -if [[ ${PV} == 99999999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" -else - GIT_COMMIT="a8b75cac06f80dc1500ba385680ac5b5c1d1c4f8" - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -fi - -DESCRIPTION="Linux firmware files" -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" - -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+" -SLOT="0" -IUSE="savedconfig" - -DEPEND="" -RDEPEND="!savedconfig? ( - !sys-firmware/alsa-firmware[alsa_cards_ca0132] - !sys-firmware/alsa-firmware[alsa_cards_korg1212] - !sys-firmware/alsa-firmware[alsa_cards_maestro3] - !sys-firmware/alsa-firmware[alsa_cards_sb16] - !sys-firmware/alsa-firmware[alsa_cards_ymfpci] - !media-tv/cx18-firmware - ! ${PN}.conf - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf - - if use savedconfig; then - restore_config ${PN}.conf - ebegin "Removing all files not listed in config" - - local file delete_file preserved_file preserved_files=() - - while IFS= read -r file; do - # Ignore comments. - if [[ ${file} != "#"* ]]; then - preserved_files+=("${file}") - fi - done < ${PN}.conf || die - - while IFS= read -d "" -r file; do - delete_file=true - for preserved_file in "${preserved_files[@]}"; do - if [[ "${file}" == "${preserved_file}" ]]; then - delete_file=false - fi - done - - if ${delete_file}; then - rm "${file}" || die - fi - done < <(find * \( \! -type d -and \! -name ${PN}.conf \) -print0 || die) - - eend || die - - # remove empty directories, bug #396073 - find -type d -empty -delete || die - fi -} - -src_install() { - if use !savedconfig; then - save_config ${PN}.conf - fi - rm ${PN}.conf || die - insinto /lib/firmware/ - doins -r * -} - -pkg_preinst() { - if use savedconfig; then - ewarn "USE=savedconfig is active. You must handle file collisions manually." - fi -} - -pkg_postinst() { - elog "If you are only interested in particular firmware files, edit the saved" - elog "configfile and remove those that you do not want." -} diff --git a/sys-kernel/linux-firmware/linux-firmware-20190213.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190213.ebuild deleted file mode 100644 index ed558fb8a0c4..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20190213.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit savedconfig - -if [[ ${PV} == 99999999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" -else - GIT_COMMIT="710963fe53ee3f227556d36839df3858daf6e232" - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -fi - -DESCRIPTION="Linux firmware files" -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" - -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+" -SLOT="0" -IUSE="savedconfig" - -DEPEND="" -RDEPEND="!savedconfig? ( - !sys-firmware/alsa-firmware[alsa_cards_ca0132] - !sys-firmware/alsa-firmware[alsa_cards_korg1212] - !sys-firmware/alsa-firmware[alsa_cards_maestro3] - !sys-firmware/alsa-firmware[alsa_cards_sb16] - !sys-firmware/alsa-firmware[alsa_cards_ymfpci] - !media-tv/cx18-firmware - ! ${PN}.conf - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf - - if use savedconfig; then - restore_config ${PN}.conf - ebegin "Removing all files not listed in config" - - local file delete_file preserved_file preserved_files=() - - while IFS= read -r file; do - # Ignore comments. - if [[ ${file} != "#"* ]]; then - preserved_files+=("${file}") - fi - done < ${PN}.conf || die - - while IFS= read -d "" -r file; do - delete_file=true - for preserved_file in "${preserved_files[@]}"; do - if [[ "${file}" == "${preserved_file}" ]]; then - delete_file=false - fi - done - - if ${delete_file}; then - rm "${file}" || die - fi - done < <(find * \( \! -type d -and \! -name ${PN}.conf \) -print0 || die) - - eend || die - - # remove empty directories, bug #396073 - find -type d -empty -delete || die - fi -} - -src_install() { - if use !savedconfig; then - save_config ${PN}.conf - fi - rm ${PN}.conf || die - insinto /lib/firmware/ - doins -r * -} - -pkg_preinst() { - if use savedconfig; then - ewarn "USE=savedconfig is active. You must handle file collisions manually." - fi -} - -pkg_postinst() { - elog "If you are only interested in particular firmware files, edit the saved" - elog "configfile and remove those that you do not want." -} diff --git a/sys-kernel/linux-firmware/linux-firmware-20190221.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190221.ebuild deleted file mode 100644 index ed558fb8a0c4..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20190221.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit savedconfig - -if [[ ${PV} == 99999999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" -else - GIT_COMMIT="710963fe53ee3f227556d36839df3858daf6e232" - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -fi - -DESCRIPTION="Linux firmware files" -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" - -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+" -SLOT="0" -IUSE="savedconfig" - -DEPEND="" -RDEPEND="!savedconfig? ( - !sys-firmware/alsa-firmware[alsa_cards_ca0132] - !sys-firmware/alsa-firmware[alsa_cards_korg1212] - !sys-firmware/alsa-firmware[alsa_cards_maestro3] - !sys-firmware/alsa-firmware[alsa_cards_sb16] - !sys-firmware/alsa-firmware[alsa_cards_ymfpci] - !media-tv/cx18-firmware - ! ${PN}.conf - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf - - if use savedconfig; then - restore_config ${PN}.conf - ebegin "Removing all files not listed in config" - - local file delete_file preserved_file preserved_files=() - - while IFS= read -r file; do - # Ignore comments. - if [[ ${file} != "#"* ]]; then - preserved_files+=("${file}") - fi - done < ${PN}.conf || die - - while IFS= read -d "" -r file; do - delete_file=true - for preserved_file in "${preserved_files[@]}"; do - if [[ "${file}" == "${preserved_file}" ]]; then - delete_file=false - fi - done - - if ${delete_file}; then - rm "${file}" || die - fi - done < <(find * \( \! -type d -and \! -name ${PN}.conf \) -print0 || die) - - eend || die - - # remove empty directories, bug #396073 - find -type d -empty -delete || die - fi -} - -src_install() { - if use !savedconfig; then - save_config ${PN}.conf - fi - rm ${PN}.conf || die - insinto /lib/firmware/ - doins -r * -} - -pkg_preinst() { - if use savedconfig; then - ewarn "USE=savedconfig is active. You must handle file collisions manually." - fi -} - -pkg_postinst() { - elog "If you are only interested in particular firmware files, edit the saved" - elog "configfile and remove those that you do not want." -} diff --git a/sys-kernel/linux-firmware/linux-firmware-20190313.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190313.ebuild new file mode 100644 index 000000000000..03cdbed43672 --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20190313.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit savedconfig + +if [[ ${PV} == 99999999* ]]; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" +else + GIT_COMMIT="efd2c1cc375cff1c17b4259d99a7fee240c3b510" + SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="alpha amd64 arm arm64 hppa ia64 mips ppc ppc64 s390 sh sparc x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+" +SLOT="0" +IUSE="savedconfig" + +DEPEND="" +RDEPEND="!savedconfig? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + !media-tv/cx18-firmware + ! ${PN}.conf + find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf + + if use savedconfig; then + restore_config ${PN}.conf + ebegin "Removing all files not listed in config" + + local file delete_file preserved_file preserved_files=() + + while IFS= read -r file; do + # Ignore comments. + if [[ ${file} != "#"* ]]; then + preserved_files+=("${file}") + fi + done < ${PN}.conf || die + + while IFS= read -d "" -r file; do + delete_file=true + for preserved_file in "${preserved_files[@]}"; do + if [[ "${file}" == "${preserved_file}" ]]; then + delete_file=false + fi + done + + if ${delete_file}; then + rm "${file}" || die + fi + done < <(find * \( \! -type d -and \! -name ${PN}.conf \) -print0 || die) + + eend || die + + # remove empty directories, bug #396073 + find -type d -empty -delete || die + fi +} + +src_install() { + if use !savedconfig; then + save_config ${PN}.conf + fi + rm ${PN}.conf || die + insinto /lib/firmware/ + doins -r * +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." +} -- cgit v1.2.3