do not edit — generated by btf.
git.druid.rocksindexdruid520portsports/compression/zlib/add.sh

ports/compression/zlib/add.sh


set -e
 
# Sortix libz, not upstream zlib: a cleaned-up, modernized fork (ISO C
# prototypes, no K&R, no legacy-platform cruft, safe stdlib interfaces
# used unconditionally) that still tracks and backports real upstream
# zlib CVEs (confirmed via its own commit history: 2016-9840/41/42/43,
# 2018-25032, 2022-37434, and an explicit "not affected" audit for
# 2023-45853 -- this is NOT an abandoned, stale fork). API- and ABI-
# compatible with zlib on sane platforms (its own README's own words),
# confirmed for real with a compress()/uncompress() roundtrip test
# against a real consumer program. Its own install target deliberately
# installs BOTH z.pc and a zlib.pc -> z.pc symlink, and the same
# libz.so.1/libz.so/libz.a names zlib itself uses -- a genuine drop-in,
# not something the ~19 other ports depending on this package's own
# "zlib" name need to know or care changed underneath them. Used by
# Derive Linux, the project this whole tree's userland direction is
# deliberately modeled after.
git clone https://gitlab.com/sortix/libz.git zlib
cd zlib
./configure --prefix=$MP_PREFIX
make
make install
make clean || true
powered by btf.