From 586819755b4dbfdffdc8a725ab7c0f86095b8489 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 15 Sep 2018 17:37:09 +0100 Subject: gentoo resync : 15.09.2018 --- sys-kernel/linux-firmware/Manifest | 13 +-- .../linux-firmware-20180103-r2.ebuild | 119 --------------------- .../linux-firmware-20180606-r1.ebuild | 115 -------------------- .../linux-firmware-20180717-r1.ebuild | 115 -------------------- .../linux-firmware/linux-firmware-20180730.ebuild | 114 -------------------- .../linux-firmware/linux-firmware-20180825.ebuild | 2 +- .../linux-firmware/linux-firmware-20180913.ebuild | 114 ++++++++++++++++++++ 7 files changed, 118 insertions(+), 474 deletions(-) delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20180103-r2.ebuild delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20180606-r1.ebuild delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20180717-r1.ebuild delete mode 100644 sys-kernel/linux-firmware/linux-firmware-20180730.ebuild create mode 100644 sys-kernel/linux-firmware/linux-firmware-20180913.ebuild (limited to 'sys-kernel/linux-firmware') diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest index 952f151f3a73..3e23cf4a1e17 100644 --- a/sys-kernel/linux-firmware/Manifest +++ b/sys-kernel/linux-firmware/Manifest @@ -1,13 +1,6 @@ -DIST linux-firmware-20180103.tar.gz 138263360 BLAKE2B b7af0f94bf7111a1f4a10c7403f43dbfe837912ccf3afd4bcc362e483bcf15e02df76a37b112b2545c67bfbb2df031890dead100552e402ffc4727041409d891 SHA512 ed95205c075b47a2f30d9c96181ca0047de017abb1b5904f7c504a0afb8ea673c179980eb92d5690dd1a5cfb29815f224f384b4dcc472f80ddc90af3b2cbd4ce -DIST linux-firmware-20180606.tar.gz 152670671 BLAKE2B 7c4fb07451c1c459bd0bf8bec15e3bff41bdb64166decfd7776650c85f0b373c97dfa23330ebb7ddd4bc144bffb57751f3a94bb4a352e5f8ef1dd0b8a3679c81 SHA512 4eb02e11beffde5bf8daff45af78304881e01eb51004ff0758bfff3a4a4cb59f6a2e081b7a3c3e07734a29954f09fa6277f920c2bdab6aeb608065936861c650 -DIST linux-firmware-20180717.tar.gz 155038756 BLAKE2B be94a60c95b23ad14008ed2c1d6eb1e126ef4b959bb9375b9d6c7374d16de0b503c434c00975cb9be74cc8d191db826ec58312a1405c558eb476807dfcf247cd SHA512 e885b31d01c7aa7864742dc3f2b67888aa93166390d5572ae56d191656991876e4aea1e412e452f4caa6ee031d0ab10c26f615f639cfde6f15bdea47a9819816 -DIST linux-firmware-20180730.tar.gz 156004891 BLAKE2B 38472066f4af965f5d3186d719b324e65874d4c25cec335fa522555e29d9a67d7cd22594977cb8800f10915da122cfe9906e0e64675c3733b9659c2338eaee69 SHA512 dc1a5b118b7f4f7760115ba45ab6c836661f5b1d68f4daad294c88f9f7448a0e42ee0de5be27cca418acf57c2d214ca166b6e7ab6711f8a68b6c8c3e68c2812e DIST linux-firmware-20180825.tar.gz 156618714 BLAKE2B 1bf44c456a87dce2e0622c8ef80bacae9d1aa76efacbb1519718be4a2c3e36a72b8baced8dc17953515052be923b85a8368179dfad591fbc7402521bce564e20 SHA512 583623fedf18a987a20cb6f5337146131a7b17a95ee79cb4b35199b6ecf42af039b824623235501685db18839c0d7e9e81cd79ed47fb993b4e72346bf9159021 -DIST microcode_amd_fam17h.tar.gz 2204 BLAKE2B 20f3b006587f49fced335fd38711da2384a1f5cd0b93a483d7022d8aa211dc855427a637583dd2eae9f108120f2fda4b80db081d48d3332da906de8e10b94464 SHA512 d3b52797a5968f8da76d39322780e61d04bab5d810b0b07d64e469fcd67998e4191b0e0a9ab7e4c27189941369ef1b2850bbbb1458fd9bbeb958c98f6e378510 -EBUILD linux-firmware-20180103-r2.ebuild 3512 BLAKE2B 9a1d555f59836c93fe8a5f5ae0eeb456bd6ea0f7d9b41d09f20b28d0b52c54f9639e66b8ad840885f06ecb3223d6f6bda73f38a6c6b62ea5650b9adae5d69a88 SHA512 57157b529e2cf627b9647b317138730dc36a442bdfb2bb20db99681288c403eb537fdb84866885d5a892169ad643fd478832cfcdbe892dde5818b24f09dc60ef -EBUILD linux-firmware-20180606-r1.ebuild 3326 BLAKE2B 8208b7bc4e4a3b8e8f187ed7932140ba2dbc5fc5ccb5e058760d06d880953b9b51d4b39ccdb7199689f4adce8d05c33e0992100b43746e92f3892e02bc8ec193 SHA512 1baf9e596d161c3694bc1922bbbde5607f0f87a0ee4e17bf54e4cf44f528f1a3fd87e11575d4b58010a6e70ef35942babaa1f097b27ced724e00d64a90312728 -EBUILD linux-firmware-20180717-r1.ebuild 3326 BLAKE2B 2c126d139f2d020994da7fe8f82820c43e5b3a5df8f3fa8352f1528fbd47ed063eff68b43f5c5820016c724764edd6d81e3e8e2b95144892a64417d9128629b5 SHA512 2a3230bc6c2eb87670cdaccb066bfe138263401d09652dae5fe9f8ad166beeba506c4a5c2016a993e8cd481c4aa26e731f5ee173c206afcd3071aa03bbb2f15d -EBUILD linux-firmware-20180730.ebuild 3270 BLAKE2B 70b783c4344dc509e8334ba51041f4f5311b87bec8fe0231c2013cdde1fb6e1002950d6933c1bb3b1ddc8b4703e2e16649f2479a8cfa417fa8036f5d58e8b734 SHA512 65d09c46fb1cf4aae22a760127a12b5489dcae2f15d1fe34c65be512e0e01b86393ab66be15f0fcba6a4d614ea83591f71e8bde829675fc6ee20c204a6f50520 -EBUILD linux-firmware-20180825.ebuild 3280 BLAKE2B 259a70a20f1a0637368b81a0ef9d75016c8e41dce52321d315ff73fb38836cb2608c4dd86ad1aa707b2b3240eb006844b75a5c2a57914ba845cafc4f90dfda20 SHA512 5da9edbce7cc2a7aa6493aa1c60dc009603058da1e72125c72002d4f748672a0c16ba21f482f71a688601f4ca81e68386edf8ebf8a1a4dbcd0e2e7dcca43e442 +DIST linux-firmware-20180913.tar.gz 157719795 BLAKE2B 6eb2b9f4c753cf2b9fbef7e720d4fedcc452ca694c330a4884e5713050fbe2461e5ad135b6b514c8e84b3c2d8ae587b4b4017d390dcf7180d63c58e67c135d0c SHA512 1db808849d1858e1c7c444315adbe3e112c12ec739bc98f5b56e07b756563dec79fd84f709200d0c2c5e0b76134caac006ea747d224b67bfdf949dfcff6ce83c +EBUILD linux-firmware-20180825.ebuild 3267 BLAKE2B af9772d5a6ff37b56de73a8dd87b1b0a7b6e298e8e555e592d38f79352247a42c734509fd41e2649f6cc8a38eac9d0f3dad986b0dfd01fadc550998500ade419 SHA512 e03803624d6f37db6c8073b4600126febbe5de0b1df9c03f2f075fdf422e485c702358ccfd0f10121a81988d15a73fb715bae934ce8d5438c16d11b01638bc31 +EBUILD linux-firmware-20180913.ebuild 3280 BLAKE2B 6ad0fd38c7a5158ff493b5358af8e71a1e8b0564c4d83a07006b51d8a71adf932edfc2b8224f68f0454e22a53b2e0e600cb271ec6b3a62a0da26e352e3d02438 SHA512 5ca03c8b4eb4be1b913f7cc34307a0182ab6aa413a1b171af586d07ccfd3ec7411e769b58c6bb913266434d5ca4461c1a68bd23dd5b125fb0edd2b373e67f40b EBUILD linux-firmware-99999999.ebuild 3240 BLAKE2B 672dd57268adc5adfbf53809ff5bd270d890fffd7b1fa243d706ef4d5ae314b827078514f76c4c6e972982c5df122542ef406ef258315376f94ae9f06d8f1cf3 SHA512 a72f9a5b5e3900be6ea59d38cd9ab6c76811cc68a4dedaade883fe932cf3742f36b4c7246c6057938a4011939d8b54f2bded6f67e5879aa4a8faf1c437fe0171 MISC metadata.xml 570 BLAKE2B 16be542cd3a809097b54d505c5a4d93d5728e326d025f6c303404919832014868afb7cbb19e51052083d01d212ebb39f4a3d400bd1d2bd1bc676a5de9a9ddda8 SHA512 55b3274fb2d43a015620bdfa759c554a2e966b8a83b8fd72a6ef1c08dd0f3b8b0b6afba00fc846fa39b631e100d4df059aed44c98111a6a260d1a3f5048916c9 diff --git a/sys-kernel/linux-firmware/linux-firmware-20180103-r2.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180103-r2.ebuild deleted file mode 100644 index 266dd651989b..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20180103-r2.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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" - KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" -else - GIT_COMMIT="2eefafb2e9dcbafdf4b83d8c43fcd6b75fd4ac78" - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz - mirror://gentoo/microcode_amd_fam17h.tar.gz - https://dev.gentoo.org/~whissi/dist/${PN}/microcode_amd_fam17h.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+ freedist" -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-20180606-r1.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180606-r1.ebuild deleted file mode 100644 index 3fd71f1cf7f8..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20180606-r1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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" - KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" -else - GIT_COMMIT="d1147327232ec4616a66ab898df84f9700c816c1" - 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+ freedist" -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-20180717-r1.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180717-r1.ebuild deleted file mode 100644 index 3341a3e7e994..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20180717-r1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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" - KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" -else - GIT_COMMIT="8d69bab7a3da1913113ea98cefb73d5fa6988286" - 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+ freedist" -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-20180730.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180730.ebuild deleted file mode 100644 index 278a8cd4ce55..000000000000 --- a/sys-kernel/linux-firmware/linux-firmware-20180730.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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="7b5835fd37630d18ac0c755329172f6a17c1af29" - 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+ freedist" -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-20180825.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180825.ebuild index 520053a9db00..3a8fcad736ec 100644 --- a/sys-kernel/linux-firmware/linux-firmware-20180825.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-20180825.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == 99999999* ]]; then else GIT_COMMIT="fea76a04f25fd0a217c0d566ff5ff8f23ad3e648" 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" + KEYWORDS="alpha amd64 arm arm64 hppa ia64 mips ppc ppc64 s390 sh sparc x86" fi DESCRIPTION="Linux firmware files" diff --git a/sys-kernel/linux-firmware/linux-firmware-20180913.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180913.ebuild new file mode 100644 index 000000000000..1b03975e839a --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20180913.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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="44d4fca9922a252a0bd81f6307bcc072a78da54a" + 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+ freedist" +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." +} -- cgit v1.2.3