Skip to content

Commit 2db1968

Browse files
committed
wip: Try adding /var/cfengine/bin/openssl back into ent client packages to enable diagnostics like listing ciphers
1 parent f606833 commit 2db1968

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packaging/cfengine-nova/cfengine-nova.spec.in

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,13 @@ rm -f $RPM_BUILD_ROOT%{prefix}/lib/libpromises.so
7272
rm -f $RPM_BUILD_ROOT%{prefix}/lib/cfengine-enterprise.la
7373
rm -rf $RPM_BUILD_ROOT%{prefix}/share/CoreBase
7474
rm -f $RPM_BUILD_ROOT%{prefix}/bin/getfacl
75-
rm -f $RPM_BUILD_ROOT%{prefix}/bin/openssl
7675
rm -f $RPM_BUILD_ROOT%{prefix}/bin/curl
7776
rm -f $RPM_BUILD_ROOT%{prefix}/bin/wcurl
78-
rm -rf $RPM_BUILD_ROOT%{prefix}/ssl
7977

78+
# Add an openssl symlink if openssl binary doesn't exist
79+
if ! [ -f $RPM_BUILD_ROOT%{prefix}/bin/openssl ]; then
80+
ln -s `which openssl` $RPM_BUILD_ROOT%{prefix}/bin/openssl
81+
fi
8082

8183
# Remove enterprise systemd units
8284
rm -rf $RPM_BUILD_ROOT/usr/lib/systemd/system/cf-apache.service

0 commit comments

Comments
 (0)