Compare commits
No commits in common. "c8" and "c9s" have entirely different histories.
|
@ -1,2 +1,37 @@
|
|||
SOURCES/talloc-2.4.0.tar.gz
|
||||
SOURCES/talloc.keyring
|
||||
/talloc-2.0.6.tar.gz
|
||||
/talloc-2.0.7.tar.gz
|
||||
/talloc-2.0.8.tar.gz
|
||||
/talloc-2.1.0.tar.gz
|
||||
/talloc-2.1.1.tar.gz
|
||||
/talloc-2.1.2.tar.gz
|
||||
/talloc-2.1.3.tar.gz
|
||||
/talloc-2.1.4.tar.gz
|
||||
/talloc-2.1.5.tar.gz
|
||||
/talloc-2.1.6.tar.gz
|
||||
/talloc-2.1.7.tar.gz
|
||||
/talloc-2.1.8.tar.gz
|
||||
/talloc-2.1.9.tar.gz
|
||||
/talloc-2.1.10.tar.gz
|
||||
/talloc-2.1.11.tar.gz
|
||||
/talloc-2.1.12.tar.gz
|
||||
/talloc-2.1.13.tar.gz
|
||||
/talloc-2.1.14.tar.gz
|
||||
/talloc-2.1.15.tar.gz
|
||||
/talloc-2.1.16.tar.gz
|
||||
/talloc-2.2.0.tar.gz
|
||||
/talloc-2.3.0.tar.gz
|
||||
/talloc-2.3.0.tar.asc
|
||||
/talloc-2.3.1.tar.gz
|
||||
/talloc-2.3.1.tar.asc
|
||||
/talloc-2.3.2.tar.asc
|
||||
/talloc-2.3.2.tar.gz
|
||||
/talloc-2.3.3.tar.gz
|
||||
/talloc-2.3.3.tar.asc
|
||||
/talloc-2.3.4.tar.asc
|
||||
/talloc-2.3.4.tar.gz
|
||||
/talloc-2.4.0.tar.asc
|
||||
/talloc-2.4.0.tar.gz
|
||||
/talloc-2.4.1.tar.gz
|
||||
/talloc-2.4.1.tar.asc
|
||||
/talloc-2.4.2.tar.asc
|
||||
/talloc-2.4.2.tar.gz
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
eed6d0fd3cdc28c3f4fd5d5f2895edd1d6d45bb2 SOURCES/talloc-2.4.0.tar.gz
|
||||
182bae75e48aca2e5d40cd13d93d31b4443bd06d SOURCES/talloc.keyring
|
||||
3094368eaa5f4486f12f54beeae2fb1eabc209a0 talloc-2.4.2.tar.asc
|
||||
775ee0798f23bf13cd8dc3df1742fff7648d6052 talloc-2.4.2.tar.gz
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmPILkUACgkQR5ORYRMI
|
||||
QCWJ6gf+OEsTcNvqSrDQKqt6nYl3OvqMwK3MWUeNOUJD5JtUkCzBmUGWiiVfalHA
|
||||
eGUePYXfi7UH9Oo0OfihlKIMqdzrfV5+jciWtcZYtThTkv5jX+qkF52idO7FU58j
|
||||
KGgClxSlAp2C+hddoHXNTjwIuflAsVt75swNrn+Z15IjMlIpsKwxwlUbVuTwu6SH
|
||||
CKPG6pCr5wECoee9oJI9L4Lkz/zKP0sUxrE4JQWU2NoWwYxr6sFVuZ2nJ6aaBIl/
|
||||
y4JsUwDVL2kQDHIzawNd+uQ7a8zIN2nnYUtaEJq26Rh7fnYighOq+AvHFlt9AY+t
|
||||
/p866fF+QRxSFHRYHzZTLk3ww3hRnQ==
|
||||
=0Wd2
|
||||
-----END PGP SIGNATURE-----
|
|
@ -0,0 +1,6 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
@ -1,12 +1,6 @@
|
|||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%bcond_without python3
|
||||
%else
|
||||
%bcond_with python3
|
||||
%endif
|
||||
|
||||
Name: libtalloc
|
||||
Version: 2.4.0
|
||||
Release: 3%{?dist}
|
||||
Version: 2.4.2
|
||||
Release: 1%{?dist}
|
||||
Summary: The talloc library
|
||||
License: LGPL-3.0-or-later
|
||||
URL: https://talloc.samba.org/
|
||||
|
@ -15,16 +9,11 @@ Source0: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.gz
|
|||
Source1: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.asc
|
||||
Source2: https://download.samba.org/pub/samba/samba-pubkey.asc#/talloc.keyring
|
||||
|
||||
# Patches
|
||||
Patch0001: 0003-wafsamba-Fix-few-SyntaxWarnings-caused-by-regular-ex.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: docbook-style-xsl
|
||||
%if %{with python3}
|
||||
BuildRequires: python3-devel
|
||||
%endif
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gnupg2
|
||||
|
||||
|
@ -42,7 +31,6 @@ Requires: libtalloc = %{version}-%{release}
|
|||
%description devel
|
||||
Header files needed to develop programs that link against the Talloc library.
|
||||
|
||||
%if %{with python3}
|
||||
%package -n python3-talloc
|
||||
Summary: Python bindings for the Talloc library
|
||||
Requires: libtalloc = %{version}-%{release}
|
||||
|
@ -58,15 +46,12 @@ Requires: python3-talloc = %{version}-%{release}
|
|||
|
||||
%description -n python3-talloc-devel
|
||||
Development libraries for python3-talloc
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -n talloc-%{version} -p1
|
||||
|
||||
%build
|
||||
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
||||
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
|
||||
export python_LDFLAGS=""
|
||||
|
||||
%configure --disable-rpath \
|
||||
--disable-rpath-install \
|
||||
|
@ -96,7 +81,6 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
|
|||
%{_mandir}/man3/talloc*.3*
|
||||
%{_mandir}/man3/libtalloc*.3*
|
||||
|
||||
%if %{with python3}
|
||||
%files -n python3-talloc
|
||||
%{_libdir}/libpytalloc-util.cpython*.so.*
|
||||
%{python3_sitearch}/talloc.cpython*.so
|
||||
|
@ -105,66 +89,100 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
|
|||
%{_includedir}/pytalloc.h
|
||||
%{_libdir}/pkgconfig/pytalloc-util.cpython-*.pc
|
||||
%{_libdir}/libpytalloc-util.cpython*.so
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%if %{with python3}
|
||||
%ldconfig_scriptlets -n python3-talloc
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 06 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-3
|
||||
- resolves: rhbz#2190419 - Rebuild to trigger distrobaker sync
|
||||
* Wed Apr 24 2024 Pavel Filipenský <pfilipen@redhat.com> - 2.4.2-1
|
||||
- resolves: RHEL-33758 - Rebase to version 2.4.2
|
||||
|
||||
* Wed May 24 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-2
|
||||
- resolves: rhbz#2190419 - Add missing tests to fix osci.brew-build.tier0.functional
|
||||
* Thu Nov 30 2023 Andreas Schneider <asn@redhat.com> - 2.4.1-1
|
||||
- resolves: RHEL-16479 - Rebase to version 2.4.1
|
||||
|
||||
* Thu May 18 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-1
|
||||
- resolves: rhbz#2190419 - Rebase to version 2.4.0
|
||||
* Mon Jun 05 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-2
|
||||
- resolves: rhbz#2190418 - Rebuilt to retrigger brew build
|
||||
|
||||
* Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 2.3.4-1
|
||||
- resolves: rhbz#2132056 - Update to version 2.3.4
|
||||
* Tue May 16 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-1
|
||||
- resolves: rhbz#2190418 - Rebase to version 2.4.0
|
||||
|
||||
* Thu Aug 11 2022 Andreas Schneider <asn@redhat.com> - 2.3.3-2
|
||||
- resolves: rhbz#2100088 - Rebuild to include python3-talloc-devel in CRB
|
||||
* Thu Oct 20 2022 Andreas Schneider <asn@redhat.com> - 2.3.4-1
|
||||
- resolves: rhbz#2132000 - Rebase to version 2.3.4
|
||||
|
||||
* Thu Nov 25 2021 Pavel Filipenský <pfilipen@redhat.com> - 2.3.3-1
|
||||
- resolves: rhbz#2013601 - Update to version 2.3.3
|
||||
* Mon Nov 29 2021 Pavel Filipenský <pfilipen@redhat.com> - 2.3.3-1
|
||||
- resolves: rhbz#2013581 - Rebase to version 2.3.3
|
||||
|
||||
* Tue May 11 2021 Andreas Schneider <asn@redhat.com> - 2.3.2-1
|
||||
- resolves: rhbz#1945014 - Update to version 2.3.2
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.2-5
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 2.3.1-2
|
||||
- resolves: rhbz#1817560 - Update to version 2.3.1
|
||||
* Mon May 31 2021 Andreas Schneider <asn@redhat.com> - 2.3.2-4
|
||||
- related: rhbz#1962773 - Rebuilt for running gating tests
|
||||
|
||||
* Mon Nov 25 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-7
|
||||
- related: rhbz#1754417 - Fix PY3 symbol names
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.2-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Nov 20 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-1
|
||||
- Resolves: rhbz#1754417 - Rebase talloc to version 2.2.0 for samba
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Apr 30 2019 Jakub Hrozek <jhrozek@redhat.com> - 2.1.16-3
|
||||
- Also obsolete python2-libtalloc-debuginfo
|
||||
- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8
|
||||
* Mon Jan 25 2021 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.2-1
|
||||
- libtalloc-2.3.2 is available
|
||||
|
||||
* Tue Apr 30 2019 Jakub Hrozek <jhrozek@redhat.com> - 2.1.16-2
|
||||
- Remove python2 libraries on upgrade
|
||||
- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8
|
||||
* Thu Oct 22 2020 Andreas Schneider <asn@redhat.com> - 2.3.1-6
|
||||
- Spec file cleanup and improvements
|
||||
|
||||
* Wed Apr 3 2019 Jakub Hrozek <jhrozek@redhat.com> - 2.1.16-1
|
||||
- Resolves: rhbz#1684577 - Rebase libtalloc to version 2.1.16 for Samba
|
||||
- Resolves: rhbz#1597315 - libtalloc uses Python 2 to build
|
||||
- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Sep 18 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-3
|
||||
- Resolves: rhbz#1624136 - Review annocheck distro flag failures in libtalloc
|
||||
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.3.1-4
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-2
|
||||
- Use pathfix.py to select python2 instead of python
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.3.1-3
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jan 22 2020 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.1-1
|
||||
- rhbz#1748815 - libtalloc-2.3.1 is available
|
||||
|
||||
* Wed Sep 11 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.0-1
|
||||
- rhbz#1748815 - libtalloc-2.3.0 is available
|
||||
|
||||
* Mon Aug 26 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.2.0-1
|
||||
- rhbz#1691297 - libtalloc-2.2.0 is available
|
||||
- rhbz#1737644 - libldb, libtalloc, libtevent, libtdb: Remove Python 2 subpackages from Fedora 31+
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.16-5
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Jun 14 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.16-3
|
||||
- rhbz#1718113 - samba fail to build with Python 3.8
|
||||
AttributeError: module 'time' has no attribute 'clock'
|
||||
|
||||
* Mon Jun 03 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.16-2
|
||||
- rhbz#1711638 - fails to build with Python 3.8.0a4
|
||||
|
||||
* Tue Feb 26 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.16-1
|
||||
- rhbz#1683211 - libtalloc-2.1.16 is available
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jan 17 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.15-1
|
||||
- rhbz#1667471 - libtalloc-2.1.15 is available
|
||||
|
||||
* Fri Jul 13 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-2
|
||||
- Drop the unneeded ABI hide patch
|
||||
- Use pathfix.py instead of a local patch to munge the python path
|
||||
|
||||
* Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-1
|
||||
- New upstream release - 2.1.14
|
||||
- Apply a patch to hide local ABI symbols to avoid issues with new binutils
|
||||
- Patch the waf script to explicitly call python2 as "env python" doesn't
|
||||
yield py2 anymore
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
SHA512 (talloc-2.4.2.tar.asc) = ab3cf2c1770a2d77bcbe950d20cf1509f5827cd773bc0153ffa301dc96de9bcec2c10ec57d7dfdf4ca0bdd4e41eed0dd896faecbcf15527e5b2ab5a50b27e4b3
|
||||
SHA512 (talloc-2.4.2.tar.gz) = fb91665ffbe0cce96b1359940ff3ed21330c81c5331140788a26aa94f82b50492176e6000ff54b31d1a434bb1cb53a6a2c7894153545252a1fd91bda7c05a213
|
Binary file not shown.
|
@ -0,0 +1,14 @@
|
|||
SRCS = testsuite.c testsuite_main.c
|
||||
CFLAG = -Wall -Wextra -Werror=implicit-function-declaration
|
||||
CC = gcc
|
||||
LIBS = -ltalloc
|
||||
OBJS = talloc_testsuite
|
||||
|
||||
talloc_testsuite:${SRCS}
|
||||
${CC} ${CFLAGS} -o $@ ${SRCS} ${LIBS}
|
||||
|
||||
run: talloc_testsuite
|
||||
./talloc_testsuite
|
||||
|
||||
clean:
|
||||
-rm -f *~ ${OBJS}
|
|
@ -0,0 +1,5 @@
|
|||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#define PTR_DIFF(p1,p2) ((ptrdiff_t)(((const char *)(p1)) - (const char *)(p2)))
|
|
@ -0,0 +1 @@
|
|||
#include <sys/time.h>
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef __LIB_TALLOC_TALLOC_TESTSUITE_H__
|
||||
#define __LIB_TALLOC_TALLOC_TESTSUITE_H__
|
||||
|
||||
struct torture_context;
|
||||
bool torture_local_talloc(struct torture_context *tctx);
|
||||
|
||||
#endif
|
|
@ -0,0 +1,4 @@
|
|||
#/bin/bash
|
||||
|
||||
make run || exit 1
|
||||
make clean || exit 2
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
Unix SMB/CIFS implementation.
|
||||
|
||||
local testing of talloc routines.
|
||||
|
||||
Copyright (C) Andrew Tridgell 2004
|
||||
|
||||
** NOTE! The following LGPL license applies to the talloc
|
||||
** library. This does NOT imply that all of Samba is released
|
||||
** under the LGPL
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 3 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "replace.h"
|
||||
|
||||
#include "talloc_testsuite.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
bool ret = torture_local_talloc(NULL);
|
||||
if (!ret)
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- sanity-tests:
|
||||
dir: sanity-tests
|
||||
run: ./talloctest.sh
|
||||
required_packages:
|
||||
- make
|
||||
- gcc
|
||||
- libtalloc
|
||||
- libtalloc-devel
|
Loading…
Reference in New Issue