aboutsummaryrefslogtreecommitdiff
path: root/lib/libz
Commit message (Collapse)AuthorAgeFilesLines
* zlib: Move to a new zlib packageLexi Winter2025-10-281-4/+1
| | | | | | | | | | | | | zlib is a standalone third-party component, and deserves its own package rather than living in runtime. For example, this will make future security updates less invasive. This also means there's no dependency on runtime for ports that just require zlib, which is useful for service jails. MFC after: 3 days Reviewed by: bapt, emaste Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53058
* Update Makefile.depend filesSimon J. Gerraty2024-10-141-1/+0
| | | | | | | After building packages we have a number of new and updated Makefile.depend files Reviewed by: stevek
* dirdeps: Update/fix Makefile.depend* for toolchainKa Ho Ng2023-11-271-0/+1
| | | | This fixes make pseudo/toolchain.
* lib{c,lzma,z}: remove -DSYMBOL_VERSIONING from CFLAGSBrooks Davis2023-11-151-1/+0
| | | | | | | | | | | | | | This was part of a libkse and libpthread transition aide when libc gained symbol versions in e62165c8b0f7d6452c0033127a0fd8ad1d9e34d3 (March 2006). The code that cared about this macro was removed in commit 00fb440c1a145b56b6c75fd405d80071aef2aab1 (May 2007) when symbol versioning was enabled by default and libthr became the default threading library. For unknown reasons, it stayed in libc (which seemingly never used it) and seems to have been copied to liblzma and libz. Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42613
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-163-3/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
* zlib: Silence -Wstrict-prototype warnings.John Baldwin2023-04-241-1/+1
| | | | | | | Presumably upstream will fix this eventually. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39724
* libz: Move NO_WDEPRECATED_NON_PROTOTYPE below include of bsd.lib.mk.John Baldwin2023-04-191-1/+2
| | | | Also add it to CWARNFLAGS rather than CFLAGS.
* libz: silence K&R warnsMateusz Guzik2023-03-161-0/+1
| | | | Sponsored by: Rubicon Communications, LLC ("Netgate")
* Install working pkgconfig .pc files for compat librariesAlex Richardson2022-08-111-3/+3
| | | | | | | | | The default ones are install them to /usr/libdata/pkgconfig, and we can't use this path for compat libraries, so we use /usr/lib<suffix>/pkgconfigi here. Test Plan: grep -rn libdir= ./usr/lib32/pkgconfig/*.pc MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34939
* libz: update the upgrade instructions to reflect realityXin LI2022-04-301-4/+2
|
* lib/libz: remove ZLIBprivate_1.0 namespace.Xin LI2022-04-032-17/+0
| | | | | | These symbols were hidden and no longer exposed, and were never exposed in headers. MFC after: 3 days
* MFV c144cc54795d: zlib 1.2.12.Xin LI2022-03-313-1/+10
|\ | | | | | | | | MFC after: 3 days Relnotes: yes
* | Bootstrap libz when cross-building from non-FreeBSDJessica Clarke2021-12-061-1/+6
| | | | | | | | | | | | | | This is needed now libdwarf depends on libz. Fixes: dbf05458e3bd ("libdwarf: Support consumption of compressed ELF sections") MFC after: 1 week
* | Convert libs with pc files to use PCFILESEmmanuel Vadot2021-03-161-2/+1
| | | | | | | | | | | | | | | | Now the .pc ends up in the correct package (-dev) Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D29172 MFC after: 2 weeks
* | Generate zlib.pc from source.Xin LI2020-05-122-14/+11
| | | | | | | | | | | | | | | | | | Reviewed by: bapt MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D24806 Notes: svn path=/head/; revision=360952
* | Update Makefile.depend filesSimon J. Gerraty2019-12-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* | Remove obsolete, non-use of CLANG_NO_IAS.Brooks Davis2019-10-181-3/+0
| | | | | | | | | | | | | | CLANG_NO_IAS was removed in r351661. Notes: svn path=/head/; revision=353709
* | pkgbase: Put a lot of binaries and lib in FreeBSD-runtimeEmmanuel Vadot2019-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | All of them are needed to be able to boot to single user and be able to repair a existing FreeBSD installation so put them directly into FreeBSD-runtime. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21503 Notes: svn path=/head/; revision=351855
* | Move contrib/zlib to sys/contrib/zlib so that we can use it in kernel.Xin LI2019-05-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | This is a prerequisite of unifying kernel zlib instances. Submitted by: Yoshihiro Ota <ota at j.email.ne.jp> MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D20191 Notes: svn path=/head/; revision=347244
* | Add zdopen(3) to complement zopen(3).Mark Johnston2018-12-065-22/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | zdopen() can be used in capability mode. Update zopen.3 accordingly and fix some grammar nits while I'm here. Reviewed by: delphij MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18456 Notes: svn path=/head/; revision=341648
* | Remove "All rights reserved" from my files.Xin LI2018-05-101-2/+1
| | | | | | | | | | | | | | | | | | See r333391 for the rationale. MFC after: 1 week Notes: svn path=/head/; revision=333449
* | DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | | | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* | Add missing double quote to fix r316635 commit.Alexander Kabaev2017-04-091-1/+1
| | | | | | | | Notes: svn path=/head/; revision=316649
* | Enable 16-bit longest_match for x86.Xin LI2017-04-081-13/+3
| | | | | | | | | | | | | | | | | | This gives a ~2% improvement in compression tests. MFC after: 2 weeks Notes: svn path=/head/; revision=316635
* | MFV r311279: zlib 1.2.10.Xin LI2017-01-043-1/+15
|\| | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=311285
* | Restructure libz, place vendor files in contrib/zlib like other thirdXin LI2017-01-0444-20545/+17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | party software, this provides more standarized import workflow and makes future upgrades easier. The following files are new with this commit: zconf.h.in zlib.map zlib.pc.in They are not connected to build, but were kept in tree for reference for future maintenance. All our local trivial changes were applied to contrib/zlib, and the contrib/zlib vendor source code is intended to 100% match lib/libz before this commit. MFC after: 2 weeks Notes: svn path=/head/; revision=311275
* | MFHGlen Barber2016-04-041-1/+0
|\ \ | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297567
| * | Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally.Bryan Drewery2016-03-261-1/+0
| | | | | | | | | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297283
* | | First pass through library packaging.Glen Barber2016-02-041-0/+1
|/ / | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
* | META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery2015-11-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291307
* | Remove redundant COMPAT_32BIT guard on pkgconfig files. This is already handledBryan Drewery2015-10-031-2/+0
| | | | | | | | | | | | | | | | | | by the LIBRARIES_ONLY mechanism protecting FILES. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288615
* | Replace beforeinstall: handling with FILES.Bryan Drewery2015-09-181-3/+2
| | | | | | | | | | | | | | | | | | This actually fixes some cases to respect LIBRARIES_ONLY. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=287980
* | In libz's inflateMark(), avoid left-shifting a negative integer, whichDimitry Andric2015-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | is undefined. Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D3344 MFC after: 3 days Notes: svn path=/head/; revision=287541
* | new dependsSimon J. Gerraty2015-06-161-0/+1
| | | | | | | | Notes: svn path=/head/; revision=284481
* | Revert r284417 it is not necessary anymoreBaptiste Daroussin2015-06-151-1/+1
| | | | | | | | Notes: svn path=/head/; revision=284421
* | Enforce overwritting SHLIBDIRBaptiste Daroussin2015-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere. This makes /lib being populated again. Reported by: many Notes: svn path=/head/; revision=284417
* | Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * | dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * | Merge from head@274682Simon J. Gerraty2014-11-191-0/+2
| |\ \ | |/ / |/| | | | | Notes: svn path=/projects/bmake/; revision=274683
| * | Merge head from 7/28Simon J. Gerraty2014-08-193-0/+21
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Merge headSimon J. Gerraty2014-04-276-8/+110
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265006
| * \ \ \ Merge from headSimon J. Gerraty2013-09-0525-140/+329
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | | Updated/new Makefile.dependSimon J. Gerraty2012-11-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242788