* Re: [devel] [SCM] packages/freeipa: heads/sisyphus
@ 2017-08-21 11:22 ` Dmitry V. Levin
0 siblings, 0 replies; only message in thread
From: Dmitry V. Levin @ 2017-08-21 11:22 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 2992 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-21 11:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-21 11:22 ` [devel] [SCM] packages/freeipa: heads/sisyphus Dmitry V. Levin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git