User Tools

Site Tools


qLinux
… a distribution study


<< Prev
Curl-7.82.0

Next >>
Sudo-1.9.9


Git-2.35.1

Download: git-2.35.1.tar.xz Fix the build system:

patch -Np1 -i git-2.35.1-bld-20220310.patch

The above patch disables perl and python too. Apply a patch to fix  /dev/null  in some c-files1):

patch -Np1 -i git-2.35.1-devnull.patch

Run the  fixshebang  and the  fixnull  scripts:

fixshebang -d . -r
sh /data/src/fixnull

Btw., the fixshebang changes more than 1350 files. Verify the changes by checking for double changes:

grep -snr qlnx/qlnx

Apply a patch to fix the sources2):

patch -Np1 -i git-2.35.1-src-20220331.patch

Configure the package:

./configure --without-python \
            CFLAGS="-I/libs/inc -I/misc/inc" LDFLAGS="-L/libs/lib -L/misc/lib" \
            --prefix=/plng \
            --sysconfdir=/plng/etc \
            --without-tcltk \
            --libexecdir=/plng/bin/libexec \
            --datarootdir=/plng/dat

CFLAGS=“-I/libs/inc -I/misc/inc”, LDFLAGS=“-L/libs/lib -L/misc/lib”
    These flags ensures that the libcurl does find the openssl library files3).

Build and install git:

make
make install

<< Prev
Curl-7.82.0

Next >>
Sudo-1.9.9

1)
This is maybe no longer required if  fixnull  is used
2)
This patch reflects the actual status, there are some more changes expected in the future. Right now some of these pathes are not known or not used.
3)
see the note at end of Curl-7.82.0 too