Name: key-manager
Summary: Central Key Manager and utilities
-Version: 0.1.15
+Version: 0.1.16
Release: 1
Group: System/Security
License: Apache-2.0
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(security-manager)
+BuildRequires: pkgconfig(cynara-client-async)
+BuildRequires: pkgconfig(cynara-creds-socket)
BuildRequires: boost-devel
Requires: libkey-manager-common = %{version}-%{release}
%{?systemd_requires}
cp -a %{SOURCE1003} .
cp -a %{SOURCE1004} .
+# optional password disabled temporary for milestone release
+%define ckm_optional_password_enable 0
+
%build
%if 0%{?sec_build_binary_debug_enable}
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
%if "%{sec_product_feature_security_mdfpp_enable}" == "1"
-DSECURITY_MDFPP_STATE_ENABLE=1 \
%endif
+%if 0%{?ckm_optional_password_enable}
+ -DOPTIONAL_PASSWORD_ENABLE=1 \
+%endif
-DSYSTEMD_UNIT_DIR=%{_unitdir} \
-DSYSTEMD_ENV_FILE="/etc/sysconfig/central-key-manager" \
-DMOCKUP_SM=%{?mockup_sm:%mockup_sm}%{!?mockup_sm:OFF}
%{_datadir}/ckm-db-test/XML_1_wrong.xsd
%{_datadir}/ckm-db-test/XML_2_structure.xml
%{_bindir}/ckm_so_loader
+%{_bindir}/ckm_db_tool
%files -n key-manager-pam-plugin
%defattr(-,root,root,-)