aboutsummaryrefslogtreecommitdiff
path: root/lib/libz/Makefile
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
* 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$: one-line sh 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
* MFV c144cc54795d: zlib 1.2.12.Xin LI2022-03-311-1/+1
|\ | | | | | | | | 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-121-0/+11
| | | | | | | | | | | | | | | | | | Reviewed by: bapt MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D24806 Notes: svn path=/head/; revision=360952
* | 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-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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
* | Restructure libz, place vendor files in contrib/zlib like other thirdXin LI2017-01-041-3/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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
* | 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
* | only install .pc files when we are not installing 32bit compat libs...John-Mark Gurney2014-10-271-0/+2
| | | | | | | | | | | | | | This fixes the problem of installing the .pc files multiple times... Notes: svn path=/head/; revision=273756
* | Fix path for zlib examples, this have no runtime effect and wasXin LI2014-06-111-0/+2
| | | | | | | | | | | | | | | | | | overlooked when I was doing zlib update. MFC after: 2 weeks Notes: svn path=/head/; revision=267378
* | Add a zlib pkg-config file (more and more ports requires it)Baptiste Daroussin2014-06-111-0/+4
| | | | | | | | | | | | | | | | Approved by: delphij MFC after: 1 week Notes: svn path=/head/; revision=267376
* | Add a manual page for zopen(3) provided by our libz.so.Xin LI2014-03-061-1/+1
| | | | | | | | Notes: svn path=/head/; revision=262816
* | Fix up FreeBSD tag for files not from a vendor branchEd Maste2013-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | Unexpand the tag, remove the fbsd:nokeywords property and add the svn:keywords property. This should eliminate the gratuituous diffs that appear on these files in projects branches. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=257462
* | MFV: Update zlib to 1.2.7.Xin LI2012-06-211-7/+7
|\| | | | | | | | | | | | | | | | | | | | | (x86 assembler optimization disabled for now because it requires the new .cfi_* directives that is not supported by base system binutils). MFC after: 1 week Notes: svn path=/head/; revision=237410
| * Flattern zlib vendor tree.Xin LI2010-02-231-158/+0
| | | | | | | | Notes: svn path=/vendor/libz/dist/; revision=204237
| * Initial import of zlib-1.1.1Steve Price1998-02-281-24/+147
| | | | | | | | | | | | | | | | PR: 5869 Reviewed by: jdp Notes: svn path=/vendor/libz/dist/; revision=33904
| * This commit was manufactured by cvs2svn to create branch 'VENDOR-libz'.cvs2svn1996-08-181-0/+35
| | | | Notes: svn path=/vendor/libz/dist/; revision=17654
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, toDimitry Andric2012-02-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks Notes: svn path=/head/; revision=232263
* Disable gvmat64.S, the assembler version of longest_match for now.Xin LI2011-07-181-10/+10
| | | | | | | | | PR: kern/154073 MFC after: 3 days Approved by: re (kib) Notes: svn path=/head/; revision=224196
* Upgrade our copy of llvm/clang to r126079, from upstream's trunk.Dimitry Andric2011-02-201-0/+4
| | | | | | | | This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg. Notes: svn path=/head/; revision=218893
* Fix some leftover binaries and shared libraries in the system that stillDimitry Andric2011-02-151-0/+2
| | | | | | | | | | | | | | | | | | have an executable stack, due to linking in hand-assembled .S or .s files, that have no .GNU-stack sections: RWX --- --- /lib/libcrypto.so.6 RWX --- --- /lib/libmd.so.5 RWX --- --- /lib/libz.so.6 RWX --- --- /lib/libzpool.so.2 RWX --- --- /usr/lib/liblzma.so.5 These were found using scanelf, from the sysutils/pax-utils port. Reviewed by: kib Notes: svn path=/head/; revision=218723
* Update to zlib 1.2.4 and add versioned symbols to theXin LI2010-03-221-7/+39
| | | | | | | | | library. Sponsored by: iXsystems, Inc. Notes: svn path=/head/; revision=205471
* Build lib/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway. Notes: svn path=/head/; revision=201381
* Remove libz and pppd redundancyWarner Losh2005-06-031-2/+0
| | | | Notes: svn path=/head/; revision=146933
* Update makefile for zlib 1.2.1.Tim J. Robbins2004-06-301-2/+1
| | | | Notes: svn path=/head/; revision=131382
* Stage 3 of dynamic root support. Make all the libraries needed to runGordon Tetlow2003-08-171-0/+1
| | | | | | | | | binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified. Notes: svn path=/head/; revision=119017
* Add zopen(), a stdio wrapper for gzipped data streams.Kris Kennaway2001-09-061-1/+2
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=83138
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74870
* Add appropriate defines to use snprintf/vsnprintf instead ofChris D. Faulhaber2000-12-061-0/+2
| | | | | | | | | sprintf/vsprintf. Approved by: peter Notes: svn path=/head/; revision=69653
* Replace beforeinstall target with new variables used by .mk system.Rodney W. Grimes2000-01-141-6/+1
| | | | | | | Reviewed by: marcel, and make world Notes: svn path=/head/; revision=55955
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Backup out the last commit, it was already there.Poul-Henning Kamp1998-04-171-3/+1
| | | | | | | Noticed by: bde Notes: svn path=/head/; revision=35245
* Manpages not installedPoul-Henning Kamp1998-04-171-1/+3
| | | | | | | | | PR: 6327 Reviewed by: phk Submitted by: Chia-liang Kao <clkao@cirx.org> Notes: svn path=/head/; revision=35243