2017-02-17 16:49:15 +00:00
|
|
|
%global provider github
|
2016-04-29 20:39:04 +00:00
|
|
|
%global provider_tld com
|
|
|
|
%global project sgallagher
|
|
|
|
%global repo sscg
|
|
|
|
# https://github.com/sgallagher/sscg
|
|
|
|
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
|
|
|
|
%global import_path %{provider_prefix}
|
2015-03-30 21:10:41 +00:00
|
|
|
|
2016-04-29 20:39:04 +00:00
|
|
|
|
2017-02-16 21:48:40 +00:00
|
|
|
Name: sscg
|
2020-06-23 18:14:34 +00:00
|
|
|
Version: 2.6.2
|
2021-03-17 12:12:10 +00:00
|
|
|
Release: 4%{?dist}
|
2016-05-25 20:39:43 +00:00
|
|
|
Summary: Simple SSL certificate generator
|
2015-03-30 21:10:41 +00:00
|
|
|
|
|
|
|
License: BSD
|
2016-04-29 20:39:04 +00:00
|
|
|
URL: https://%{provider_prefix}
|
2017-12-18 20:24:37 +00:00
|
|
|
Source0: https://%{provider_prefix}/releases/download/%{repo}-%{version}/%{repo}-%{version}.tar.xz
|
2015-03-30 21:10:41 +00:00
|
|
|
|
2017-02-16 21:48:40 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: libtalloc-devel
|
2016-04-29 20:39:04 +00:00
|
|
|
BuildRequires: openssl-devel
|
2017-02-16 21:48:40 +00:00
|
|
|
BuildRequires: popt-devel
|
|
|
|
BuildRequires: libpath_utils-devel
|
2017-12-18 20:24:37 +00:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: ninja-build
|
2018-09-17 14:31:10 +00:00
|
|
|
BuildRequires: help2man
|
|
|
|
|
2019-12-13 16:58:06 +00:00
|
|
|
|
2015-03-30 21:10:41 +00:00
|
|
|
%description
|
|
|
|
A utility to aid in the creation of more secure "self-signed"
|
|
|
|
certificates. The certificates created by this tool are generated in a
|
|
|
|
way so as to create a CA certificate that can be safely imported into a
|
|
|
|
client machine to trust the service certificate without needing to set
|
|
|
|
up a full PKI environment and without exposing the machine to a risk of
|
|
|
|
false signatures from the service certificate.
|
|
|
|
|
|
|
|
%prep
|
2019-12-13 16:58:06 +00:00
|
|
|
%autosetup -p1
|
2015-03-30 21:10:41 +00:00
|
|
|
|
2016-05-31 14:00:31 +00:00
|
|
|
|
2015-03-30 21:10:41 +00:00
|
|
|
%build
|
2017-12-18 20:24:37 +00:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2015-03-30 21:10:41 +00:00
|
|
|
|
|
|
|
%install
|
2017-12-18 20:24:37 +00:00
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%check
|
2020-04-30 15:02:14 +00:00
|
|
|
%meson_test -t 10
|
2015-03-30 21:10:41 +00:00
|
|
|
|
|
|
|
%files
|
2017-02-16 21:48:40 +00:00
|
|
|
%license COPYING
|
2017-02-17 16:49:15 +00:00
|
|
|
%doc README.md
|
2017-02-16 21:48:40 +00:00
|
|
|
%{_bindir}/%{name}
|
2018-09-17 14:31:10 +00:00
|
|
|
%{_mandir}/man8/%{name}.8*
|
2015-03-30 21:10:41 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-03-17 12:12:10 +00:00
|
|
|
* Wed Mar 17 2021 Stephen Gallagher <sgallagh@redhat.com> - 2.6.2-4
|
|
|
|
- Updating to rebuild against the latest glibc
|
|
|
|
|
2021-01-27 20:59:31 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 11:24:23 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-23 18:14:34 +00:00
|
|
|
* Tue Jun 23 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.6.2-1
|
|
|
|
- Update to 2.6.2
|
|
|
|
- Handle very short and very long passphrases properly (fixes rhbz#1850183)
|
2020-06-23 18:24:56 +00:00
|
|
|
- Drop upstreamed patch
|
2020-06-23 18:14:34 +00:00
|
|
|
|
2020-04-30 15:35:18 +00:00
|
|
|
* Thu Apr 30 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.6.1-4
|
|
|
|
- Rebuild with corrected ELN macro definitions
|
|
|
|
|
2020-04-30 15:02:14 +00:00
|
|
|
* Thu Apr 30 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.6.1-3
|
|
|
|
- Don't bother running clang-format in the RPM build
|
|
|
|
- Lengthen the test timeout so ARM tests pass
|
|
|
|
|
2020-01-31 00:13:07 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-09 19:15:57 +00:00
|
|
|
* Thu Jan 09 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.6.1-1
|
|
|
|
- Bugfixes from upstream
|
|
|
|
|
2019-12-13 16:58:06 +00:00
|
|
|
* Fri Dec 13 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.6.0-2
|
|
|
|
- Fix incorrect help description for --client-key-file
|
|
|
|
|
2019-12-13 16:35:04 +00:00
|
|
|
* Fri Dec 13 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.6.0-1
|
|
|
|
- Update to 2.6.0
|
|
|
|
- Can now generate an empty CRL file.
|
|
|
|
- Can now create and store a Diffie-Hellman parameters (dhparams) file.
|
|
|
|
- Support for setting a password on private keys.
|
|
|
|
- Support for generating a client authentication certificate and key.
|
|
|
|
- Better support for OpenSSL 1.0
|
|
|
|
|
2019-07-27 00:05:39 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-03 08:30:51 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-11-28 14:32:39 +00:00
|
|
|
* Wed Nov 28 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.5.1-1
|
|
|
|
- Update to 2.5.1
|
|
|
|
- Fixes discovered by automated testing.
|
|
|
|
|
2018-11-28 13:42:25 +00:00
|
|
|
* Wed Nov 28 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.5.0-1
|
|
|
|
- Update to 2.5.0
|
|
|
|
- Auto-detect the hash algorithm to use by default.
|
|
|
|
|
2018-11-27 21:31:52 +00:00
|
|
|
* Tue Nov 27 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.4.0-1
|
|
|
|
- Update to 2.4.0
|
|
|
|
- Autodetect the minimum key strength from the system security level.
|
|
|
|
- Disallow setting a key strength below the system minimum.
|
|
|
|
|
|
|
|
- Drop upstreamed patches
|
|
|
|
|
2018-09-17 14:31:10 +00:00
|
|
|
* Mon Sep 17 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.3.3-4
|
|
|
|
- Add a manpage.
|
|
|
|
|
2018-07-14 06:40:16 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 17:35:03 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-02 18:05:25 +00:00
|
|
|
* Fri Feb 02 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.3.3-1
|
2018-01-25 15:49:46 +00:00
|
|
|
- Update to 2.3.3
|
2018-02-02 18:05:25 +00:00
|
|
|
- Do not overwrite destination files without --force
|
|
|
|
|
|
|
|
* Thu Jan 25 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.3.2-1
|
|
|
|
- Update to 2.3.2
|
2018-01-25 15:49:46 +00:00
|
|
|
- Properly support hostnames up to 64 characters
|
|
|
|
- Resolves: rhbz#1535537
|
|
|
|
|
2018-01-03 02:50:07 +00:00
|
|
|
* Tue Jan 02 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.3.1-2
|
|
|
|
- Skip tests on 32-bit ARM for now
|
|
|
|
|
2018-01-03 02:11:46 +00:00
|
|
|
* Tue Jan 02 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.3.1-1
|
|
|
|
- Update to 2.3.1
|
|
|
|
- Bundle popt 1.16 on older releases like EPEL.
|
|
|
|
|
2017-12-18 20:24:37 +00:00
|
|
|
* Mon Dec 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.3.0-1
|
|
|
|
- Update to 2.3.0
|
|
|
|
- Switch to meson build system
|
|
|
|
- Add support for non-DNS subjectAlternativeName values (issue #4)
|
|
|
|
|
2017-09-21 18:33:19 +00:00
|
|
|
* Thu Sep 21 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.2.0-1
|
|
|
|
- Reorder combined PEM file
|
|
|
|
- Resolves: RHBZ#1494208
|
|
|
|
|
2017-09-20 15:50:33 +00:00
|
|
|
* Wed Sep 20 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.1.0-1
|
|
|
|
- Add --email argument for setting emailAddress in the issuer
|
|
|
|
|
2017-08-03 08:49:41 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 19:13:47 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-04-03 13:54:49 +00:00
|
|
|
* Mon Apr 03 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.0.4-2
|
|
|
|
- Bump release to perform taskotron tests
|
|
|
|
|
2017-03-21 19:12:56 +00:00
|
|
|
* Tue Mar 21 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.0.4-1
|
|
|
|
- Update to 2.0.4
|
|
|
|
- Addresses a potential race-condition when the key and certificate share the
|
|
|
|
same file.
|
|
|
|
|
2017-03-08 20:26:10 +00:00
|
|
|
* Wed Mar 08 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.0.3-1
|
|
|
|
- Update to 2.0.3
|
|
|
|
- Adds support for setting the file mode on the output certificates
|
|
|
|
and keys.
|
|
|
|
|
2017-03-03 17:59:10 +00:00
|
|
|
* Fri Mar 03 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.0.2-1
|
|
|
|
- Update to 2.0.2
|
|
|
|
- Always run with umask(077)
|
|
|
|
|
2017-03-03 16:38:42 +00:00
|
|
|
* Fri Mar 03 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.0.1-1
|
|
|
|
- Update to 2.0.1
|
|
|
|
- Fix an issue with passing certificate lifetime explicitly
|
|
|
|
|
2017-02-17 16:49:15 +00:00
|
|
|
* Thu Feb 16 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-1
|
2017-02-16 21:48:40 +00:00
|
|
|
- Update to 2.0.0
|
|
|
|
|
2017-02-16 19:15:29 +00:00
|
|
|
* Thu Feb 16 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.1.0-6
|
|
|
|
- Exclude PPC64 from the build since it doesn't support linking to OpenSSL
|
|
|
|
|
2017-02-11 13:55:58 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-11-23 21:32:21 +00:00
|
|
|
* Wed Nov 23 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.1.0-4
|
|
|
|
- Use compat-openssl10-devel on F26+
|
|
|
|
|
2016-07-21 13:17:51 +00:00
|
|
|
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
|
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
|
|
2016-05-31 14:00:31 +00:00
|
|
|
* Tue May 31 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.1.0-2
|
|
|
|
- Debundle spacelog
|
|
|
|
|
2016-05-25 20:39:43 +00:00
|
|
|
* Wed May 25 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.1.0-1
|
|
|
|
- Update to 1.1.0
|
|
|
|
- Add support for signing service keys with an existing CA
|
|
|
|
|
2016-05-25 18:49:51 +00:00
|
|
|
* Wed May 25 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.0.4-1
|
|
|
|
- Add support for exporting the CA private key
|
|
|
|
- Fix incorrect output from -version
|
|
|
|
- Add README.md
|
|
|
|
|
2016-05-24 12:36:45 +00:00
|
|
|
* Tue May 24 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.0.3-1
|
|
|
|
- Only sign certificates after all extensions have been added
|
|
|
|
|
2016-05-24 01:13:31 +00:00
|
|
|
* Mon May 23 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.0.2-1
|
|
|
|
- Generate x509v3 certificates
|
|
|
|
|
2016-05-23 20:46:54 +00:00
|
|
|
* Mon May 23 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-1
|
|
|
|
- Fix issue with temporary file creation
|
|
|
|
|
2016-05-23 20:28:29 +00:00
|
|
|
* Mon May 23 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.0.0-1
|
2016-04-29 20:39:04 +00:00
|
|
|
- New upstream release 1.0.0
|
|
|
|
- Rewritten in Go
|
|
|
|
- Runtime depends only on OpenSSL, no more Python
|
|
|
|
- Support for writing certificate and key in a single file
|
|
|
|
|
2016-05-18 17:05:20 +00:00
|
|
|
* Wed May 18 2016 Stephen Gallagher <sgallagh@redhat.com> - 0.4.1-4
|
|
|
|
- Add requirement on python-setuptools
|
|
|
|
|
2016-02-05 00:34:48 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-10 18:10:38 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-06-19 01:38:06 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-03-30 21:10:41 +00:00
|
|
|
* Mon Mar 30 2015 Stephen Gallagher <sgallagh@redhat.com> 0.4.1-1
|
|
|
|
- Change default CA location to match service certificate
|
|
|
|
- Improve error handling
|
|
|
|
|
|
|
|
* Tue Mar 24 2015 Stephen Gallagher <sgallagh@redhat.com> 0.4.0-1
|
|
|
|
- Spec file cleanups
|
|
|
|
- PEP8 Cleanups
|
|
|
|
- Make location arguments optional
|
|
|
|
|
|
|
|
* Mon Mar 23 2015 Stephen Gallagher <sgallagh@redhat.com> 0.3.0-1
|
|
|
|
- Rename to sscg
|
|
|
|
- Only build with default python interpreter
|
|
|
|
|
|
|
|
* Tue Mar 17 2015 Stephen Gallagher <sgallagh@redhat.com> 0.2.1-1
|
|
|
|
- Include the LICENSE file in the tarball
|
|
|
|
|
|
|
|
* Tue Mar 17 2015 Stephen Gallagher <sgallagh@redhat.com> 0.2-2
|
|
|
|
- Include the license in the build RPMs
|
|
|
|
|
|
|
|
* Tue Mar 17 2015 Stephen Gallagher <sgallagh@redhat.com> 0.2-1
|
|
|
|
- Add support for namedConstraints
|
|
|
|
- Add support for subjectAltNames
|
|
|
|
- Fix packaging issues from Fedora package review
|
|
|
|
|
|
|
|
* Mon Mar 16 2015 Stephen Gallagher <sgallagh@redhat.com> 0.1-2
|
|
|
|
- Update BuildRequires
|
|
|
|
|
|
|
|
* Mon Mar 16 2015 Stephen Gallagher <sgallagh@redhat.com> 0.1-1
|
|
|
|
- First packaging
|