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

comms/py-pyserial 3.5_4

Serial port encapsulation library for Python

Port info

Maintainer
sbz@FreeBSD.org
Packages
latest: 3.5_4
Upstream
up to date
Last update
to 3.5_4 · d1a2a3d66e
Quarterly
2026Q4: 3.5_4
Formerly
comms/py-serial until 2020-06-27
WWW
https://github.com/pyserial/pyserial
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install py312-pyserial
installs 3.5_4 from latest; from quarterly (2026Q4) 3.5_4
Port
# cd /usr/ports/comms/py-pyserial && make install clean
# make -C /usr/ports/comms/py-pyserial config  # change options first
Size
184 KiB download · 1.1 MiB installed
Depends on
lang/python312 3.12.15
License
BSD3CLAUSE
Options
1 of 1 on in the package: EXAMPLES

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 163.5_43.5_4–
FreeBSD 153.5_43.5_4–
FreeBSD 143.5_43.5_43.5_4

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 153.5_43.5_4–
FreeBSD 143.5_43.5_43.5_4

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 3.5_4.

Fixed (0)

No VuXML entries for this package.

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

None.

Commits (57)

Sofian Brabez (sbz) · 3.5_4
comms/py-pyserial: add patch for FreeBSD implementation of list_ports tool

This changes include a patch of the tool list_ports for the posix
implementation on FreeBSD by using devinfo(8) and bump the revision. Upstream
did not yet released a new version in several years.

Reported by:	phk
d1a2a3d66e
Charlie Li (vishwin) · 3.5_3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
06a08e69f3
Rene Ladan (rene) · 3.5_2
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>
3d9a815d9c
Dmitry Marakasov (amdmi3) · 3.5_2
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
77d68471ad
Stefan Eßer (se) · 3.5_2
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) · 3.5_2
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
Tobias C. Berner (tcberner) · 3.5_2
comms: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  'Big Bad Bob' Frazier <bobf@mrp3.com>
  *  <mr@freebsd.org>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrew Dolgov <fox@furry.spb.ru>
  *  Andrey Lykhin <lan31@inbox.ru>
  *  Anton Voronin <anton@urc.ac.ru>
  *  Brandon S. Allbery KF8NH <allbery@ece.cmu.edu>
  *  Brian Dean <bsd@FreeBSD.org>
  *  Bruce Cran <bruce@cran.org.uk>
  *  Carl Makin <carl@stagecraft.cx>
  *  Darren <igla@batterybackups.net>
  *  David
  *  David O'Brien <obrien@cs.ucdavis.edu>
  *  David Thiel <lx@redundancy.redundancy.org>
  *  Denis Shaposhnikov <dsh@vlink.ru>
  *  Devon H. O'Dell <devon.odell@coyotepoint.com>
  *  Diane Bruce <db@db.net>
  *  Douglas K. Rand <rand@meridian-enviro.com>
  *  Edward Tomasz Napierala <trasz@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Felix Palmen <felix@palmen-it.de>
  *  Frank Steinborn <steinex@nognu.de>
  *  Ganael Laplanche <ganael.laplanche@martymac.org>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Hye-Shik Chang <perky@fallin.lv>
  *  Janos.Mohacsi@bsd.hu
  *  Jean-Baptiste Quenot <jb.quenot@caraldi.com>
  *  Jeffrey Baitis <jeff@baitis.net>
  *  Johan Strom <johan@stromnet.se>
  *  Johan Strom <johna@stromnet.se>
  *  Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw>
  *  Julian Stacey <jhs@FreeBSD.org>
  *  Kirill Bezzubets <kirill@solaris.ru>
  *  MITA Yoshio <mita@FreeBSD.org>
  *  Markus Brueffer <markus@FreeBSD.org>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Masafumi NAKANE <max@FreeBSD.org>
  *  Matt Dawson <matt@mattsnetwork.co.uk>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Michael Reifenberger (mike@Reifenberger.com)
  *  Mike Heffner <mikeh@FreeBSD.org>
  *  Nick Sayer <nsayer@FreeBSD.org>
  *  Nicole Reid <root@cooltrainer.org>
  *  Olivier Cochard-Labbe <olivier@FreeBSD.org>
  *  Patrick Gardella <patrick@FreeBSD.org>
  *  Paul Traina <pst@FreeBSD.org>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Rick Elrod <codeblock@eighthbit.net>
  *  Rodrigo Osorio <rodrigo@FreeBSD.org>
  *  Sebastian Yepes <esn@x123.info>
  *  Staffan Ulfberg <staffanu@multivac.fatburen.org>
  *  Stephen Hurd <shurd@FreeBSD.org>
  *  Steve Woodford <scw@netbsd.hut.fi>
  *  Steven Kreuzer <skreuzer@FreeBSD.org>
  *  Sunry Chen <sunrychen@gmail.com>
  *  Søren Straarup <xride@x12.dk>
  *  Tony Shadwick <tshadwick@oss-solutions.com>
  *  Tsung-Han Yeh <snowfly@yuntech.edu.tw>
  *  Vladimir Grebenschikov
  *  Vladimir Kondratyev <wulf@FreeBSD.org>
  *  db
  *  dirkx@webweaving.org
  *  dom@happygiraffe.net
  *  elbarto@ArcadeBSD.org
  *  hm
  *  jmz
  *  joes@seaport.net
  *  lambert@lambertfam.org
  *  nox@FreeBSD.org
  *  obrien@cs.ucdavis.edu
  *  rkw
  *  shurd
  *  shurd@FreeBSD.org
  *  wlloyd@slap.net
  * //www.tomek.cedro.info)

With hat:	portmgr
258a98847e
Craig Leres (leres) · 3.5_2
comms/py-pyserial: Add an EXAMPLES option

The pyserial distribution includes a handy tcp/serial port bridge
script called tcp_serial_redirect.py. Add an EXAMPLES option to
install this (along with other pyserial example scripts).

PR:		260328
Approved by:	sbz (maintainer timeout, 18 days)
e237c91212
Fukang Chen (loader) · 3.5_1
comms/py-pyserial: Add USE_PYTHON=concurrent

- Allow concurrent installation for bin/pyserial-{miniterm,ports}

Reviewed by:	koobs, sbz
Approved by:	koobs (ports, mentor), sbz (maintainer)
Differential Revision:	https://reviews.freebsd.org/D30920
MFH:		2021Q2 (ports compliance)
6edd405189
Mathieu Arnold (mat) · 3.5
Remove # $FreeBSD$ from Makefiles.
305f148f48
Sofian Brabez (sbz) · 3.5
- Update to 3.5
58eb7b74b1
Antoine Brodin (antoine) · 3.4_1
Drop python 2.7 support from a few ports

With hat:	portmgr
aa7a6c429e
Sunpoet Po-Chuan Hsieh (sunpoet) · 3.4_1
Move comms/py-serial to comms/py-pyserial

- While I'm here, add NO_ARCH
- Bump PORTREVISION of dependent ports for dependency change
  (devel/py-pyvisa-py and finance/odoo will be bumped in next commit, py-pyusb renaming)

PR:		246546
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 40 days)
fa56610258
Antoine Brodin (antoine) · 3.4_1 · as comms/py-serial
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
63f5eeef8a
Sofian Brabez (sbz) · 3.2.1 · as comms/py-serial
- Update to 3.2.1

PR:		213401
Reported by:	Kyle Evans <kevans91 at ksu.edu>
dc51f33a4c
Max Brazhnikov (makc) · 2.7_1 · as comms/py-serial
comms/py-serial: - Use options helpers - Fix packaging with python3 - Add patch to make tools.list_ports usable on FreeBSD (committed upstream)

PR:		202887
Approved by:	sbz (maintainer timeout 5 weeks)
312b3b9c38
Marcus von Appen (mva) · 2.7 · as comms/py-serial
- Convert ports from cad/, chinese/, comms/ and converters/ to new   USES=python

Approved by:	portmgr (implicit)
dae43d7a6d
Sofian Brabez (sbz) · 2.7 · as comms/py-serial
- Update to 2.7

PR:		ports/190000
Submitted by:	Bartek Rutkowski <ports at robakdesign.com>
6f9a430d77
Baptiste Daroussin (bapt) · 2.6 · as comms/py-serial
Support stage

PR:		ports/188593
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
cd6927ad9c
Emanuel Haupt (ehaupt) · 2.6 · as comms/py-serial
According to the Porter's Handbook (5.12.2.3.) default options must be added to OPTIONS_DEFINE. This policy has been implemented only recently that's why we have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
5005b67362
Adam Weinberger (adamw) · 2.6 · as comms/py-serial
Convert comms to MDOCS and MEXAMPLES.

Hold-out shame list: perl
fbd9122a40
Baptiste Daroussin (bapt) · 2.6 · as comms/py-serial
Add NO_STAGE all over the place in preparation for the staging support (cat: comms)
2b300eeb3f
Sofian Brabez (sbz) · 2.6 · as comms/py-serial
- Update to 2.6 - Make happy portlint

Approved by:	miwi@ (mentor)
Feature safe:	yes
d4535ce2b6
Sofian Brabez (sbz) · 2.5 · as comms/py-serial
Update my MAINTAINER address to sbz at FreeBSD.org.

Approved by:	jadawin@ (mentor)
d7c5457ddf
Alexey Dokuchaev (danfe) · 2.5 · as comms/py-serial
- Canonicalize Makefile header - Utilize PORTNAME where appropriate - Mute MKDIR's - Install documentation files via INSTALL_DATA instead of INSTALL_MAN

Approved by:	maintainer
c875e0de23
Alexey Dokuchaev (danfe) · 2.5 · as comms/py-serial
Improve port description.

Approved by:	maintainer
bb2494a0af
Philippe Audeoud (jadawin) · 2.5 · as comms/py-serial
- Update to 2.5 - Respect NOPORTEXAMPLES - Submitter is now maintainer

PR:		ports/150784
Submitted by:	Sofian Brabez <sbrabez _AT_ gmail.com>
a13584ff65
Mark Linimon (linimon) · 2.4 · as comms/py-serial
Reset maintainer per his request to ports@.

Feature safe:	yes
4504c11b80
Dmitry Marakasov (amdmi3) · 2.4 · as comms/py-serial
- Pass maintainership to gcooper@

Submitted by:	gcooper@ via private email
2117366baa
Mark Linimon (linimon) · 2.4 · as comms/py-serial
Reset perky@FreeBSD.org due to maintainer-timeouts and no response to email.

Hat:		portmgr
cb4c252136
Dmitry Marakasov (amdmi3) · 2.4 · as comms/py-serial
- Switch SourceForge ports to the new File Release System: categories starting with B,C
c926af277e
Hye-Shik Chang (perky) · 2.3 · as comms/py-serial
Update to 2.3

PR:		124743
Submitted by:	Wen heping <wenheping@gmail.com>
7d0ca7ba10
Edwin Groothuis (edwin) · 2.2_1 · as comms/py-serial
[patch] comms/py-serial: install docs and examples

PR:		ports/111909
Submitted by:	Boris Samorodov <bsam@FreeBSD.org>
Approved by:	maintainer timeout
40f749985a
Alexander Botero-Lowry (alexbl) · 2.2 · as comms/py-serial
- Make Python 2.5.1 the default Python version  - Add significantly better support in bsd.python.mk for working with    Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
4942ce5a7d
Hye-Shik Chang (perky) · 2.2 · as comms/py-serial
Update to 2.2

PR:		86614
Submitted by:	Soeren Straarup <xride@x12.dk>
cbe41c56cb