~armaan/asd-repo

1b6f0ae203eb7ba0b4cc94bf6fe63f291d34768f — Armaan Bhojwani 2 months ago 83dd494
git: update libcurl
6 files changed, 25 insertions(+), 14 deletions(-)

M core/curl/build
M core/curl/version
M core/git/build
M core/git/depends
M core/git/sources
M core/git/version
M core/curl/build => core/curl/build +16 -1
@@ 15,7 15,22 @@
    --without-libpsl \
    --with-pic \
    --with-openssl \
    --with-ca-fallback
    --with-ca-fallback \
    --disable-ftp \
    --disable-file \
    --disable-ldap \
    --disable-ldaps \
    --disable-rtsp \
    --disable-proxy \
    --disable-dict \
    --disable-telnet \
    --disable-tftp \
    --disable-pop3 \
    --disable-imap \
    --disable-smb \
    --disable-smtp \
    --disable-gopher \
    --disable-mqtt

make curl_LDFLAGS=-all-static
make DESTDIR="$1" install

M core/curl/version => core/curl/version +1 -1
@@ 1,1 1,1 @@
7.77.0 1
7.77.0 2

M core/git/build => core/git/build +4 -7
@@ 7,24 7,21 @@ NO_GETTEXT=YesPlease
NO_SVN_TESTS=YesPlease
NO_TCLTK=YesPlease
NO_NSEC=YesPlease
NO_PERL=YesPlease
NO_SVN_TESTS=YesPlease
NO_SYS_POLL_H=1
NO_CROSS_DIRECTORY_HARDLINKS=1
NO_INSTALL_HARDLINKS=1
NO_PERL=YesPlease
EOF

./configure \
    --prefix=/usr \
    --libexecdir=/usr/lib \
    ac_cv_lib_curl_curl_global_init=no \
    ac_cv_lib_curl_curl_global_init=yes \
    ac_cv_snprintf_returns_bogus=no \
    ac_cv_fread_reads_directories=yes

gmake LIBS="libgit.a xdiff/lib.a -lz"
gmake LIBS="$(curl-config --static-libs) libgit.a xdiff/lib.a -lz"
gmake DESTDIR="$1" install

cp -rf man "$1/usr/share/man"
rm -rf \
    "$1/usr/share/gitweb" \
    "$1/usr/share/git-core/templates/hooks/*"
cp -Rf man "$1/usr/share/man"

M core/git/depends => core/git/depends +1 -2
@@ 1,5 1,4 @@
curl     make
gmake    make
libevent
libressl make
python
zlib     make

M core/git/sources => core/git/sources +2 -2
@@ 1,2 1,2 @@
https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.32.0.tar.xz
https://mirrors.edge.kernel.org/pub/software/scm/git/git-manpages-2.32.0.tar.xz man
https://mirrors.edge.kernel.org/pub/software/scm/git/git-VERSION.tar.xz
https://mirrors.edge.kernel.org/pub/software/scm/git/git-manpages-VERSION.tar.xz man

M core/git/version => core/git/version +1 -1
@@ 1,1 1,1 @@
2.32.0 3
2.32.0 1