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

archivers/libpar2 0.4_6

Library for manipulating PAR2 files, extracted from par2cmdline

Port info

Maintainer
toxic@doobie.com
Packages
latest: 0.4_6
Upstream
up to date
Last update
to 0.4_6 · 06df180a9e
Quarterly
2026Q4: 0.4_6
WWW
https://parchive.sourceforge.net/
Links
cgit · VuXML

Install

Package
# pkg install libpar2
installs 0.4_6 from latest; from quarterly (2026Q4) 0.4_6
Port
# cd /usr/ports/archivers/libpar2 && make install clean
# make -C /usr/ports/archivers/libpar2 config  # change options first
Size
199 KiB download · 983 KiB installed
Depends on
devel/libsigc++20 2.12.2
License
GPLv2
Options
1 of 1 on in the package: DOCS

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 160.4_60.4_6–
FreeBSD 150.4_60.4_6–
FreeBSD 140.4_60.4_60.4_6

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 150.4_60.4_6–
FreeBSD 140.4_60.4_60.4_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 0.4_6.

Fixed (0)

No VuXML entries for this package.

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

None.

Commits (37)

Rodrigo Osorio (rodrigo) · 0.4_6
*/*: Update WWW to use HTTPS for sourceforge.net projects

Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems

Approved by:	portmgr (blanket)
PR:		274888
06df180a9e
Stefan Eßer (se) · 0.4_6
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) · 0.4_6
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) · 0.4_6
archivers: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Albert Vernon <f3cun3c02@sneakemail.com>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Kuehn <freebsd@nagilum.org>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexander Zhuravlev <zaa@zaa.pp.ru>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@regency.nsu.ru>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andreev Maxim
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrey Chernov <ache@FreeBSD.org>
  *  Andrey Kostenko <andrey@kostenko.name>
  *  Anes Mukhametov <anes@anes.su>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Ayumi M <ayu@commun.jp>
  *  Carsten Larsen <cs@innolan.dk>
  *  Chin-San Huang <chinsan.tw@gmail.com>
  *  Chris D. Faulhaber <jedgar@FreeBSD.org>
  *  Chris Larsen <darth@vader.dk>
  *  Christopher Key <cjk32@cam.ac.uk>
  *  Cyrille Lefevre <cyrille.lefevre@laposte.net>
  *  Dmitry Sivachenko <demon@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Felix Palmen <felix@palmen-it.de>
  *  Gabor Kovesdan <gabor@FreeBSD.org>
  *  Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
  *  Gea-Suan Lin <gslin@gslin.org>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Greg Lewis <glewis@FreeBSD.org>
  *  Hsin-Han You <hhyou@cs.nctu.edu.tw>
  *  Hye-Shik Chang
  *  Hye-Shik Chang <perky@FreeBSD.org>
  *  Igor Pokrovsky <tiamat@telegraph.spb.ru>
  *  Jaap Boender <jaapb@kerguelen.org>
  *  Jean-Yves Lefort <jylefort@brutele.be>
  *  Jeff Burchell <toxic@doobie.com>
  *  Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
  *  Jerry Hicks
  *  Joao Carlos Mendes Luis <jonny@jonny.eng.br>
  *  John Marino <marino@FreeBSD.org>
  *  José García Juanino <jjuanino@gmail.com>
  *  Juergen Lock <nox@jelal.kn-bremen.de>
  *  Kevin Golding <ports@caomhin.org>
  *  Konstantin Reznichenko <kot@premierbank.dp.ua>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Lars Thegler <lth@FreeBSD.org>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Mark Felder <feld@FreeBSD.org>
  *  Mark Kane <mark@mkproductions.org>
  *  Mark Pulford <mark@kyne.com.au>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Matteo Cypriani <mcy@lm7.fr>
  *  Max Khon <fjoe@FreeBSD.org>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Melvyn Sopacua <melvyn@magemana.nl>
  *  Miguel Mendez <flynn@energyhq.homeip.net>
  *  Nathan Ahlstrom <nra@FreeBSD.org>
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Patrick Seal <patseal@hyperhost.net>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Per Wigren
  *  Philippe Casidy <pcasidy@casidy.com>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Poul-Henning Kamp <phk@FreeBSD.org>
  *  Radim Kolar
  *  Radim Kolar <hsn@filez.com>
  *  Radim Kolar <hsn@netmag.cz>
  *  Rainer Hurling <rhurlin@gwdg.de>
  *  Richard Gallamore <ultima@FreeBSD.org>
  *  Roman Shterenzon <roman@xpert.com>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Sam Lawrance <boris@brooknet.com.au>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Sir l33tname <sirl33tname@gmail.com>
  *  Stanislav Sedov <ssedov@mbsd.msk.ru>
  *  Stefan Esser <se@FreeBSD.org>
  *  Steve Wills <swills@FreeBSD.org>
  *  Steven Kreuzer <skreuzer@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
  *  Sylvio Cesar <sylvio@FreeBSD.org>
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  Thierry Thomas <thierry@pompo.net>
  *  Thomas Abthorpe <thomas@goodking.ca>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Vanilla I. Shu <vanilla@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Will Andrews <andrews@technologist.com>
  *  Yarodin <yarodin@gmail.com>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  ache
  *  adamw
  *  antoine@FreeBSD.org
  *  bf <bf2006a@yahoo.com>
  *  chinsan <chinsan.tw@gmail.com>
  *  giffunip@asme.org
  *  gurkan@phys.ethz.ch
  *  iblis <iblis.dif01@nctu.edu.tw>
  *  ijliao
  *  jmz
  *  kwm@FreeBSD.org
  *  lbartoletti <lbartoletti@FreeBSD.org>
  *  mm
  *  ports@c0decafe.net <ports@c0decafe.net>
  *  samm@freebsd.org
  *  swhetzel@gmail.com
  *  will

With hat:	portmgr
1ced9d288a
Mathieu Arnold (mat) · 0.4_6
Remove # $FreeBSD$ from Makefiles.
305f148f48
Gerald Pfeifer (gerald) · 0.4_6
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
ea8c8ec7da
Gerald Pfeifer (gerald) · 0.4_5
Bump PORTREVISION for ports depending on the canonical version of GCC defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
a9f015d155
Gerald Pfeifer (gerald) · 0.4_4
Bump PORTREVISION for ports depending on the canonical version of GCC in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
09f9633cb6
Gerald Pfeifer (gerald) · 0.4_3
Bump PORTREVISION for ports depending on the canonical version of GCC (via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
e59c88cece
Baptiste Daroussin (bapt) · 0.4_2
Chase a bunch of failures after libsigc++20 update

New libsigc++20 requires c++11 (it exposes c++11) so explicitly use -std=c++11
where needed.
Mark as broken a bunch of ports which are not c++11 compatible
e4309c5507
Mathieu Arnold (mat) · 0.4_1
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.

With hat:	portmgr
Sponsored by:	Absolight
7f4572eae4
Baptiste Daroussin (bapt) · 0.4_1
Clean up plist
161b92dff7
Adam Weinberger (adamw) · 0.4_1
Reduce unnecessary bsd.port.options.mk inclusions by using OPTIONS helpers.

For liborange, reverse the logic, as I'm pretty sure the OPTIONS were being
used to disable the selected options.

Approved by:	portmgr (blanket)
41fcfb64f9
Dmitry Marakasov (amdmi3) · 0.4_1
- Switch to USES=libtool, drop .la files

Approved by:	portmgr blanket
9a2db5548d
Emanuel Haupt (ehaupt) · 0.4
Remove trailing whitespaces from category archivers
d00885fd73
Emanuel Haupt (ehaupt) · 0.4
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)
5005b67362
Baptiste Daroussin (bapt) · 0.4
Part 1 at removing now useless FETCH_ARGS redifition
c0d7b638ed
Mark Felder (feld) · 0.4
Update to 0.4 Support STAGE

PR:		ports/183569
Submitted by:	Nicolas Raspail
Approved by:	swills (mentor)
75cd8c3c9c
Baptiste Daroussin (bapt) · 0.3
Add NO_STAGE all over the place in preparation for the staging support (cat: archivers)
b80ec3e204
Baptiste Daroussin (bapt) · 0.3
Fix build without libstdc++
1e4f1b087d
William Grzybowski (wg) · 0.3
- Update to 0.3 [1] - Remove USE_GCC (builds with clang) [1] - Add LICENSE (GPLv2)

This is a new upstream, the original is dead.

PR:		ports/179029
Submitted by:	Herbert J. Skuhra <h.skuhra@gmail.com>
Approved by:	culot (mentor), maintainer
63856003dc
William Grzybowski (wg) · 0.2_4
- Use gcc for now (does not compile with clang)

Upstream seems inactive for about 7 years

PR:		ports/178989
Submitted by:	wg (myself)
Approved by:	culot (mentor)
58b279c2ca
Baptiste Daroussin (bapt) · 0.2_4
Finish converting the whole ports tree to USES=pkgconfig
992586fa08
Koop Mast (kwm) · 0.2_4
* Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which   are the latest stable releases. * Update vala to the newest stable release 0.18.1, also update a few ports   in the gtk/gnome stack. * The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles. * Remove pkg-config run depends from glib20 and freetype2. This doesn't   eliminate pkg-config run dependency c

Thanks to miwi and crees for helping out with some exp-runs.
Approved by:	portmgr (miwi & bapt)
Obtained from:	gnome team repo
7887c684ad
Steve Wills (swills) · 0.2_4
- Update patches required by nzbget

PR:		ports/175846
Submitted by:	Mark Felder <feld@feld.me>
Approved by:	Jeff Burchell <toxic@doobie.com> (maintainer)
691448468f
Alexey Dokuchaev (danfe) · 0.2_3
For a number of ports in archives category, trim the header and drop leading indefinite article from COMMENT line; also fix few noticed styles bugs while I am here.
142171e3f3
Baptiste Daroussin (bapt) · 0.2_3
Convert to new options framework

PR:		ports/173810
Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com>
Approved by:	Jeff Burchell <toxic@doobie.com>
Feature safe:	yes
33a6e23951
Martin Wilke (miwi) · 0.2_3
- Remove WITH_FBSD10_FIX, is no longer needed
e1c6649edf
Martin Wilke (miwi) · 0.2_3
- Fix build on FreeBSD 10
85ea2127c9
Dmitry Marakasov (amdmi3) · 0.2_3
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS) - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
6f6fbe4bdf
Martin Wilke (miwi) · 0.2_3
- Get Rid MD5 support

With hat:	portmgr (myself)
65e190c0f0
Philip M. Gollucci (pgollucci) · 0.2_3
- DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.

PR:             ports/153292
Submitted by:   myself (pgollucci)
Tested by:      -exp run by pav
Approved by:    portmgr (pav)
116ec22ac1
Martin Wilke (miwi) · 0.2_3
- Includes two patches

* a bugfix that closes a memory leak triggered by corrupted PAR2 files.
	  That fix is included in some linux vendors' libpar2 packages, and is
	  well-tested.
	* The other adds additional functionality: a method to cancel a file
	  repair in progress. This patch can be disabled through a config option.
	  It is enabled by default because the only application in the ports tree
	  that links against libpar2 is news/nzbget. Nzbget makes use of this
	  functionality if it is available.

PR:		146125
Submitted by:	Jeff Burchell <toxic@doobie.com> (maintainer)
92350e11c1
Dmitry Marakasov (amdmi3) · 0.2_2
- Switch SourceForge ports to the new File Release System: categories starting with A
a07aa037a1
Rong-En Fan (rafan) · 0.2_2
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
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
741aa71483
Edwin Groothuis (edwin) · 0.2_2
Fix NOPORTDOCS related issues Noticed by: ionbot
774ee2d2f2
Edwin Groothuis (edwin) · 0.2_1
[NEW PORT] archivers/libpar2 Reusable library for manipulating par2 files

Libpar2 is a library for creating and using PAR2 files to detect
	damage in data files and repair them if necessary. It can be used with
	any kind of file. Par files are especially popular on Usenet.

	Libpar2 is extracted from par2cmdline, and distributed separately.

	WWW: http://parchive.sourceforge.net/

PR:		ports/126578
Submitted by:	Jeff Burchell <toxic@doobie.com>
e7f6d9c0ae