diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/Proc-ProcessTable |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/Proc-ProcessTable')
6 files changed, 117 insertions, 0 deletions
diff --git a/dev-perl/Proc-ProcessTable/Manifest b/dev-perl/Proc-ProcessTable/Manifest new file mode 100644 index 000000000000..852c60b46df1 --- /dev/null +++ b/dev-perl/Proc-ProcessTable/Manifest @@ -0,0 +1,8 @@ +AUX 0.45-fix-format-errors.patch 1032 SHA256 ef2c9f062f0f81a987087864f4b3209edaf5e105b88dfdef4b945da9c8e300b6 SHA512 5ad1674b92f17cf4eb76bc86405cd91aa29be49f80c4be9e9599927aca1001a165c8e94a3fed4eccabf79245c76b4eb82e8f41b11ace60e50e12d5c41f2b155e WHIRLPOOL 63266ca868ce4874db042db12c8b4dfd6e011d185b39be78bbe1caee4414a28aee22c3d7bbd1c57a9e73043987432cd74d8e541e27fe388bae066cae6e461ac8 +AUX 0.45-pthread.patch 476 SHA256 246f067e98debb2bd5568d516099ebac35d353608250f09c90b822dc8f3f96fe SHA512 79f607eeef5867e7d14b26066e898d8c1255676b97deef10f53670bdee7ca74f39f8f929f831976fadff12d33a5385ef3798a1178211bd5879185e99bb32ff95 WHIRLPOOL fa460bdc949f969dd83eba074d7135f6bcf2e02a8b33d2e61d56a8528ecc7ec5f0fe4933c2d8ab3301988a501cb817c837d6d19c149eacb8b9678c4e4db2d6b3 +AUX amd64_canonicalize_file_name_definition.patch 396 SHA256 f2208715c4c209bf70041bd6b386c103ac01049857668ef69e04a4511908af32 SHA512 176033162dbc12d0f5e732950ada138b02c9db252cfad9bb456adc92cf5e399c7c1bb46e7e80c1ffda0944966a2ddb256009fbee6cbacd5c3e461440f2f3e3da WHIRLPOOL 4b36276726464d1b4d10c42d21e1f3a572eaf94c0bc8a745d68e6ac92c5f23fdc0ece43ae1d356a5b2611c0ef7019b922267220c26ce808e6765497058d6537c +DIST Proc-ProcessTable-0.53.tar.gz 71060 SHA256 b05811cffb366b1db6f71f2dcbffac5d2cbf01d987f0c0242b671e447326ba44 SHA512 9eb11963ac2e86fff63b515537c41297af2f3610862fe18525296e18a9abc68e4a61e95ea824e8a91d9e0a4ff0e5d909fa1252a30657e9bc22df129090edb4e6 WHIRLPOOL 2df95aa9b3cf33b0b0ccb2441ce0a2f1f02a7ed62d97fed969250911a8f0071ee049e8d27623e6aa1c005a3bb22446703a3baccf5c5c20dfa5c461f5e9b16116 +EBUILD Proc-ProcessTable-0.530.0.ebuild 774 SHA256 035fecd71effaa0c28759b89cc0643d939b1f7380275f20468558d30e48498d7 SHA512 3382cd228dafe823fae19390240ad4bf84ed21d0c6dd9c496d83b8fb7290d236242e8c2c79e86a73661ae6e4b2380664c0de8670ee5018d1a7bbd27ec67ee268 WHIRLPOOL 9d0a5a93f20c3c3a6b1f1a332840baea058b841545ac918ad61bc0de31dcb2da4935d2e1d3eda24fda96ff3bd3956afe9ddea17e72e0fe49cc2b4784e4fd673f +MISC ChangeLog 3786 SHA256 e84db738423f3768884027f693e995a79937cb5423a71a8830c5ed3474801ed5 SHA512 2c14d91f09ff78f0a9df7f1843cd2b688bcab0f090f581f8b09fbe33c1f44180abd3f62ca2213304545fbcbb4d5f6d2117f30fa51a833ca88010b4267244cfb2 WHIRLPOOL a837dd85f45969c40b277ff0e49bf4e857616ed7a3bfe0e1cd4a239af003296c2aaf134c983f535afe16149e1d2ae9285d22b8f5e702a1645b72da23523d69b0 +MISC ChangeLog-2015 8630 SHA256 695ef3a4d4e6f78e4723840ac34d83710a87cd3711fc17fbd6c747d0135b1ebf SHA512 2277a02b57781504904781127aad6d0479592d72bc0ce86872ec36f9773ae2cd00ac6044ab54f41b50c11b1a725dcf48ecb3b681f6a22a92280d2739ea5077c9 WHIRLPOOL a02b70875668bec8e07f45ec350bb2cf76e4ef88533ae5050ebd2e43fdc694f3dd3ee481e53213e9a69edc06727291ccbcbad5a6170c7b6b7c7c4cb8570d87a5 +MISC metadata.xml 600 SHA256 50496424c1db86fbeb08831f0ed1f130e5dd41e23682e42f8d1ae41c5fe6334f SHA512 7a8acc3f73eb177576b70105a7fc31afed3b47ceb9d15fb2a17b595955c58e3109660ed8de86e0b69248fd7acd01d5cd6a2367e75e05d147172e6daf4c7305bd WHIRLPOOL 5abb9950f246725404bcf90254b5dc189023197a2e87367cf621235ac987b62638b861a61b7222c473c49a83b0ebee55139569f286eb8ab3e2dccef03617eab3 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/0.45-fix-format-errors.patch b/dev-perl/Proc-ProcessTable/files/0.45-fix-format-errors.patch new file mode 100644 index 000000000000..c7bbec993446 --- /dev/null +++ b/dev-perl/Proc-ProcessTable/files/0.45-fix-format-errors.patch @@ -0,0 +1,30 @@ +https://rt.cpan.org/Public/Bug/Display.html?id=48445 +--- Proc-ProcessTable-0.45/os/Linux.c ++++ Proc-ProcessTable-0.45/os/Linux.c +@@ -397,7 +397,7 @@ + + /* copy the path onto our obstack, set the value (somewhere in pts) + * and free the results of canonicalize_file_name */ +- obstack_printf(mem_pool, link); ++ obstack_printf(mem_pool, "%s", link); + obstack_1grow(mem_pool, '\0'); + + *ptr = (char *) obstack_finish(mem_pool); +@@ -618,7 +618,7 @@ + bzero(prs, sizeof(struct procstat)); + + /* intilize the format string */ +- obstack_printf(&mem_pool, get_string(STR_DEFAULT_FORMAT)); ++ obstack_printf(&mem_pool, "%s", get_string(STR_DEFAULT_FORMAT)); + obstack_1grow(&mem_pool, '\0'); + format_str = (char *) obstack_finish(&mem_pool); + +--- Proc-ProcessTable-0.45/ProcessTable.xs ++++ Proc-ProcessTable-0.45/ProcessTable.xs +@@ -388,5 +388,5 @@ + char* error; + + if( (error = OS_initialize()) != NULL ){ +- croak(error); ++ croak("%s", error); + } diff --git a/dev-perl/Proc-ProcessTable/files/0.45-pthread.patch b/dev-perl/Proc-ProcessTable/files/0.45-pthread.patch new file mode 100644 index 000000000000..537e2926c4d7 --- /dev/null +++ b/dev-perl/Proc-ProcessTable/files/0.45-pthread.patch @@ -0,0 +1,15 @@ +https://rt.cpan.org/Public/Bug/Display.html?id=46861 +--- Proc-ProcessTable-0.45/hints/linux.pl ++++ Proc-ProcessTable-0.45/hints/linux.pl +@@ -1 +1,11 @@ ++# We might have a non-threading perl, which doesn't add this ++# necessary link option. ++use Config; ++my $thread_lib = "-lpthread"; ++ ++if( $Config{libs} !~ /$thread_lib/ ) { ++ $self->{LIBS} ||= []; ++ push @{ $self->{LIBS} }, $thread_lib; ++} ++ + symlink "os/Linux.c", "OS.c" || die "Could not link os/Linux.c to os/OS.c\n"; 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> |