aboutsummaryrefslogtreecommitdiff
path: root/personal/git
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-19 01:47:44 +0300
committerCem Keylan <cem@ckyln.com>2020-06-19 01:47:44 +0300
commit706c708b5aac148cd323a7f6b40513ba756ef45e (patch)
tree2a9c963283378af3c7e04ba2e4683ccbd220b978 /personal/git
parentc05ab7845f241547ab8607a91db1942617bc3d4e (diff)
downloadrepository-706c708b5aac148cd323a7f6b40513ba756ef45e.tar.gz
move to personal
Diffstat (limited to 'personal/git')
-rwxr-xr-xpersonal/git/build67
-rw-r--r--personal/git/checksums7
-rw-r--r--personal/git/depends3
-rw-r--r--personal/git/sources9
-rw-r--r--personal/git/version1
5 files changed, 87 insertions, 0 deletions
diff --git a/personal/git/build b/personal/git/build
new file mode 100755
index 0000000..5d55ca3
--- /dev/null
+++ b/personal/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 {} +
+)
+
+cd git
+
+# export CFLAGS="$CFLAGS -fPIC"
+# export LDFLAGS="$LDFLAGS -static"
+
+cat > config.mak <<EOF
+NO_GETTEXT=YesPlease
+NO_SVN_TESTS=YesPlease
+NO_TCLTK=YesPlease
+NO_EXPAT=YesPlease
+NO_NSEC=YesPlease
+NO_PYTHON=YesPlease
+NO_SYS_POLL_H=1
+NO_CROSS_DIRECTORY_HARDLINKS=1
+NO_INSTALL_HARDLINKS=1
+EOF
+
+./configure \
+ --prefix=/usr \
+ --with-curl \
+ ac_cv_snprintf_returns_bogus=no \
+ ac_cv_fread_reads_directories=yes
+
+make
+make DESTDIR="$1" install
+
+mv man/* "$1/usr/share/man"
diff --git a/personal/git/checksums b/personal/git/checksums
new file mode 100644
index 0000000..1357abe
--- /dev/null
+++ b/personal/git/checksums
@@ -0,0 +1,7 @@
+73ca9774d7fa226e1d87c1909401623f96dca6a044e583b9a762e84d7d1a73f9 git-2.27.0.tar.xz
+e6cbab49b04c975886fdddf46eb24c5645c6799224208db8b01143091d9bd49c git-manpages-2.27.0.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/personal/git/depends b/personal/git/depends
new file mode 100644
index 0000000..98b4629
--- /dev/null
+++ b/personal/git/depends
@@ -0,0 +1,3 @@
+curl
+perl
+zlib
diff --git a/personal/git/sources b/personal/git/sources
new file mode 100644
index 0000000..cc67072
--- /dev/null
+++ b/personal/git/sources
@@ -0,0 +1,9 @@
+https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.27.0.tar.xz git
+https://www.kernel.org/pub/software/scm/git/git-manpages-2.27.0.tar.xz git/man
+#
+# 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/personal/git/version b/personal/git/version
new file mode 100644
index 0000000..d26e312
--- /dev/null
+++ b/personal/git/version
@@ -0,0 +1 @@
+2.27.0 1