diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-24 07:26:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-24 07:26:21 +0100 |
commit | e28a6e6eb5373071be3a09aa457f0488d753c80c (patch) | |
tree | 9ee566eff30cce9e22de0c44094909588e14027d /sys-block | |
parent | a152c669e7ec3bb6ae13b747b985e2ece3b58b0a (diff) |
gentoo auto-resync : 24:06:2023 - 07:26:21
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/Manifest.gz | bin | 11038 -> 11034 bytes | |||
-rw-r--r-- | sys-block/zram-init/Manifest | 6 | ||||
-rw-r--r-- | sys-block/zram-init/metadata.xml | 1 | ||||
-rw-r--r-- | sys-block/zram-init/zram-init-11.1.ebuild | 74 | ||||
-rw-r--r-- | sys-block/zram-init/zram-init-9999.ebuild | 25 |
5 files changed, 94 insertions, 12 deletions
diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz Binary files differindex 05ab068f14b1..101b8c4f0557 100644 --- a/sys-block/Manifest.gz +++ b/sys-block/Manifest.gz diff --git a/sys-block/zram-init/Manifest b/sys-block/zram-init/Manifest index 16620362ba50..f6eb250eb670 100644 --- a/sys-block/zram-init/Manifest +++ b/sys-block/zram-init/Manifest @@ -1,9 +1,11 @@ DIST zram-init-10.5.tar.gz 20496 BLAKE2B a28ba9e3813be7ca571ac033ca7b4bdf7c95624f9be72288d8478a2fffa950f7bb18fe865b9933fd209dabc705366af8f825fa7ee8a16be364e1d71c7062067c SHA512 97591549aa9b678b0b12efcc27136826c19b42cc0cf027a3f251843ef5678425568c9eb573d24661ce795eede1d136243fcccbf4dcd62e9d61eb7d775f84f1c1 DIST zram-init-11.0.tar.gz 21069 BLAKE2B f1a41cad3aad89bde2343a079e31d66de15d051c8431edc08999965993c6f894959289a01415259a93c8691dfec5316ebcb28d0a81844e985395ca5592654f12 SHA512 f11c7ad4e684701ab7c89cb1e859c6ee58ff6795f03b584884f64341d511a8c2de375fc43463318220fab2e16632807d8a13e9b6ac502fa933d406996bf4d115 +DIST zram-init-11.1.tar.gz 21117 BLAKE2B c6e99e9df97fe44b4081ce304dd2cd72fbdfa3c705f6cc02787df0376dd04a93cd8fbbf327c05f2f96ad8b6383f4c155e2859c0718c81a6bff50d0b91fb93322 SHA512 dcbfe9bb085e1bb1856f53fb5722fc008a8b7b8099423be174f02fcaa4093c19e24c33f08deeec9d1525b9512b7c5640c4ac396c60f7b6016b56edeb38a64285 DIST zram-init-8.1.tar.gz 9177 BLAKE2B 229a469aeeb0b22b80f48d946d4ff746c7bd5d7b58ea9290db0da011df6d618c7c55ad95810b0be74ff81350182057d9067e834ecba688eb4ffa668521468a8b SHA512 8f688accb7a4231f705f694c4b4e7344bbb338b2b1f09a6dacd900020a4e8583105b25fef5b40f39630db88db6fcc8ec79824945ceaee95ea1279d09d081a994 EBUILD zram-init-10.5.ebuild 1812 BLAKE2B ab1bf793161192950c29473c2bf6e1479f6ec081c6bcf379e3a817ad56b8b3b333859db71d0def9af9da7d64d7ece1f248e634a393551fe0f336e62b7126f712 SHA512 8453554558e1c9101b99593b3d4c11befbd6bfc182d3e28d0012cd2141d229df9190069de3a45b88f1dbe3cca3a4850d2073320e2f54eb3d6d73c90b4f3160bf EBUILD zram-init-11.0.ebuild 1867 BLAKE2B d5656ed85eb0702a44755482a795e5cc463337a8a78ef98748d4c92608f02ac2ba05481b02989d435e58136317250d0d0447fa96790907dbb4f87ea42e6ca7a3 SHA512 ed4bae5042834c03aaefcd9edeba5126203741811dd5916e3cb3a27b89bb99bb77203d36114bf5acb981446170fb8b3cf7b115babab61bf0798927ebb79f6eb3 +EBUILD zram-init-11.1.ebuild 1889 BLAKE2B 2fe1a7edaa8fc6f1f1df7d764e53a8ff1d83c84e18a3911575f3e6abc3a1f412f6103e77606ae6c90aceaa47bb78f6e31f08b042b6d3a0a88f6d03ad4e201f25 SHA512 673ad87cec06731f08e2ed244059e66147e67c35648c11a6005e3a7bcff3649e505b4c0ec8ac69fda91491a5d1a8fc680ab4f03181ddf13a1e0c9a23b3275aa7 EBUILD zram-init-8.1-r1.ebuild 1420 BLAKE2B cc89bf351776d5ecf21fbb4cf6f01fde82f66128740691973aba48242247009c7c291a3be9e42aa52b9902d29b667df91eec34cd8c20fa7d225d142269ab8add SHA512 f2458e9cf76bc3649f89fb6badcba7161b22a8a10acb35fc0eae2676e785cf4812c09364383dae3fe7cf621ed303fae26971eb18a1911d2125abf55cbd0de19f EBUILD zram-init-8.1.ebuild 1315 BLAKE2B c69bbf1dbeea335ea19d2ba94421d63383caa2c5f3f647574bb7eb7e74d51a015c37657def90747abc8d3d9523a7f2e4d7719e87e8908896ad48c91b85d3f709 SHA512 13a8fecf004cf3ff28e533fba8ff437e89d4feee47abf52019276ebf6eb59d23fb8fed8b550cd33c20b5dc6ec66fcfd79e1a66c0aaad4cf6d931a9d7f3599073 -EBUILD zram-init-9999.ebuild 1862 BLAKE2B 588ffac207f993e13a3790ffae889ee1ff7b1dd3c442bdfe155ffd2dd5e2e87d0449d4bd7e368742f318feeab96d003b8734567e0cfcb28d40a958ddbc601bad SHA512 e5c6f802e90ec8cb5217c6b6f1b3d3c0e6b53bfc4382a03e7631f4b111b8689c235881226cd11ee016c45805f7e31868974ee00a87e1a17eea4ee9d1acf45eb9 -MISC metadata.xml 740 BLAKE2B 0495aced5ea19dcf8fe0af07fc9446f3fc2e50ef2c2bc2f8ccaead4f734ce46c90a92e7c028b4dffa3ba6ac9dc99e58ba352854e00afde996c996dee0821279f SHA512 87bdfd42bf31b407addb70f47b033757344e76e3208ac81005c1c350e0e6e63559a5a4058f15b32449b9aa1e7d0a4c55aa6d85c0116edd6d1a22dee7deb05aba +EBUILD zram-init-9999.ebuild 1889 BLAKE2B 2fe1a7edaa8fc6f1f1df7d764e53a8ff1d83c84e18a3911575f3e6abc3a1f412f6103e77606ae6c90aceaa47bb78f6e31f08b042b6d3a0a88f6d03ad4e201f25 SHA512 673ad87cec06731f08e2ed244059e66147e67c35648c11a6005e3a7bcff3649e505b4c0ec8ac69fda91491a5d1a8fc680ab4f03181ddf13a1e0c9a23b3275aa7 +MISC metadata.xml 764 BLAKE2B fe8ceb35f55f7c47f09e0d385ef95df0c1155ae1790d46fa05505d8bc0fb406c67227e8109ad29640df7d23a7fb515c846809487b05bab42118c94653b0e5af4 SHA512 82e6785817add3fcf31a8d2aaa0648311899a3d190a00d5b644d97ee8f7d8d9a0af676646d674066f72890a25e1a7c1949eb4c1652fadd7db26cfc197da32819 diff --git a/sys-block/zram-init/metadata.xml b/sys-block/zram-init/metadata.xml index 22d5c4b7b609..99ae16ce1fab 100644 --- a/sys-block/zram-init/metadata.xml +++ b/sys-block/zram-init/metadata.xml @@ -9,6 +9,7 @@ <email>perfinion@gentoo.org</email> <name>Jason Zaman</name> </maintainer> + <stabilize-allarches/> <upstream> <maintainer status="active"> <name>Martin Väth</name> diff --git a/sys-block/zram-init/zram-init-11.1.ebuild b/sys-block/zram-init/zram-init-11.1.ebuild new file mode 100644 index 000000000000..f8d4f93e9610 --- /dev/null +++ b/sys-block/zram-init/zram-init-11.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit prefix readme.gentoo-r1 + +DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zRAM" +HOMEPAGE="https://github.com/vaeth/zram-init/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/vaeth/${PN}.git" +else + SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="binchecks strip test" + +BDEPEND="sys-devel/gettext" + +RDEPEND=" + >=app-shells/push-2.0 + virtual/libintl + || ( sys-apps/openrc sys-apps/systemd ) +" + +DISABLE_AUTOFORMATTING=true +DOC_CONTENTS="\ +To use zram-init, activate it in your kernel and add it to the default +runlevel: + rc-update add zram-init default +If you use systemd enable zram_swap, zram_tmp, and/or zram_var_tmp with +systemctl. You might need to modify the following file depending on the number +of devices that you want to create: + /etc/modprobe.d/zram.conf. +If you use the \$TMPDIR as zram device with OpenRC, you should add zram-init to +the boot runlevel: + rc-update add zram-init boot +Still for the same case, you should add in the OpenRC configuration file for +the services using \$TMPDIR the following line: + rc_need=\"zram-init\"" + +src_prepare() { + default + + hprefixify "${S}/man/${PN}.8" + + hprefixify -e "s%(}|:)(/(usr/)?sbin)%\1${EPREFIX}\2%g" \ + "${S}/sbin/${PN}.in" + + hprefixify -e "s%( |=)(/tmp)%\1${EPREFIX}\2%g" \ + "${S}/systemd/system"/* \ + "${S}/openrc"/*/* +} + +src_compile() { + emake PREFIX="${EPREFIX}/usr" MODIFY_SHEBANG=FALSE +} + +src_install() { + einstalldocs + readme.gentoo_create_doc + + emake DESTDIR="${ED}" PREFIX="/usr" BINDIR="${ED}/sbin" SYSCONFDIR="/etc" \ + SYSTEMDDIR="${ED}/lib/systemd/system" install +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/sys-block/zram-init/zram-init-9999.ebuild b/sys-block/zram-init/zram-init-9999.ebuild index e6b8db2062ea..f8d4f93e9610 100644 --- a/sys-block/zram-init/zram-init-9999.ebuild +++ b/sys-block/zram-init/zram-init-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit prefix readme.gentoo-r1 @@ -12,12 +12,13 @@ if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/vaeth/${PN}.git" else - SRC_URI="https://github.com/vaeth/zram-init/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" + SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" fi LICENSE="GPL-2" SLOT="0" +RESTRICT="binchecks strip test" BDEPEND="sys-devel/gettext" @@ -30,14 +31,18 @@ RDEPEND=" DISABLE_AUTOFORMATTING=true DOC_CONTENTS="\ To use zram-init, activate it in your kernel and add it to the default -runlevel: rc-update add zram-init default +runlevel: + rc-update add zram-init default If you use systemd enable zram_swap, zram_tmp, and/or zram_var_tmp with systemctl. You might need to modify the following file depending on the number -of devices that you want to create: /etc/modprobe.d/zram.conf. +of devices that you want to create: + /etc/modprobe.d/zram.conf. If you use the \$TMPDIR as zram device with OpenRC, you should add zram-init to -the boot runlevel: rc-update add zram-init boot +the boot runlevel: + rc-update add zram-init boot Still for the same case, you should add in the OpenRC configuration file for -the services using \$TMPDIR the following line: rc_need=\"zram-init\"" +the services using \$TMPDIR the following line: + rc_need=\"zram-init\"" src_prepare() { default @@ -60,8 +65,8 @@ src_install() { einstalldocs readme.gentoo_create_doc - emake DESTDIR="${ED}" PREFIX="/usr" SYSCONFDIR="/etc" \ - BINDIR="${ED}/sbin" SYSTEMDDIR="${ED}/lib/systemd/system" install + emake DESTDIR="${ED}" PREFIX="/usr" BINDIR="${ED}/sbin" SYSCONFDIR="/etc" \ + SYSTEMDDIR="${ED}/lib/systemd/system" install } pkg_postinst() { |