python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc EXT_SUFFIX, according to PEP 3149, refers to the full tag and extension for compiled extension module objects, eg .cpython-311.so, .cpython-313t.so, etc. We do not use the correct semantic meaning, and this usage becomes ambiguous and confusing when tags do not match between bytecode and compiled extension module objects. Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's specification of a magic tag, which consists of implementation name and shorthand version only. This is meant for bytecode and other files containing this tag in their filename that do not depend on a specific Python ABI for the same version. Chase all existing consumers. Introduce PYTHON_SOABI to align with PEP 3149's specification of a tag, which consists of implementation name, shorthand version and any ABI flags present (this and PYTHON_TAG are identical without ABI flags). This is meant for compiled extension module objects and other files that depend on a specific Python ABI for the same version. Add documentation for these variables that our PYTHON_EXT_SUFFIX never had. PR: 274671 Event: Kitchener-Waterloo Hackathon 2025064f0eba1efd
Port details
devel/talloc2.4.1_1
Hierarchical pool based memory allocator
- Maintainer
- samba@FreeBSD.org
- Packages
- talloc 2.4.1_1
- Upstream
- Higher version available: 2.5.0
- CPE
- none, CVEs only via VuXML
- WWW
- https://talloc.samba.org/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (72)
*/*: Rework manpages handling in Samba-related ports
* Remove outdated, incorrect, precompiled manpages from ${FILESDIR}/files/man.
* Properly disable manpages generation since XSLTPROC was set to true(1) WAF
always assumed xsltproc(1) to work and if any automatic dependency pulled in
textproc/docbook-xsl, manpages were generated even if explicitly disabled.
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D4932747b3df7594*/*: Fix conflict of PKGNAME * Fix conflict of PKGNAME by adding PKGNAMESUFFIX to the ports below - databases/tdb1410 - devel/talloc242 - devel/tevent016 * Set CONFLICTS_INSTALL between different versions of each port. * Update dependencies of databases/ldb29 and net/samba420 to reflect change of PKGNAME. * Bump PORTREVISION of modified ports. Reviewed by: 0mp, kiwi Differential Revision: https://reviews.freebsd.org/D48826ed189afb08
devel/talloc: Update to 2.4.1 This is the version required by Samba 4.19. PR: 280509 Approved by: samba Sponsored by: Klara, Inc.79b5567086
*/*: Let samba@ maintain ldb, tdb, talloc, tevent, and Samba PR: 280556 Approved by: portmgrb6ec64a9a2
devel/talloc: Sanitize MANPREFIX Approved by: portmgr (blanket)85ef17dd96
devel/talloc: fix build with lld 17 Building devel/talloc with lld 17 results in the following link error: 08:58:52 runner ['cc', '-Wl,--version-script=/wrkdirs/usr/ports/devel/talloc/work/talloc-2.3.4/bin/default/talloc.vscript', '-shared', '-Wl,-h,libtalloc.so.2', 'talloc.c.6.o', 'lib/replace/replace.c.2.o', 'lib/replace/strptime.c.2.o', 'lib/replace/xattr.c.2.o', '-o/wrkdirs/usr/ports/devel/talloc/work/talloc-2.3.4/bin/default/libtalloc.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-fstack-protector-strong', '-Wl,-no-undefined'] ld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) script file to fix the error. Since the linker version scripts are generated dynamically, suppress errors with lld >= 17 due to these undefined symbols. PR: 274000 Approved by: maintainer timeout (2 weeks) MFH: 2023Q4641e12af41
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9cRemove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
devel/talloc: Update to 2.3.4 PR: 257432dca556afe4
*/*: Remove redundant '-*' from CONFLICTS definitions The conflict checks compare the patterns first against the package names without version (as reported by "pkg query "%n"), then - if there was no match - agsinst the full package names including the version (as reported by "pkg query "%n-%v"). Approved by: portmgr (blanket)04b9da4140
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
devel/talloc: switch to PYTHON_EXT_SUFFIX49458fa9e8
Update Samba supplimentary libs to the recent ones. PR: 246284 246285 246286 2462871f792126f8
Clean up USES With hat: portmgr9bef23ecc2
- Update to 2.3.0, fixing build with python 3.8 PR: 241791 [1], 241793 [2] Submitted by: yasu@utahime.org [1], osidorkin@gmail.com [2] Reported by: amdmi3 [1] Approved by: maintainer timeout (timur, 2 weeks)a1c8d7a9fc
Grammar nit255e2aba76
Upgrade Samba supplimentary ports to the new build system. Effectively they are dependent now from Python 3.4+ for the build, unless NO_PYTHON is specified, in which case ports still can be build with Python 2.7. That should address legacy Python dependencies for some non-Samba ports as well.29295bfeff
Update Samba supplimentary libs to the newer versions. Sponsored by: iXsystems Inc.19a23577e6
Update Samba supplimentary libraries, fixed (new) portlint errors, changed Python3 version knob.c262bbfb5f
Remove unused remnant of old patch, not needed since r454532. Approved by: portmgr (tier-2 blanket)50ddfa21ef
Update supplimentary Samba libs to the latest versions. Sponsored by: iXsystems Inc.f8a1071d96
Small useless bump of the version to make poudriere pick up changes in WITH_SAMBA4_PYTHON3 usagebab1c1db80
Make sure that you can compile all supplimentary ports without Python bindingsdbaa72074d
Fix too broad Python specification, cut down to 2.7 explicitly.b006691256
Update Samba supplimentary libraries to the most recent versions.17009f74ad
Fix build of devel/talloc on powerpc and powerpc64 Base gcc doesn't accept -Wno-format-length. Remove its usage on powerpc and powerpc64. It could probably be generalized to all gcc-based targets, but that hasn't been tested on other architectures. PR: 219455 Submitted by: linimon Approved by: swills49ab650cfb
Mark some ports failing on power64. In cases where the error message was a stub, provide a real one. While here, pet portlint. Approved by: portmgr (tier-2 blanket)ba601f25ac
Bump port version to 2.1.9, required by Samba4.6.0f0e6f8941
Update Samba4* supplimentary libraries to the newer versions. Made databases/ldb to depend on openldap-sasl-client, so it won't conflict with the corresponding requirement of net/samba4* ports.751aa321cd
This is routine update for the Samba supplimentary libraries, bumping them to the versions that commonly acceptable by recent Samba ports, in particular, samba44.0e46db7805
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6Update Samba supplimentary libs2885f1117a
Fix to the coredump in the library code of the Samba libs. Provided by Andrey Kramarenko. https://bugzilla.samba.org/show_bug.cgi?id=11455259a2b0a1b
Upgrade relevant ports to the latest releases. PR: 20204186a32507a1
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight60d1a83c2aUpgrade talloc to 2.1.2 version, needed for samba42d4320ba22e
Add a new USES=waf to handle the waf building system, allowing to factorise code Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets can be reused Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting _MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed to really disable parallelisation with waf WAF_CMD has been created to allow one to override the location of the waf script relatively to WRKSRC CONFIGURE_TARGET is by default defined to "configure" ALL_TARGET is by default defined to "build" INSTALL_TARGET is by default defined to "install" USES=waf is by default stagedir safe8157e9f800
Upgrade supplimentary net/samba ports to the minimal common required versions.154bb26172
- Convert ports of devel/ to USES=python Approved by: portmgr (implicit)89e07f4a18
Convert the Python framework bits to USES=python. Please use USES=python instead of USE_PYTHON. USE_PYTHON=yes becomes USES=python USE_PYTHON=2.7+ becomes USES=python:2.7+ USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build ... A new PYTHON_FEATURES variable was added, which enables certain features for a port and replaces some knobs at the same time; PYTHON_FEATURES=distutils replaces USE_PYDISTUTILS PYTHON_FEATURES=autoplist replaces PYDISTUTILS_AUTOPLIST PYTHON_FEATURES=py3kplist replaces PYTHON_PY3K_PLIST_HACK PYTHON_FEATURES=noegginfo replaces PYDISTUTILS_NOEGGINFO PYTHON_FEATURES=concurrent replaces PYTHON_CONCURRENT_INSTALL PYTHON_FEATURES=pythonprefix replaces USE_PYTHON_PREFIX Some knobs have been deprecated and are to be removed in the near future: PYTHON_MASTER_SITES - use MASTER_SITE_PYTHON instead PYTHON_PKGNAMESUFFIX - use PYTHON_PKGNAMEPREFIX instead PYDISTUTILS_INSTALLNOSINGLE - deprecated without replacement Some knobs have been removed completely: PYTHON_MASTER_SITE_SUBDIR PYTHON_DISTNAME PYTHON_WRKSRC Several variables specific to the Python framework are no longer passed to the build environment to avoid polluting dependency builds. PYTHON_VERSION is not passed to .MAKEFLAGS anymore PYTHON_DEFAULT_VERSION, PYTHON_DEFAULT_PORTVERSION and PYTHONBASE are not passed to the make environment anymore The conversion required a couple of ports to be updated to fit the changes and new requirements. Those included "bsd.python.mk" directly or contained checks in places, for which the USES framework would fail to provide correct values. Python modules directly using the upstream Python package (such as py-tkinter or py-sqlite3) were updated to avoid using the now unnecessary and remmoved knobs from "bsd.python.mk". Phabric: D399 exp-run: 167368 192357 PR: 167368 192357 Reviewed by: antoine, wg Exp-run award: antoine With hat: python@ Approved by: portmgr900db324a3
A couple ports added support for OPTIONS but forgot to add them to OPTIONS_DEFINE.04ff64e713
Add NO_PYTHON knob to make lev@ a bit happier. Minor version update of tdb.0345c64a75
On whatever reason configure requires gettext, although it's not used anywhere in the resulting libs. Explicitly disable this.56b3221129
Didn't commit all the changes due wrong command lineb65ce18924
Convert port to support STAGEa6c6802fe7
Stage supportbaec7d593a
Python cleanup: - USE_PYTHON* = 2.X -> USE_PYTHON* = 2 - USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat)50f8eaece1