Compare commits

...

10 Commits

Author SHA256 Message Date
131957b4ea Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=13
2024-07-19 23:21:36 +00:00
5b77be3fd3 Accepting request 344444 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/344444
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=12
2015-11-15 13:26:57 +00:00
Stephan Kulow
dabb64d57a Accepting request 297449 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/297449
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=11
2015-04-17 07:19:50 +00:00
Stephan Kulow
33764ae133 use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=10
2011-11-17 15:24:48 +00:00
Stephan Kulow
8a203af2e2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=8 2011-11-11 11:15:08 +00:00
Stephan Kulow
7ec0583505 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=7
2010-12-03 13:59:20 +00:00
Stephan Kulow
381d3dc065 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=6
2010-12-01 13:40:11 +00:00
Stephan Kulow
3c3997754a - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=5
2010-11-29 18:53:31 +00:00
Stephan Kulow
2dd1e02dd6 - recreated by cpanspec 1.78.02
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=4
2010-11-29 14:15:51 +00:00
Stephan Kulow
2b37fa1bb5 remove .packlist file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-GeneratePassword?expand=0&rev=3
2010-11-28 11:42:39 +00:00
5 changed files with 117 additions and 53 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:443cc1628f4f97210adf92f63f50eac8e49258da5a8624f06abf331e7cba26db
size 160419

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d69f3756bcfd79a9b9985fadef33909f62989590322a21163f93d75293019b66
size 221245

20
cpanspec.yml Normal file
View 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

View File

@@ -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

View File

@@ -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