make#---------------------------------------------------------------------------- # build_unzip.txt - how to build the unzip binaries and create folder and packages # # Creation : 2013-06-30 holbru # Last update: $Id$ # # !!! this is not a script but an step-by-step howto !!! #---------------------------------------------------------------------------- exit 1 ### download the source code from the internet, e.g. # http://sourceforge.net/projects/infozip/files/ # http://sourceforge.net/projects/infozip/files/unreleased%20Betas/UnZip%20betas/ # unzip610b.zip ### extract file in a temporary location # meistens muss das vorher entpackt werden ;-) # 2013-06-30 -> unzip610b GLibC-2.11.3 # 2013-07-30 -> unzip610b rebuild with ld-2.22 # 2013-09-08 -> unzip60 # build with RPM Suse Factory, siehe spec.file # unzip-6.00-23.2.src.rpm # fallback to unzip60 # 2015-09-04 -> unzip-6.00 # build with rpm Suse # unzip-6.00-26.4.1.src.rpm # 2017-08-18 -> unzip-6.00-76.4 # build with rpm Suse # unzip-6.00-76.4.src.rpm # hbfl # 2017-10-03 -> unzip-6.00 # build with rpm Suse # unzip-6.00-33.1.src.rpm # hbfl # 2018-10-25 -> unzip-6.00 # build with rpm Suse # unzip-6.00-37.1.src.rpm # hbfl # 2020-04-10 -> unzip-6.00 # rebuild with rpm Suse -> gcc-9.2.1 -> glibc-2.31 # unzip-6.00-37.5.src.rpm # hbfl # 2021-05-21 -> unzip-6.00 # rebuild with rpm Suse -> gcc-10 -> glibc-2.33 # unzip-6.00-38.7.src.rpm # hbfl # 2023-03-26 -> unzip-6.00 # rebuild with rpm Suse -> gcc-12 -> glibc-2.37 # unzip-6.00-41.2.src.rpm # hbfl # 2025-03-12 -> unzip-6.00 # rebuild with rpm Suse -> gcc-14 -> glibc-2.41 # unzip-6.00-42.3.src.rpm cd unzip610b # build export CFLAGS='-O2 -march=i486' export CXXFLAGS="${CFLAGS}" # bzip2 einfuegen fuer bzip2 support cd bzip2 tar xf ../../bzip2-1.0.6.tar.gz --strip 1 make prefix=/usr -f unix/Makefile generic make prefix=/usr -f unix/Makefile install # extract for destinstall make prefix=/public/utils/unzip/61/usr -f unix/Makefile install # strip files/binarys for filename in `find /public/utils/unzip/61/usr/bin/* -type f` do echo $filename strip -R .note -R .comment "$filename" done