summaryrefslogtreecommitdiff
path: root/dev-perl/Proc-ProcessTable
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Proc-ProcessTable
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Proc-ProcessTable')
-rw-r--r--dev-perl/Proc-ProcessTable/Manifest4
-rw-r--r--dev-perl/Proc-ProcessTable/Proc-ProcessTable-0.530.0.ebuild36
-rw-r--r--dev-perl/Proc-ProcessTable/files/amd64_canonicalize_file_name_definition.patch13
-rw-r--r--dev-perl/Proc-ProcessTable/metadata.xml15
4 files changed, 68 insertions, 0 deletions
diff --git a/dev-perl/Proc-ProcessTable/Manifest b/dev-perl/Proc-ProcessTable/Manifest
new file mode 100644
index 000000000000..4c7e6ceb369f
--- /dev/null
+++ b/dev-perl/Proc-ProcessTable/Manifest
@@ -0,0 +1,4 @@
+AUX amd64_canonicalize_file_name_definition.patch 396 BLAKE2B a26231fc5009f5763ba905089e7bd871e7144cce071fb8d079da5d541306dc59266b10307cfb360ee0fcdaa15898ede662190d46fa664b7246016fe9e30f4394 SHA512 176033162dbc12d0f5e732950ada138b02c9db252cfad9bb456adc92cf5e399c7c1bb46e7e80c1ffda0944966a2ddb256009fbee6cbacd5c3e461440f2f3e3da
+DIST Proc-ProcessTable-0.53.tar.gz 71060 BLAKE2B 86726879160d12fded9cce8f1fb7aabc87817dd5338ed0ab2babd1c5679714a4ae833630cb5b0d35da538307095cc0b085448d8f9291a76f26a284d407959223 SHA512 9eb11963ac2e86fff63b515537c41297af2f3610862fe18525296e18a9abc68e4a61e95ea824e8a91d9e0a4ff0e5d909fa1252a30657e9bc22df129090edb4e6
+EBUILD Proc-ProcessTable-0.530.0.ebuild 774 BLAKE2B 90ca8ea406e6f51675a7eb7a7d9a1a72f58939ac4fdb315ba25350e3618d5e08825cc8a44e5d08909a936604b75f0f1b0d175f829515a8e7760515fc87ae09ea SHA512 3382cd228dafe823fae19390240ad4bf84ed21d0c6dd9c496d83b8fb7290d236242e8c2c79e86a73661ae6e4b2380664c0de8670ee5018d1a7bbd27ec67ee268
+MISC metadata.xml 600 BLAKE2B 0092c2642925926fa5d00e8ca0fb5adfe3de19fba854c151b47d13e90d163a80b78fdd6f0b694f916b2ec14796d010695e0e6c9da089da48c1074ff810cc8dbd SHA512 7a8acc3f73eb177576b70105a7fc31afed3b47ceb9d15fb2a17b595955c58e3109660ed8de86e0b69248fd7acd01d5cd6a2367e75e05d147172e6daf4c7305bd
diff --git a/dev-perl/Proc-ProcessTable/Proc-ProcessTable-0.530.0.ebuild b/dev-perl/Proc-ProcessTable/Proc-ProcessTable-0.530.0.ebuild
new file mode 100644
index 000000000000..1cf4d83437f0
--- /dev/null
+++ b/dev-perl/Proc-ProcessTable/Proc-ProcessTable-0.530.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=JWB
+DIST_VERSION=0.53
+inherit perl-module
+
+DESCRIPTION="Unix process table information"
+
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
+IUSE="examples"
+
+PATCHES=(
+ "${FILESDIR}/amd64_canonicalize_file_name_definition.patch"
+)
+RDEPEND="virtual/perl-Storable"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+src_prepare() {
+ perl-module_src_prepare
+ mv "${S}"/example.pl "${S}"/contrib/ || die
+ sed -i 's|^example\.pl|contrib/example.pl|' "${S}"/MANIFEST || die
+}
+src_install() {
+ perl-module_src_install
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ docinto examples
+ dodoc -r contrib/*
+ fi
+}
diff --git a/dev-perl/Proc-ProcessTable/files/amd64_canonicalize_file_name_definition.patch b/dev-perl/Proc-ProcessTable/files/amd64_canonicalize_file_name_definition.patch
new file mode 100644
index 000000000000..d454b1ad21cb
--- /dev/null
+++ b/dev-perl/Proc-ProcessTable/files/amd64_canonicalize_file_name_definition.patch
@@ -0,0 +1,13 @@
+Index: Proc-ProcessTable-0.45/os/Linux.c
+===================================================================
+--- Proc-ProcessTable-0.45.orig/os/Linux.c
++++ Proc-ProcessTable-0.45/os/Linux.c
+@@ -33,7 +33,7 @@ static unsigned system_hertz;
+
+ static bool init_failed = false;
+
+-
++char *canonicalize_file_name (const char *path);
+ /* get_string()
+ *
+ * Access strings in read only section
diff --git a/dev-perl/Proc-ProcessTable/metadata.xml b/dev-perl/Proc-ProcessTable/metadata.xml
new file mode 100644
index 000000000000..0574bb04ced7
--- /dev/null
+++ b/dev-perl/Proc-ProcessTable/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Proc-ProcessTable</remote-id>
+ <remote-id type="cpan-module">Proc::Killall</remote-id>
+ <remote-id type="cpan-module">Proc::Killfam</remote-id>
+ <remote-id type="cpan-module">Proc::ProcessTable</remote-id>
+ <remote-id type="cpan-module">Proc::ProcessTable::Process</remote-id>
+ </upstream>
+</pkgmetadata>