ONLYOFFICE Document Server is an online office suite comprising viewers and
editors for texts, spreadsheets and presentations, fully compatible with
Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing
in real time.
===> The following configuration options are available for onlyoffice-documentserver-9.4.0_4:
LLVM_PORTS=off: Use LLVM/clang from ports instead of base system
===> Use 'make config' to modify these settings
www/onlyoffice-documentserver: Fix build with npm 12
- Switch the npm dependency cache from npm-shrinkwrap.json to
package-lock.json, since npm 12 ignores shrinkwraps
- Bump bundled NodeJS to 24.21.0 and hunspell-hyphen to v2.8.9
PR: 298496
*/*: Use C.UTF-8 locale
Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
www/onlyoffice-documentserver: Update to 9.4.0
Upstream removes MySQL, PostgreSQL, and RabbitMQ support from the
community edition. The converter is now embedded in docservice rather
than run as a separate process.
Fix build failures on amd64 and aarch64 under clang 20+ (-current).
Changelog:
https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#940
PR: 296259
*: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.
python:3.9-X -> python:-X
python:3.9+ -> python
python:3.10-X -> python:-X
python:3.10+ -> python
(options such as ,build preserved)
www/onlyoffice-documentserver: Update to 9.0.4
- Restructure version and build numbering
- Refactor Makefile and patches based on linter tools
- Modify USES, BUILD_DEPS and variables to ease node version maintenance
- Shift openssl to USES macro
- Accomodate npm 11.2+ 'Unknown env config' warn/deprecation
Changes:
https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#904
PR: 288919
www/onlyoffice-documentserver: partial armv7 fix
This makes the build not stop immediately due to a wrong target.
Now the build fails in src/codegen/arm/cpu-arm.cc due to v8 using
Linux' arm_sync_icache which we don't have. I think I have patched
that one before...
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
www/onlyoffice-documentserver: Update to 9.0.3.31
Upgrade port version to 9.0.3.31
Upgrade port to use yao-pkg 6.6.0
Upgrade port to use node 20.19.4
Fix Apple iwork file conversion error
Minor bugfixes
PR: 288374,287122
Signed-off-by: Matt Kempe <fsbruva@yahoo.com>
www/onlyoffice-documentserver: Update to 9.0.2.16
Upgrade port version to 9.0.2.16
Upgrade port to use yao-pkg 6.5.1
Revert port dependency to node20, to match upstream
Fix compile time errors on aarch64
Add additional cache cleanup steps in Makefile
Add timestamp based versioning for cache tarball
Shift pkg and npm caches to use github
Take port maintainership
PR: 287819
www/onlyoffice-documentserver: Bump amqplib and node22 versions
Upgrade node to 22.15.1
Upgrade port to use yao-pkg 6.5.0
Backport upstream fix of bumping amqplib to 0.10.7, due to net/rabbitmq upgrade
PR: 287145
www/onlyoffice-documentserver: Upgrade to 8.3.3.23, node22
Upgrade port version to 8.3.3.23
Upgrade port dependencies to node22, now that node18 is EOL.
Upgrade port to use yao-pkg 6.4.0 (required due to node22).
Upgrade port dependency to optipng 0.7.8, closes CVE-2023-43907.
Tidy pkg-plist to pass poudriere plist and leftovers port tests.
PR: 286808
www/onlyoffice-documentserver: Fix documentserver-flush-cache.sh script
We also have to change ETCDIR in this script
Reported by: Loïc Fraison <lfraison@gmail.com>
www/onlyoffice-documentserver: Various fixes
- Fix nginx ds-cache.conf location in documentserver-flush-cache.sh
- Fix sed invocation in documentserver-flush-cache.sh
- Remove extra whitespace in documentserver-generate-allfonts.sh
- Remove todo list in Makefile
PR: 282724
www/onlyoffice-documentserver: Mark DEPRECATED
- Depends on www/node16 which has reaced End of Life
- Set EXPIRATION_DATE 2023-10-30
Approved by: portmgr (blanket)
www/onlyoffice-documentserver: Add missing pwgen dependency
It is required by documentserver-update-securelink.sh
PR: 270589
Reported by: freebsd.org@vollkorn.cryptobitch.de
www/onlyoffice-documentserver: do not strip the json binary
binary generated by npm/pkg doesn't work if they are stripped
PR: 270591
Reported by: freebsd.org@vollkorn.cryptobitch.de
www/onlyoffice-documentserver: Fix build conflict with devel/py-build
The script "build_tools/make.py" tries to import "scripts/build.py"
but does this not properly and instead imports the module "build"
from devel/py-build
PR: 267265
Submitted by: freebsd.org@vollkorn.cryptobitch.de
www/onlyoffice-documentserver: regen the cache file
The cache contains a precompiled amd64 binary
(.pkg-cache/v3.2/built-v16.13.0-freebsd-x64),
remove it so that the build system will compile it.
Reported by: dch
Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.
Document in CHANGES.
PR: 266034
Exp-run by: antoine
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36349
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 )
www/onlyoffice-documentserver: Update to 7.1.0.215
- Update v8 to 8.9.255.25, the bug with 8.7.220.31 is fixed so we can
compile v8 again.
- Remove ONLY_FOR_ARCHS as v8 may builds on all archs.
- Fix a few hardcoded /usr/local
- Fix mysql instructions in pkg-message.in
- Add upgrade procedure in pkg-message.in
www/onlyoffice-documentserver: Fix build after node 16.14.2 update and improve
port
- Regen the distinfo after node 16.14.2 update
- Fix for an hardcoded /usr/local in
files/patch-core_Common_3dParty_icu_icu.pri
- Don't chown in pkg-plist and documentserver-generate-allfonts.sh.m4, there
is no rational to do that
- Use a trigger to execute documentserver-generate-allfonts.sh and fix
pkg-message accordingly
PR: 263114
www/onlyoffice-documentserver: Fix build with MYSQL option
Add missing "localbase" to the USES list.
Error message:
Error: Command failed: /bin/sh -c ./configure --with-system-zlib
--with-system-libpng
--prefix="/wrkdirs/usr/ports/www/onlyoffice-documentserver/work/DocumentServer-7.0.1/web-apps/build/node_modules/optipng-bin/vendor"
--bindir="/wrkdirs/usr/ports/www/onlyoffice-documentserver/work/DocumentServer-7.0.1/web-apps/build/node_modules/optipng-bin/vendor"
Checking for system libpng...
./configure: error: missing libpng or incorrect libpng version
./configure: note: libpng version 1.2.9 or higher is required
Reported and tested by: Martin Waschbüsch
www/onlyoffice-documentserver: Update to 7.0.1.50
Update to 7.0.1.50
Cleanup patches
Remove obsolete dependencies (they were required to build v8)
Don't force the installation of the database server, the server can be hosted
anywhere.
Fix a build fs violation (with PYTHONDONTWRITEBYTECODE=1)
Various fix in pkg-message
Changes:
https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#701
www/onlyoffice-documentserver: Improve port.
- Option'ify the database backend and add MySQL
- Add a newsyslog sample file (pr 261514, submitted by Martin Waschbüsch)
- Add a missing nginx sample file (ds-ssl.conf)
- Fix an hardcoded /usr/local in files/patch-document-server-package_Makefile
- Improve pkg-message:
- Add an 'upgrade' note (suggested by bapt@)
- Add instructions to use MySQL as a database server
- Pass the erlang-cookie option when invoking rabbitmqctl
PR: 261514
www/onlyoffice-documentserver: Update to 7.0.0.133
- Update to 7.0.0.133
- Downgrade v8 to v6.8.275.32:
onlyoffice doesn't work correctly with version 8.7.220.31
- Use prebuilt binaries for v8, version 6.8.275.32 requires outdated ports:
devel/gn@v1714, devel/py-Jinja2@v2.8 and textproc/py-markupsafe@v1.1.1
- Restrict the port to aarch64 and amd64
- Fix user name in pkg-plist
Changes: https://github.com/ONLYOFFICE/DocumentServer/blob/v7.0.0/CHANGELOG.md
www/onlyoffice-documentserver: fix patches
These patches contains DOS EOL, for whatever reasons git has removed them and
put
Unix EOL instead.
Restore the DOS EOL.
www/onlyoffice-documentserver: Add new port
ONLYOFFICE Document Server is an online office suite comprising viewers and
editors for texts, spreadsheets and presentations, fully compatible with
Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing
in real time.
WWW: https://www.onlyoffice.com/
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D33923