I'm worried for you.

You should roll all third party modules to live servers using either precompiled packages that ship with your platform, or that you create yourself with the package management system that works on your platform. This applies to binary modules OR non-binary modules. If your platform doesn't have a package management system, you should get one. Managing more than one server without it is a bad thing. It seems that only Gentoo Linux is missing package management - but even then you should be able to install RPM management and just use it for your custom perl modules.

If your platform doesn't have a version of a module, I would suggest using cpan2rpm or cpan2deb.pl which will make, make test, and create an rpm or .deb for your code. If your platform of choice has precompiled modules already available through a yum or apt repository then you should use those first as they are already tailored to work with your other installed software. Package management tools work just fine on all of the standard unix and linux platforms.

If you are doing truly custom stuff with lots of modifications and cpan2rpm or cpan2dep won't work you you, then you should try checkinstall which will sometimes work.

On windows, you should use PPM as another poster has already said.

Production servers should have an auditable log of the software that is installed and whether there are files there that don't belong.

my @a=qw(random brilliant braindead); print $a[rand(@a)];

In reply to Re: Secure deployment of binary perl modules by Rhandom
in thread Secure deployment of binary perl modules by KillerDll

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.