[devel] [SCM] packages/freeipa: heads/sisyphus
Dmitry V. Levin
ldv на altlinux.org
Пн Авг 21 14:22:04 MSK 2017
On Mon, Aug 21, 2017 at 11:16:47AM +0000, Aleksei Nikiforov wrote:
> Update of /people/darktemplar/packages/freeipa.git
>
> Changes statistics since `4.3.3-alt4' follows:
> freeipa.spec | 11 ++++++++++-
> freeipa/daemons/ipa-slapi-plugins/libotp/hotp.c | 3 ++-
> 2 files changed, 12 insertions(+), 2 deletions(-)
>
> Changelog since `4.3.3-alt4' follows:
> commit 5bef3c77076a4e3d3b80f9b6be2bfffd04a3a7be
> Author: Aleksei Nikiforov <darktemplar на altlinux>
> Date: Mon Aug 21 11:05:22 2017 +0300
>
> 4.3.3-alt5
>
> - Enabled tests.
>
> Full diff since `4.3.3-alt4' follows:
> diff --git a/freeipa.spec b/freeipa.spec
> index 270132d..d20bf29 100644
> --- a/freeipa.spec
> +++ b/freeipa.spec
> @@ -12,7 +12,7 @@
>
> Name: freeipa
> Version: 4.3.3
> -Release: alt4
> +Release: alt5
> Summary: The Identity, Policy and Audit system
>
> Group: System/Base
> @@ -76,6 +76,9 @@ BuildRequires: libini_config-devel
>
> BuildRequires: rhino
>
> +# next packages are required for tests
> +BuildRequires: libcmocka-devel krb5-kinit python2.7(yubico) python2.7(usb.core) python2.7(qrcode) nss_wrapper
s/next/the following/
%{?!_without_check:%{?!_disable_check:BuildRequires: libcmocka-devel krb5-kinit python2.7(yubico) python2.7(usb.core) python2.7(qrcode) nss_wrapper}}
> +
> %description
> IPA is an integrated solution to provide centrally managed Identity
> (machine, user, virtual machines, groups, authentication credentials),
> @@ -454,6 +457,9 @@ touch %buildroot%_localstatedir/lib/ipa/pki-ca/publish
> mkdir -p %buildroot%_sysconfdir/pki/ca-trust/source/
> touch %buildroot%_sysconfdir/pki/ca-trust/source/ipa.p11-kit
>
> +%check
> +%make check VERBOSE=yes
> +
> %files server
> %doc COPYING README Contributors.txt
> %_sbindir/*
> @@ -691,6 +697,9 @@ fi
> %_man1dir/ipa-test-task.1.*
>
> %changelog
> +* Mon Aug 21 2017 Aleksei Nikiforov <darktemplar на altlinux> 4.3.3-alt5
> +- Enabled tests.
> +
> * Thu Aug 10 2017 Mikhail Efremov <sem на altlinux> 4.3.3-alt4
> - Add %%apache_conf_dir macro.
> - Move ipa_configured script to server-common subpackage.
> diff --git a/freeipa/daemons/ipa-slapi-plugins/libotp/hotp.c b/freeipa/daemons/ipa-slapi-plugins/libotp/hotp.c
> index 619bc63..4c9e79c 100644
> --- a/freeipa/daemons/ipa-slapi-plugins/libotp/hotp.c
> +++ b/freeipa/daemons/ipa-slapi-plugins/libotp/hotp.c
> @@ -49,6 +49,7 @@
> #include <pk11pub.h>
> #include <hasht.h>
> #include <prnetdb.h>
> +#include <endian.h>
>
> struct digest_buffer {
> uint8_t buf[SHA512_LENGTH];
> @@ -137,7 +138,7 @@ bool hotp(const struct hotp_token *token, uint64_t counter, uint32_t *out)
> int i;
>
> /* Convert counter to network byte order. */
> - counter = PR_htonll(counter);
> + counter = htobe64(counter);
>
> /* Find the mech. */
> for (i = 0; algo2mech[i].algo; i++) {
--
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : signature.asc
Тип : application/pgp-signature
Размер : 801 байтов
Описание: отсутствует
Url : <http://lists.altlinux.org/pipermail/devel/attachments/20170821/d5ab3434/attachment.bin>
Подробная информация о списке рассылки Devel