summaryrefslogtreecommitdiff
path: root/sys-block/zram-init
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-block/zram-init
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-block/zram-init')
-rw-r--r--sys-block/zram-init/Manifest13
-rw-r--r--sys-block/zram-init/metadata.xml12
-rw-r--r--sys-block/zram-init/zram-init-2.7-r1.ebuild38
-rw-r--r--sys-block/zram-init/zram-init-3.0.ebuild48
-rw-r--r--sys-block/zram-init/zram-init-3.4.ebuild51
-rw-r--r--sys-block/zram-init/zram-init-3.6.ebuild45
-rw-r--r--sys-block/zram-init/zram-init-3.8.ebuild45
7 files changed, 252 insertions, 0 deletions
diff --git a/sys-block/zram-init/Manifest b/sys-block/zram-init/Manifest
new file mode 100644
index 000000000000..9d37471e5dd2
--- /dev/null
+++ b/sys-block/zram-init/Manifest
@@ -0,0 +1,13 @@
+DIST zram-init-2.7.tar.gz 4821 SHA256 205765243bd36bf62c471363c4fddf8173275d37f5f919716b5b71afea0fe94d SHA512 db8dc5580b8405752d58996e5927573b687795b598c94948ccc51d038f7c7dfc47b64651d9554c1807d8f6453498c3f1efe6f2d34b82eb6b1df2d8f7e84980a5 WHIRLPOOL 1c677453567836db416b933e675df9c30f61797f8c5d32570693372df85729798aa3aa056dbee78ca5a3cf2a44c80ce4f8f54481751f35e03e01dbb0679dfc79
+DIST zram-init-3.0.tar.gz 5578 SHA256 a1b4bf7f90497a44388f349c3c766e13e575ff7b52168f74058e9b352244b71a SHA512 f962aaa9c5d7f8f7566e9e405de4709fcfd0b659c7dcf79008ca5b7b18ab44545f363e8a695bfff07068e0889ec79ce54af578493f82be3848ca306865d6555a WHIRLPOOL 6304d5192b81490e33962e3162f18729e5a8438bb3f10b90744045014c3ef91a18c2a65538b97f02811cc793d88fb7eddc7efa3129c3b150e70cddfb3694305f
+DIST zram-init-3.4.tar.gz 5825 SHA256 39e121d209a03a29f98bbb0be47ce666bf6c0ef7185af30f118976fbe68a8788 SHA512 985cbe5dd63c900ce88bf8f8989bc04f982b27104dbc40e9c4cf504310aca335efafba842d801e0b9250e8b6925d063bcd2c555122fc7c7295128687ccd4080f WHIRLPOOL 086426e0f334c500f9dc65273afad1acdbd7696882cd0a9f54f7b27fac347777f8dea0899a2719626648da9dee1c837f6f3ccebd8cf1e1c9dc550624c2eb9416
+DIST zram-init-3.6.tar.gz 6207 SHA256 cfd611395ffd808108921059a93db7c84c80b3ecbfcd92bbc17d450519189e1d SHA512 535104beca6de225aeb482ebb7a01a2498c841784a68d60e8e09f04ab193e6a8ae3ea55797308c89d54f3ce66bdac3f8c535059561ea6ccf848582c594b7f667 WHIRLPOOL 6cac97687f121d307992420f4fd71cefe76bae13bf9541b0ff803ad91b3ce7479229a640fb9c8eb5a37f9e9dff63e32abc0c708c586b10aa74c330b2607642d5
+DIST zram-init-3.8.tar.gz 6619 SHA256 4a43c424739dda6c4ffe62b5431b6fb1f476afd9f8b9b9149eb32314cd34a3a6 SHA512 c083f34bba6031f8e247f61a1451343e14cc4bc5c4731ad3a32a5f0eea265936a83b27ad0e3cbd2ba0e05e2bec1e6ae739b6e4149d120dafbcc057437188f07f WHIRLPOOL e4fdcdd49c8eb5eb74faa0200af7fa1db5e6e0128a531d9b4a1e02d57ced03c36bce00313e6ddc6de16c9fc6bac25b0f803f3160c20029bdaa4d3558f00124f6
+EBUILD zram-init-2.7-r1.ebuild 1054 SHA256 4175e3ce382ac4ae8e753a56d0e0d45a31eb9b58395f16845d5c85fb0b74e65b SHA512 54e1eb814bdc73a6234042c24a0863528bb261a0014ac66bba711a5205454b9b9a24b6fd0f7f83ca0f1e66eec11f1b8d399d02b46f3d5b93089a3ae88b689d04 WHIRLPOOL 1489c283165005a4f0ec038914f98df43e4484b4bdad8d9ef7c9e1c4221e4ade20530f3c8224d19654c95b3c65fd88f5d96fbc6a5bb8d8631f629e25eeaa1751
+EBUILD zram-init-3.0.ebuild 1422 SHA256 ce8787cbb6a5b50efa1003b9ff2f96b22fd18c6a113aa828b5f1895abb62d594 SHA512 429b4cb7f92820bd1a599e63c9c748456e5abc41e0746bfad3095263e3ddd9844d164e0a44cdc074a48f4de675272bf675f5a5d6fb4f58fbb06613c65526883b WHIRLPOOL b3144f6c17e1bd7adef869cfb3cb93b9bb65ab6aabb3794e8bac59f383077cacb6195a1750a939a9ef322aedb90402fa1f54c0aaf5ade658949fbd4209af6da1
+EBUILD zram-init-3.4.ebuild 1465 SHA256 1cdd37b524e8e708e012bbaa8dacd24a75a2ed09ff3565deb2ce8f77e1d54204 SHA512 14314350d03bec15bbede16b00088eb6eac1f2e72d5b554d17c1de29ef25f664bfcbf4ec7fe1864ff10941e0343c29f80cf3ea26279ab8bdbdabb8ce0c996c7d WHIRLPOOL cdc7063bba6e606fea9d2437107754093db367f0c17542631315828077b1c474c7e9e33d39f985adc42dab5e0959ed3e956c620fea60323a30a9519dbf26032e
+EBUILD zram-init-3.6.ebuild 1139 SHA256 911f7dae1abc3d02d80185d9e7dd227a998aff7befde8e490fe9f8d43c1e5db5 SHA512 eeb1344b6143a72b6d0752ebaf4890d9a226204246b205bcb7c1ede0e32a5962380ed86bdb48d3b7607c2ed337caad3827e16c9cdb18da559811a62d46dbea99 WHIRLPOOL 29e874829a4d18fd1c718bb4f093502dded2fd8ecec59f0e664460845b3dc18ce75e3ae99f3d72c505995a58c214ddbb740cb2d9c55c15e258a2138fd5f8695b
+EBUILD zram-init-3.8.ebuild 1151 SHA256 a9d1b2f6a964b132851109959c51e093d8a2bd9caaa3e0551b95b9792158e57b SHA512 7e7054291226d0576c56225508c60fcc0f4be6cfc96c8c01c50928d314edac1b79b5a2acfca532b3509c317ddc633fde2578d3a9afbd4050dce17d36828bf85a WHIRLPOOL 7bfe74e0eb930831ada4ca2f9c5a89cd5e134c42e4eee08cb07903dc7fefedafbf39414294a5b166c818752f506b0b29894872e7fa0b05833247943d9228a508
+MISC ChangeLog 3503 SHA256 8efcc753df02b960a6d8aea0b790cd625389c97c17a25a5da0e74a38e9c56239 SHA512 c2fff830d69065a168e16bb13340625af3023e122fbfe6307c4f125395ea1f6dc6661ff4b0ee0d9e93885d4687efea3204b603bbc8a0628dc93a2318f5be9b1b WHIRLPOOL 30327d79ae33b7e896c887d902411e9c70a24bb198907d4cedb2ba9bd2abedbc93fd4be3a9a8a862a225239e7c9ec81fe41c6f4c1da0c273330707da8eafef87
+MISC ChangeLog-2015 858 SHA256 fbd86570f02e108626a33456f2239a492d90c7b049e2edb14b601fcfd2678ee1 SHA512 fbec62bcae8fae2bb7fe382d13257027e382def32b6fd58e9d9b22c54dc44bf29dbe8f4dcdb9a20a9dd9906753a8ab70c5f7f8bee7e14c78f57795fa87feef59 WHIRLPOOL 77d81ac4eb6e98b00e61801e78cc1dced17d11b6d5dba3a5792617898adbf0312cadb7e189698be8f99dedcced8417d6f0f49ab3eb411fc11be2766393d753d6
+MISC metadata.xml 328 SHA256 98a1b24066f2fa4b7e0cd7dba2f904a1d7e265be9035c3c93bb4b8b86a6b7d1b SHA512 9f64f5788512ad221a6921fbf60a1cc4c1cab6e0a42e0fddb0f9642b4a1139d366bbe95a6aac5d6bc34f4a223801f3b58fb66290700700cff5b1f3e50c6b5e43 WHIRLPOOL 522fbbe1fa72f31b3f5d99799b973a8ded2e6ce1d7cee302c4ddbcc6ce0d0b5c2873cd27e5906966d6084fb7d79711982cee1d961c44ccdbd49eab8266c60873
diff --git a/sys-block/zram-init/metadata.xml b/sys-block/zram-init/metadata.xml
new file mode 100644
index 000000000000..fdbc0f6b02d7
--- /dev/null
+++ b/sys-block/zram-init/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>perfinion@gentoo.org</email>
+ <name>Jason Zaman</name>
+ </maintainer>
+
+ <upstream>
+ <remote-id type="github">vaeth/zram-init</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-block/zram-init/zram-init-2.7-r1.ebuild b/sys-block/zram-init/zram-init-2.7-r1.ebuild
new file mode 100644
index 000000000000..17216d168a84
--- /dev/null
+++ b/sys-block/zram-init/zram-init-2.7-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils readme.gentoo systemd
+
+DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram"
+HOMEPAGE="https://github.com/vaeth/zram-init/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DISABLE_AUTOFORMATTING="true"
+DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel:
+ rc-config add zram default
+If you use systemd enable zram_swap, tmp, and/or var_tmp with systemctl.
+You might need to modify /etc/modprobe.d/zram.conf"
+
+src_prepare() {
+ use prefix || sed -i \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
+ -- sbin/* || die
+ epatch_user
+}
+
+src_install() {
+ dosbin sbin/*
+ doinitd openrc/init.d/*
+ doconfd openrc/conf.d/*
+ systemd_dounit systemd/system/*
+ insinto /etc/modprobe.d
+ doins modprobe.d/*
+ insinto /usr/share/zsh/site-functions
+ doins zsh/*
+ readme.gentoo_create_doc
+}
diff --git a/sys-block/zram-init/zram-init-3.0.ebuild b/sys-block/zram-init/zram-init-3.0.ebuild
new file mode 100644
index 000000000000..8b70fde5356e
--- /dev/null
+++ b/sys-block/zram-init/zram-init-3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils linux-info readme.gentoo systemd
+
+DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram"
+HOMEPAGE="https://github.com/vaeth/zram-init/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DISABLE_AUTOFORMATTING="true"
+DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel:
+ rc-config add zram default
+If you use systemd enable zram_swap, tmp, and/or var_tmp with systemctl.
+You might need to modify /etc/modprobe.d/zram.conf"
+
+src_prepare() {
+ use prefix || sed -i \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
+ -- sbin/* || die
+ epatch_user
+}
+
+src_install() {
+ dosbin sbin/*
+ doinitd openrc/init.d/*
+ doconfd openrc/conf.d/*
+ systemd_dounit systemd/system/*
+ insinto /etc/modprobe.d
+ doins modprobe.d/*
+ insinto /usr/share/zsh/site-functions
+ doins zsh/*
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ if kernel_is -lt 3 15 ; then
+ ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
+ ewarn "sys-block/zram-init default config starting from version 3.0"
+ ewarn "requires a kernel >= 3.15.0."
+ ewarn "Make sure you have edited it, so it uses only functions"
+ ewarn "available for your kernel version (bug 525302)."
+ fi
+}
diff --git a/sys-block/zram-init/zram-init-3.4.ebuild b/sys-block/zram-init/zram-init-3.4.ebuild
new file mode 100644
index 000000000000..2b710a996008
--- /dev/null
+++ b/sys-block/zram-init/zram-init-3.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils linux-info readme.gentoo systemd
+
+DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram"
+HOMEPAGE="https://github.com/vaeth/zram-init/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="!<sys-apps/openrc-0.13"
+
+DISABLE_AUTOFORMATTING="true"
+DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel:
+ rc-config add zram default
+If you use systemd enable zram_swap, tmp, and/or var_tmp with systemctl.
+You might need to modify /etc/modprobe.d/zram.conf"
+
+src_prepare() {
+ use prefix || sed -i \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
+ -- sbin/* || die
+ epatch_user
+}
+
+src_install() {
+ dosbin sbin/*
+ doinitd openrc/init.d/*
+ doconfd openrc/conf.d/*
+ systemd_dounit systemd/system/*
+ insinto /etc/modprobe.d
+ doins modprobe.d/*
+ insinto /usr/share/zsh/site-functions
+ doins zsh/*
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ if kernel_is -lt 3 15 ; then
+ ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
+ ewarn "sys-block/zram-init default config starting from version 3.0"
+ ewarn "requires a kernel >= 3.15.0."
+ ewarn "Make sure you have edited it, so it uses only functions"
+ ewarn "available for your kernel version (bug 525302)."
+ fi
+}
diff --git a/sys-block/zram-init/zram-init-3.6.ebuild b/sys-block/zram-init/zram-init-3.6.ebuild
new file mode 100644
index 000000000000..ffe264d34b1c
--- /dev/null
+++ b/sys-block/zram-init/zram-init-3.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit readme.gentoo-r1 systemd
+
+DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram"
+HOMEPAGE="https://github.com/vaeth/zram-init/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="!<sys-apps/openrc-0.13"
+
+DISABLE_AUTOFORMATTING="true"
+DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel:
+ rc-config add zram default
+If you use systemd enable zram_swap, tmp, and/or var_tmp with systemctl.
+You might need to modify /etc/modprobe.d/zram.conf"
+
+src_prepare() {
+ use prefix || sed -i \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
+ -- sbin/* || die
+ eapply_user
+}
+
+src_install() {
+ dosbin sbin/*
+ doinitd openrc/init.d/*
+ doconfd openrc/conf.d/*
+ systemd_dounit systemd/system/*
+ insinto /etc/modprobe.d
+ doins modprobe.d/*
+ insinto /usr/share/zsh/site-functions
+ doins zsh/*
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/sys-block/zram-init/zram-init-3.8.ebuild b/sys-block/zram-init/zram-init-3.8.ebuild
new file mode 100644
index 000000000000..5884a6fcbd00
--- /dev/null
+++ b/sys-block/zram-init/zram-init-3.8.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit readme.gentoo-r1 systemd
+
+DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram"
+HOMEPAGE="https://github.com/vaeth/zram-init/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="!<sys-apps/openrc-0.13"
+
+DISABLE_AUTOFORMATTING="true"
+DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel:
+ rc-config add zram default
+If you use systemd enable zram_swap, tmp, and/or var_tmp with systemctl.
+You might need to modify /etc/modprobe.d/zram.conf"
+
+src_prepare() {
+ use prefix || sed -i \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
+ -- sbin/* || die
+ eapply_user
+}
+
+src_install() {
+ dosbin sbin/*
+ doinitd openrc/init.d/*
+ doconfd openrc/conf.d/*
+ systemd_dounit systemd/system/*
+ insinto /etc/modprobe.d
+ doins modprobe.d/*
+ insinto /usr/share/zsh/site-functions
+ doins zsh/*
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}