CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

net/pecl-smbclient 1.1.2

Smbclient wrapper extension

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: php82-pecl-smbclient 1.1.2, php83-pecl-smbclient 1.1.2, php84-pecl-smbclient 1.1.2, php85-pecl-smbclient 1.1.2, php86-pecl-smbclient 1.1.2
Upstream
up to date
Last update
to 1.1.2 · 823bd066c9
Quarterly
2026Q4: php82-pecl-smbclient 1.1.2, php83-pecl-smbclient 1.1.2, php84-pecl-smbclient 1.1.2, php85-pecl-smbclient 1.1.2, php86-pecl-smbclient 1.1.2
WWW
https://pecl.php.net/package/smbclient
Links
cgit · VuXML

Install

Package
# pkg install php82-pecl-smbclient
# pkg install php83-pecl-smbclient
# pkg install php84-pecl-smbclient
# pkg install php85-pecl-smbclient
# pkg install php86-pecl-smbclient
installs php82-pecl-smbclient 1.1.2, php83-pecl-smbclient 1.1.2, php84-pecl-smbclient 1.1.2, php85-pecl-smbclient 1.1.2, php86-pecl-smbclient 1.1.2 from latest; from quarterly (2026Q4) php82-pecl-smbclient 1.1.2, php83-pecl-smbclient 1.1.2, php84-pecl-smbclient 1.1.2, php85-pecl-smbclient 1.1.2, php86-pecl-smbclient 1.1.2
Port
# cd /usr/ports/net/pecl-smbclient && make install clean
Size
24 KiB download · 88 KiB installed
Depends on
lang/php82 8.2.35_2, net/samba416 4.16.11_13
License
BSD2CLAUSE
pkg-message
Shown after installing
This file has been added to automatically load the installed extension:
/usr/local/etc/php/ext-20-smbclient.ini.sample
Note
Size, dependencies, options and messages are those of php82-pecl-smbclient.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 161.1.21.1.2–
FreeBSD 151.1.21.1.2–
FreeBSD 141.1.21.1.21.1.2

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 151.1.21.1.2–
FreeBSD 141.1.21.1.21.1.2

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 1.1.2.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (35)

Yasuhiro Kimura (yasu) · 1.1.2
Mk/Uses/samba.mk: Remove legacy variables

* Replace occurrence of them in each port with new ones.
* Add entry to CHANGES.

Reviewed by:	kiwi, mikael
Differential Revision:	https://reviews.freebsd.org/D48801
823bd066c9
Po-Chuan Hsieh (sunpoet) · 1.1.2
net/pecl-smbclient: Update to 1.1.2

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
		https://github.com/eduardok/libsmbclient-php/releases
63ab2971db
Po-Chuan Hsieh (sunpoet) · 1.1.1
net/pecl-smbclient: Fix build warning on i386

/wrkdirs/usr/ports/net/pecl-smbclient/work-php81/smbclient-1.1.1/smbclient.c:1205:52: warning: format specifies type 'long' but the argument has type 'zend_long' (aka 'int') [-Wformat]
                php_error(E_WARNING, "Negative byte count: %ld", count);
                                                           ~~~   ^~~~~
                                                           %d
/wrkdirs/usr/ports/net/pecl-smbclient/work-php81/smbclient-1.1.1/smbclient.c:1256:52: warning: format specifies type 'long' but the argument has type 'zend_long' (aka 'int') [-Wformat]
                php_error(E_WARNING, "Negative byte count: %ld", count);
                                                           ~~~   ^~~~~
                                                           %d
2 warnings generated.
983d161bf1
Po-Chuan Hsieh (sunpoet) · 1.1.1
net/pecl-smbclient: Update WWW
8766df73f5
Po-Chuan Hsieh (sunpoet) · 1.1.1
net/pecl-smbclient: Fix build with Clang 16 on i386

/wrkdirs/usr/ports/net/pecl-smbclient/work-php80/smbclient-1.1.1/smb_streams.c:328:2: error: incompatible function pointer types initializing 'int (*)(php_stream *, zend_off_t, int, zend_off_t *)' (aka 'int (*)(struct _php_stream *, int, int, int *)') with an expression of type 'int (php_stream *, off_t, int, off_t *)' (aka 'int (struct _php_stream *, long long, int, long long *)') [-Wincompatible-function-pointer-types]
        php_smb_ops_seek,
        ^~~~~~~~~~~~~~~~
1 error generated.
ff1f637330
Po-Chuan Hsieh (sunpoet) · 1.1.1
net/pecl-smbclient: Update to 1.1.1

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
958bf20748
Po-Chuan Hsieh (sunpoet) · 1.1.0
net/pecl-smbclient: Update to 1.1.0

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
c3e6225069
Stefan Eßer (se) · 1.0.6
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
Stefan Eßer (se) · 1.0.6
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
Po-Chuan Hsieh (sunpoet) · 1.0.6
net/pecl-smbclient: Update to 1.0.6

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
cc93914f11
Mathieu Arnold (mat) · 1.0.5
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 1.0.5
Remove # $FreeBSD$ from Makefiles.
305f148f48
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.0.5
Update to 1.0.5

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
762c96e886
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.0.4
Update to 1.0.4

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
293dd6fcdf
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.0.3
Update to 1.0.3

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
884c630be9
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.0.2
Update to 1.0.2

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
4214186f34
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.0.1
Update to 1.0.1

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
8faf780b19
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.0.0_1
Fix build with PHP 8.0

PR:		250529
Submitted by:	fluffy
Obtained from:	https://github.com/eduardok/libsmbclient-php/commit/a8eab234dd19e32a73740bdd5689e36324b8be5d
44f61c88d1
Antoine Brodin (antoine) · 1.0.0_1
Switch default version of samba from 4.7 to 4.8

With hat:	portmgr
47ce821484
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.0.0
Update to 1.0.0

- Remove IGNORE_WITH_PHP=73

Changes:	https://pecl.php.net/package-changelog.php?package=smbclient
b0f903040e
Antoine Brodin (antoine) · 0.9.0_4
Those ports are not compatible with php 7.3

Reported by:	pkg-fallout
d926c2a565
Antoine Brodin (antoine) · 0.9.0_4
Switch default version of samba to 4.7 Samba 4.6 will be discontinued in a few weeks

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D16904
ec3e56288a
Sunpoet Po-Chuan Hsieh (sunpoet) · 0.9.0_3
Take maintainership
101cdcdaaa
Rene Ladan (rene) · 0.9.0_3
Return kevlo's ports to the pool, he handed in his commit bit.

With hat:	portmgr-secretary
30433f0c7f
Antoine Brodin (antoine) · 0.9.0_3
Change default version of samba from 4.4 to 4.6

Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D13529
ddd8c8640e
Mathieu Arnold (mat) · 0.9.0_2
Convert all PECL ports to USES=php:pecl.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10281
3fc575d9f3
Antoine Brodin (antoine) · 0.9.0_2
Switch default version of samba from 4.3 to 4.4

With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D10131
8fb879105d
Antoine Brodin (antoine) · 0.9.0_1
- Add USES=samba to handle dependency on samba   Valid ARGS:  build, env, lib, run (default: build,run) - Add SAMBA_DEFAULT to bsd.default-versions.mk (default: 4.3) - Remove obsolete samba36 ports - Modify samba4x ports to install libsmbclient - Convert the ports tree to USES=samba

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D8919
7cfe69b584
Kevin Lo (kevlo) · 0.9.0
Update to 0.9.0
e1189cc7a3
Mathieu Arnold (mat) · 0.8.0_1
Don't use extension.ini any more, and have each extension install in its file, so the order remains the same.

Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php.  A PHP extension will be automatically activated
when installed.  The order into which extensions are loaded is
automatically guessed.  In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set.  Refer to the USES=php
section of the Porter's Handbook for more information.

Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.

And finally, bump PORTREVISION for all php extensions.

PR:		210697
Submitted by:	mat
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7022
aef5a66670
Mathieu Arnold (mat) · 0.8.0
Convert USE_PHP*=yes into USES=php*

PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
dca255c3ce
Dmitry Marakasov (amdmi3) · 0.8.0
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
4e942b6419
Kevin Lo (kevlo) · 0.8.0
Use LIB_DEPENDS.
5520f0ba3f
Sunpoet Po-Chuan Hsieh (sunpoet) · 0.8.0
- Add LICENSE_FILE - Update RUN_DEPENDS: remove PORTSDIR

Approved by:	portmgr (blanket)
0011b78357
Kevin Lo (kevlo) · 0.8.0
Import pecl-smbclient 0.8.0

Smbclient is a PHP extension that uses Samba's libsmbclient library to
provide Samba related functions and 'smb' streams to PHP programs.
b14b737f19