Blame SPECS/sscg.spec

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