devel/tevent: clamp far-future poll(2) timeout to avoid a busy-loop When a timer is scheduled far enough in the future, tvalp->tv_sec * 1000 overflows the int millisecond value that poll_event_loop_poll() passes to poll(2). poll(2) then fails with EINVAL and tevent spins in a busy-loop instead of sleeping. Clamp the computed timeout to INT_MAX in that case. PR: 297401 Approved by: 0mp (samba) Sponsored by: Netzkommune GmbH01b6612939
Port details
devel/tevent0.15.0_2
Talloc based event loop library
- Maintainer
- samba@FreeBSD.org
- Packages
- tevent 0.15.0_2
- Upstream
- Higher version available: 0.17.2
- CPE
- none, CVEs only via VuXML
- WWW
- https://tevent.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 (69)
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
*/*: 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/tevent: Fix build by cleaning lib/tevent during post-install PR: 280875 Reported by: kib@ Approved by: samba (0mp)bca2cbc954
devel/tevent: Update to 0.15.0 This version is required by Samba 4.19. PR: 280511 Approved by: samba Sponsored by: Klara, Inc.386bdd7831
*/*: Let samba@ maintain ldb, tdb, talloc, tevent, and Samba PR: 280556 Approved by: portmgrb6ec64a9a2
devel/tevent: Sanitize MANPREFIX Approved by: portmgr (blanket)c524b8761a
devel/tevent: fix build with lld 17 Building devel/tevent with lld 17 results in the following link errors: 11:57:46 runner ['cc', '-Wl,--version-script=/wrkdirs/usr/ports/devel/tevent/work/tevent-0.13.0/bin/default/tevent.vscript', '-shared', '-Wl,-h,libtevent.so.0', 'lib/replace/replace.c.2.o', 'lib/replace/strptime.c.2.o', 'lib/replace/xattr.c.2.o', 'tevent.c.1.o', 'tevent_debug.c.1.o', 'tevent_fd.c.1.o', 'tevent_immediate.c.1.o', 'tevent_queue.c.1.o', 'tevent_req.c.1.o', 'tevent_wrapper.c.1.o', 'tevent_poll.c.1.o', 'tevent_threads.c.1.o', 'tevent_signal.c.1.o', 'tevent_standard.c.1.o', 'tevent_timed.c.1.o', 'tevent_util.c.1.o', 'tevent_wakeup.c.1.o', '-o/wrkdirs/usr/ports/devel/tevent/work/tevent-0.13.0/bin/default/libtevent.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-ltalloc', '-lpthread', '-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) Since the linker version scripts are generated dynamically, suppress errors with lld >= 17 due to these undefined symbols. PR: 274147 Approved by: maintainer timeout (2 weeks) MFH: 2023Q4fb389b02e8
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>3d9a815d9cdevel/tevent: Fixed packaging error with Python 3.7. PR: 2671487b1694c26d
Remove 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/tevent: Update 0.10.2 to 0.13.0 PR: 257442ef9a3b42d9
*/*: 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/tevent: switch to PYTHON_EXT_SUFFIXbb57867ec8
Fix poudriere build_fs_violation for net/samba* - Bump PORTREVISION for package change The tevent module is being used during build of net/samba*, therefore the bytecode .pyc was generated. When running poudriere with -t flag, it checks filesystem violations and raises the tevent module was used error. The fix is to generate the bytecode and package it. PR: 243331 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 25 days)4713a99f20
Update Samba supplimentary libs to the recent ones. PR: 246284 246285 246286 2462871f792126f8
Clean up USES With hat: portmgr9bef23ecc2
- Update to 0.10.1, fixing build with python 3.8 - Update WWW PR: 241809 Submitted by: amdmi3 Approved by: maintainer timeout (timur, 2 weeks)9ea3c40af2
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
Update devel/tevent to the most recent version.ee9ecce4ac
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
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
Upgrade relevant ports to the latest releases. PR: 20204186a32507a1
Update of tevent library, necessary for net/samba424a3a38f075
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: Absolight60d1a83c2aAdd 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
Return back incorrectly resetted PORTEPOCH for databases/tdb. Raised minimal requirements for dependencies for database/ldb to reflect actual ones.31fd5fd83a
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 STAGE7217ed0013
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
Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 4)77d32abc6b