summaryrefslogtreecommitdiff
path: root/app-portage
diff options
context:
space:
mode:
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/Manifest.gzbin10217 -> 10218 bytes
-rw-r--r--app-portage/grs/Manifest8
-rw-r--r--app-portage/grs/grs-0.6.ebuild (renamed from app-portage/grs/grs-0.4.ebuild)39
-rw-r--r--app-portage/grs/grs-9999.ebuild34
-rw-r--r--app-portage/grs/metadata.xml3
5 files changed, 50 insertions, 34 deletions
diff --git a/app-portage/Manifest.gz b/app-portage/Manifest.gz
index 7dd00e3593a8..8d568c818a29 100644
--- a/app-portage/Manifest.gz
+++ b/app-portage/Manifest.gz
Binary files differ
diff --git a/app-portage/grs/Manifest b/app-portage/grs/Manifest
index b4ad46371ac0..8bf6e0042399 100644
--- a/app-portage/grs/Manifest
+++ b/app-portage/grs/Manifest
@@ -1,6 +1,6 @@
-DIST grs-0.4.tar.gz 34212 BLAKE2B 79790e5fc3930336489d43a96236c953e50c875c78e3dbaa99103459b4e62235dd4fb43b205e653066d795999d1034b7fee93c58f7f9cdc34f4680dde48de883 SHA512 e24879aabf7d9d029f584693dcb5e6578d5e14ab9e2588143883b7a27174184a2e2c30d08bf140a1bb45b7ab80c10e73f5ccf96de0bea8185d326ce0ce83fa11
DIST grs-0.5.tar.gz 34213 BLAKE2B 3745d68db8da65f72e3b82ed2350d8a8696848d451aa3da5c941174403be7fea9a4b7536cdf532d0d89b6014817c14f874d0dbca3408bdd8326e88396767f119 SHA512 85cb78d898c266fe4f1a5298d3add20fb127d43469cd00d32400bebf0c7350c07b581f9e8714a32db62c57f5a92fca0cbe66f0e2812dab86f57d9e8c66aaab7f
-EBUILD grs-0.4.ebuild 865 BLAKE2B bf2a1ac8e61147521d22fd9cfb006f16bbe6f5a443eaba02c875d752f3deb2c408d3924d8b6688830b6cc7240177f3fb7b68b3da22f37cafe1a043d4fa574dd2 SHA512 4e1680c830529eb34eb8177e0af3d9e8367a7b1ec5d0c604eebf75efb5fb0c342a5b5d8c46b067b2c3dc22b64ea90cc86dc55754bb45dd3f77c1c45ee853586e
+DIST grs-0.6.tar.gz 34752 BLAKE2B cbd99ba7fea491db032d08cd1daa5a18cab8e8f21110bbe7d6d9c2b532776a9c9f55bd4a1d2b9bd6ea5fdaefdd2fb5af5b35beb6adcfe57d0d02b779c6ceaacb SHA512 ede5117ffe5dad982366b3acabc98bc018cc74aa079080f1a20fe31e86bca0b6ed48589ce22a400bf43d882f17dc630a4f7c99a7f7b4a4cb7c6f2f97974ecc5d
EBUILD grs-0.5.ebuild 1037 BLAKE2B 715b4ca9f91d01a445de5bb151f30704db2ceceff33d24b35183c9d42b881e7c9336608956e827face1068059d594748bc9ebfcbfc1b3c604f1f8f2558cda123 SHA512 bd97ae2e24f527e13138fd6b9bf00ac453c566e10ad0051c985fc78ff4b26a205c71e36e0f98b691f8bbd9b90b3db5af5b3521c3715f4800cae43cef5327d04b
-EBUILD grs-9999.ebuild 1038 BLAKE2B 6ab0f60550bdba70fe3b0841aac2fbbbda2781c8366c5a38930e1843e9a0357795bb450bd7b3f0f425730916a22bffd3c9d67ebbd1ac9c9fb7a8730ddcbd6837 SHA512 7139767a7701a5ac52433c8635155db0332266f233aafe7d32cce984f062b1a8ebc0cfed4ef3b89b61d6334561e757651a1a6ec4bd5cafb781720119e66bd38f
-MISC metadata.xml 252 BLAKE2B f6282e2a99df668246ea8570c72345463f06d282b6adc6d9de2a08ef0827cf4572332c580caa594aad5ba8e200870d8d25494549ee4413798025f0d885b61a68 SHA512 cbda7bf9832872764ae776ce16b2966c37a2ba3a1982d9817006fd6b82d7b17146434cde428bf114062a483e9053d2acdcdd004695e6ebf428d19cdc09937c65
+EBUILD grs-0.6.ebuild 1096 BLAKE2B 3df3288f9efb43d596bb0fed93dd2c4d9cbc935f6844706ffdc2b05489e27808d439100ca91fa9326c63721e541463bdfbe913d7446103ca15319917243e0557 SHA512 1e68f0f68753d77a28cb87851fce63754a5694f5e916e65b10cf3aeb05acdc577acc950a0500d094d18773c007db5115b886c7e55a13354bc09bb53b27805e72
+EBUILD grs-9999.ebuild 1097 BLAKE2B 109c0ac7b7e35eb0b65f85b01349f28ef435431131ea9007e79cd18061de5aac6be6d5c5e30dfd03e2ba0ebc05c4ee113a1cb7c1767519f6368d6668f183a36a SHA512 bc8f4346b4348184f36b0ce304a74fec7a2f549269d77516d3491a90257872225e1294d3b75be017f02b622b19280b462e391c3328013ebacec8bf44985080e6
+MISC metadata.xml 335 BLAKE2B 24dec8cf9113a9a1114ebac569e5f335f82bbd0e89efc87f4897fd79e7da509450e562aa825c01a20e3edfa82523bf443f0d24f8a0964b73f1074975eee821d8 SHA512 e753c37f63f2d42e2745076a5969ef57a87e71a9dc96b6f681d138c6d9c23d8903683208fa1519e91f08856f40e900812cba2b4d53c51c3827e18edd940b8d7b
diff --git a/app-portage/grs/grs-0.4.ebuild b/app-portage/grs/grs-0.6.ebuild
index 6b900fbe1c49..3ad135db3609 100644
--- a/app-portage/grs/grs-0.4.ebuild
+++ b/app-portage/grs/grs-0.6.ebuild
@@ -1,11 +1,10 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
+PYTHON_COMPAT=( python3_{4,5,6} )
-PYTHON_COMPAT=( python3_4 )
-
-inherit distutils-r1
+inherit distutils-r1 linux-info
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/grss.git"
@@ -20,23 +19,33 @@ HOMEPAGE="https://dev.gentoo.org/~blueness/${PN}"
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+IUSE="server"
DEPEND=""
RDEPEND="
- app-arch/tar[xattr]
- app-crypt/md5deep
- dev-libs/libcgroup
- dev-vcs/git
- net-misc/rsync
sys-apps/portage
- sys-fs/squashfs-tools
- virtual/cdrtools
- || (
- sys-kernel/genkernel
- sys-kernel/genkernel-next
+ server? (
+ app-arch/tar[xattr]
+ app-crypt/md5deep
+ dev-libs/libcgroup
+ dev-vcs/git
+ net-misc/rsync
+ sys-fs/squashfs-tools
+ virtual/cdrtools
+ || (
+ sys-kernel/genkernel
+ sys-kernel/genkernel-next
+ )
)"
+pkg_setup() {
+ if use server; then
+ local CONFIG_CHECK="~CGROUPS"
+ local ERROR_CGROUPS="WARNING: grsrun requires CONFIG_CGROUPS enabled in the kernel."
+ linux-info_pkg_setup
+ fi
+}
+
src_install() {
distutils-r1_src_install
echo "CONFIG_PROTECT=\"/etc/grs/systems.conf\"" > "${T}"/20grs
diff --git a/app-portage/grs/grs-9999.ebuild b/app-portage/grs/grs-9999.ebuild
index 9b15694e76eb..5e16f8b436e0 100644
--- a/app-portage/grs/grs-9999.ebuild
+++ b/app-portage/grs/grs-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
PYTHON_COMPAT=( python3_{4,5,6} )
inherit distutils-r1 linux-info
@@ -19,27 +19,31 @@ HOMEPAGE="https://dev.gentoo.org/~blueness/${PN}"
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+IUSE="server"
DEPEND=""
RDEPEND="
- app-arch/tar[xattr]
- app-crypt/md5deep
- dev-libs/libcgroup
- dev-vcs/git
- net-misc/rsync
sys-apps/portage
- sys-fs/squashfs-tools
- virtual/cdrtools
- || (
- sys-kernel/genkernel
- sys-kernel/genkernel-next
+ server? (
+ app-arch/tar[xattr]
+ app-crypt/md5deep
+ dev-libs/libcgroup
+ dev-vcs/git
+ net-misc/rsync
+ sys-fs/squashfs-tools
+ virtual/cdrtools
+ || (
+ sys-kernel/genkernel
+ sys-kernel/genkernel-next
+ )
)"
pkg_setup() {
- local CONFIG_CHECK="~CGROUPS"
- local ERROR_CGROUPS="WARNING: grsrun requires CONFIG_CGROUPS enabled in the kernel."
- linux-info_pkg_setup
+ if use server; then
+ local CONFIG_CHECK="~CGROUPS"
+ local ERROR_CGROUPS="WARNING: grsrun requires CONFIG_CGROUPS enabled in the kernel."
+ linux-info_pkg_setup
+ fi
}
src_install() {
diff --git a/app-portage/grs/metadata.xml b/app-portage/grs/metadata.xml
index d920e3ba3e56..eec62d4496e8 100644
--- a/app-portage/grs/metadata.xml
+++ b/app-portage/grs/metadata.xml
@@ -5,4 +5,7 @@
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
+ <use>
+ <flag name="server">Install all the tools building systems</flag>
+ </use>
</pkgmetadata>