re-licensed to artistic2

This commit is contained in:
git@daemon.de
2015-02-12 15:18:18 +01:00
parent 2bd22cfca6
commit 6597804217
10 changed files with 78 additions and 58 deletions

View File

@@ -1,3 +1,7 @@
1.16
re-licensed from artistic1 to artistic2 in order to be
compatible to fedora packaging. no code changes otherwise
1.15
fixed github#8, using File::Temp instead of self baked
File::Spec.

View File

@@ -1,7 +1,8 @@
#
# Copyright (c) 2011-2015 T.Linden <tlinden |AT| cpan.org>.
# All Rights Reserved. Std. disclaimer applies.
# Artistic License, same as perl itself. Have fun.
# Copyright (c) 2011-2015 T.v.Dein <tlinden |AT| cpan.org>.
#
# Licensed under the terms of the Artistic License 2.0
# see: http://www.perlfoundation.org/artistic_license_2_0
#
require 5.004;
@@ -32,7 +33,7 @@ WriteMakefile(
'Shell' => 0.5,
'File::Temp' => 0,
},
'AUTHOR' => 'Thomas Linden <tlinden@cpan.org>',
'AUTHOR' => 'T.v.Dein <tlinden@cpan.org>',
'clean' => {
FILES => 't/*.out *~ */*~ */*/*~ */*/*/*~'
},

13
README
View File

@@ -32,10 +32,13 @@ INSTALLATION
COPYRIGHT
Crypt::PWSafe3
Copyright (c) 2011-2012 by T. Linden <tlinden@cpan.org>
Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>
This library is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
LICENSE
This program is free software; you can redistribute it
and/or modify it under the same terms of the Artistic
License 2.0, see: L<http://www.perlfoundation.org/artistic_license_2_0>
HOMEPAGE
@@ -45,9 +48,9 @@ HOMEPAGE
AUTHOR
T. Linden <tlinden |AT| cpan.org>
T.v.Dein <tlinden |AT| cpan.org>
VERSION
1.15
1.16

View File

@@ -1,7 +1,8 @@
#
# Copyright (c) 2011-2015 T.Linden <tlinden |AT| cpan.org>.
# All Rights Reserved. Std. disclaimer applies.
# Artistic License, same as perl itself. Have fun.
# Copyright (c) 2011-2015 T.v.Dein <tlinden |AT| cpan.org>.
#
# Licensed under the terms of the Artistic License 2.0
# see: http://www.perlfoundation.org/artistic_license_2_0
#
# Implements:
# http://passwordsafe.svn.sourceforge.net/viewvc/passwordsafe/trunk/pwsafe/pwsafe/docs/formatV3.txt?revision=2139
@@ -28,7 +29,7 @@ use Data::Dumper;
use Exporter ();
use vars qw(@ISA @EXPORT);
$Crypt::PWSafe3::VERSION = '1.15';
$Crypt::PWSafe3::VERSION = '1.16';
use Crypt::PWSafe3::Field;
use Crypt::PWSafe3::HeaderField;
@@ -929,7 +930,7 @@ how to create new ones
=head1 AUTHOR
T. Linden <tlinden@cpan.org>
T.v.Dein <tlinden@cpan.org>
=head1 BUGS
@@ -959,17 +960,17 @@ in this module are his ideas ported to perl.
=head1 COPYRIGHT
Copyright (c) 2011-2015 by T.Linden <tlinden@cpan.org>.
All rights reserved.
Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>.
=head1 LICENSE
This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
and/or modify it under the same terms of the Artistic
License 2.0, see: L<http://www.perlfoundation.org/artistic_license_2_0>
=head1 VERSION
Crypt::PWSafe3 Version 1.15.
Crypt::PWSafe3 Version 1.16.
=cut

View File

@@ -1,7 +1,8 @@
#
# Copyright (c) 2011-2015 T.Linden <tlinden |AT| cpan.org>.
# All Rights Reserved. Std. disclaimer applies.
# Artistic License, same as perl itself. Have fun.
# Copyright (c) 2011-2015 T.v.Dein <tlinden |AT| cpan.org>.
#
# Licensed under the terms of the Artistic License 2.0
# see: http://www.perlfoundation.org/artistic_license_2_0
#
package Crypt::PWSafe3::Field;
@@ -12,7 +13,7 @@ use Exporter ();
use vars qw(@ISA @EXPORT);
use utf8;
$Crypt::PWSafe3::Field::VERSION = '1.04';
$Crypt::PWSafe3::Field::VERSION = '1.05';
%Crypt::PWSafe3::Field::map2type = (
uuid => 0x01,
@@ -171,18 +172,18 @@ L<Crypt::PWSafe3::Record>
=head1 AUTHOR
T. Linden <tlinden@cpan.org>
T.v.Dein <tlinden@cpan.org>
=head1 COPYRIGHT
Copyright (c) 2011-2015 by T.Linden <tlinden@cpan.org>.
Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>.
All rights reserved.
=head1 LICENSE
This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
and/or modify it under the same terms of the Artistic
License 2.0, see: L<http://www.perlfoundation.org/artistic_license_2_0>
=cut

View File

@@ -1,7 +1,9 @@
#
# Copyright (c) 2011-2015 T.Linden <tlinden |AT| cpan.org>.
# All Rights Reserved. Std. disclaimer applies.
# Artistic License, same as perl itself. Have fun.
# Copyright (c) 2011-2015 T.v.Dein <tlinden |AT| cpan.org>.
#
# Licensed under the terms of the Artistic License 2.0
# see: http://www.perlfoundation.org/artistic_license_2_0
#
#
package Crypt::PWSafe3::HeaderField;
@@ -11,7 +13,7 @@ use Exporter ();
use vars qw(@ISA @EXPORT);
use utf8;
$Crypt::PWSafe3::HeaderField::VERSION = '1.03';
$Crypt::PWSafe3::HeaderField::VERSION = '1.04';
%Crypt::PWSafe3::HeaderField::map2name = (
0x00 => "version",
@@ -196,18 +198,18 @@ L<Crypt::PWSafe3>
=head1 AUTHOR
T. Linden <tlinden@cpan.org>
T.v.Dein <tlinden@cpan.org>
=head1 COPYRIGHT
Copyright (c) 2011-2015 by T.Linden <tlinden@cpan.org>.
Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>.
All rights reserved.
=head1 LICENSE
This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
and/or modify it under the same terms of the Artistic
License 2.0, see: L<http://www.perlfoundation.org/artistic_license_2_0>
=cut

View File

@@ -1,7 +1,8 @@
#
# Copyright (c) 2011-2015 T.Linden <tlinden |AT| cpan.org>.
# All Rights Reserved. Std. disclaimer applies.
# Artistic License, same as perl itself. Have fun.
# Copyright (c) 2011-2015 T.v.Dein <tlinden |AT| cpan.org>.
#
# Licensed under the terms of the Artistic License 2.0
# see: http://www.perlfoundation.org/artistic_license_2_0
#
package Crypt::PWSafe3::PasswordPolicy;
@@ -12,7 +13,7 @@ use Exporter ();
use vars qw(@ISA @EXPORT);
use utf8;
$Crypt::PWSafe3::PasswordPolicy::VERSION = '1.00';
$Crypt::PWSafe3::PasswordPolicy::VERSION = '1.01';
my %flagbits = (
UseLowercase => 0x8000,
@@ -191,17 +192,18 @@ L<Crypt::PWSafe3::Record>
=head1 AUTHOR
T. Linden <tlinden@cpan.org>
T.v.Dein <tlinden@cpan.org>
=head1 COPYRIGHT
Copyright (c) 2011-2015 by T.Linden <tlinden@cpan.org>.
Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>.
All rights reserved.
=head1 LICENSE
This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
and/or modify it under the same terms of the Artistic
License 2.0, see: L<http://www.perlfoundation.org/artistic_license_2_0>
=cut

View File

@@ -1,7 +1,8 @@
#
# Copyright (c) 2011-2015 T.Linden <tlinden |AT| cpan.org>.
# All Rights Reserved. Std. disclaimer applies.
# Artistic License, same as perl itself. Have fun.
# Copyright (c) 2011-2015 T.v.Dein <tlinden |AT| cpan.org>.
#
# Licensed under the terms of the Artistic License 2.0
# see: http://www.perlfoundation.org/artistic_license_2_0
#
package Crypt::PWSafe3::Record;
@@ -14,7 +15,7 @@ my %map2type = %Crypt::PWSafe3::Field::map2type;
my %map2name = %Crypt::PWSafe3::Field::map2name;
$Crypt::PWSafe3::Record::VERSION = '1.07';
$Crypt::PWSafe3::Record::VERSION = '1.08';
foreach my $field (keys %map2type ) {
eval qq(
@@ -326,17 +327,18 @@ L<Crypt::PWSafe3>
=head1 AUTHOR
T. Linden <tlinden@cpan.org>
T.v.Dein <tlinden@cpan.org>
=head1 COPYRIGHT
Copyright (c) 2011-2015 by T.Linden <tlinden@cpan.org>.
Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>.
All rights reserved.
=head1 LICENSE
This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
and/or modify it under the same terms of the Artistic
License 2.0, see: L<http://www.perlfoundation.org/artistic_license_2_0>
=cut

View File

@@ -1,13 +1,14 @@
#
# Copyright (c) 2011-2015 T.Linden <tlinden |AT| cpan.org>.
# All Rights Reserved. Std. disclaimer applies.
# Artistic License, same as perl itself. Have fun.
# Copyright (c) 2011-2015 T.v.Dein <tlinden |AT| cpan.org>.
#
# Licensed under the terms of the Artistic License 2.0
# see: http://www.perlfoundation.org/artistic_license_2_0
#
# helper class to provide SHA-256 to HMAC class
package Crypt::PWSafe3::SHA256;
$Crypt::PWSafe3::SHA256::VERSION = '1.01';
$Crypt::PWSafe3::SHA256::VERSION = '1.02';
use Digest::SHA;
@@ -38,7 +39,7 @@ instead.
=head1 AUTHOR
T. Linden <tlinden@cpan.org>
T.v.Dein <tlinden@cpan.org>
=head1 SEE ALSO
@@ -48,13 +49,13 @@ L<Digest::HMAC>
=head1 COPYRIGHT
Copyright (c) 2011-2015 by T.Linden <tlinden@cpan.org>.
All rights reserved.
Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>.
=head1 LICENSE
This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
and/or modify it under the same terms of the Artistic
License 2.0, see: L<http://www.perlfoundation.org/artistic_license_2_0>
=cut

View File

@@ -1,12 +1,15 @@
#!perl -T
#
# testscript for Crypt::PWSafe3 Classes by Thomas Linden
# testscript for Crypt::PWSafe3 Classes by T.v.Dein
#
# needs to be invoked using the command "make test" from
# the Crypt::PWSafe3 source directory.
#
# Under normal circumstances every test should succeed.
#
# Licensed under the terms of the Artistic License 2.0
# see: http://www.perlfoundation.org/artistic_license_2_0
#
use Data::Dumper;
#use Test::More tests => 57;