From 1a8e76e08581630695671599c65f92d489a5df52 Mon Sep 17 00:00:00 2001
From: CentOS Sources <bugs@centos.org>
Date: Tue, 16 May 2023 06:09:45 +0000
Subject: [PATCH] import perl-Mail-DKIM-1.20200907-1.el8

---
 .gitignore                |   1 +
 .perl-Mail-DKIM.metadata  |   1 +
 SPECS/perl-Mail-DKIM.spec | 197 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 199 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 .perl-Mail-DKIM.metadata
 create mode 100644 SPECS/perl-Mail-DKIM.spec

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..54e2649
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/Mail-DKIM-1.20200907.tar.gz
diff --git a/.perl-Mail-DKIM.metadata b/.perl-Mail-DKIM.metadata
new file mode 100644
index 0000000..df6d4bb
--- /dev/null
+++ b/.perl-Mail-DKIM.metadata
@@ -0,0 +1 @@
+0626f1b3b600aa20b3ad5db3e9d75ce2203c3bdd SOURCES/Mail-DKIM-1.20200907.tar.gz
diff --git a/SPECS/perl-Mail-DKIM.spec b/SPECS/perl-Mail-DKIM.spec
new file mode 100644
index 0000000..3a087df
--- /dev/null
+++ b/SPECS/perl-Mail-DKIM.spec
@@ -0,0 +1,197 @@
+Name:           perl-Mail-DKIM
+Version:        1.20200907
+Release:        1%{?dist}
+Summary:        Sign and verify Internet mail with DKIM/DomainKey signatures
+License:        GPL+ or Artistic
+URL:            http://dkimproxy.sourceforge.net/
+Source0:        https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-DKIM-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  make
+BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Crypt::OpenSSL::RSA) >= 0.24
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Digest::SHA)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Mail::Address)
+BuildRequires:  perl(Mail::AuthenticationResults)
+BuildRequires:  perl(MIME::Base64)
+BuildRequires:  perl(Net::DNS)
+BuildRequires:  perl(Net::DNS::Resolver::Mock)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::RequiresInternet)
+BuildRequires:  perl(Test::Simple)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(YAML::XS)
+Requires:       perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
+
+%description
+This module implements the various components of the DKIM and DomainKeys
+message-signing and verifying standards for Internet mail. It currently
+tries to implement RFC4871 (for DKIM) and RFC4870 (DomainKeys).
+
+It is required if you wish to enable DKIM checking in SpamAssassin via the
+Mail::SpamAssassin::Plugin::DKIM plugin.
+
+%prep
+%setup -q -n Mail-DKIM-%{version}
+# Make the example scripts non-executable
+chmod -x scripts/*.pl
+# Use the real path in the shebang
+/usr/bin/perl -pi -e 's|^#!/usr/bin/env perl|#!/usr/bin/perl|' scripts/arcverify.pl
+# Remove dos-type line endings
+/usr/bin/perl -pi -e 's/\r//' doc/qp1.txt
+
+%build
+/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
+
+
+%install
+%{make_install}
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+%{make_build} test
+
+%files
+%doc Changes doc HACKING.DKIM README.md TODO scripts/*.pl
+%license LICENSE
+%{perl_vendorlib}/*
+%{_mandir}/man3/*.3*
+
+%changelog
+* Fri Nov 04 2022 Martin Osvald <mosvald@redhat.com> - 1.20200907-1
+- Update to 1.20200907
+
+* Sun Oct 21 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.54-1
+- Update to 0.54
+- Fix shebang path in scripts/arcverify.pl
+- Fix line endings in doc/qp1.txt
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.53-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.53-2
+- Perl 5.28 rebuild
+
+* Mon Jun 18 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.53-1
+- 0.53 bump
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.52-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Jan 31 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-1
+- 0.52 bump
+
+* Wed Jan 10 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.50-1
+- 0.50 bump
+
+* Thu Oct 19 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.44-1
+- 0.44 bump
+
+* Thu Oct 12 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.43-1
+- 0.43 bump
+
+* Fri Aug 11 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.42-1
+- 0.42 bump
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Tue Jun 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-1
+- 0.41 bump
+
+* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.40-11
+- Perl 5.26 rebuild
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.40-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.40-9
+- Perl 5.24 rebuild
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.40-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.40-6
+- Perl 5.22 rebuild
+
+* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.40-5
+- Perl 5.20 rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 0.40-2
+- Perl 5.18 rebuild
+
+* Tue May 21 2013 Nick Bebout <nb@fedoraproject.org> - 0.40-1
+- Update to 0.40
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Wed Nov 21 2012 Petr Ĺ abata <contyk@redhat.com> - 0.39-7
+- Add missing build dependencies
+- Drop command macros
+
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 0.39-5
+- Perl 5.16 rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.39-3
+- Perl mass rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sun Dec 5 2010 Nick Bebout <nb@fedoraproject.org> - 0.39-1
+- Update to 0.39 to fix bug # 659003
+
+* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.37-3
+- Mass rebuild with perl-5.12.0
+
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.37-2
+- rebuild against perl 5.10.1
+
+* Wed Sep 9 2009 Warren Togami <wtogami@redhat.com> - 0.37-1
+- 0.37
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Jun 10 2009 Kyle VanderBeek <kylev@kylev.com> - 0.33-2
+- Revise network-driven testing exclusions.
+
+* Wed Jun 10 2009 Kyle VanderBeek <kylev@kylev.com> - 0.33-1
+- Update to 0.33
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Jun 23 2008 Kyle VanderBeek <kylev@kylev.com> - 0.32-3
+- Disable some tests that require network access and fail inside koji
+
+* Wed Jun 18 2008 Kyle VanderBeek <kylev@kylev.com> - 0.32-2
+- Make example scripts non-executable to avoid dep detection bloat.
+
+* Tue Jun 17 2008 Kyle VanderBeek <kylev@kylev.com> - 0.32-1
+- Initial version.
+