summaryrefslogtreecommitdiff
path: root/dev-libs/libcgroup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-23 20:48:53 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-23 20:48:53 +0000
commit51536d2fe4697ba9114d611178bb9e20d3d5b729 (patch)
tree30b91d98e65985a575940ed49e756697c1f049c2 /dev-libs/libcgroup
parent4ab6db5717ef23f29320d4c6fb9ebdb8dec1f193 (diff)
gentoo resync : 23.12.2017
Diffstat (limited to 'dev-libs/libcgroup')
-rw-r--r--dev-libs/libcgroup/Manifest3
-rw-r--r--dev-libs/libcgroup/libcgroup-0.41-r4.ebuild7
-rw-r--r--dev-libs/libcgroup/libcgroup-0.41.ebuild104
3 files changed, 5 insertions, 109 deletions
diff --git a/dev-libs/libcgroup/Manifest b/dev-libs/libcgroup/Manifest
index 7b7cb8e49e03..3936d618b50d 100644
--- a/dev-libs/libcgroup/Manifest
+++ b/dev-libs/libcgroup/Manifest
@@ -10,6 +10,5 @@ AUX libcgroup-0.41-reorder-headers.patch 953 BLAKE2B dcc4936227cfc67ddc0c32b2074
AUX libcgroup-0.41-replace_DECLS.patch 5193 BLAKE2B d22bded7e356b31e9f1e8ceec50f7987311f36453ffd13acaf48e95eacce06052c19a89aedfbcd068218a5fdefc26e5aec737d1c00576f25fdef0b1fe658513a SHA512 c7601810e491764c30e8adfadd65e1b1b578a07af24df62cc9a7b291622d806fc196a98e01957b5acbd3bca072617bd0ff54cae200a8e6c21b5cca4d18cd45db
AUX libcgroup-0.41-replace_INLCUDES.patch 3064 BLAKE2B 1947d306117beb62dba48d46b9e3caa7e2d5195c6d661b2d061c982220b7d3d92d42d4ef23172e34bf32be2e54b6c82c531aa839432e0489c2abe463b93e25f4 SHA512 17c8fa471347da4973969b954f966501d54889050766dfdd225235dd4539bb4249d57e719fa7a894aadc2e0f7296d233c89c44c96291a9266c958ca3a319541b
DIST libcgroup-0.41.tar.bz2 500120 BLAKE2B 3410b430aa58613b5b9abedba05bef99b1b8a1fd619d55fb446ab951e052a336efc918879217055bceee886a03d97c3ff46028a87e8231212653a886cfb80521 SHA512 1aedb02cd2ce3bc2e2a328a247a92976ad0978ca4d3aee4eb671fbcc6bb270348efc78dcf84f27fc500f8bfb9bb57c7d6e4d429ef2bc69e4e5118b7cd895a6bd
-EBUILD libcgroup-0.41-r4.ebuild 2248 BLAKE2B 33bfa2a8381fba47f7470264daee98b7b21c7bd1aa5db7193c3838f03ff1793d2db3dc83866b266f06ffd4afcb25e2c132c03068a1cae982bbc2b86e5a4327d7 SHA512 b28c10e013a862888a74d5c6cb1b493e3a68adece0634a1a160a109bb233bd85a60c62816946b6ee3ea0ea0fd57bf11fa8628b672a50a9393467e48f8831989c
-EBUILD libcgroup-0.41.ebuild 2843 BLAKE2B 347563d47754d835f680acedd81d77fa2efa0d124ec734b491f4b0236efbaba27d97d2b1f5c271181df3e6a1d58dc01b0d1939c545900498dd0f4d797ecc1586 SHA512 e052bcdfff86b84bffeeb8524be4930a3cfca5c8cb81aac6af00662932f51ea3a99906428664b2f03c23aa65536601b933aed497bdbece95bc811bda8ff5df55
+EBUILD libcgroup-0.41-r4.ebuild 2260 BLAKE2B a91ccc645823095c9cb6650ab15df49c3dab8ac81d2b1434c5595377c4168d23fbaecdb6fddf54dba891e276ca08362a2765d0cd40a93774b5d3f6caeb77f33b SHA512 2ff0c18976a741b7f2bdb670b8f7c4d8e6b8b56108d29f89366ab49fe280278170e2e35b620a62375253ad81c9e4cb4ea7b0c76cd6d40d8e18d2d22a49450f48
MISC metadata.xml 700 BLAKE2B 4638c1287da7cb72c04f77ab1f8c9a46888f0c45194a1221fcc03e2f0ea0b148e7edd4608d2bf61a527dcd8f1701f91a123ecde3118b5f93bad67e56afd6e714 SHA512 faddc728ee6971cbf5e52bc89999f3bec9d312fe04d2c876a2ee69e6533ca1ba85350d0b504bff0c7da668b58a3531606fb3d67cb4f6925c08f65df2190ec0c1
diff --git a/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild b/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild
index 37deb466f20d..0f827edbd6f7 100644
--- a/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild
+++ b/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
inherit autotools eutils flag-o-matic linux-info pam
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/libcg/${PN}/v${PV}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
IUSE="+daemon elibc_musl pam static-libs +tools"
RDEPEND="pam? ( virtual/pam )"
@@ -47,6 +47,7 @@ src_prepare() {
-i src/pam/Makefile.am || die "sed failed"
sed -e 's#/var/run#/run#g' -i configure.in || die "sed failed"
+ eapply_user
eautoreconf
}
diff --git a/dev-libs/libcgroup/libcgroup-0.41.ebuild b/dev-libs/libcgroup/libcgroup-0.41.ebuild
deleted file mode 100644
index 033edd31d683..000000000000
--- a/dev-libs/libcgroup/libcgroup-0.41.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-AUTOTOOLS_AUTORECONF=1
-
-inherit eutils linux-info pam autotools-utils
-
-DESCRIPTION="Tools and libraries to configure and manage kernel control groups"
-HOMEPAGE="http://libcg.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/libcg/${PN}/v${PV}/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 x86"
-IUSE="+daemon debug pam static-libs +tools debug"
-
-RDEPEND="pam? ( virtual/pam )"
-
-DEPEND="
- ${RDEPEND}
- sys-devel/bison
- sys-devel/flex
- "
-REQUIRED_USE="daemon? ( tools )"
-
-DOCS=(README_daemon README README_systemd INSTALL)
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS"
- if use daemon; then
- CONFIG_CHECK="${CONFIG_CHECK} ~CONNECTOR ~PROC_EVENTS"
- fi
- linux-info_pkg_setup
-}
-
-src_prepare() {
-
- # Change rules file location
- sed -e 's:/etc/cgrules.conf:/etc/cgroup/cgrules.conf:' \
- -i src/libcgroup-internal.h || die "sed failed"
- sed -e 's:\(pam_cgroup_la_LDFLAGS.*\):\1\ -avoid-version:' \
- -i src/pam/Makefile.am || die "sed failed"
- sed -e 's#/var/run#/run#g' -i configure.in || die "sed failed"
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local my_conf
-
- if use pam; then
- my_conf=" --enable-pam-module-dir=$(getpam_mod_dir) "
- fi
-
- local myeconfargs=(
- $(use_enable daemon)
- $(use_enable debug)
- $(use_enable pam)
- $(use_enable tools)
- ${my_conf}
- )
- autotools-utils_src_configure
-}
-
-src_test() {
- # Use mount cgroup to build directory
- # sandbox restricted to trivial build,
- # possible kill Diego tanderbox ;)
- true
-}
-
-src_install() {
- autotools-utils_src_install
- prune_libtool_files --all
-
- insinto /etc/cgroup
- doins samples/*.conf || die
-
- if use tools; then
- newconfd "${FILESDIR}"/cgconfig.confd cgconfig || die
- newinitd "${FILESDIR}"/cgconfig.initd cgconfig || die
- fi
-
- if use daemon; then
- newconfd "${FILESDIR}"/cgred.confd cgred || die
- newinitd "${FILESDIR}"/cgred.initd cgred || die
- fi
-}
-
-pkg_postinst() {
- elog "Read the kernel docs on cgroups, related schedulers, and the"
- elog "block I/O controllers. The Redhat Resource Management Guide"
- elog "is also helpful. DO NOT enable the cgroup namespace subsytem"
- elog "if you want a custom config, rule processing, etc. This option"
- elog "should only be enabled for a VM environment. The UID wildcard"
- elog "rules seem to work only without a custom config (since wildcards"
- elog "don't work in config blocks). Specific user-id configs *do*"
- elog "work, but be careful about how the mem limits add up if using"
- elog "the memory.limit_* directives. There should be a basic task"
- elog "partitioning into the default group when running cgred with no"
- elog "specific config blocks or rules (other than the mount directive)."
- elog "See the docs for the pam module config, and as always, RTFM..."
-}