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

comms/rxtx 2.2p2_6

Native interface to serial ports in Java

Port info

Maintainer
james@elstone.net
Packages
latest: 2.2p2_6
Upstream
up to date
Last update
to 2.2p2_6 · 86813e9ccf
Quarterly
2026Q4: 2.2p2_6
WWW
http://rxtx.qbang.org
Links
cgit · VuXML

Install

Package
# pkg install rxtx-openjdk8
installs 2.2p2_6 from latest; from quarterly (2026Q4) 2.2p2_6
Port
# cd /usr/ports/comms/rxtx && make install clean
Size
95 KiB download · 168 KiB installed
Depends on
java/openjdk8 8.502.07.2_1
License
LGPL21

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162.2p2_62.2p2_6–
FreeBSD 152.2p2_62.2p2_6–
FreeBSD 142.2p2_62.2p2_62.2p2_6

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152.2p2_62.2p2_6–
FreeBSD 142.2p2_62.2p2_62.2p2_6

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 2.2p2_6.

Fixed (0)

No VuXML entries for this package.

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

None.

Commits (57)

Ronald Klop (ronald) · 2.2p2_6
*/*: bump portrevision after java_default=25 update

Included all ports that have USES=java.

PR:	293559
86813e9ccf
Ronald Klop (ronald) · 2.2p2_5
*/*: bump portrevision after java_default=21 update

PR:	272855
2baaf16375
Ronald Klop (ronald) · 2.2p2_4
comms/rxtx: pin to java 8

jdk11: javah: not found
jdk17+: error: invalid use of a restricted identifier 'yield'

PR:	292216
Approved-by:	maintainer timeout
df75a74e26
Piotr Kubaj (pkubaj) · 2.2p2_4
comms/rxtx: fix build on powerpc by using correct jdk directory

Also remove not necessary NOT_FOR_ARCHS.
9b0b85eade
Muhammad Moinur Rahman (bofh) · 2.2p2_4
Mk/**java.mk: Convert bsd.java.mk to USES

The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
  USES=java:build,run if NO_BUILD is undefined. Else it defaults to
  USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
  USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
  extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
  build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
  build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>

Approved by: mat (portmgr), glewis
Differential Revision:  https://reviews.freebsd.org/D48201
0835676e36
Stefan Eßer (se) · 2.2p2_4
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) · 2.2p2_4
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) · 2.2p2_4
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
Mathieu Arnold (mat) · 2.2p2_4
Remove # $FreeBSD$ from Makefiles.
305f148f48
Piotr Kubaj (pkubaj) · 2.2p2_4
comms/rxtx: fix packaging on powerpc64le

Otherwise powerpc64le string is replaced by ppc64, but it should be ppc64le.
c2aae870da
Mark Linimon (linimon) · 2.2p2_4
Enable building on powerpc64le.

Approved by:	portmgr (tier-2 blanket)
3bff5a1ddd
Jung-uk Kim (jkim) · 2.2p2_4
Clean up after java/openjdk6 and java/openjdk6-jre removal

java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
5a52a08234
Craig Leres (leres) · 2.2p2_4
Solve occasional poudriere build failures by adding MAKE_JOBS_UNSAFE.

Sample poudriere build error without MAKE_JOBS_UNSAFE:

    Error: Could not find class file for 'gnu.io.Raw'.
    gmake[1]: *** [Makefile:613: /wrkdirs/usr/ports/comms/rxtx/work/rxtx-2.2pre2/gnu/io/NoSuchPortException.class] Error 1

PR:		216558
Reviewed by:	mat, matthew (mentor)
Approved by:	mat, koobs (maintainer), matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D18999
4344834392
Mark Linimon (linimon) · 2.2p2_4
Use a more succinct way of creating PLIST_SUB.

Reported by:	jbeich
Reviewed by:	mat
Approved by:	portmgr (tier-2 blanket)
4a6034550d
Mark Linimon (linimon) · 2.2p2_4
Fix build on powerpc64, and, possibly, armvX.

PR:		231600
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
06b560c9a1
Mark Linimon (linimon) · 2.2p2_4
Fails the same way on powerpc64 as on arvmX.

While here, mark as NOT_FOR mipsX.

Approved by:	portmgr (tier-2 blanket)
0c51760bae
Mark Linimon (linimon) · 2.2p2_4
For ports that are marked BROKEN on armv6, and also fail to build on armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
bf43557044
Baptiste Daroussin (bapt) · 2.2p2_4
Cleanup dead MASTER_SITES
c67ab79da8
Mark Linimon (linimon) · 2.2p2_4
Mark some ports failing on armv6, for errors classified as "???".

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
c095cd43d0
Kirill Ponomarev (krion) · 2.2p2_4
- Added LICENSE   - Fixed patches for portlint   - Supressed debug message on RXTXPort:removeEventListener:Exit when not in debug mode   - Added java bootstrap class   - Updated java source/target directives which will be depreciated in future release, see http://openjdk.java.net/ +jeps/182, and regression tested functionality.

PR:		216248
Submitted by:	james@elstone.net
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D9508
19a4f0ddb2
Dmitry Marakasov (amdmi3) · 2.2p2_3
- Remove unneeded depend on linux emulation

PR:		212037
Submitted by:	james@elstone.net (maintainer)
Reported by:	howard0su@gmail.com
d860387dbd
Tijl Coosemans (tijl) · 2.2p2_2
- Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk with   Mk/Uses/linux.mk. - Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with   USES+=linux:\1 in all ports. - Replace USE_LINUX_APPS with USE_LINUX in all ports. - Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some   ports. - When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY   are def

PR:		211645
Exp-run by:	antoine
Approved by:	portmgr (antoine)
82a87de90c
Philip M. Gollucci (pgollucci) · 2.2p2_2
comms/rxtx: pass maintainer to submitter

550 5.1.1 <mirror176@cox.net> invalid recipient

Requested by: Submitter
77a066b886
Philip M. Gollucci (pgollucci) · 2.2p2_2
comms/rxtx: mutiple fixes Makefile 1) Missing dependancy on plibthread.so.1

Java code base
2) Added commandline debug output in multiple Java files

3) Tided comment statements, tabulation and white space to aid reading
of sections of the original source code

4) Added additional debug statements to aid diagnosis in multiple Java
files

5) Moved error logging from Zystem to be local in the RXTXPort.java
file (was never firing from Zystem); now common with rest of codebase

6) Ensured that RXTX only outputs debug level information when
requested.

7) Only enumerate the local ports on initialisation once (use of
init_clean), rather than three times.

8) Updated ports lists to reflect current usage pre FreeBSD v10 and post
v10.

9) Debug identifier inserted before all calls

10) correctly read the properties file when there are multiple java
library paths

11) Enabled the skipping of parrellel ports during scans where they are
not used by the invoking java parent base to RXTX (Still allows them to
be manually specified in gn.io.parellel env arg)

SerialImp.c
12) Tidied code indentation (where needed, it is a medium length file
and doesn't provide benifit on areas that work)

13) Added standard out debug support to allow for assessment of
interaction with Java code that can be compiled in (DEBUG_STDOUT)

14) Added entry and exist debug statement for key functions

15) where sprintf is being used, ensure that the existing ptr refers to
an empty string (uses memset to sizeof)

16) cleared up display tabulation of function headers in entire file (on
second enumeration strings contained garbage)

17) Remove LEAVE and ENTRY functions as not working as expected in
header.

18) Made sure all debug statements are null pointer terminated (note
sprintf is not solely used for debug message formatting)

19) Added condition so that a port that is in use during testread() is
still reported as selectable. (If you attempt to open it after the port
scan and it is still EBUSY the behaviour is unaltered and will throw a
suitable error back)

20) Disabled uucp for lpt ports, as uucp only applies to tty on
FreeBSD (so says the Handbook...)

21) RXTXPort:interruptEventLoop - resolved SIGABRT call to
process (intended to kill off thread not entire JRE)...

22) RXTXPort:interruptEventLoop now waits for timer in child thread to
expire before attempting to closing the thread (delay between 0 and
1000000 sleeps)

23) All debug streams for FreeBSD now forward to same function for
uniform formatting.

This fixes two downstream issues in the arduino port, which results in
missing dependancies, a core dump when uploading, or very slow port
enumeration (up to 30s in some cases) when the arduino IDE is first
started.

PR:                  200179
Submitted by:        james@elstone.net
Approved by:         maintainer timeout (mirror176@cox.net ; 45 days)
cf9286addd
Antoine Brodin (antoine) · 2.2p2_2
- Don't use a strange prefix - Strip shared libraries
0294a433f4
Tijl Coosemans (tijl) · 2.2p2_1
Remove old libtool patch
83fa084228
Vanilla I. Shu (vanilla) · 2.2p2_1
Bump version due pkg-plist changed.

Submitted by:	tijl@
b2c2388dcf
Vanilla I. Shu (vanilla) · 2.2p2
Stageify.

Approved by:	portmgr@
1ff4553a18
Baptiste Daroussin (bapt) · 2.2p2
Convert c* to USES=zip
b411bc617f
Baptiste Daroussin (bapt) · 2.2p2
Add NO_STAGE all over the place in preparation for the staging support (cat: comms)
2b300eeb3f
Baptiste Daroussin (bapt) · 2.2p2
Decommissioning java 1.5 (EOLed since October 2009): suppress any reference to USE_JAVA=	1.5+ (part1)
580b0c7423
Pawel Pekala (pawel) · 2.2p2
- Update to version 2.2p2 - Assign mainatinership to submitter - Update WWW

PR:		ports/159735
Submitted by:	Edward Sanford Sutton, III <mirror176@cox.net>
Approved by:	miwi, wen (mentors implicit)
3741a46e9f
Mark Linimon (linimon) · 2.1.7r2_7
Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon, remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
06e6677793
Martin Wilke (miwi) · 2.1.7r2_7
- Get Rid MD5 support
bb86cbe5d2
Steve Price (steve) · 2.1.7r2_7
Fix a page fault when attempting to access a java variable by reference.

PR:		152882
Submitted by:	Bob Frazier <bobf@mrp3.com>
68dd236cc9
Steve Price (steve) · 2.1.7r2_6
Change the device name for USB serial ports from ttyD to ttyU.

PR:		ports/152883
Submitted by:	Bob Frazier <bobf@mrp3.com>
6df2b5108c
Martin Wilke (miwi) · 2.1.7r2_5
- Update list of supported serial ports in RXTX library

PR:		140187
Submitted by:	Brian Williamson <bwilliamson@bex.net>
55d2b7d680
Pav Lucistnik (pav) · 2.1.7r2_4
- Recognize USB serial ports

PR:		ports/127555
Submitted by:	Takeshi MUTOH <mutoh@openedu.org>
b2dc840ac2
Pav Lucistnik (pav) · 2.1.7r2_3
- Fix build with jdk16

Submitted by:	Zach Metzinger <zmetzing@pobox.com>
Approved by:	portmgr (self)
d19083957f
Pav Lucistnik (pav) · 2.1.7r2_2
- Jean-Baptiste Quenot won't be able to maintain his FreeBSD ports anymore and   wants them to be released

Submitted by:	Jean-Baptiste Quenot <jb.quenot@caraldi.com> (maintainer)
d56b289848
Edwin Groothuis (edwin) · 2.1.7r2_2
Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
090059a210
Martin Wilke (miwi) · 2.1.7r2_1
- Remove unneeded dependency from gtk12/gtk20 [1] - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
3e4ed01146
Andrew Pantyukhin (sat) · 2.1.7r2_1
- Use ARCH instead of MACHINE_ARCH

Approved by:	Jean-Baptiste Quenot <jbq@caraldi.com> (maintainer, implicit),
		pav
602f01c5e2
Pav Lucistnik (pav) · 2.1.7r2_1
- Fix plist on !i386

OK'ed by:	Jean-Baptiste Quenot <jbq@caraldi.com> (maintainer)
34f92f1079
Florent Thoumie (flz) · 2.1.7r2_1
- Welcome X.org 7.2 \o/. - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
d4f0d0048a
Pav Lucistnik (pav) · 2.1.7r2
- Fix after objformat removal

Reported by:	pointyhat
2de8095fb1
Stefan Walter (stefan) · 2.1.7r2
Unbreak and update to 2.1.7r2.

PR:		96820
Submitted by:	Jean-Baptiste Quenot <jb.quenot@caraldi.com> (maintainer)
Approved by:	arved (mentor)
3b70b1e7e2
Kris Kennaway (kris) · 2.1.7p17
BROKEN: Does not compile
1a654e27e5
Ade Lovett (ade) · 2.1.7p17
Conversion to a single libtool environment.

Approved by:	portmgr (kris)
8503536d38
Edwin Groothuis (edwin) · 2.1.7p17
SHA256ify

Approved by:    krion@
acd87b4ad8