xmlto is a front-end to an XSL toolchain. It chooses an appropriate
stylesheet for the conversion you want and applies it using an external
XSL-T processor. It also performs any necessary post-processing.
Supported conversions from DocBook XML: dvi, fo, html, html-nochunks,
htmlhelp, javahelp, man, pdf, ps, txt, xhtml, xhtml-nochunks.
Currently the only XSL-T processor supported is xsltproc (textproc/libxslt).
For DVI, PDF and PostScript output, PassiveTeX (print/passivetex) is required.
===> The following configuration options are available for xmlto-0.0.28_3:
DOCS=on: Build and/or install documentation
====> Postprocessor backends to enable
DBLATEX=off: Add dependency on DBlatex (DB for DocBook)
FOP=off: Add dependency on FOP (requires Java)
PASSIVETEX=off: Add dependency on XMLTeX/PassiveTeX
===> Use 'make config' to modify these settings
textproc/libxml2, textproc/libxslt: vulnerable
Note that libxslt is vulnerable, unfixed, and without maintainer.
Two of four vulnerabilities have been fixed.
Note that libxml2 in our ports is vulnerable and there is no upstream
release fixing these bugs, they need cherry-picks.
Deprecate textproc/xmlto and textproc/minixmlto,
which both depend on the unmaintained and vulnerable libxslt.
I have filed https://pagure.io/xmlto/issue/15 to ask the xmlto
upstream to switch to different XML/XSLT libraries.
Two issues are undisclosed and do not seem to have a CVE assigned yet.
(Only the first 15 lines of the commit message are shown above )
*/*: Switch from misc/getopt to devel/util-linux
misc/getopt expired on 2024-10-31 so it's time to switch
PR: 281625
Approved by: portmgr (blanket, build fix)
Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
infrastructure and also in the ports which have been removed from the
ports as those are redundant.
In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.
Reviewed by: portmgr
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 )
In post-patch, only touch files that need to be, otherwise some autotools
may be needed (for instance if configure.in is touched after configure)
Reported by: pkg-fallout
Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup
With hat: portmgr
Sponsored by: Absolight
The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:
NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE
This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.
This patch also contains updates of libxcb and related ports, pixman, as well
(Only the first 15 lines of the commit message are shown above )
Upgrade to new upstream release 0.0.26. Upstream changes:
- fix build with automake 1.13+
- handle used css lists in epub format
- fix broken noextensions option recognition (dropped from our patch)
- searchpath option no longer produces a warning about bad shell syntax
Fix dependency on passivetex if this option is enabled, reported by
Andriy Gapon and fix proposed by Hiroki Sato.
Add xhtml2fo.xsl default XHTML1 -> FO style sheet from
<http://www.antennahouse.com/XSLsample/XSLsample.htm> and install it
into DATADIR; and add a pkg-message about its use.
Submitted by: avg@
Obtained from: hrs@
PR: ports/183295
Make sure to not read/pollute the building user's HOME.
Add LICENSE. The port is GPLv2+. No longer install COPYING separately (which is
another copy of the GPLv2 text).
Remove MAKE_JOBS_UNSAFE.
Replace GNU-make-ism in upstream Makefile by a BSD-make compatible expansion.
Not currently needed, but since I've debugged this in a different context,
save the solution for good.
Feature safe: yes
Update to new upstream release 0.0.25. Changes:
fix possible conflict in manpage generation
fix the issue with fop/fop1 extensions support
fix support for external data objects (images) with fop
Local change: fix the --noextensions option.
Note: This also fixes the PDF generation in x11-toolkits/libXaw.
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
- Update to new upstream 0.0.23
- Change maintainer's email address
- Unconditionally depend on libpaper
- Depend on w3m (required by xmlto for certain output formats)
- Rearrange OPTIONS display
- Change way how CONFIGURE_ARGS are set, to track upstream changes
- Set MAKE_JOBS_UNSAFE (because it is)
- Simplified passivetex-related xmlto installation now possible after upstream
fixes
- Better choice of default backend
Submitted by: mandree (maintainer)
Approved by: garga (mentor)
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
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)
[PATCH] textproc/xmlto: important fixes, general overhaul, take maintainership
Supersedes: ports/123952 - please close that one, in favour
of this one. (Note, if that one should have been committed
before this one, please bump PORTREVISION to 2!)
Changes that were already in ports/123952:
- Fix all scripts that use cp -a to instead use cp -PpR,
fixing output formats such as html, html-nochunks and others.
- Take maintainership of port.
Additional changes since ports/123952, a.k.a. "overhaul":
- Drop non-functional passivetex autodetection
- Make WITH_PASSIVETEX an official OPTION (default: OFF, as previously)
- Add COPYING ChangeLog THANKS to PORTDOCS
(Only the first 15 lines of the commit message are shown above )
- Update to 0.0.18
- Teach format/docbook/txt to look in ${LOCALBASE}/bin instead of /usr/bin
This fixes this error: No way to convert HTML to text found.
PR: ports/64952
Submitted by: Koop Mast <kwm@rainbow-runner.nl>
- Update to 0.0.17 (unbreaks fetching)
- Remove local hacks to prevent fetching DocBook XML
from SourceForge at build-time - we now have xmlcatmgr that DTRT