From 443cfbefc0bbd1e252d323db7597b33ace434817 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Mar 2024 01:07:00 +0000 Subject: gentoo auto-resync : 08:03:2024 - 01:06:59 --- app-admin/Manifest.gz | Bin 32042 -> 32038 bytes app-admin/puppet-agent/Manifest | 3 + app-admin/puppet-agent/puppet-agent-8.5.1.ebuild | 91 ++++++++++ app-admin/puppet/Manifest | 2 + app-admin/puppet/puppet-8.5.1.ebuild | 115 +++++++++++++ app-admin/rasdaemon/Manifest | 7 - .../files/rasdaemon-0.6.8-bashisms-configure.patch | 186 --------------------- app-admin/rasdaemon/rasdaemon-0.6.8-r2.ebuild | 76 --------- app-admin/rasdaemon/rasdaemon-0.7.0.ebuild | 66 -------- app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild | 85 ---------- app-admin/rasdaemon/rasdaemon-0.8.0.ebuild | 83 --------- 11 files changed, 211 insertions(+), 503 deletions(-) create mode 100644 app-admin/puppet-agent/puppet-agent-8.5.1.ebuild create mode 100644 app-admin/puppet/puppet-8.5.1.ebuild delete mode 100644 app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch delete mode 100644 app-admin/rasdaemon/rasdaemon-0.6.8-r2.ebuild delete mode 100644 app-admin/rasdaemon/rasdaemon-0.7.0.ebuild delete mode 100644 app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild delete mode 100644 app-admin/rasdaemon/rasdaemon-0.8.0.ebuild (limited to 'app-admin') diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz index aa54e49cbf68..993ef32655e3 100644 Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest index 738dd74c7f85..175775b4aec0 100644 --- a/app-admin/puppet-agent/Manifest +++ b/app-admin/puppet-agent/Manifest @@ -7,8 +7,11 @@ DIST puppet-agent_8.4.0-1focal_amd64.deb 35930626 BLAKE2B ad299aaceba51bd2831c6a DIST puppet-agent_8.4.0-1focal_arm64.deb 35421066 BLAKE2B 348f4cb16b83e0703fe8ec1fc6a5ebd992384c02f51b8d38d597d629b19f070f21e0f944ba1c6188bd9d93d0689e66ef10a4c717847ffca2534b4c6a3fa0eb4d SHA512 5ba2d6d41e6d98e0e7830fc6140500173e1e18efd9c228c84ec124c5154df847657f4c43f994d05830774fc6431b49d57081ded579ed1215927623c7b83155a7 DIST puppet-agent_8.5.0-1focal_amd64.deb 35945720 BLAKE2B 485fa3e93006c63265df27ba99e61e1c9b253f71976aa92af1bc0ee474b575c27d3e1d3ddde21a919f5a21e151777b1ab8f7d849f5927a48898ca58b14edaa8b SHA512 a252240e206fb93bfc882f88e593a93b29c61442bb7fc95e1d3465e30af6b7bd82a362287590a36460ed04d4759fc244d3eff118ef8790885112ef78206a14f9 DIST puppet-agent_8.5.0-1focal_arm64.deb 35436786 BLAKE2B 712f893f05f9f75bf7af0cf40556f0746a81fabbd8e588ad598f59856bfe4948c53eb92e2eaa7a621507183c572d17ecb2b426b13a91bbd0b98cc2463070a60e SHA512 ce1752d13b2d4b9442ef11006e8bc0edf98e855df051491efd2760b6919c41f0dda2030910e5794658ae99d3b8341e9bf64aa57c65069f9d83a3f328f1d2dd41 +DIST puppet-agent_8.5.1-1focal_amd64.deb 35945834 BLAKE2B 8c839eabf8abbc6cf87ab8a1c942b97be7fc08b9053695d07a7fc4bbf69886192063553c43f81e73521327cf8b89af18fe43d41ef3f71229d218fe123426f50c SHA512 324ea532d005a1bbb0f25fdd411f3f68a1c18371cb494f8934d73d87c19e3bbf46c653a9afbe767ed2ab6e788115f31ccef4bd084351ee6f73e4e656aab5d65a +DIST puppet-agent_8.5.1-1focal_arm64.deb 35436770 BLAKE2B 16ead6317dab6f8b65b8ea5269eec5593697f4da6d1ec0323e074f4eab3c8518dab10af48853e591aecc62c63a5ff4e135cf02bb1d7f7d565c5200bfae98ff86 SHA512 f3acc097563d9a56cb677df72250ee25ab0e1e361eb40a2cd36b3d694854edc3850f08099b916aefbc16580f78a194e9f3bf33b1cb585836d55c6e8dcf03a379 EBUILD puppet-agent-7.24.0-r1.ebuild 2593 BLAKE2B 08fcc0a7e5887d7767d6f740501b862957a9436ef9e5b0f7ad89077a273d22e3f9ba13f2ae5e557f0f5526889cf5f92489fdd5165e0608c655f94bed6e08a002 SHA512 98d999200a527076993b9c8bb45fcce2d980b081c19afa058d7129193861ab89b323b2ea73886190cde8a633dffc96bf459b29facad8e3cbeef46be9029fac39 EBUILD puppet-agent-8.3.1-r1.ebuild 2595 BLAKE2B ff037b9f14f6a93fca87738f3312fd68b81a8026b481c28fe2ba01a01bed9797e6f65884221f3578690ed87b50fb131e3998744a6721e9f284d6710144d53082 SHA512 947547718b3e6e3692282a91a747782de80c52cf229859b83ca762d4277a7f5e8c4f98f47fbe3f6156686d6d8634e1da3c47290fedd64c74cdde72e0f217da1b EBUILD puppet-agent-8.4.0-r1.ebuild 2595 BLAKE2B ff037b9f14f6a93fca87738f3312fd68b81a8026b481c28fe2ba01a01bed9797e6f65884221f3578690ed87b50fb131e3998744a6721e9f284d6710144d53082 SHA512 947547718b3e6e3692282a91a747782de80c52cf229859b83ca762d4277a7f5e8c4f98f47fbe3f6156686d6d8634e1da3c47290fedd64c74cdde72e0f217da1b EBUILD puppet-agent-8.5.0.ebuild 2596 BLAKE2B 8468abd827d23a1790ef84ff0a073f7bfb48e62d05d01056a030c92609f8356292fed0e53d9d23517936910775815814c077c414126413820302092d8ae0fbfa SHA512 dfb1b5ab54f528c1e4d28f551d2198b7617ccd673d9987b01d47341fb54c0940b7a4a5f73257da318b4db87bf3a3386f271b2c26985d680f86c2d503104ab542 +EBUILD puppet-agent-8.5.1.ebuild 2596 BLAKE2B 8468abd827d23a1790ef84ff0a073f7bfb48e62d05d01056a030c92609f8356292fed0e53d9d23517936910775815814c077c414126413820302092d8ae0fbfa SHA512 dfb1b5ab54f528c1e4d28f551d2198b7617ccd673d9987b01d47341fb54c0940b7a4a5f73257da318b4db87bf3a3386f271b2c26985d680f86c2d503104ab542 MISC metadata.xml 1032 BLAKE2B 35156eb59a786ad7dab4ac5c281796af6a8f3dcad2b7ebc2c6af926aee6fcbffaef39f0f7119f1aefed42a1e8148f323ee4d3d5f77dfb4d3671317af6fd078cc SHA512 b624438f825e288802e516637dd38f775a63b4a4aabaa53c5adfd1f71f694018dbf3d47f1622a90d5da25a00aac696f9203c085190e574a586f3a3e4fe14f9d1 diff --git a/app-admin/puppet-agent/puppet-agent-8.5.1.ebuild b/app-admin/puppet-agent/puppet-agent-8.5.1.ebuild new file mode 100644 index 000000000000..f5524d744e1b --- /dev/null +++ b/app-admin/puppet-agent/puppet-agent-8.5.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit systemd unpacker tmpfiles + +DESCRIPTION="general puppet client utils along with hiera and facter" +HOMEPAGE="https://puppetlabs.com/" +SRC_URI="amd64? ( http://apt.puppetlabs.com/pool/focal/puppet8/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb ) +arm64? ( http://apt.puppetlabs.com/pool/focal/puppet8/${PN:0:1}/${PN}/${PN}_${PV}-1focal_arm64.deb )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="puppetdb selinux" +RESTRICT="strip" + +# virtual/libcrypt:= is in here despite being a pre-built package +# to ensure that the has_version logic for the symlink doesn't become stale +CDEPEND="!app-admin/puppet + !dev-ruby/hiera + !dev-ruby/facter + app-emulation/virt-what + acct-user/puppet + acct-group/puppet + virtual/libcrypt:=" + +DEPEND=" + ${CDEPEND} + app-admin/augeas" +RDEPEND="${CDEPEND} + app-portage/eix + sys-apps/dmidecode + sys-libs/libselinux + sys-libs/glibc + sys-libs/readline:0/8 + sys-libs/libxcrypt[compat] + sys-libs/ncurses:0[tinfo] + selinux? ( + sys-libs/libselinux[ruby] + sec-policy/selinux-puppet + ) + puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )" + +S=${WORKDIR} + +QA_PREBUILT="*" + +src_install() { + # conf.d + doconfd etc/default/puppet + doconfd etc/default/pxp-agent + # logrotate.d + insinto /etc/logrotate.d + doins etc/logrotate.d/pxp-agent + # puppet itself + insinto /etc/puppetlabs + doins -r etc/puppetlabs/* + # logdir for systemd + keepdir var/log/puppetlabs/puppet/ + chmod 0750 var/log/puppetlabs/puppet/ + # the rest + insinto /opt + dodir opt/puppetlabs/puppet/cache + doins -r opt/* + fperms 0750 /opt/puppetlabs/puppet/cache + # init + newinitd "${FILESDIR}/puppet.initd2" puppet + systemd_dounit lib/systemd/system/puppet.service + systemd_dounit lib/systemd/system/pxp-agent.service + newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf + # symlinks + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/" + dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter + dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera + dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet + + # Handling of the path to the crypt library during the ongoing migration + # from glibc[crypt] to libxcrypt + # https://www.gentoo.org/support/news-items/2021-07-23-libxcrypt-migration.html + if has_version "sys-libs/glibc[crypt]"; then + local crypt_target='../../../../usr/lib64/xcrypt/libcrypt.so.1' + else + local crypt_target='../../../../usr/lib/libcrypt.so.1' + fi + dosym $crypt_target /opt/puppetlabs/puppet/lib/libcrypt.so.1 +} + +pkg_postinst() { + tmpfiles_process puppet-agent.conf +} diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest index d739b47340ce..9d90fb32272e 100644 --- a/app-admin/puppet/Manifest +++ b/app-admin/puppet/Manifest @@ -7,10 +7,12 @@ DIST puppet-7.28.0.tar.gz 2827538 BLAKE2B 65f25d9de60ed1b511acb5c9d72370198f68f3 DIST puppet-8.3.1.tar.gz 2879699 BLAKE2B 6710d345714e6400ef04aeac8dedb933f39443688bda0b24316a3456a6c6bf2719286472a0ce764ddafd40754f8cd95767a4c311c5b5e2bd72b8bc92ec4d0e85 SHA512 0aff032caf7a3966f7e369d6f1785f0ada16e419f96f34dafee61457d2e97979b7934195eb356e44ef323401fa40be5eef608a175b3c2907f25ca92901ec81d2 DIST puppet-8.4.0.tar.gz 2882328 BLAKE2B de46a8fbdc7522f022d19953845c73e6872ed430a9380f157809bb95e7d7315063f136b5159468708dcb5dcb4353cc89eacffffbd4045458351c63261a6d9bd0 SHA512 23d5aede9ba55e4e63a7f815fd1d274e97d5d0c35aa1b5444c24b223a59d5d913ac5b4652acc2258b1721a213e4c24e1e8b4a146ca6a1b81a1536a51ed856270 DIST puppet-8.5.0.tar.gz 1565122 BLAKE2B c787b981c64f2b52cc3c8998516599891980bb176cb3bce6596cb4b139fbae2f58e156fb007a3aa2bd2a5bb069dc63eb7fc36bde3f3533c27729fccfa19ee0e7 SHA512 1adf88f69b3b5a7071a2ee5dad66c3cd3fc1db57fdeaf7945f8cb167d1b76dcf12e85e17eefc418cda67952a4c75a6b43d320d0c0f1db610411d188304994cdc +DIST puppet-8.5.1.tar.gz 1565085 BLAKE2B f352f9f70e090c4a32edd45ced5c01ed4eff891fb46c0f2d753ceeba43250960356ceb2d9047e7308732585ec114c5f728ec29a65b6a08348b74a9709ec92a89 SHA512 f1d661c34fc7c1381c6422ff7e027fdf4554a69939f5db926bf8a61a89583090fb8d28151f90093d3ca8037950ed911b0a5c7b8677a80ede72e83d9cbf89af7f EBUILD puppet-7.24.0-r1.ebuild 3667 BLAKE2B b23b5cc737843739d0244a7459eae5f3550a77770f2294f23c484a1cc907251784926e0bedf42b6b751089e5e0dfe13f098cd5885cfb7195982fd30a15cedce8 SHA512 e1bf9c6f1046f17c83f28eadd71a93f0f653fc9c00511b069860ca1738dfe09f2983b07272b6bce79c9b398d88bf4439d6809167f0d0b72c1d5ea2fe4f9e28eb EBUILD puppet-7.27.0-r1.ebuild 3461 BLAKE2B bcefb809d752b83637a74afcf8eea7c3ab945409474f1896e211718e8f33aff3b93d09c253f75a8baed3d687ea9f2338ff4ba4f61780a8c3a4830db49dc06d22 SHA512 82871cac6db38c905370cac15cae7f5dcfb4943dfe7be7a24e7ea5c8bdf278760b986178f63b533bfc5fc44bc5682ba7b32a6f2ecc804b200c3d58de671f2dbe EBUILD puppet-7.28.0-r1.ebuild 3459 BLAKE2B f083df765e3629172ad4aab5937e6b5e5afa637faaa274580b87eb2d0eba0bc0e27911fd801a6f93ff45ce6b994140c05630b64e4e8dd974d09b7a601d9e0c34 SHA512 b315f1a5ad8404440439c099cda0326c3bb2aef087f7a62dfea3e2a1c51b33b537a5ac838eeb62a40ccd261944e5630717e7d5a3f05ebf2250ab7157361d992a EBUILD puppet-8.3.1-r1.ebuild 3284 BLAKE2B 428c4b53e8f7cdb84473679c67b395f4381077c697d535b63fe610b2098a28ef9bd07d061f796c636da3713fcd815ab3543456f58e345eb4503a099720912cbb SHA512 a5edb63a61b4789e4b289ce7467334870cf36c6820b3f448bc0d66fb5a8ea99f2d8f58af54d86bc8f4d230993aba68cec97c288c5d29707b78fb961b5de8de39 EBUILD puppet-8.4.0-r1.ebuild 3284 BLAKE2B 428c4b53e8f7cdb84473679c67b395f4381077c697d535b63fe610b2098a28ef9bd07d061f796c636da3713fcd815ab3543456f58e345eb4503a099720912cbb SHA512 a5edb63a61b4789e4b289ce7467334870cf36c6820b3f448bc0d66fb5a8ea99f2d8f58af54d86bc8f4d230993aba68cec97c288c5d29707b78fb961b5de8de39 EBUILD puppet-8.5.0.ebuild 2888 BLAKE2B af5a94060390fa66102025521b149728e7ff5e289517f3a49476de82b3f1ce3530957b599988641601604934aee3ebb5d125b2021b2b6e6e9face1c5b670900d SHA512 d4132ad7f0d50baa0465d43ae1d9688846fcecbf05ce1af20a84be008a32e14aff6f18ee313536026a5ff3b561f9ba0434e662eee0d28914c1811bd71e6eec27 +EBUILD puppet-8.5.1.ebuild 2888 BLAKE2B af5a94060390fa66102025521b149728e7ff5e289517f3a49476de82b3f1ce3530957b599988641601604934aee3ebb5d125b2021b2b6e6e9face1c5b670900d SHA512 d4132ad7f0d50baa0465d43ae1d9688846fcecbf05ce1af20a84be008a32e14aff6f18ee313536026a5ff3b561f9ba0434e662eee0d28914c1811bd71e6eec27 MISC metadata.xml 1496 BLAKE2B cc2549141aaf5623f65be274fa8195fe6ee2826620050284ab0a7f60ba04832ecf8fe0e0890c470c98095946d1e4e7a0ef1fabd4d400c47d086fe173769f3d8c SHA512 1217b23c939409ae6cd15286b3304388893970276c80bf11284769946856ba1db20ea537fee5b7b2183305a24c88c926804e21f246f508e40cde41f45f1490bf diff --git a/app-admin/puppet/puppet-8.5.1.ebuild b/app-admin/puppet/puppet-8.5.1.ebuild new file mode 100644 index 000000000000..7626f615fbf8 --- /dev/null +++ b/app-admin/puppet/puppet-8.5.1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +USE_RUBY="ruby31" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="doc:all" +RUBY_FAKEGEM_EXTRAINSTALL="locales" + +inherit ruby-fakegem systemd tmpfiles + +DESCRIPTION="A system automation and configuration management software" +HOMEPAGE="https://puppet.com/" +SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +IUSE="augeas diff doc emacs hiera ldap rrdtool selinux shadow sqlite vim-syntax" +RESTRICT="test" + +ruby_add_rdepend " + hiera? ( dev-ruby/hiera ) + dev-ruby/json:= + dev-ruby/semantic_puppet + >=dev-ruby/facter-3.0.0 + dev-ruby/deep_merge + dev-ruby/concurrent-ruby + augeas? ( dev-ruby/ruby-augeas ) + diff? ( dev-ruby/diff-lcs ) + doc? ( dev-ruby/rdoc ) + ldap? ( dev-ruby/ruby-ldap ) + shadow? ( dev-ruby/ruby-shadow ) + sqlite? ( dev-ruby/sqlite3 ) + virtual/ruby-ssl + dev-ruby/hocon" + +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/mocha + dev-ruby/rack + dev-ruby/rspec-its + )" +# this should go in the above lists, but isn't because of test deps not being keyworded +# dev-ruby/rspec-collection_matchers + +RDEPEND+=" ${RDEPEND} + rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) + selinux? ( + sys-libs/libselinux[ruby] + sec-policy/selinux-puppet + ) + vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) + >=app-portage/eix-0.18.0 + acct-user/puppet + acct-group/puppet" +PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )" + +all_ruby_prepare() { + # fix systemd path + eapply -p0 "${FILESDIR}/puppet-systemd.patch" +} + +each_ruby_install() { + each_fakegem_install +# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" \ +# "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" +} + +all_ruby_install() { + all_fakegem_install + + # systemd stuffs + systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service" + + # tmpfiles stuff + newtmpfiles "${FILESDIR}/tmpfiles.d-2" "puppet.conf" + + # openrc init stuff + newinitd "${FILESDIR}"/puppet.init puppet + + keepdir /etc/puppetlabs/puppet/ssl + + keepdir /var/lib/puppet/facts + keepdir /var/lib/puppet/files + fowners -R puppet:puppet /var/lib/puppet + + fperms 0750 /var/lib/puppet + + fperms 0750 /etc/puppetlabs + fperms 0750 /etc/puppetlabs/puppet + fperms 0750 /etc/puppetlabs/puppet/ssl + fowners -R :puppet /etc/puppetlabs + fowners -R :puppet /var/lib/puppet + + # ext and examples files + for f in $(find ext examples -type f) ; do + docinto "$(dirname ${f})" + dodoc "${f}" + done +} + +pkg_postinst() { + tmpfiles_process puppet.conf + + elog + elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" + elog "cause puppet to hang while installing packages." + elog + elog "Portage Puppet module with Gentoo-specific resources:" + elog "http://forge.puppetlabs.com/gentoo/portage" + elog +} diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index b9952e3bd389..9eedb54e01e1 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,16 +1,9 @@ AUX ras-mc-ctl.openrc-r1 419 BLAKE2B 50239d64b95c1759a2fb88107b78875b9f6227c256c2a59628b33dfaf720c649e714afe24424f34e865d1fc46145daa8deda4e8612ef6c0d11ef1bf67b2c2e88 SHA512 f12c82432086bfdd0ee24a767b2c6dae9a50cb65038189bfdc2aff9447e5e734e1277d809ed3c7a55ac31034773983e1f46f466adabdd4e727b491c260c5c53e -AUX rasdaemon-0.6.8-bashisms-configure.patch 9566 BLAKE2B 8a59f4255ff37bda63047bacbecd6a90856f9fa8acc42f8fffec653e20161d0cd6ebde06c9d54004f9c81e17c3e18b8673345690af75604557a7d97d45b72149 SHA512 f8a98bd9c3cb1050f66207105fac80efd1a4ea7f1dcbe997d0f8f611d345eb1026c9d8a4923eef4240fd072fec99e9f1fcb0e2b46d85c053d3d5fcf7da4469b2 AUX rasdaemon-0.8.0-bashisms-configure.patch 1727 BLAKE2B bb399aabb71d4eea1290db0fc9ea1f30a41374992d367aaf32bbe6f856f556fffbb073fcd0975a018e984ec74252d4db978d239f5e4daad55e75d063b4c04d71 SHA512 63a7611e9a87441dad2dbb550251f287aa531dc524d35f9525e78d81fb6607453634823cd3d133e07c0a23416ba4cc990e4b927dc8a95228bc9be3d2a1ce8909 AUX rasdaemon-0.8.0-check-online-cpus-not-configured.patch 1497 BLAKE2B ff575397a81432e755543ebb543f8f1ce342b15a8571c6e01fc8908b424091ab0bf9cdaec2ee262ec1f8f3d867fdafbde8777fc130a44a1a0198c75cbb822fa9 SHA512 cbba79181e92ba9eec96ad1ea09f530c294a8a6e8d7d58b8bf3c132775cddc6ac1dc844d56ca1f0ba678274849955aa1292d0fda8503abdabc519639dd70651e AUX rasdaemon-0.8.0-table-create-offline-cpus.patch 5693 BLAKE2B 14d1c8d50842a06e3d8f41175ed2ee2e0ee1d0b64949cecfd564c6318f2ff88520509e78034a313cccc0927509916417d685f82d65e9c81c98913ece4a17b0f7 SHA512 7ee19a81f02cfb0d229410b3dbf4004dcbcd6b0805378786a112d197297856be3291f7ad368945ed3045a5e49a223d9aab60908f9fdec7367858549a33ff3dfa AUX rasdaemon.confd 108 BLAKE2B 0a6f45d7984965411fe31350bc14e263c0994230b0eff4051a7210bb3e8cbdc293d8c0bccb6417802be879326f127b2fb691a8db73c37f433a258b46eb8bd857 SHA512 f22d7273c5ac57fef57dae5c5c6d765c1554a17889b96a9aedfe13e1b31d969298a537042cd70d3d9cec6896e8b5c1e3e20313e5b4feaeca2a206dc51e3f2ee9 AUX rasdaemon.openrc-r2 424 BLAKE2B d3be2b06631ec3dc60e464b5fb38a4778e92a93fc284455f53f6b7c43a05d182b79f478362ed93a706b421ca99f6a21afdd2cbd53d125711bbf1d0f267304ace SHA512 2e30602222443e519cefc1f138dc537f5e22109fde2f8ebb0f8962abd926721389defc46cfa8db667db8618d4dc4257d36e9855367c3c8f2b7d28cb8684a4adf -DIST rasdaemon-0.6.8.tar.gz 161343 BLAKE2B 95dab212e404480d45e5b07fa0f9ec7361036c9295a81dd082657c71cf8ad1114cc28f163b8975733e2042dfeb957f8da71dc52440249c75c24653c1ce235e86 SHA512 634638154c6b0bf7a079d6aba884a55e540c9edc3c25715a792ad7535c68629618e9cef8b6ec7e20845f78bd57f712d437be4d772523020f09d30cce42759a30 -DIST rasdaemon-0.7.0.tar.bz2 433555 BLAKE2B cf73f59558d8a6f3138fea20e7096a1b1214dd44a4518da88a4b1f0c4c92a6df4eb7922e9a2e76d5012364219067cf66e220d8f54588ab22acf09937e41aa2dc SHA512 a7938ccd8171d849b5d89df6ab90942278c824a3dbd17abda8ae3d80ce5227cbc3fe23b31806609114482606d780ec7f0676a0fedfa950ed8cb5a59f3583bd57 DIST rasdaemon-0.8.0.tar.bz2 394983 BLAKE2B 24209f468fea2bc4e85dcac51e363e44a8a44b224b448ec1330bcd15a5b2b4b3cceeec78dbc86b4a88f5a378ecacba62cdba8e9c3e2b1b3a70be85a18af166ab SHA512 f6262f098fd2a08d35fef2c25e2452a202151d4cc93a1829e821abd564acf7dcf80b08f819cbd7f04244dcc9f1dec5d9138aa013bb43c8fcf19d340233275614 -EBUILD rasdaemon-0.6.8-r2.ebuild 1472 BLAKE2B dbc2f9640d87137e5a7c714c077415baf2c513c5ce2e10f3ee2cff59f12cc8f096ffc625c02d9556a5c0d5a4f03208def23c386f8824242f0276dae98acc36af SHA512 a3ceade6b072dbc5cab09f7f337a32fc8fb5ce56e19a327df7b503eda22133aeaf98e8f9a9047b7a5655ab997f8ba886f58ed711d10fdc22f73d718cee343038 -EBUILD rasdaemon-0.7.0.ebuild 1346 BLAKE2B 0d877f64100ef2c8e321a7dfd8a591e65a6de26a2c7309dfac1b24807ce843adecca82274db350845993a1e924ed418415c23e50b76f1e3e60057d03f1bb1396 SHA512 c45512febbed1a68b1c54639c00e0a6f7380d2371540430ab3376b1908cf98851561d1b96ba96eb67bb34a7bb604409b560f06c451a62fc8a58f417c5deb47e3 -EBUILD rasdaemon-0.8.0-r1.ebuild 1810 BLAKE2B 3accbf11b31a1d227829cfd34d51cd64ddff674f9808f754c9d32a8f42450b483c37b50e33a88e498f2743cf79afad5b1993e53f1c51b65ddf82c7b29691174b SHA512 429318a37adf55600281fcc00a3b214d07198c0ac467269006663356c44722919c030e49a371b74544a2d7f51835a900dbbb52acdf78a49407be30f7f9f21d3a EBUILD rasdaemon-0.8.0-r2.ebuild 1935 BLAKE2B 10b79e3f219c93d4cab0ce17665d34aa776bac3c9c557c4034a76cc920863932cbc3f0083ddc473b959fb23453d7ad936574b4d802e8c8a1563aabbf65016bc8 SHA512 ebd2a963935307364a73aad53f083dc4d850bf70106652670fd04e9897b3f3cca8dda8777e4b3408db18a7f40b2e29461d8b5e5e1df4c02358a1bec5d7a92c71 -EBUILD rasdaemon-0.8.0.ebuild 1752 BLAKE2B 10f96dcd267210df5f9eec96e8200ede9d63d9e5b97c62131fc772204976734a66a9bf6bcde8b09f084e0e39aab7d8b54ee9d5c9fdb907c75a0f59dac160ac66 SHA512 f97f8bc5651cdc83d5e3f29e5197965f157663bc9e86073a58082c0b9a95f79218cd2144b98dba2c8b5036cb79ed88f8a82b4d605c7c864a29cfab49f0b677c6 MISC metadata.xml 1086 BLAKE2B d9017158e600a5aca8b1ca0600a36efec9f12c26493e28b129a0029caa37224b2e5341292ffdebabdc81893aebddba7b893d69f66f87ff4fd927e5310a4482c8 SHA512 3801a8c374a0d38f9efc07a288eb338739e74d1e7e41a182b871f01ce8cfd695621cfb6c883e5ce8da267e1440bf8106db6ad5ac12ef5e156bba958f72ea6297 diff --git a/app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch b/app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch deleted file mode 100644 index 6a3beaae217c..000000000000 --- a/app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch +++ /dev/null @@ -1,186 +0,0 @@ -https://github.com/mchehab/rasdaemon/pull/81 - -From 9632f63c3855b119ab4b02300e27ab357bddcf03 Mon Sep 17 00:00:00 2001 -From: Sam James -Date: Thu, 29 Dec 2022 17:23:47 +0000 -Subject: [PATCH] configure.ac: fix bashisms -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -configure scripts need to be runnable with a POSIX-compliant /bin/sh. - -On many (but not all!) systems, /bin/sh is provided by Bash, so errors -like this aren't spotted. Notably Debian defaults to /bin/sh provided -by dash which doesn't tolerate such bashisms as '=='. - -This retains compatibility with bash. - -Signed-off-by: Sam James ---- a/configure.ac -+++ b/configure.ac -@@ -27,14 +27,14 @@ AC_ARG_ENABLE([all], - AC_ARG_ENABLE([sqlite3], - AS_HELP_STRING([--enable-sqlite3], [enable storing data at SQL lite database (currently experimental)])) - --AS_IF([test "x$enable_sqlite3" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_sqlite3" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_CHECK_LIB(sqlite3, sqlite3_open,[echo "found sqlite3"] , AC_MSG_ERROR([*** Unable to find sqlite3 library]), ) - SQLITE3_LIBS="-lsqlite3" - AC_DEFINE(HAVE_SQLITE3,1,"have sqlite3") - AC_SUBST([WITH_SQLITE3]) - ]) - --AM_CONDITIONAL([WITH_SQLITE3], [test x$enable_sqlite3 = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_SQLITE3], [test x$enable_sqlite3 = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_SQLITE3], [USE_SQLITE3="yes"], [USE_SQLITE3="no"]) - - AC_SUBST([SQLITE3_LIBS]) -@@ -43,122 +43,122 @@ AC_SUBST([SQLITE3_LIBS]) - AC_ARG_ENABLE([aer], - AS_HELP_STRING([--enable-aer], [enable PCIe AER events (currently experimental)])) - --AS_IF([test "x$enable_aer" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_aer" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_AER,1,"have PCIe AER events collect") - AC_SUBST([WITH_AER]) - ]) --AM_CONDITIONAL([WITH_AER], [test x$enable_aer = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_AER], [test x$enable_aer = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_AER], [USE_AER="yes"], [USE_AER="no"]) - - - AC_ARG_ENABLE([non_standard], - AS_HELP_STRING([--enable-non-standard], [enable NON_STANDARD events (currently experimental)])) - --AS_IF([test "x$enable_non_standard" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_non_standard" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_NON_STANDARD,1,"have UNKNOWN_SEC events collect") - AC_SUBST([WITH_NON_STANDARD]) - ]) --AM_CONDITIONAL([WITH_NON_STANDARD], [test x$enable_non_standard = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_NON_STANDARD], [test x$enable_non_standard = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_NON_STANDARD], [USE_NON_STANDARD="yes"], [USE_NON_STANDARD="no"]) - - AC_ARG_ENABLE([arm], - AS_HELP_STRING([--enable-arm], [enable ARM events (currently experimental)])) - --AS_IF([test "x$enable_arm" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_arm" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_ARM,1,"have ARM events collect") - AC_SUBST([WITH_ARM]) - ]) --AM_CONDITIONAL([WITH_ARM], [test x$enable_arm = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_ARM], [test x$enable_arm = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_ARM], [USE_ARM="yes"], [USE_ARM="no"]) - - AC_ARG_ENABLE([mce], - AS_HELP_STRING([--enable-mce], [enable MCE events (currently experimental)])) - --AS_IF([test "x$enable_mce" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_mce" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_MCE,1,"have PCIe MCE events collect") - AC_SUBST([WITH_MCE]) - ]) --AM_CONDITIONAL([WITH_MCE], [test x$enable_mce = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_MCE], [test x$enable_mce = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_MCE], [USE_MCE="yes"], [USE_MCE="no"]) - - AC_ARG_ENABLE([extlog], - AS_HELP_STRING([--enable-extlog], [enable EXTLOG events (currently experimental)])) - --AS_IF([test "x$enable_extlog" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_extlog" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_EXTLOG,1,"have EXTLOG events collect") - AC_SUBST([WITH_EXTLOG]) - ]) --AM_CONDITIONAL([WITH_EXTLOG], [test x$enable_extlog = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_EXTLOG], [test x$enable_extlog = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_EXTLOG], [USE_EXTLOG="yes"], [USE_EXTLOG="no"]) - - AC_ARG_ENABLE([devlink], - AS_HELP_STRING([--enable-devlink], [enable devlink health events (currently experimental)])) - --AS_IF([test "x$enable_devlink" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_devlink" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_DEVLINK,1,"have devlink health events collect") - AC_SUBST([WITH_DEVLINK]) - ]) --AM_CONDITIONAL([WITH_DEVLINK], [test x$enable_devlink = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_DEVLINK], [test x$enable_devlink = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_DEVLINK], [USE_DEVLINK="yes"], [USE_DEVLINK="no"]) - - AC_ARG_ENABLE([diskerror], - AS_HELP_STRING([--enable-diskerror], [enable disk I/O error events (currently experimental)])) - --AS_IF([test "x$enable_diskerror" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_diskerror" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_DISKERROR,1,"have disk I/O errors collect") - AC_SUBST([WITH_DISKERROR]) - ]) --AM_CONDITIONAL([WITH_DISKERROR], [test x$enable_diskerror = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_DISKERROR], [test x$enable_diskerror = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_DISKERROR], [USE_DISKERROR="yes"], [USE_DISKERROR="no"]) - - AC_ARG_ENABLE([memory_failure], - AS_HELP_STRING([--enable-memory-failure], [enable memory failure events (currently experimental)])) - --AS_IF([test "x$enable_memory_failure" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_memory_failure" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_MEMORY_FAILURE,1,"have memory failure events collect") - AC_SUBST([WITH_MEMORY_FAILURE]) - ]) --AM_CONDITIONAL([WITH_MEMORY_FAILURE], [test x$enable_memory_failure = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_MEMORY_FAILURE], [test x$enable_memory_failure = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_MEMORY_FAILURE], [USE_MEMORY_FAILURE="yes"], [USE_MEMORY_FAILURE="no"]) - - AC_ARG_ENABLE([abrt_report], - AS_HELP_STRING([--enable-abrt-report], [enable report event to ABRT (currently experimental)])) - --AS_IF([test "x$enable_abrt_report" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_abrt_report" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_ABRT_REPORT,1,"have report event to ABRT") - AC_SUBST([WITH_ABRT_REPORT]) - ]) --AM_CONDITIONAL([WITH_ABRT_REPORT], [test x$enable_abrt_report = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_ABRT_REPORT], [test x$enable_abrt_report = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_ABRT_REPORT], [USE_ABRT_REPORT="yes"], [USE_ABRT_REPORT="no"]) - - AC_ARG_ENABLE([hisi_ns_decode], - AS_HELP_STRING([--enable-hisi-ns-decode], [enable HISI_NS_DECODE events (currently experimental)])) - --AS_IF([test "x$enable_hisi_ns_decode" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_hisi_ns_decode" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_HISI_NS_DECODE,1,"have HISI UNKNOWN_SEC events decode") - AC_SUBST([WITH_HISI_NS_DECODE]) - ]) --AM_CONDITIONAL([WITH_HISI_NS_DECODE], [test x$enable_hisi_ns_decode = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_HISI_NS_DECODE], [test x$enable_hisi_ns_decode = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_HISI_NS_DECODE], [USE_HISI_NS_DECODE="yes"], [USE_HISI_NS_DECODE="no"]) - - AC_ARG_ENABLE([memory_ce_pfa], - AS_HELP_STRING([--enable-memory-ce-pfa], [enable memory Corrected Error predictive failure analysis])) - --AS_IF([test "x$enable_memory_ce_pfa" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_memory_ce_pfa" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_MEMORY_CE_PFA,1,"have memory corrected error predictive failure analysis") - AC_SUBST([WITH_MEMORY_CE_PFA]) - ]) --AM_CONDITIONAL([WITH_MEMORY_CE_PFA], [test x$enable_memory_ce_pfa = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_MEMORY_CE_PFA], [test x$enable_memory_ce_pfa = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_MEMORY_CE_PFA], [USE_MEMORY_CE_PFA="yes"], [USE_MEMORY_CE_PFA="no"]) - - AC_ARG_ENABLE([amp_ns_decode], - AS_HELP_STRING([--enable-amp-ns-decode], [enable AMP_NS_DECODE events (currently experimental)])) - --AS_IF([test "x$enable_amp_ns_decode" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_amp_ns_decode" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_AMP_NS_DECODE,1,"have AMP UNKNOWN_SEC events decode") - AC_SUBST([WITH_AMP_NS_DECODE]) - ]) --AM_CONDITIONAL([WITH_AMP_NS_DECODE], [test x$enable_amp_ns_decode = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_AMP_NS_DECODE], [test x$enable_amp_ns_decode = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_AMP_NS_DECODE], [USE_AMP_NS_DECODE="yes"], [USE_AMP_NS_DECODE="no"]) - - test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc - diff --git a/app-admin/rasdaemon/rasdaemon-0.6.8-r2.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.8-r2.ebuild deleted file mode 100644 index 63c05654e834..000000000000 --- a/app-admin/rasdaemon/rasdaemon-0.6.8-r2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="https://github.com/mchehab/rasdaemon" -SRC_URI="https://github.com/mchehab/rasdaemon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" - -DEPEND=" - dev-db/sqlite - elibc_musl? ( sys-libs/argp-standalone ) -" -RDEPEND=" - ${DEPEND} - dev-perl/DBI - dev-perl/DBD-SQLite - sys-apps/dmidecode -" -BDEPEND="sys-devel/gettext" - -PATCHES=( - "${FILESDIR}"/${PN}-0.6.8-bashisms-configure.patch -) - -pkg_setup() { - linux-info_pkg_setup - local CONFIG_CHECK="~ACPI_EXTLOG ~DEBUG_FS" - check_extra_config -} - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - local myconfargs=( - --enable-sqlite3 - --enable-abrt-report - --enable-aer - --enable-arm - --enable-extlog - --enable-hisi-ns-decode - --enable-mce - --enable-non-standard - --enable-devlink - --enable-diskerror - --enable-memory-ce-pfa - --includedir="/usr/include/${PN}" - --localstatedir=/var - ) - - use elibc_musl && append-libs -largp - - econf "${myconfargs[@]}" -} - -src_install() { - default - - keepdir "/var/lib/${PN}" - - systemd_dounit misc/*.service - - newinitd "${FILESDIR}/rasdaemon.openrc-r2" rasdaemon - newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl - newconfd "${FILESDIR}"/rasdaemon.confd rasdaemon -} diff --git a/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild deleted file mode 100644 index c0ee30e744f2..000000000000 --- a/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="https://github.com/mchehab/rasdaemon" -SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" - -DEPEND=" - dev-db/sqlite - elibc_musl? ( sys-libs/argp-standalone ) -" -RDEPEND=" - ${DEPEND} - dev-perl/DBI - dev-perl/DBD-SQLite - sys-apps/dmidecode -" -BDEPEND="sys-devel/gettext" - -pkg_setup() { - linux-info_pkg_setup - local CONFIG_CHECK="~ACPI_EXTLOG ~DEBUG_FS" - check_extra_config -} - -src_configure() { - local myconfargs=( - --enable-sqlite3 - --enable-abrt-report - --enable-aer - --enable-arm - --enable-extlog - --enable-hisi-ns-decode - --enable-mce - --enable-non-standard - --enable-devlink - --enable-diskerror - --enable-memory-ce-pfa - --includedir="/usr/include/${PN}" - --localstatedir=/var - ) - - use elibc_musl && append-libs -largp - - econf "${myconfargs[@]}" -} - -src_install() { - default - - keepdir "/var/lib/${PN}" - - systemd_dounit misc/*.service - - newinitd "${FILESDIR}/rasdaemon.openrc-r2" rasdaemon - newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl - newconfd "${FILESDIR}"/rasdaemon.confd rasdaemon -} diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild deleted file mode 100644 index aea9287acd6b..000000000000 --- a/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="https://github.com/mchehab/rasdaemon" -# This if can be dropped > 0.8.0, see https://github.com/mchehab/rasdaemon/issues/88 -if [[ ${PV} == 0.8.0 ]] ; then - SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/refs%2Fheads%2Fmaster/${P}.tar.bz2" -else - SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar.bz2" -fi - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" -IUSE="selinux" - -DEPEND=" - dev-db/sqlite - dev-libs/libtraceevent - elibc_musl? ( sys-libs/argp-standalone ) -" -RDEPEND=" - ${DEPEND} - dev-perl/DBI - dev-perl/DBD-SQLite - sys-apps/dmidecode - selinux? ( sec-policy/selinux-rasdaemon ) -" -BDEPEND="sys-devel/gettext" - -PATCHES=( - "${FILESDIR}"/${PN}-0.8.0-bashisms-configure.patch -) - -pkg_setup() { - linux-info_pkg_setup - local CONFIG_CHECK="~ACPI_EXTLOG ~DEBUG_FS" - check_extra_config -} - -src_prepare() { - default - - # Only here for 0.8.0's bashism patch - eautoreconf -} - -src_configure() { - local myconfargs=( - --enable-sqlite3 - --enable-abrt-report - --enable-aer - --enable-arm - --enable-extlog - --enable-hisi-ns-decode - --enable-mce - --enable-non-standard - --enable-devlink - --enable-diskerror - --enable-memory-ce-pfa - --includedir="/usr/include/${PN}" - --localstatedir=/var - ) - - use elibc_musl && append-libs -largp - - econf "${myconfargs[@]}" -} - -src_install() { - default - - keepdir "/var/lib/${PN}" - - systemd_dounit misc/*.service - - newinitd "${FILESDIR}/rasdaemon.openrc-r2" rasdaemon - newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl - newconfd "${FILESDIR}"/rasdaemon.confd rasdaemon -} diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild deleted file mode 100644 index 932a683f6795..000000000000 --- a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="https://github.com/mchehab/rasdaemon" -# This if can be dropped > 0.8.0, see https://github.com/mchehab/rasdaemon/issues/88 -if [[ ${PV} == 0.8.0 ]] ; then - SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/refs%2Fheads%2Fmaster/${P}.tar.bz2" -else - SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar.bz2" -fi - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" - -DEPEND=" - dev-db/sqlite - dev-libs/libtraceevent - elibc_musl? ( sys-libs/argp-standalone ) -" -RDEPEND=" - ${DEPEND} - dev-perl/DBI - dev-perl/DBD-SQLite - sys-apps/dmidecode -" -BDEPEND="sys-devel/gettext" - -PATCHES=( - "${FILESDIR}"/${PN}-0.8.0-bashisms-configure.patch -) - -pkg_setup() { - linux-info_pkg_setup - local CONFIG_CHECK="~ACPI_EXTLOG ~DEBUG_FS" - check_extra_config -} - -src_prepare() { - default - - # Only here for 0.8.0's bashism patch - eautoreconf -} - -src_configure() { - local myconfargs=( - --enable-sqlite3 - --enable-abrt-report - --enable-aer - --enable-arm - --enable-extlog - --enable-hisi-ns-decode - --enable-mce - --enable-non-standard - --enable-devlink - --enable-diskerror - --enable-memory-ce-pfa - --includedir="/usr/include/${PN}" - --localstatedir=/var - ) - - use elibc_musl && append-libs -largp - - econf "${myconfargs[@]}" -} - -src_install() { - default - - keepdir "/var/lib/${PN}" - - systemd_dounit misc/*.service - - newinitd "${FILESDIR}/rasdaemon.openrc-r2" rasdaemon - newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl - newconfd "${FILESDIR}"/rasdaemon.confd rasdaemon -} -- cgit v1.2.3