aboutsummaryrefslogtreecommitdiff
path: root/testing/git
diff options
context:
space:
mode:
Diffstat (limited to 'testing/git')
-rwxr-xr-xtesting/git/build67
-rw-r--r--testing/git/checksums7
-rw-r--r--testing/git/depends4
-rw-r--r--testing/git/sources9
-rw-r--r--testing/git/version1
5 files changed, 88 insertions, 0 deletions
diff --git a/testing/git/build b/testing/git/build
new file mode 100755
index 00000000..419432e1
--- /dev/null
+++ b/testing/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/testing/git/checksums b/testing/git/checksums
new file mode 100644
index 00000000..4fd38d68
--- /dev/null
+++ b/testing/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/testing/git/depends b/testing/git/depends
new file mode 100644
index 00000000..6ff27360
--- /dev/null
+++ b/testing/git/depends
@@ -0,0 +1,4 @@
+bearssl
+curl
+perl
+zlib
diff --git a/testing/git/sources b/testing/git/sources
new file mode 100644
index 00000000..81205270
--- /dev/null
+++ b/testing/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/testing/git/version b/testing/git/version
new file mode 100644
index 00000000..d50b7c89
--- /dev/null
+++ b/testing/git/version
@@ -0,0 +1 @@
+2.26.2 1