Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 265801 Details for
Bug 358389
net-analyzer/smokeping bundles perl-core/JSON-PP
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
move JSON-1 to /usr/share/smokeping
smokeping-JSON.patch (text/plain), 1.43 KB, created by
Torsten Veller (RETIRED)
on 2011-03-14 09:23:43 UTC
(
hide
)
Description:
move JSON-1 to /usr/share/smokeping
Filename:
MIME Type:
Creator:
Torsten Veller (RETIRED)
Created:
2011-03-14 09:23:43 UTC
Size:
1.43 KB
patch
obsolete
>Index: smokeping-2.4.2-r3.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/smokeping-2.4.2-r3.ebuild,v >retrieving revision 1.5 >diff -u -B -r1.5 smokeping-2.4.2-r3.ebuild >--- smokeping-2.4.2-r3.ebuild 13 Mar 2011 20:38:53 -0000 1.5 >+++ smokeping-2.4.2-r3.ebuild 14 Mar 2011 09:17:49 -0000 >@@ -21,6 +21,7 @@ > virtual/perl-libnet > >=net-analyzer/rrdtool-1.2[perl] > >=net-analyzer/fping-2.4_beta2-r2 >+ dev-perl/Config-Grammar > dev-perl/Digest-HMAC > dev-perl/libwww-perl > dev-perl/CGI-Session >@@ -43,8 +44,13 @@ > src_prepare() { > rm -rf lib/Digest # provided by dev-perl/Digest-HMAC > rm -rf lib/CGI # provided by dev-perl/CGI-Session >+ rm -rf lib/Config # provided by dev-perl/Config-Grammar > rm -r lib/{BER.pm,SNMP_Session.pm,SNMP_util.pm} # dev-perl/SNMP_Session > rm qooxdoo/qooxdoolink >+ >+ PERL5SMOKEPING="/usr/share/${PN}/perl5" >+ sed -i "/^use strict;/a\use lib '${PERL5SMOKEPING}';" \ >+ "${S}"/lib/Qooxdoo/JSONRPC.pm || die > } > > src_compile() { >@@ -53,7 +59,13 @@ > } > > src_install() { >- # First move all the perl modules into the vendor lib area of Perl >+ # Install JSON-1 outside of perl's @INC path >+ insinto ${PERL5SMOKEPING} >+ doins lib/JSON.pm >+ insinto ${PERL5SMOKEPING}/JSON >+ doins -r lib/JSON/* >+ rm -r lib/JSON lib/JSON.pm >+ # Install the remaining perl modules into the vendor lib area of Perl > perlinfo > insinto ${VENDOR_LIB}/ > doins -r lib/*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 358389
:
265559
| 265801