Browse files

Flag this module as deprecated

  • Loading branch information...
1 parent 1d8022b commit 05d034fa4cdd0babe5f45c4c4092074973683740 @jibsheet jibsheet committed Oct 12, 2012
Showing with 58 additions and 58 deletions.
  1. +10 −2 Makefile.PL
  2. +44 −50 README
  3. +4 −6 lib/RT/Crypt/SMIME.pm
View
12 Makefile.PL
@@ -2,13 +2,21 @@ use inc::Module::Install;
RTx('RT-Crypt-SMIME');
author ('Jesse Vincent <jesse@bestpractical.com>');
-version_from ('lib/RT/Crypt/SMIME.pm');
-abstract_from('lib/RT/Crypt/SMIME.pm');
+all_from ('lib/RT/Crypt/SMIME.pm');
+readme_from('lib/RT/Crypt/SMIME.pm');
license('perl');
requires('Test::More');
requires('Hook::LexWrap');
requires('IPC::Run3');
requires('String::ShellQuote');
requires('File::Temp');
+{
+ my @v = split /\./, "$RT::VERSION";
+ unless ($v[0] == 3 && $v[1] == 6) {
+ die "\n\nRT-Crypt-SMIME only works on RT 3.6.x (you have $RT::VERSION).\n\n\n";
+ }
+}
+
+sign();
&WriteAll;
View
94 README
@@ -1,51 +1,45 @@
-RT::Crypt::SMIME(3) User Contributed Perl Documentation RT::Crypt::SMIME(3)
+NAME
+ RT::Crypt::SMIME - DEPRECATED - An RT extension to perform S/MIME
+ encryption and decryption for mail RT sends
+
+SYNOPSIS
+ This extension is deprecated. It only works with RT 3.6 which is unsupported.
+
+ # In your RT_SiteConfig.pm, add the following configuration directives
+ use RT::Crypt::SMIME;
+ Set($OpenSSLPath, '/usr/bin/openssl'); # or wherever openssl lives
+ Set($SMIMEKeys, '/opt/rt3/etc'); # This directory should contain RT's private keys and certificates in address.pem files
+ Set($SMIMEPasswords, { address => 'squeamish ossifrage'); # The private passphrases for RT's private keys
+ @MailPlugins = (qw(Auth::MailFrom Auth::SMIME));
+
+AUTHOR
+ Jesse Vincent "<jesse@bestpractical.com>"
+
+LICENCE AND COPYRIGHT
+ Copyright (c) 2006,2012 Best Practical Solutions, LLC.
+
+ This module is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself. See perlartistic.
+
+DISCLAIMER OF WARRANTY
+ BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+ FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+ PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
+ EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
+ ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
+ YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
+ NECESSARY SERVICING, REPAIR, OR CORRECTION.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+ REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
+ TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+ SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+ FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGES.
-
-
-NNAAMMEE
- RT::Crypt::SMIME − An RT extension to perform S/MIME encryption and
- decryption for mail RT sends
-
-SSYYNNOOPPSSIISS
- # In your RT_SiteConfig.pm, add the following configuration directives
- use RT::Crypt::SMIME;
- Set($OpenSSLPath, ’/usr/bin/openssl’); # or wherever openssl lives
- Set($SMIMEKeys, ’/opt/rt3/etc’); # This directory should contain RT’s private keys and certificates in address.pem files
- Set($SMIMEPasswords, { address => ’squeamish ossifrage’); # The private passphrases for RT’s private keys
- @MailPlugins = (qw(Auth::MailFrom Auth::SMIME));
-
-DDEESSCCRRIIPPTTIIOONN
-MMEETTHHOODDSS
-AAUUTTHHOORR
- Jesse Vincent "<jesse@bestpractical.com>"
-
-LLIICCEENNCCEE AANNDD CCOOPPYYRRIIGGHHTT
- Copyright (c) 2006, Best Practical Solutions, LLC.
-
- This module is free software; you can redistribute it and/or modify it
- under the same terms as Perl itself. See perlartistic.
-
-DDIISSCCLLAAIIMMEERR OOFF WWAARRRRAANNTTYY
- BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
- FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
- WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
- PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
- EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
- ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
- YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
- NECESSARY SERVICING, REPAIR, OR CORRECTION.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
- REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
- TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CON‐
- SEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFT‐
- WARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
- INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
- THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER
- OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-
-
-perl v5.8.8 2008‐04‐28 RT::Crypt::SMIME(3)
View
10 lib/RT/Crypt/SMIME.pm
@@ -13,10 +13,12 @@ use IO::Handle ();
=head1 NAME
-RT::Crypt::SMIME - An RT extension to perform S/MIME encryption and decryption for mail RT sends
+RT::Crypt::SMIME - DEPRECATED - An RT extension to perform S/MIME encryption and decryption for mail RT sends
=head1 SYNOPSIS
+
+ This extension is deprecated. It only works with RT 3.6 which is unsupported.
# In your RT_SiteConfig.pm, add the following configuration directives
use RT::Crypt::SMIME;
@@ -25,10 +27,6 @@ RT::Crypt::SMIME - An RT extension to perform S/MIME encryption and decryption f
Set($SMIMEPasswords, { address => 'squeamish ossifrage'); # The private passphrases for RT's private keys
@MailPlugins = (qw(Auth::MailFrom Auth::SMIME));
-=head1 DESCRIPTION
-
-
-=head1 METHODS
=cut
@@ -253,7 +251,7 @@ Jesse Vincent C<< <jesse@bestpractical.com> >>
=head1 LICENCE AND COPYRIGHT
-Copyright (c) 2006, Best Practical Solutions, LLC.
+Copyright (c) 2006,2012 Best Practical Solutions, LLC.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. See L<perlartistic>.

0 comments on commit 05d034f

Please sign in to comment.