libzip is a C library for reading, creating, and modifying zip
archives. Files can be added from data buffers, files, or compressed
data copied directly from other zip archives. Changes made without
closing the archive can be reverted. The API is documented by man
pages.
archivers/libzip: Update to 1.10.0
* Remove Perl dependency
* Unit tests relies on unported libraries, disable for now
* Disable RPATH via CMAKE_SKIP_RPATH argument instead of patching
Changelog: https://github.com/nih-at/libzip/releases/tag/v1.10.0
PR: 272208
Reviewed by: rakuco (maintainer)
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 )
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine
Update to 1.5.1.
Upstream has switched to CMake, so follow suit here (and explicitly disable
crypto backends other than OpenSSL for AES support).
The port also depends on Perl for testing, so add the missing dependency.
Based on an initial patch by danfe@.
Submitted by: danfe (initial version)
Update libzip to 1.3.0.
It includes the fix for CVE-2017-14107 (landed separately in r450768) as well
as a fix for CVE-2017-12858, which did not affect us due to the fact that the
vulnerability was introduced in 1.2.0.
libzip.so's SOVERSION got bumped after the removal of the undocumented function
zip_archive_set_tempdir(). All ports depending on libzip continue to build fine
after that.
PR: 222638
Submitted by: Dani <i.dani@outlook.com>
Add a patch for CVE-2017-14107.
This is a minor security vulnerability that can lead to a denial of service
issue in libzip when a specially crafted archive is used.
PR: 222638
Security: b2952517-07e5-4d19-8850-21c5b7e0623f
Security: CVE-2017-14107
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
Reassign makc's ports back to the pool.
See "Maintainer Reset" in
https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit
was in March 31st (r412218), and his ports have been timing out since at least
July (r418155).
I also emailed him 2 weeks ago and have received no response so far.
Update to 1.1.1.
2016-02-07: Released libzip 1.1.1
- Build fixes for Linux
- Fix some warnings reported by PVS-Studio
2016-01-28: Released libzip 1.1
- ziptool(1): command line tool to modify zip archives
- Speedups for archives with many entries
- Coverity fixes
- Better APK support
- Support for running tests on Windows
- More build fixes for Windows
- Portability fixes
- Documentation improvements
PR: 207250
Approved by: makc (maintainer)
Convert archivers/libzip to USES=libtool. Bump PORTREVISION on all
dependent ports.
cad/repsnapper:
- Remove excessive dependencies.
- Convert to USES=libtool.
- Set LDFLAGS to fix detection of libintl.
- Use @sample.
databases/mysql-workbench51:
- Remove remnants of former slave ports.
- Convert some LIB_DEPENDS to USE_GNOME.
- Convert to USES=libtool.
- Staging.
databases/mysql-workbench52:
- USES=libtool.
devel/libsigrok:
- USES=libtool.
- INSTALL_TARGET=install-strip.
devel/liborcus:
- USES=libtool tar:bzip2.
- Update to 0.11.1 [1]
- Move MANx records to a separate makefile
- switch to xz compressed tarball
- Convert to USES, remove needless pkgconfig dependency
PR: based on ports/180454 [1]
Submitted by: Oleg Ginzburg <olevole at olevole.ru>
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.
Add libzip.
libzip is a C library for reading, creating, and modifying zip archives. Files
can be added from data buffers, files, or compressed data copied directly from
other zip archives. Changes made without closing the archive can be reverted.
The API is documented by man pages.
WWW: http://www.nih.at/libzip/
PR: ports/94710
Submitted by: Alexander Zhuravlev <zaa@ulstu.ru>