Compare commits

..

No commits in common. "c10s" and "c8" have entirely different histories.
c10s ... c8

16 changed files with 147 additions and 2473 deletions

41
.gitignore vendored
View File

@ -1,39 +1,2 @@
/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.gz
/talloc-2.3.4.tar.asc
/talloc-2.4.0.tar.gz
/talloc-2.4.0.tar.asc
/talloc-2.4.1.tar.gz
/talloc-2.4.1.tar.asc
/talloc-2.4.2.tar.gz
/talloc-2.4.2.tar.asc
/talloc-2.4.3.tar.asc
/talloc-2.4.3.tar.gz
SOURCES/talloc-2.4.1.tar.gz
SOURCES/talloc.keyring

2
.libtalloc.metadata Normal file
View File

@ -0,0 +1,2 @@
235cba1b89f265f0e7745d03c280199c8f1711e3 SOURCES/talloc-2.4.1.tar.gz
182bae75e48aca2e5d40cd13d93d31b4443bd06d SOURCES/talloc.keyring

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmS5ENkACgkQR5ORYRMI
QCWf8Af/WlOBXNzd6BBhku1mF75Sfnjzr0FNxWlFWrf9vbVH3HVrbCVNo3Rb7Llt
SfhaeXY99EsWyCOCMB4+2CI4dHNCRg6zvDNUcZgIgQG3nFWOHa8RYOZhVbDTbf2u
UPZTAXypv08rlNiqClP+sw07JIGeAumqKrwEtFuUEmwIF4ymXSnvVNpp5NJYiYlA
4XnQdH25ud4/rb5jkiLY/54zkLaEoAADb1MJqRSs0FEm6jT85rl2K9Y+n8ATsMan
+P6F1f8b6+bMJmWXR/1+AzlXTJjmJ2lHrs8CmffD0rO5bzOKBVOFvWmgM3cpsiA2
OnBQZKM6RTUChcZAZHXBC+1iqfo5Kg==
=VFin
-----END PGP SIGNATURE-----

View File

@ -1,117 +1,172 @@
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.4.2-2
- Bump release for June 2024 mass rebuild
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_without python3
%else
%bcond_with python3
%endif
* Mon Jan 29 2024 Guenther Deschner <gdeschne@redhat.com> - 2.4.2-1
- rhbz#2260954 - libtalloc-2.4.2 is available
Name: libtalloc
Version: 2.4.1
Release: 0%{?dist}
Summary: The talloc library
License: LGPL-3.0-or-later
URL: https://talloc.samba.org/
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
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
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
# Patches
* Mon Aug 07 2023 Guenther Deschner <gdeschne@redhat.com> - 2.4.1-1
- rhbz#2224330 - libtalloc-2.4.1 is available
BuildRequires: make
BuildRequires: gcc
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
%if %{with python3}
BuildRequires: python3-devel
%endif
BuildRequires: doxygen
BuildRequires: gnupg2
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Provides: bundled(libreplace)
Obsoletes: python2-talloc < 2.2.0-1
Obsoletes: python2-talloc-devel < 2.2.0-1
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.4.0-3
- Rebuilt for Python 3.12
%description
A library that implements a hierarchical allocator with destructors.
* Thu Feb 23 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-2
- SPDX migration
%package devel
Summary: Developer tools for the Talloc library
Requires: libtalloc = %{version}-%{release}
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
%description devel
Header files needed to develop programs that link against the Talloc library.
* Thu Jan 19 2023 Andreas Schneider <asn@redhat.com> - 2.4.0-1
- Update to version 2.4.0
%if %{with python3}
%package -n python3-talloc
Summary: Python bindings for the Talloc library
Requires: libtalloc = %{version}-%{release}
%{?python_provide:%python_provide python3-talloc}
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
%description -n python3-talloc
Python 3 libraries for creating bindings using talloc
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.3.4-2
- Rebuilt for Python 3.11
%package -n python3-talloc-devel
Summary: Development libraries for python3-talloc
Requires: python3-talloc = %{version}-%{release}
%{?python_provide:%python_provide python3-talloc-devel}
* Fri Jun 10 2022 Andreas Schneider <asn@redhat.com> - 2.3.4-1
- Update to version 2.3.4
- resolves: rhbz#2095127
- resolves: rhbz#2083970
%description -n python3-talloc-devel
Development libraries for python3-talloc
%endif
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
%prep
%autosetup -n talloc-%{version} -p1
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
%build
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
export python_LDFLAGS=""
* Thu Jul 15 2021 Guenther Deschner <gdeschne@redhat.com> - 2.3.3-1
- rhbz#1982578 - libtalloc-2.3.3 is available
%configure --disable-rpath \
--disable-rpath-install \
--bundled-libraries=NONE \
--builtin-libraries=replace \
--disable-silent-rules
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.3.2-3
- Rebuilt for Python 3.10
%make_build
doxygen doxy.config
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
%check
%make_build check
* Mon Jan 25 2021 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.2-1
- libtalloc-2.3.2 is available
%install
%make_install
* Thu Oct 22 2020 Andreas Schneider <asn@redhat.com> - 2.3.1-6
- Spec file cleanup and improvements
# Install API docs
cp -a doc/man/man3 %{buildroot}%{_mandir}
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
%files
%{_libdir}/libtalloc.so.*
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.3.1-4
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
%files devel
%{_includedir}/talloc.h
%{_libdir}/libtalloc.so
%{_libdir}/pkgconfig/talloc.pc
%{_mandir}/man3/talloc*.3*
%{_mandir}/man3/libtalloc*.3*
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.3.1-3
- Rebuilt for Python 3.9
%if %{with python3}
%files -n python3-talloc
%{_libdir}/libpytalloc-util.cpython*.so.*
%{python3_sitearch}/talloc.cpython*.so
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
%files -n python3-talloc-devel
%{_includedir}/pytalloc.h
%{_libdir}/pkgconfig/pytalloc-util.cpython-*.pc
%{_libdir}/libpytalloc-util.cpython*.so
%endif
* Wed Jan 22 2020 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.1-1
- rhbz#1748815 - libtalloc-2.3.1 is available
%ldconfig_scriptlets
* Wed Sep 11 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.0-1
- rhbz#1748815 - libtalloc-2.3.0 is available
%if %{with python3}
%ldconfig_scriptlets -n python3-talloc
%endif
* 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+
%changelog
* Wed Nov 15 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.1-0
- resolves: RHEL-16508 - Rebase to version 2.4.1
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.16-5
- Rebuilt for Python 3.8
* Tue Jun 06 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-3
- resolves: rhbz#2190419 - Rebuild to trigger distrobaker sync
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* 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
* 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'
* Thu May 18 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-1
- resolves: rhbz#2190419 - Rebase to version 2.4.0
* Mon Jun 03 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.16-2
- rhbz#1711638 - fails to build with Python 3.8.0a4
* Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 2.3.4-1
- resolves: rhbz#2132056 - Update to version 2.3.4
* Tue Feb 26 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.16-1
- rhbz#1683211 - libtalloc-2.1.16 is available
* Thu Aug 11 2022 Andreas Schneider <asn@redhat.com> - 2.3.3-2
- resolves: rhbz#2100088 - Rebuild to include python3-talloc-devel in CRB
* 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 Nov 25 2021 Pavel Filipenský <pfilipen@redhat.com> - 2.3.3-1
- resolves: rhbz#2013601 - Update to version 2.3.3
* Thu Jan 17 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.15-1
- rhbz#1667471 - libtalloc-2.1.15 is available
* Tue May 11 2021 Andreas Schneider <asn@redhat.com> - 2.3.2-1
- resolves: rhbz#1945014 - Update to version 2.3.2
* 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
* Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 2.3.1-2
- resolves: rhbz#1817560 - Update to version 2.3.1
* Mon Nov 25 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-7
- related: rhbz#1754417 - Fix PY3 symbol names
* 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 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
* 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
* 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 Sep 18 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-3
- Resolves: rhbz#1624136 - Review annocheck distro flag failures in libtalloc
* Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-2
- Use pathfix.py to select python2 instead of python
* 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

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,101 +0,0 @@
Name: libtalloc
Version: 2.4.3
Release: %autorelease -b 100
Summary: The talloc library
License: LGPL-3.0-or-later
URL: https://talloc.samba.org/
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
BuildRequires: make
BuildRequires: gcc
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
BuildRequires: python3-devel
BuildRequires: doxygen
BuildRequires: gnupg2
Provides: bundled(libreplace)
Obsoletes: python2-talloc < 2.2.0-1
Obsoletes: python2-talloc-devel < 2.2.0-1
%description
A library that implements a hierarchical allocator with destructors.
%package devel
Summary: Developer tools for the Talloc library
Requires: libtalloc = %{version}-%{release}
%description devel
Header files needed to develop programs that link against the Talloc library.
%package -n python3-talloc
Summary: Python bindings for the Talloc library
Requires: libtalloc = %{version}-%{release}
%{?python_provide:%python_provide python3-talloc}
%description -n python3-talloc
Python 3 libraries for creating bindings using talloc
%package -n python3-talloc-devel
Summary: Development libraries for python3-talloc
Requires: python3-talloc = %{version}-%{release}
%{?python_provide:%python_provide python3-talloc-devel}
%description -n python3-talloc-devel
Development libraries for python3-talloc
%prep
%autosetup -n talloc-%{version} -p1
%build
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
%configure --disable-rpath \
--disable-rpath-install \
--bundled-libraries=NONE \
--builtin-libraries=replace \
--disable-silent-rules
%make_build
doxygen doxy.config
%check
%make_build check
%install
%make_install
# Install API docs
cp -a doc/man/man3 %{buildroot}%{_mandir}
%files
%license LICENSE
%{_libdir}/libtalloc.so.*
%files devel
%{_includedir}/talloc.h
%{_libdir}/libtalloc.so
%{_libdir}/pkgconfig/talloc.pc
%{_mandir}/man3/talloc*.3*
%{_mandir}/man3/libtalloc*.3*
%files -n python3-talloc
%{_libdir}/libpytalloc-util.cpython*.so.*
%{python3_sitearch}/talloc.cpython*.so
%files -n python3-talloc-devel
%{_includedir}/pytalloc.h
%{_libdir}/pkgconfig/pytalloc-util.cpython-*.pc
%{_libdir}/libpytalloc-util.cpython*.so
%ldconfig_scriptlets
%ldconfig_scriptlets -n python3-talloc
%changelog
%autochangelog

View File

@ -1,2 +0,0 @@
SHA512 (talloc-2.4.3.tar.asc) = 621c551a38057e351fdcc83c773aea78b0343dabfd6206f74b8ff8798eef330c9514477ad7086da6279f517eb9e5c01d7dbac3ba1f3c7040cdddf15d41a0a51c
SHA512 (talloc-2.4.3.tar.gz) = 7174a069dd3d4ebf8c04fee3434fd50269015bb8f039839e7e7723f431d089b66fb0167e8893bff2d1c392de1ac33665e5b278168246da30d528d522b0e1d5bd

Binary file not shown.

View File

@ -1,14 +0,0 @@
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}

View File

@ -1,5 +0,0 @@
#include <stdbool.h>
#include <stddef.h>
#include <string.h>
#define PTR_DIFF(p1,p2) ((ptrdiff_t)(((const char *)(p1)) - (const char *)(p2)))

View File

@ -1 +0,0 @@
#include <sys/time.h>

View File

@ -1,7 +0,0 @@
#ifndef __LIB_TALLOC_TALLOC_TESTSUITE_H__
#define __LIB_TALLOC_TALLOC_TESTSUITE_H__
struct torture_context;
bool torture_local_talloc(struct torture_context *tctx);
#endif

View File

@ -1,4 +0,0 @@
#/bin/bash
make run || exit 1
make clean || exit 2

File diff suppressed because it is too large Load Diff

View File

@ -1,36 +0,0 @@
/*
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;
}

View File

@ -1,14 +0,0 @@
- 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