MySQL Connector/J is the official JDBC driver for MySQL. MySQL
Connector/J 8.0 is compatible with all MySQL versions starting with
MySQL 5.5. Additionally, MySQL Connector/J 8.0 supports the new X
DevAPI for development with MySQL Server 8.0.
===> The following configuration options are available for mysql-connector-java-8.0.30:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
databases/mysql-connector-j: Renamed and updated to 8.1.0
Starting on 8.0.31, upstream has renamed the port to mysql-connector-j
and the groupId and artifactId has changed to comply with proper naming
guidelines. Please read the changelog for more details.
Changes: https://dev.mysql.com/doc/relnotes/connector-j/8.1/en/news-8-1-0.html
*/*: Refactor java/openjdk7 removal
- java/openjdk7* has been removed from the tree since 2022-09-03 however
the relevant codebases in bsd.java.mk has not been removed and the
consumers has also not been updated to use the next jdk version. This
commit updates all relevant consumers to use JAVA_VERSION=8 instead of
JAVA_VERSION=1.7
- Since the introduction of jdk version 18 it looks like similar with
jdk version 8(java version string 1.8). This is prone to error as it
looks similar and is only seperated by a '.'. Remove using
JAVA_VERSION with dotted fomat of java version string and update all
consumers to utilize version 8 instead of 1.8.
Approved by: portmgr (blanket)
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)
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.
(Only the first 15 lines of the commit message are shown above )
*/*: 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)
Update to 8.0.16
Upstream has unbundled all of the 3rd party jars they used to ship in
the tarball. We already preferred installing slf4j.jar and c3p0.jar
from ports, so we just had to add a dependency (and create a port for)
protobuf-java.jar
ChangeLog: https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-16.html
Update to 5.1.39
- Modernize port: use option depended make targets
- Add PORTSCOUT config
- Support OpenJDK8
- Consequently make building the javadoc API docs contingent on the
version of java used: only build when java 1.6 or 1.7 is in use.
javadoc in OpenJDK 1.8 is much less forgiving than in earlier
versions of java, and would require substantion patching of the
sources to generate javadoc successfully.
- Use COPYTREE_SHARE to install javadocs rather than rolling our own
ChangeLog: http://dev.mysql.com/doc/relnotes/connector-j/5.1/en/news-5-1-39.html
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: Absolight
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)
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
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)
Routine update to the latest stable version. The big delta in the
version numbers is apparently mostly an exercise by MySQL AB to have
all their products with "matching" version numbers. There are some
shiny new bits of extra functionality to justify the new major version
numbers though.
Quoting the release message:
"This is the first generally-available, production release of
Connector/J 5.0. Notice that Connector/J 3.1 has supported all
MySQL-5.0 features other than XA, but this is the first
generally-available release that "synchronizes" version numbers
with the server (as well as adding support for XA).
Version 5.0.3 is suitable for use with any MySQL version including
MySQL-4.1, MySQL-5.0 or MySQL-5.1 beta."
The complete release announcement is at:
http://lists.mysql.com/announce/382
On-line changelog is at:
http://dev.mysql.com/doc/refman/5.0/en/cj-news.html
Upgrade notes:
http://dev.mysql.com/doc/refman/5.0/en/cj-upgrading.html
PR: ports/100931
Submitted by: Matthew Seaman (maintainer)
Install documentation using ${INSTALL_DATA} rather than ${CP} to ensure that
ownerships and permissions come out right when port is built as a mortal user
then installed as root
PR: 86088
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
- Update to 3.1.10 [1]
- Don't try to mkdir ${JAVAJARDIR} as it has been part of mtree for more than 3
years now
PR: 83059 [1]
Submitted by: maintainer [1]
- Update to 3.1.7 [1]
- Use ${JAVALIBDIR} for JAR dependencies
- Use %%JAVAJARDIR%% in plist
- ECHO_CMD -> ECHO_MSG
- Add $FreeBSD$ tag in patch
- Improve the build.xml patch to have the location of JAR files set through
MAKE_ARGS (should help with people with non-standard paths)
PR: 77916 [1]
Submitted by: maintainer [1]
Approved by: maintainer
[ maintainer ] databases/mysql-connector-java -- update to 3.1.6
Update to version 3.1.6 -- This is a major update to a new code
branch, and development on the 3.0 branch will now be limited to
critical bug-fixes. From the release announcement:
Version 3.1.6 is the first production release of
the 3.1 series that is suitable for use with all
versions of MySQL, including MySQL-4.1 or MySQL-5.0.
Connector/J 3.1.6 is required if you want to use
server-side prepared statements MySQL-4.1.2 or
newer, or CallableStatements with MySQL-5.0.
http://lists.mysql.com/announce/250
Anyone upgrading from the 3.0 series should first read
http://dev.mysql.com/doc/connector/j/en/#id2424819
This update adds both a BUILD_DEPENDS and a RUN_DEPENDS on
devel/log4j (unless you use the WITHOUT_COMPILE option,
where there's only a RUN_DEPENDS)
PR: ports/76149
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>