commit c983ca9d661450127da9642d574a43459bf770d2
parent bd99654935247d243d2ede127a4bc791a6531dc2
Author: Cem Keylan <cem@ckyln.com>
Date: Sat, 16 May 2020 03:50:37 +0300
git: add this ugly mess
Diffstat:
5 files changed, 88 insertions(+), 0 deletions(-)
diff --git a/git/build b/git/build
@@ -0,0 +1,67 @@
+#!/bin/sh -e
+# Git build with git-send-email perl garbage enabled :c
+
+(
+ cd ssleay
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make DESTDIR="$1" install
+)
+
+(
+ cd uri
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make DESTDIR="$1" install
+)
+
+(
+ cd socket-ssl
+ yes | perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make DESTDIR="$1" install
+)
+
+(
+ cd sasl
+ PERL_USE_UNSAFE_INC=1 \
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make pure_install DESTDIR="$1"
+)
+
+(
+ cd ssl
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make DESTDIR="$1" install
+ find "$1" \( -name '.packlist' -o -name '*.pod' \) -exec rm -rf {} +
+)
+
+export CFLAGS="$CFLAGS -fPIC"
+
+cat > config.mak <<EOF
+NO_GETTEXT=YesPlease
+NO_SVN_TESTS=YesPlease
+NO_TCLTK=YesPlease
+NO_EXPAT=YesPlease
+NO_NSEC=YesPlease
+NO_PYTHON=YesPlease
+PERL=YesPlease
+NO_SVN_TESTS=YesPlease
+NO_SYS_POLL_H=1
+NO_CROSS_DIRECTORY_HARDLINKS=1
+NO_INSTALL_HARDLINKS=1
+EOF
+
+./configure \
+ --prefix=/usr \
+ ac_cv_snprintf_returns_bogus=no \
+ ac_cv_fread_reads_directories=yes
+
+make
+make DESTDIR="$1" install
+
+for man in man1/*.1 man5/*.5 man7/*.7; do
+ install -Dm644 "$man" "$1/usr/share/man/$man"
+done
diff --git a/git/checksums b/git/checksums
@@ -0,0 +1,7 @@
+6d65132471df9e531807cb2746f8be317e22a343b9385bbe11c9ce7f0d2fc848 git-2.26.2.tar.xz
+433de104f74a855b7074d88a27e77bf6f0764074e449ffc863f987c124716465 git-manpages-2.26.2.tar.xz
+7b29c45add19d3d5084b751f7ba89a8e40479a446ce21cfd9cc741e558332a00 Net-SMTP-SSL-1.04.tar.gz
+6614fa7518f094f853741b63c73f3627168c5d3aca89b1d02b1016dc32854e09 Authen-SASL-2.16.tar.gz
+2000da483c8471a0b61e06959e92a6fca7b9e40586d5c828de977d3d2081cfdd Net-SSLeay-1.88.tar.gz
+b2c98e1d50d6f572483ee538a6f4ccc8d9185f91f0073fd8af7390898254413e URI-1.76.tar.gz
+0d47064781a545304d5dcea5dfcee3acc2e95a32e1b4884d80505cde8ee6ebcd IO-Socket-SSL-2.066.tar.gz
diff --git a/git/depends b/git/depends
@@ -0,0 +1,4 @@
+curl
+libressl
+perl
+zlib
diff --git a/git/sources b/git/sources
@@ -0,0 +1,9 @@
+https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.26.2.tar.xz
+https://www.kernel.org/pub/software/scm/git/git-manpages-2.26.2.tar.xz
+#
+# This is garbage. Why?
+https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Net-SMTP-SSL-1.04.tar.gz ssl
+https://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-2.16.tar.gz sasl
+https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.88.tar.gz ssleay
+https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-1.76.tar.gz uri
+https://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.066.tar.gz socket-ssl
diff --git a/git/version b/git/version
@@ -0,0 +1 @@
+2.26.2 1