| |
@@ -74,7 +74,7 @@
|
| |
BuildRequires: /usr/bin/pod2man
|
| |
BuildRequires: perl(Test::Harness), perl(Test::More), perl(Math::BigInt)
|
| |
BuildRequires: perl(Module::Load::Conditional)
|
| |
- Requires: coreutils, make
|
| |
+ Requires: coreutils
|
| |
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
| |
|
| |
%description
|
| |
@@ -292,7 +292,7 @@
|
| |
%install
|
| |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
| |
# Install OpenSSL.
|
| |
- install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir},%{_mandir},%{_libdir}/openssl}
|
| |
+ install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir},%{_pkgdocdir},%{_mandir},%{_libdir}/openssl}
|
| |
make DESTDIR=$RPM_BUILD_ROOT install
|
| |
rename so.%{soversion} so.%{version} $RPM_BUILD_ROOT%{_libdir}/*.so.%{soversion}
|
| |
for lib in $RPM_BUILD_ROOT%{_libdir}/*.so.%{version} ; do
|
| |
@@ -304,9 +304,9 @@
|
| |
# Install a makefile for generating keys and self-signed certs, and a script
|
| |
# for generating them on the fly.
|
| |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/certs
|
| |
- install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/certs/Makefile
|
| |
- install -m755 %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/make-dummy-cert
|
| |
- install -m755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/renew-dummy-cert
|
| |
+ install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_pkgdocdir}/Makefile.certificate
|
| |
+ install -m755 %{SOURCE6} $RPM_BUILD_ROOT%{_pkgdocdir}/make-dummy-cert
|
| |
+ install -m755 %{SOURCE7} $RPM_BUILD_ROOT%{_pkgdocdir}/renew-dummy-cert
|
| |
|
| |
# Move runable perl scripts to bindir
|
| |
mv $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/misc/*.pl $RPM_BUILD_ROOT%{_bindir}
|
| |
@@ -381,9 +381,9 @@
|
| |
%{!?_licensedir:%global license %%doc}
|
| |
%license LICENSE
|
| |
%doc FAQ NEWS README README.FIPS
|
| |
- %{_bindir}/make-dummy-cert
|
| |
- %{_bindir}/renew-dummy-cert
|
| |
- %{_sysconfdir}/pki/tls/certs/Makefile
|
| |
+ %{_pkgdocdir}/make-dummy-cert
|
| |
+ %{_pkgdocdir}/renew-dummy-cert
|
| |
+ %{_pkgdocdir}/Makefile.certificate
|
| |
%{_bindir}/openssl
|
| |
%{_mandir}/man1*/*
|
| |
%{_mandir}/man5*/*
|
| |
These scripts have existed for a long time; the history dates past
the import from CVS.
Since then, a lot has changed; probably most notably is the existence
of Let's Encrypt. For private/internal
use cases, there are tons of other tools, such as
Dogtag
etc.
The
Makefile
introduces a dependency onmake
which is embarrassingto include in Fedora Atomic Host by default (and particularly now
that GNU Make pulls in guile). For a bit of background on the
make
dependency, see: RH bugzilla #783446
These scripts were never portable across distributions, so while I'm sure there
are some people out there using them, it's really time to basically deprecate
them and point people at more serious replacements. This is the first step in
that, by moving them into /usr/share/doc.