Compare commits
10 Commits
07caa8422b
...
131957b4ea
Author | SHA256 | Date | |
---|---|---|---|
131957b4ea | |||
5b77be3fd3 | |||
|
dabb64d57a | ||
|
33764ae133 | ||
|
8a203af2e2 | ||
|
7ec0583505 | ||
|
381d3dc065 | ||
|
3c3997754a | ||
|
2dd1e02dd6 | ||
|
2b37fa1bb5 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:443cc1628f4f97210adf92f63f50eac8e49258da5a8624f06abf331e7cba26db
|
||||
size 160419
|
3
Crypt-GeneratePassword-0.05.tar.gz
Normal file
3
Crypt-GeneratePassword-0.05.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d69f3756bcfd79a9b9985fadef33909f62989590322a21163f93d75293019b66
|
||||
size 221245
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 15 09:33:30 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.05
|
||||
see /usr/share/doc/packages/perl-Crypt-GeneratePassword/Changes
|
||||
|
||||
0.05 2015-11-14 NEILB
|
||||
- Updated github repo URL after changing my github username
|
||||
- Added [MetaJSON] to dist.ini so META.json is included in releases
|
||||
- Doc: changed usage of "local $^W" to "no warnings 'redefine'"
|
||||
- Fixed a couple of typos in the doc
|
||||
- Dropped usage of "use vars"
|
||||
- Module didn't have the required final "1;" or equivalent.
|
||||
Was only by luck it had been.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 21:17:40 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.04
|
||||
see /usr/share/doc/packages/perl-Crypt-GeneratePassword/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:31:16 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:29:35 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove /var/adm/perl-modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 14:15:18 UTC 2010 - coolo@novell.com
|
||||
|
||||
- recreated by cpanspec 1.78.02
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 28 11:37:44 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove .packlist file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 08:38:27 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,55 +1,69 @@
|
||||
#
|
||||
# spec file for package perl-Crypt-GeneratePassword
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# norootforbuild
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: perl-Crypt-GeneratePassword
|
||||
%define real_name Crypt-GeneratePassword
|
||||
Summary: GeneratePassword - generate secure random pronounceable passwords
|
||||
Url: http://search.cpan.org/perldoc?Crypt::GeneratePassword
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic License
|
||||
Version: 0.03
|
||||
Release: 1
|
||||
Vendor: openSUSE-Education
|
||||
Source: %{real_name}-%{version}.tar.bz2
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%define cpan_name Crypt-GeneratePassword
|
||||
Name: perl-Crypt-GeneratePassword
|
||||
Version: 0.50.0
|
||||
Release: 0
|
||||
# 0.05 -> normalize -> 0.50.0
|
||||
%define cpan_version 0.05
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Generate secure random pronounceable passwords
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Provides: perl(Crypt::GeneratePassword) = %{version}
|
||||
Provides: perl(Crypt::GeneratePassword::de)
|
||||
Provides: perl(Crypt::GeneratePassword::en)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Crypt::GeneratePassword generates random passwords that are (more or less)
|
||||
pronounceable. Unlike Crypt::RandPasswd, it doesn't use the FIPS-181 NIST
|
||||
standard, which is proven to be insecure. It does use a similar interface, so
|
||||
it should be a drop-in replacement in most cases.
|
||||
standard, which is proven to be insecure. It does use a similar interface,
|
||||
so it should be a drop-in replacement in most cases.
|
||||
|
||||
If you want to use passwords from a different language than english, you can
|
||||
use one of the packaged alternate unit tables or generate your own. See below
|
||||
for details.
|
||||
If you want to use passwords from a different language than english, you
|
||||
can use one of the packaged alternate unit tables or generate your own. See
|
||||
below for details.
|
||||
|
||||
For details on why FIPS-181 is insecure and why the solution used in this
|
||||
module is reasonably secure, see "A New Attack on Random Pronounceable Password
|
||||
Generators" by Ravi Ganesan and Chris Davies, available online in may places -
|
||||
use your favourite search engine.
|
||||
module is reasonably secure, see "A New Attack on Random Pronounceable
|
||||
Password Generators" by Ravi Ganesan and Chris Davies, available online in
|
||||
may places - use your favourite search engine.
|
||||
|
||||
This module improves on FIPS-181 using a true random selection with the word
|
||||
generator as mere filter. Other improvements are better pronounceability using
|
||||
third order approximation instead of second order and multi-language support.
|
||||
Drawback of this method is that it is usually slower. Then again, computer
|
||||
speed has improved a little since 1977.
|
||||
|
||||
Author:
|
||||
-------
|
||||
Jörg Walter <jwalt@cpan.org>
|
||||
|
||||
This module improves on FIPS-181 using a true random selection with the
|
||||
word generator as mere filter. Other improvements are better
|
||||
pronounceability using third order approximation instead of second order
|
||||
and multi-language support. Drawback of this method is that it is usually
|
||||
slower. Then again, computer speed has improved a little since 1977.
|
||||
|
||||
%prep
|
||||
%setup -n %{real_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?jobs:-j%jobs}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -57,21 +71,10 @@ make test
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
%files -f %{name}.files
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc Changes README MANIFEST
|
||||
%doc %{_mandir}/man?/*
|
||||
%dir %{perl_vendorarch}/auto/Crypt
|
||||
%dir %{perl_vendorarch}/auto/Crypt/GeneratePassword
|
||||
%dir %{perl_vendorlib}/Crypt
|
||||
%dir %{perl_vendorlib}/Crypt/GeneratePassword
|
||||
%{perl_vendorarch}/auto/Crypt/GeneratePassword/.packlist
|
||||
%{perl_vendorlib}/Crypt/*.pm
|
||||
%{perl_vendorlib}/Crypt/GeneratePassword/*.pm
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user