diff --git a/_service b/_service index 70331c3..d3e85c4 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/kanidm/kanidm.git @PARENT_TAG@~git@TAG_OFFSET@.%h git - v1.1.0-alpha.5 + v1.1.0-alpha.6 v* v(\d+\.\d+\.\d+)-alpha\.(\d+) \1~alpha\2 @@ -16,10 +16,13 @@ xz + kanidm diff --git a/cargo_config b/cargo_config index 6fb4ff4..5987e53 100644 --- a/cargo_config +++ b/cargo_config @@ -1,5 +1,10 @@ [source.crates-io] replace-with = "vendored-sources" +[source."https://github.com/yewstack/yew"] +git = "https://github.com/yewstack/yew" +rev = "1280dfd8315b893e96727b5ca5ad852919563823" +replace-with = "vendored-sources" + [source.vendored-sources] -directory = "vendor" \ No newline at end of file +directory = "vendor" diff --git a/kanidm-1.1.0~alpha5~git0.4be329e.tar.xz b/kanidm-1.1.0~alpha5~git0.4be329e.tar.xz deleted file mode 100644 index c8c92dd..0000000 --- a/kanidm-1.1.0~alpha5~git0.4be329e.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:49804f58618be2d11a6827e8926c6cf7427a07556df440fadf0c9e93bf1a9114 -size 2477976 diff --git a/kanidm-1.1.0~alpha6~git0.c9f4b1d.tar.xz b/kanidm-1.1.0~alpha6~git0.c9f4b1d.tar.xz new file mode 100644 index 0000000..e102680 --- /dev/null +++ b/kanidm-1.1.0~alpha6~git0.c9f4b1d.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb971febceb5575fe5d2d828a15fb07226d386673f585cd6de6e86812bd0664f +size 2618836 diff --git a/kanidm.changes b/kanidm.changes index ab01caf..8e4e9dc 100644 --- a/kanidm.changes +++ b/kanidm.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Oct 01 02:10:02 UTC 2021 - wbrown@suse.de + +- bsc#1191031 - use _pam_moduledir in spec macros +- Update to version 1.1.0~alpha6~git0.c9f4b1d: + * (cargo-release) version 1.1.0-alpha.6 + * Added an interactive cli dialog to kanidm login (#584) + * Add support for storing security token key in domain config (#581) + * Remove auditscope for tracing (#580) + * Entry Arc Tracking to reduce memory footprint (#579) + * Rewrite how we store the internals of valuesets in entries (#578) + * Improving logging and docs around unixd/PAM/NSS (#577) + * Swap to tide-openssl (#575) + * Start to remove audit scope :) (#574) + * Fix io capture in tests (#573) + ------------------------------------------------------------------- Wed Jul 07 02:36:51 UTC 2021 - wbrown@suse.de diff --git a/kanidm.spec b/kanidm.spec index 3bbe31a..564a38d 100644 --- a/kanidm.spec +++ b/kanidm.spec @@ -19,7 +19,7 @@ %global rustflags -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 Name: kanidm -Version: 1.1.0~alpha5~git0.4be329e +Version: 1.1.0~alpha6~git0.c9f4b1d Release: 0 Summary: A identity management service and clients. License: ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR ISC OR MIT ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT ) AND ( CC0-1.0 OR Apache-2.0 ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND MPL-2.0 AND MPL-2.0+ @@ -45,7 +45,6 @@ BuildRequires: pkgconfig(openssl) %endif Requires: %{name}-clients -# Requires: %{name}-server Requires: %{name}-unixd-clients #### START BUNDLE METADATA @@ -122,7 +121,11 @@ install -D -d -m 0755 %{buildroot}%{_unitdir} install -D -d -m 0755 %{buildroot}%{_sbindir} install -D -d -m 0755 %{buildroot}%{_bindir} install -D -d -m 0755 %{buildroot}%{_libdir} +%if 0%{?suse_version} > 1549 +install -D -d -m 0755 %{buildroot}/%{_pam_moduledir} +%else install -D -d -m 0755 %{buildroot}/%_lib/security +%endif install -D -d -m 0755 %{buildroot}%{_datadir}/kanidm install -D -d -m 0755 %{buildroot}%{_datadir}/kanidm/docs/ install -D -d -m 0755 %{buildroot}%{_datadir}/kanidm/ui/ @@ -140,7 +143,11 @@ install -m 0755 %{_builddir}/%{name}-%{version}/target/release/kanidm_unixd %{bu install -m 0755 %{_builddir}/%{name}-%{version}/target/release/kanidm_unixd_tasks %{buildroot}%{_sbindir}/kanidm_unixd_tasks install -m 0755 %{_builddir}/%{name}-%{version}/target/release/kanidm_unixd_status %{buildroot}%{_bindir}/kanidm_unixd_status install -m 0644 %{_builddir}/%{name}-%{version}/target/release/libnss_kanidm.so %{buildroot}%{_libdir}/libnss_kanidm.so.2 +%if 0%{?suse_version} > 1549 +install -m 0644 %{_builddir}/%{name}-%{version}/target/release/libpam_kanidm.so %{buildroot}/%{_pam_moduledir}/pam_kanidm.so +%else install -m 0644 %{_builddir}/%{name}-%{version}/target/release/libpam_kanidm.so %{buildroot}/%_lib/security/pam_kanidm.so +%endif install -m 0644 %{_builddir}/%{name}-%{version}/platform/opensuse/kanidmd.service %{buildroot}%{_unitdir}/kanidmd.service install -m 0644 %{_builddir}/%{name}-%{version}/platform/opensuse/kanidm-unixd.service %{buildroot}%{_unitdir}/kanidm-unixd.service @@ -183,14 +190,13 @@ install -m 0644 %{_builddir}/%{name}-%{version}/kanidm_book/src/why_tls.md %{bui ## TODO: Add /usr/share/kanidm/ui/pkg install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/bundle.js %{buildroot}%{_datadir}/kanidm/ui/pkg/bundle.js +install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/style.css %{buildroot}%{_datadir}/kanidm/ui/pkg/style.css install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/kanidmd_web_ui.js %{buildroot}%{_datadir}/kanidm/ui/pkg/kanidmd_web_ui.js install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/kanidmd_web_ui_bg.wasm %{buildroot}%{_datadir}/kanidm/ui/pkg/kanidmd_web_ui_bg.wasm install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/package.json %{buildroot}%{_datadir}/kanidm/ui/pkg/package.json - install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/external/bootstrap.min.css %{buildroot}%{_datadir}/kanidm/ui/pkg/external/bootstrap.min.css -install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/external/bootstrap.min.js %{buildroot}%{_datadir}/kanidm/ui/pkg/external/bootstrap.min.js -install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/external/jquery-3.3.1.slim.min.js %{buildroot}%{_datadir}/kanidm/ui/pkg/external/jquery-3.3.1.slim.min.js -install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/external/popper.min.js %{buildroot}%{_datadir}/kanidm/ui/pkg/external/popper.min.js +install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/external/bootstrap.bundle.min.js %{buildroot}%{_datadir}/kanidm/ui/pkg/external/bootstrap.bundle.min.js +install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/external/confetti.js %{buildroot}%{_datadir}/kanidm/ui/pkg/external/confetti.js ## End install @@ -288,7 +294,11 @@ install -m 0644 %{_builddir}/%{name}-%{version}/kanidmd_web_ui/pkg/external/popp %files unixd-clients %{_libdir}/libnss_kanidm.so.2 +%if 0%{?suse_version} > 1549 +%{_pam_moduledir}/pam_kanidm.so +%else /%_lib/security/pam_kanidm.so +%endif %{_sbindir}/kanidm_cache_clear %{_sbindir}/kanidm_cache_invalidate %{_sbindir}/kanidm_ssh_authorizedkeys diff --git a/vendor.tar.xz b/vendor.tar.xz index 9ccd252..c729bcf 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c48a647976ee4fcbbf854265c76b77a4828c13393786dd0481f4fd93fbc8272b -size 31898032 +oid sha256:6d0f1b0fa171a22c22f3b5a8fdf9c4100063773ae826fd81afa5b8024b1c71cc +size 28435832