SHA256
1
0
forked from pool/adcli

Accepting request 1045751 from home:elimat:branches:network:ldap

- Update to 0.9.2:
  * adenroll: set password via LDAP instead Kerberos
  * disco: fall back to LDAPS if CLDAP ping was not successful
  * tools: replace getpass()
  * adenroll: write SID before secret to Samba's db
  * doc: add clarification to add-member command on doc/adcli.xml
  * tools: Set umask before calling mkdtemp()
  * Avoid undefined behaviour in short option parsing
  * library: include endian.h for le32toh
  * man: Fix typos and use consistent upper case for some keywords
  * doc: avoid gnu-make specific usage of $<
  * configure: check for ns_get16 and ns_get32 as well
  * Add setattr and delattr options
  * entry: add passwd-user sub-command
  * Add dont-expire-password option
  * build: add --with-vendor-error-message configure option
- Remove patch fixed upstream: 0001-configure-check-for-ns_get16-and-ns_get32-as-well.patch
- Update signing key for source validation

OBS-URL: https://build.opensuse.org/request/show/1045751
OBS-URL: https://build.opensuse.org/package/show/network:ldap/adcli?expand=0&rev=17
This commit is contained in:
Samuel Cabrero 2023-01-03 11:35:51 +00:00 committed by Git OBS Bridge
parent 46b973c3b9
commit f22d2504c9
8 changed files with 44 additions and 98 deletions

View File

@ -1,38 +0,0 @@
From e841ba7513f3f8b6393183d2dea9adcbf7ba2e44 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Wed, 28 Jul 2021 12:55:16 +0200
Subject: [PATCH] configure: check for ns_get16 and ns_get32 as well
With newer versions of glibc res_query() might ba already available in
glibc with ns_get16() and ns_get32() still requires libresolv.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1984891
---
configure.ac | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index c6ff31d..fc6e790 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,13 +98,15 @@ AC_SUBST(LDAP_CFLAGS)
# -------------------------------------------------------------------
# resolv
-AC_MSG_CHECKING(for which library has res_query)
+AC_MSG_CHECKING([for which library has res_query, ns_get16 and ns_get32])
for lib in "" "-lresolv"; do
saved_LIBS="$LIBS"
LIBS="$LIBS $lib"
AC_LINK_IFELSE([
AC_LANG_PROGRAM([#include <resolv.h>],
- [res_query (0, 0, 0, 0, 0)])
+ [res_query (0, 0, 0, 0, 0);
+ ns_get32 (NULL);
+ ns_get16 (NULL);])
],
[ AC_MSG_RESULT(${lib:-libc}); have_res_query="yes"; break; ],
[ LIBS="$saved_LIBS" ])
--
2.32.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d8a2814d6792f4b06feeaefacf6f6c3605fcfa46ba6c938314386434c1a6952
size 504052

Binary file not shown.

BIN
adcli-0.9.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
adcli-0.9.2.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Thu Dec 29 21:29:52 UTC 2022 - Matthias Eliasson <elimat@opensuse.org>
- Update to 0.9.2:
* adenroll: set password via LDAP instead Kerberos
* disco: fall back to LDAPS if CLDAP ping was not successful
* tools: replace getpass()
* adenroll: write SID before secret to Samba's db
* doc: add clarification to add-member command on doc/adcli.xml
* tools: Set umask before calling mkdtemp()
* Avoid undefined behaviour in short option parsing
* library: include endian.h for le32toh
* man: Fix typos and use consistent upper case for some keywords
* doc: avoid gnu-make specific usage of $<
* configure: check for ns_get16 and ns_get32 as well
* Add setattr and delattr options
* entry: add passwd-user sub-command
* Add dont-expire-password option
* build: add --with-vendor-error-message configure option
- Remove patch fixed upstream: 0001-configure-check-for-ns_get16-and-ns_get32-as-well.patch
- Update signing key for source validation
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 13 08:46:13 UTC 2021 - Samuel Cabrero <scabrero@suse.de> Fri Aug 13 08:46:13 UTC 2021 - Samuel Cabrero <scabrero@suse.de>

View File

@ -1,52 +1,15 @@
-----BEGIN PGP PUBLIC KEY BLOCK----- -----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: 2879 39DF 062A D8C5 3876 A535 C2D7 B98A 934E EC17
Com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r3jUlaWESl/FLhOy4txe5Gvd9Xyu0oJSYXI1TH6UUaS8ewbU1
GanJD48N7Nu+JopvyzAJSbX0WY5/8wZKTTh4jlvkgCf5W0OoAfv7IOg+Tf8UuxaH
5Zk1bN5IsEo3AH50PBoEcQICCDXtmrlTDPzHhI9GvBza88OImVQGAuSQaWtc3huA
cJ1STn/eUdUDiQyFdnrbceQFdLgBpgVCDqSI1GLHDk+AydEiYC/1VYSpzHJwogPx
eb65l0MRC85s7pH847CafovrPY6kNVE/d9/qrRTBjSSjwK/KyJv2UZazQvo0j+Sc
d5I94z2f+KABJaM3G27MYUdRTXtTyRZbvFyFRZjCE7RdyrmhpsNtWtDl+q1OwUCG
9GAvaXbDzbDHV3MExZ+lIoBgK63FOo6kQ7/YjttCa0H3OeMWZcLt8QbH8jYzlNb4
85mjZPU=
=zEa+
-----END PGP PUBLIC KEY BLOCK----- -----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
# #
# spec file for package adcli # spec file for package adcli
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,20 +16,19 @@
# #
%define filehash 30880d967e79cee789194435e70fbf30 %define filehash ea560656ac921b3fe0d455976aaae9be
%define sighash 1075c948917caa32464c15ec9b6c5caf %define sighash 429430e8cf4ddac8a95fb90379adc120
Name: adcli Name: adcli
Version: 0.9.1 Version: 0.9.2
Release: 0 Release: 0
Summary: Tool for performing actions on an Active Directory domain Summary: Tool for performing actions on an Active Directory domain
License: LGPL-2.0-or-later License: LGPL-2.0-or-later
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
URL: https://gitlab.freedesktop.org/realmd/adcli URL: https://gitlab.freedesktop.org/realmd/adcli
Source0: https://gitlab.freedesktop.org/sbose/adcli/uploads/%{filehash}/%{name}-%{version}.tar.gz Source0: https://gitlab.freedesktop.org/realmd/adcli/uploads/%{filehash}/%{name}-%{version}.tar.gz
Source2: https://gitlab.freedesktop.org/sbose/adcli/uploads/%{sighash}/%{name}-%{version}.tar.gz.sig Source2: https://gitlab.freedesktop.org/realmd/adcli/uploads/%{sighash}/%{name}-%{version}.tar.gz.sig
# https://keys.openpgp.org/vks/v1/by-fingerprint/4A21C23848CDC107F487939849236C40EE9D57EB # https://keys.openpgp.org/vks/v1/by-fingerprint/287939DF062AD8C53876A535C2D7B98A934EEC17
Source3: %{name}.keyring Source3: %{name}.keyring
Patch1: 0001-configure-check-for-ns_get16-and-ns_get32-as-well.patch
BuildRequires: automake BuildRequires: automake
BuildRequires: libxslt-tools BuildRequires: libxslt-tools
BuildRequires: openldap2-devel BuildRequires: openldap2-devel