Par is similar but superior to the fmt(1) command included in the
base system.
Par is a filter that copies its input to its output, changing all
white characters (except newlines) to spaces, and reformatting
each paragraph. Paragraphs are separated by protected, blank, and
bodiless lines (see the Terminology section for definitions), and
optionally delimited by indentation (see the d option in the Options
section).
Each output paragraph is generated from the corresponding input
paragraph as follows:
1) An optional prefix and/or suffix is removed from each input line.
2) The remainder is divided into words (separated by spaces).
3) The words are joined into lines to make an eye-pleasing paragraph.
4) The prefixes and suffixes are reattached.
If there are suffixes, spaces are inserted before them so that they
all end in the same column.
textproc/par: Add Capsicum for security
Par is complicated software which process arbitrary input, this patch
adds support for Capsicum to increase its security, we cap_enter() right
at the beginning of main().
PR: 284322
Reported by: mp39590 at gmail.com
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 )
textproc/par: Fix indentation in pkg-descr and fix a typo
`pkg info par_format` shows the description like this otherwise
(whitespace stripped only at the beginning but not every line,
bug in pkg?):
Description :
Par is similar but superiour to the fmt(1) command included in the
base system.
Par is a filter that copies its input to its output, changing all
*/*: Remove redundant '-[0-9]*' from CONFLICTS
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").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
Updaye to v1.53.0. (20 years since the previous release!)
From the release notes:
Par 1.53.0 released 2020-Mar-14
Fixed the following bugs:
An unintended bad interaction between <quote> and <repeat>.
The specification was inconsistent. Although it said that
the lines inserted by the <quote> feature were vacant,
the <repeat> feature could interpret the quote character
of inserted lines as a repeat character, in which case
the lines were not vacant (according to the definition),
and more quote/repeat characters would be inserted to
extend the line to the full width, which no one would ever
want. The definition of "bodiless line" is revised so that
lines inserted by the <quote> feature are excluded from
(Only the first 15 lines of the commit message are shown above )
Remove support for variables that have been deprecated for a while.
variables deprecation revision
WITHOUT_NLS 2013-12-13 r336337
WITH_/WITHOUT_ 2014-02-24 r345870
NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587
WITH_BDB_VER 2016-05-02 r414444
OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387
WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965
While there, add an ERROR variable that works like DEV_ERROR, but for
user facing errors, and move NOPORTDOCS,
NOPORTEXAMPLES and WITHOUT_NLS to it.
Cleanup bsd.sanity.mk a bit.
Fix fallout.
PR: 224613
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D13490
Sort out duplicate LATEST_LINK issue by adding "format" suffix.
(Port commit done with my src/ committer hat on)
Requested by: Erwin "Annoying Reminder Guy III" Lansing
Fix to add staging support.
While I'm here, fix compilation; subtracting 2 pointers on a 64-bit
machine gives something the same size as a size_t.
Refactor the patches by using 'make makepatch'.
PR: 186604
Submitted by: Mikhail - mp39590 gmail com
- Par 1.52 on FreeBSD does not work as expected by the upstreams author. On
FreeBSD, the isspace() system call returns true for the non-breaking space
character 0xA0, but this is an unintended side effect.
PR: ports/64845
Submitted by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
Not objected: maintainer (2 weeks)