Commit graph

59 commits

Author SHA1 Message Date
wiz
63f8a3be79 *: update for Python base package change
Instead of depending on one of the removed packages (that are now included
in the base Python packages), include batteries-included.mk to require
a Python version that supplies them.

Remove now included packages.

Bump PKGREVISION.
2023-10-23 06:37:32 +00:00
wiz
0046911d31 *: recursive bump for Python 3.11 as new default 2023-08-14 05:23:45 +00:00
riastradh
8560be0ed3 Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.
Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
2023-06-06 12:40:15 +00:00
wiz
a2e1a35a28 *: convert to cmake/build.mk 2023-01-24 18:36:17 +00:00
nia
d854b0160a archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and SHA512
hashes.
2021-10-26 09:57:04 +00:00
nia
5b593563e1 archivers: Remove SHA1 distfiles hashes 2021-10-07 13:05:55 +00:00
nia
291d17092e zziplib: set PYTHON_FOR_BUILD_ONLY 2021-04-12 11:20:27 +00:00
otis
6befe00959 archivers/zziplib: Use portable switches for ln
Backport of upstream change. See
eaba986ff3
2021-01-17 09:36:45 +00:00
schmonz
a9cfaca6c6 Notably missing on macOS, with magic PLIST handling hiding its absence:
libzzip.dylib. Pass -f along with ln -s in the APPLE cases, too, so none
of the bash install scripts exit early due to ln giving "File exists".

Bump PKGREVISION.
2021-01-15 07:15:12 +00:00
schmonz
95b1649cd0 Fix PLIST in the dylib case. 2021-01-13 08:50:21 +00:00
otis
ccf928da97 archivers/zziplib: Fix build on SmartOS
Use portable switches to `ln'
2021-01-12 21:06:20 +00:00
wiz
1ba33e2eb3 zziplib: update to 0.13.72.
This now uses cmake to build.

2021-01-04  gdraheim@github
    * The testbuilds were fixed to make cmake install and automake install the same
    * The cmake install did need patches for man3 installation on Unix
    * The cmake install did need patches for dll installation on Windows
    * The cmake install did need patches for dylib installation on MacOS
    * The cmake install did need patches for pkgconfig generation
    * Bump testbuilds to modern distro versions (ubuntu 20.04 centos 7.9 / 8.3)
    * Takeover docker_mirror.py for air-gap testings (for testbuilds.py)
    * handle UNZZIP-NOTFOUND in cmake and mark Ubuntu 'unzip' to be broken
    * merge patches for zzip_pread feature from Max Kellermann
    * merge patches for some bugs being found and reported via GitHub issues
    * run azure-pipelines with -DZZIP_TESTCVE=OFF to skip CVE *.zip downloads
    * use zziptests.py --downloadonly to get the CVE zip files for local storage
    * The ninja builds for cmake were run regularly as it seems to be widely used.
    * AND ... rename configure.ac to old.configure.ac to break outdated packaging scripts
    * ....... see testbuilds/*-am-*.dockerfile that it still works to rename them back
    * release 0.13.72
2021-01-11 22:41:56 +00:00
wiz
2557137f60 zziplib: update to 0.13.71.
Recreate patch-ba as patch-configure and add comment.

2020-04-14  gdraheim@github
    * The testbuilds allow to compile and test for different os via docker
    * The testbuilds allow to compare new cmake to automake install results
    * Found fixes to bring base, sdl, manpages and site docs to same level
    * release 0.13.71

2020-04-14  gdraheim@github
    * there have been tons of bugfixes over the last two years ...
    * Thanks go to Patrick Steinhardt (then at Aservo) for python3 updates
    * Thanks go to Josef Moellers (working at SUSE Labs) for many CVE fixes
    * and of course all the other patches that came in via github issues.
    * I have cleaned up sources to only uses Python3 (as needed by 2020).
    * !!! The old automake/autconf/libtool system will be dumped soon!!!
    * The build system was ported to 'cmake' .. (last tested cmake 3.10.2)
    * release 0.13.70
2020-11-25 13:26:21 +00:00
rillig
a928eff0ca archivers: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-02 22:54:25 +00:00
snj
b7bcee2d6c zziplib: Update to 0.13.69.
Changes:
2018-03-15  guidod  <guidod@gmx.de>
    * fix a number of CVEs reported with special *.zip PoC files
    * man-pages are generated with new dbk2man.py - docbook xmlto is optional now
    * completing some doc strings while checking the new man-pages to look good
    * allow the zziptests.py testsuite to run with an installed /bin path
    * try to fix some issues on testing with non-installed binaries on non-linux platfors
    * update autotools to allow compiling on some newer Mac / Win machines
    * a zip-program is still required for testing, but some errors are gone when not there
    * complete the approximation of fnmatch for the test binaries (on platforms without)
    * allow windows __mmap.h to be simpler, helping with some problems on MingW
    * integrate 'fopen("wb")' from TexLive to be more portable across
    * more portability as well for helpers like strnlen being used in the sources
    * update doc refs to point to github instead of sf.net
    * update the sf.net pages to have a prominent hint on newer github.com location
    * release v0.13.69
2018-08-06 12:55:38 +00:00
ryoon
509498d03f Update to 0.13.68
Changelog:
2018-02-02  guidod  <guidod@gmx.de>
    * fix a number of CVEs reported with special *.zip files
    * the testsuite has been expanded to cover all the CVEs
    * some minor doc updates referencing GitHub instead of sf.net
    * release v0.13.68
2018-02-21 10:43:45 +00:00
wiz
ecfbd96433 Updated zziplib to 0.13.67.
2017-06-11  guidod  <guidod@gmx.de>
    * fix portability issues by introducing <zzip/__mkdir.h>
    * fix portability issues by introducing <zzip/__string.h> for strndup
    * reuse portability header <zzip/__fnmatch.h> in bins/*.c
    * release v0.13.67
2017-07-04 09:27:23 +00:00
wiz
4392756ba5 Simplify. 2017-05-15 08:54:53 +00:00
spz
a9ffd354df update from 0.13.59 to v0.13.66
fixing: CVE-2017-5974 CVE-2017-5975 CVE-2017-5976 CVE-2017-5978 CVE-2017-5981

Upstream changelog:
2017-04-24  guidod  <guidod@gmx.de>
    * common frontend 'unzzip.c' for example code in unzzip*-xx.c
    * expand testcases to cover all of big/mem/mix/zap variants
    * release v0.13.66

2017-04-23  guidod  <guidod@gmx.de>
    * turn the testsuite from makefile into python unittest format
    * extend 'make check' testsuite to cover non-libzzip extensions
    * fix unzzipcat-seeko and unzzipcat-mem to match the testsuite
    * release v0.13.65

2017-04-20  guidod  <guidod@gmx.de>
    * check patches in opensuse builds, mostly for some CVE reports

2012-09-15  guidod  <guidod@gmx.de>
    * zzip.h, plugin.h: "};" at end of extern-C produces build errors with
       the default --pedantic-errors on newer CMake. Thanks to Keith Thompson
       recognizing it - see http://stackoverflow.com/questions/12384280/

2012-03-11  guidod  <guidod@gmx.de>

	* configure.ac: fallback to libtool -export-dynamic unless being sure to
	   use gnu-ld --export-dynamic. The darwin case is a bit special here
	   as the c-compiler and linker might be from different worlds.
	* next 0.13.62 - needs a fix for mingw
	   (-mconsole is not a linker option, only the gcc should see it)

2010-12-30 guidod <guidod@gmx.de>
        * done 0.13.60 release, tagged, and announced.
        * prepare 0.13.61

2010-12-29 guidod <guidod@gmx.de>
        * Makefile.am: allow nonstaic build
        * wrap fd.open like in the Fedora patch

2010-12-28 guidod <guidod@gmx.de>
        * zziplib.spec - simplify the spec based on distro specs.

2010-12-27 guidod <guidod@gmx.de>
        * adding fetch.h/fetch.c to msvc8/zziplib.vcproj to allow
          tests with Visual Studio C++ Express 2005

2010-12-27 guidod <guidod@gmx.de>
        * fix stat.c to check ZZIP_CASELESS instead of the deprecated
          ZZIP_CASEINSENSITIVE. The latter is still recognized for
          compatibility reasons and implicitly mapped to ZZIP_CASELESS.
        * fixes the zziplib-Patches-3078188 which reported the bug.

2010-12-27 guidod <guidod@gmx.de>
        * apply patches by Peter Breitenlohner for better compatibility
          with AIX host system. Also the Sun Studio compiler insists on
          static inline functions or else assumes extern inline.
        * also fixes zziplib-Patches-3011551 on the AIX problem.

2010-12-27 guidod <guidod@gmx.de>
        * add hints that the ext_io plugin handlers should be static.

2010-05-09  guidod  <guidod@gmx.de>

	* zzip/__fnmatch.h: add include <string.h> to make mingw32 happy.
	     Patches item #2995373 by Gregory Smith

2010-05-08  guidod  <guidod@gmx.de>

	* SDL/Makefile.am: fix generation of sdl-uninstalled.pc that was
	   not recognized during compilation.

2010-04-05  guidod  <guidod@gmx.de>

	* Makefile.am: fix "osc rm" and fix "test-sdl" if SDL was not found.
	* configure.ac: SDL example builds on pkgconfig/sdl.pc which

	    was introduced with SDL 1.2.11 - CentOs5 ships 1.2.10 which
	    does only have "sdl-config" and it made for a mismatch in
	    in the build configuration: sdl-devel yes, pkgconfig sdl no.
	* zzip/zip.c (__zzip_parse_root_directory): move the check for
	     zzip_disk_entry_check_magic to be after the the check that
	     the seek-value is more than a header's size before the end.
	     (based on a segfault report by Tulipánt Gergely when the
	      new modulo_entries code is enabled (which is off by default))

2010-03-30  guidod  <guidod@gmx.de>

	* zzip/Makefile.am:  fixing symlinks for lib* - use only for Linux
	    Thanks to Ryan Schmidt (macports):
		... likes to install some symlinks that don't make sense on Mac OS X:
		$ ls -l /opt/local/lib/*zzip*so*
		lrwxr-xr-x  /opt/local/lib/libzzip*.so.10 -> libzzip*.so.13
		lrwxr-xr-x  /opt/local/lib/libzzip*.so.11 -> libzzip*.so.13
		lrwxr-xr-x  /opt/local/lib/libzzip*.so.12 -> libzzip*.so.13
		Yes, the filenames literally contain an asterisk.
2017-05-15 08:40:21 +00:00
kamil
0d863de93d Fix archivers/zziplib build on NetBSD 7.99.62 amd64
Fix inline function error reference:
work/zziplib-0.13.59/zzip/.libs/libzzip.so: undefined reference to `__zzip_aligned4'

Replace _zzip_inline with regular static inline.
2017-02-25 12:16:44 +00:00
jperkin
6c504bf60c Use $as_echo to support escape sequences correctly. Cleanup some patch
headers while here.
2015-12-08 11:13:04 +00:00
agc
7ef3a4270a Add SHA512 digests for distfiles for archivers category
Problems found with existing distfile for eagle:
	distfiles/bicom101.zip
	distfiles/szip-2.1nb3/szip-2.1.tar.gz
	distfiles/xmill-0.9.1.tar.gz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 00:56:19 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
asau
3ccd61af4d "user-destdir" is default these days 2012-09-11 19:46:58 +00:00
adam
088c904578 Changes 0.13.59:
* Bug-fix release.
2010-05-15 06:37:03 +00:00
sno
76a475e56b Reworking patches to avoid gnu-ld's --export-dynamic flag for environments
without gnu-ld
2009-11-29 20:40:08 +00:00
sno
2bbc7fbbe0 Apply patches to compile on AIX 2009-11-22 20:35:25 +00:00
minskim
06929d2747 Set BUILDLINK_ABI_DEPENDS.zziplib because of major number change. 2009-07-26 21:13:35 +00:00
drochner
c5b813c27b disable a makefile rule which creates nonsense symlinks,
as /usr/pkg/lib/libzzip*.so.10 -> libzzip*.so.13
2009-07-26 19:31:02 +00:00
minskim
e529d2a861 Update zziplib to 0.13.56.
Major change since 0.10.x:

There were some problematic zip files out there that can trigger
segfaults in 0.10.x.  Later zzip file decoders have extra checks and
helper routines for that.
2009-07-26 10:29:08 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
jdolecek
bbed8dd076 add patch so that this builds on Mac OS X 10.4.10 (missing sys/types.h
for ssize_t et.al.)
2007-09-02 20:32:56 +00:00
taca
179121e598 Add a patch to prevent possible buffer overflow by using strcpy()
in zzip_open_shared_io(), it was reported as CVE-2007-1614.

Bump PKGREVISION.
2007-05-06 00:28:57 +00:00
taca
c74021d9e4 Make this package compile with gcc-4.
Bump PKGREVISION.
2006-08-11 12:50:40 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
dd7540a1d2 Fixed pkglint warnings. 2006-06-18 07:04:15 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
heinz
bdf81937a6 Added appropriate TEST_TARGET. 2006-04-09 08:57:54 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
rillig
2bbd70c5a1 Use "+=" instead of "=" for CONFIGURE_ARGS. 2005-10-23 20:58:58 +00:00
rillig
2cfc68952a Sorted the PLIST to make pkglint happy. 2005-09-02 23:15:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
f1a84844c6 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 14:45:22 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
minskim
5a4e75ef0d Enable pkgviews installation. 2004-07-28 02:47:34 +00:00