From 997042c081f14f632c67e24d47ffe5529a732cfd Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Thu, 15 Aug 2019 00:27:15 +0200
Subject: [PATCH 1/4] Misc staged git gettext and gnutar.
---
gettext/recipe.spec | 21 +++++++++++++++++++++
git/recipe.spec | 31 +++++++++++++++++++++++++++++++
gnutar/recipe.spec | 8 ++++++++
3 files changed, 60 insertions(+)
create mode 100644 gettext/recipe.spec
create mode 100644 git/recipe.spec
create mode 100644 gnutar/recipe.spec
diff --git a/gettext/recipe.spec b/gettext/recipe.spec
new file mode 100644
index 0000000..b113c27
--- /dev/null
+++ b/gettext/recipe.spec
@@ -0,0 +1,21 @@
+name: gettext
+version: 0.20.1
+release: 1
+sources: https://ftp.gnu.org/pub/gnu/gettext/gettext-%{version}.tar.gz
+
+dependencies:
+ - mpfr
+ - mpc
+ - binutils
+
+@configure
+ cd %{name}-%{version}
+ ./configure
+
+@build
+ cd %{name}-%{version}
+ make
+
+@install
+ cd %{name}-%{version}
+ make install DESTDIR=%{pkg}
diff --git a/git/recipe.spec b/git/recipe.spec
new file mode 100644
index 0000000..8761afb
--- /dev/null
+++ b/git/recipe.spec
@@ -0,0 +1,31 @@
+name: git
+version: 2.9.5
+release: 1
+sources: https://mirrors.edge.kernel.org/pub/software/scm/git/git-%{version}.tar.xz
+
+dependencies:
+ - perl
+ - gmp
+ - mpfr
+ - autoconf
+ - automake
+ - mpc
+ - binutils
+
+# -i prevents the use of gettext (msgfmt)
+options:
+ - make: -i
+
+@configure
+ cd %{name}-%{version}
+ make distclean
+ autoconf
+ ./configure --without-tcltk --disable-nls
+
+@build
+ cd %{name}-%{version}
+ make -i 1>/dev/null
+
+@install
+ cd %{name}-%{version}
+ make -i install DESTDIR="%{pkg}"
diff --git a/gnutar/recipe.spec b/gnutar/recipe.spec
new file mode 100644
index 0000000..42fb06b
--- /dev/null
+++ b/gnutar/recipe.spec
@@ -0,0 +1,8 @@
+name: gnutar
+version: 1.32
+release: 1
+sources: http://ftp.gnu.org/gnu/tar/tar-%{version}.tar.gz
+dirname: tar-%{version}
+options:
+ - configure: FORCE_UNSAFE_CONFIGURE=1
+
From df432759e043ffc9ca6b8c37a05446f965bbed8f Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Thu, 15 Aug 2019 00:29:27 +0200
Subject: [PATCH 2/4] pkgconf
---
pkgconf/recipe.spec | 4 ++++
1 file changed, 4 insertions(+)
create mode 100644 pkgconf/recipe.spec
diff --git a/pkgconf/recipe.spec b/pkgconf/recipe.spec
new file mode 100644
index 0000000..78dff49
--- /dev/null
+++ b/pkgconf/recipe.spec
@@ -0,0 +1,4 @@
+name: pkgconf
+version: 1.6.3
+release: 1
+sources: https://distfiles.dereferenced.org/pkgconf/pkgconf-%{version}.tar.xz
From f80acf61d7e74e6c9a50a29bd28ca3cd29945d65 Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Thu, 15 Aug 2019 00:40:21 +0200
Subject: [PATCH 3/4] gnupg bloody recipe fucking collection
---
gnupg/recipe.spec | 17 +++++++++++++++++
libassuan/recipe.spec | 4 ++++
libgcrypt/recipe.spec | 4 ++++
libgpg-error/recipe.spec | 4 ++++
libksba/recipe.spec | 4 ++++
libnpth/recipe.spec | 5 +++++
6 files changed, 38 insertions(+)
create mode 100644 gnupg/recipe.spec
create mode 100644 libassuan/recipe.spec
create mode 100644 libgcrypt/recipe.spec
create mode 100644 libgpg-error/recipe.spec
create mode 100644 libksba/recipe.spec
create mode 100644 libnpth/recipe.spec
diff --git a/gnupg/recipe.spec b/gnupg/recipe.spec
new file mode 100644
index 0000000..eb246aa
--- /dev/null
+++ b/gnupg/recipe.spec
@@ -0,0 +1,17 @@
+name: gnupg
+version: 2.2.17
+release: 1
+sources: https://gnupg.org/ftp/gcrypt/gnupg/gnupg-%{version}.tar.bz2
+
+dependencies:
+ - libgpg-error
+ - libgcrypt
+ - libassuan
+ - pkgconf
+ - libnpth
+ - binutils
+
+@configure
+ cd %{name}-%{version}
+ make clean
+ ./configure --disable-gpgsm --disable-scdaemon --disable-dirmngr --disable-doc --disable-gpgtar --disable-wks-tools --enable-gpg-is-gpg2 --disable-selinux-support --disable-exec --disable-photo-viewers --disable-card-support --disable-ccid-driver --disable-dirmngr-auto-start --disable-sqlite --disable-ntbtls --disable-gnutls --disable-ldap --disable-rpath --disable-nls
diff --git a/libassuan/recipe.spec b/libassuan/recipe.spec
new file mode 100644
index 0000000..81b5c5b
--- /dev/null
+++ b/libassuan/recipe.spec
@@ -0,0 +1,4 @@
+name: libassuan
+version: 2.5.3
+release: 1
+sources: https://gnupg.org/ftp/gcrypt/libassuan/libassuan-%{version}.tar.bz2
diff --git a/libgcrypt/recipe.spec b/libgcrypt/recipe.spec
new file mode 100644
index 0000000..3a0e694
--- /dev/null
+++ b/libgcrypt/recipe.spec
@@ -0,0 +1,4 @@
+name: libgcrypt
+version: 1.8.4
+release: 1
+sources: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
diff --git a/libgpg-error/recipe.spec b/libgpg-error/recipe.spec
new file mode 100644
index 0000000..01ea83c
--- /dev/null
+++ b/libgpg-error/recipe.spec
@@ -0,0 +1,4 @@
+name: libgpg-error
+version: 1.36
+release: 1
+sources: https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2
diff --git a/libksba/recipe.spec b/libksba/recipe.spec
new file mode 100644
index 0000000..1eac39c
--- /dev/null
+++ b/libksba/recipe.spec
@@ -0,0 +1,4 @@
+name: libksba
+version: 1.3.5
+release: 1
+sources: https://gnupg.org/ftp/gcrypt/libksba/libksba-%{version}.tar.bz2
diff --git a/libnpth/recipe.spec b/libnpth/recipe.spec
new file mode 100644
index 0000000..50e174b
--- /dev/null
+++ b/libnpth/recipe.spec
@@ -0,0 +1,5 @@
+name: libnpth
+version: 1.6
+release: 1
+sources: https://gnupg.org/ftp/gcrypt/npth/npth-%{version}.tar.bz2
+dirname: npth-%{version}
From 14e8aa3e71e95fe19eadba54f99bf927977f4da5 Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Thu, 15 Aug 2019 03:36:59 +0200
Subject: [PATCH 4/4] Add a README: paths for envvars
---
README | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 README
diff --git a/README b/README
new file mode 100644
index 0000000..eba3014
--- /dev/null
+++ b/README
@@ -0,0 +1,7 @@
+# Environment variables
+
+export PATH=$PATH:/usr/local/bin/
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
+
+# mostly for Crystal software
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/bad/llvm-6