From 936e2d5b42a78cf5b3e20ccf67eaeb00fc4116bc Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Sun, 25 Aug 2019 19:50:34 +0200
Subject: [PATCH 1/4] Fix service recipe build dependencies.
---
service/recipe.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/service/recipe.spec b/service/recipe.spec
index 7238995..5b4c9d0 100644
--- a/service/recipe.spec
+++ b/service/recipe.spec
@@ -1,7 +1,7 @@
name: service
version: 0.0.1
-sources: https://git.karchnu.fr/WeirdOS/service/archive/75e500adcf75b8cf0210a7271cdd5a9109988eae.tar.gz
-build-dependencies: crystal, build.zsh
+sources: https://git.karchnu.fr/WeirdOS/service/archive/75e500adcf75b8cf0210a7271cdd5a9109988eae.tar.gz -> %{name}-%{version}.tar.gz
+build-dependencies: crystal, build.zsh, make, git
# FIXME: FIXME: Build this statically in.
dependencies: gc, libevent, pcre
@@ -10,9 +10,11 @@ dirname: service
cd %{dirname}
build.zsh -c
shards install
+
@build
cd %{dirname}
CRYSTAL_PATH="$(crystal env CRYSTAL_PATH):lib" make PREFIX=/usr
+
@install
cd %{dirname}
make PREFIX=/usr DESTDIR="%{pkg}" install
From 5d6ab97ced49af46321bf44dc954786713f0c707 Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Sun, 25 Aug 2019 19:53:20 +0200
Subject: [PATCH 2/4] Fixing build dependencies and enforcing openssl for git
recipe.
---
git/recipe.spec | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/git/recipe.spec b/git/recipe.spec
index 8761afb..6cb62ec 100644
--- a/git/recipe.spec
+++ b/git/recipe.spec
@@ -1,15 +1,19 @@
name: git
version: 2.9.5
-release: 1
+release: 2
sources: https://mirrors.edge.kernel.org/pub/software/scm/git/git-%{version}.tar.xz
-dependencies:
+build-dependencies:
+ - curl
+ - openssl-dev
- perl
- gmp
- mpfr
- autoconf
- automake
- mpc
+
+dependencies:
- binutils
# -i prevents the use of gettext (msgfmt)
@@ -20,7 +24,7 @@ options:
cd %{name}-%{version}
make distclean
autoconf
- ./configure --without-tcltk --disable-nls
+ ./configure --without-tcltk --disable-nls --enable-openssl
@build
cd %{name}-%{version}
From 6d25a6e63896a273b1f9e147c874eae698a4def7 Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Mon, 26 Aug 2019 05:35:43 +0200
Subject: [PATCH 3/4] LLVM-8 recipe updated.
---
llvm-8/recipe.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm-8/recipe.spec b/llvm-8/recipe.spec
index a9cf246..d635922 100644
--- a/llvm-8/recipe.spec
+++ b/llvm-8/recipe.spec
@@ -1,7 +1,7 @@
name: llvm-8
-version: 8.0.0
+version: 8.0.1
release: 1
-sources: http://releases.llvm.org/%{version}/llvm-%{version}.src.tar.xz
+sources: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz
dependencies:
- libffi
From 4c789f0380809a908b65c1962e987ec09baa92cc Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Mon, 26 Aug 2019 05:36:40 +0200
Subject: [PATCH 4/4] Package recipe: tarball renamed.
---
package/recipe.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/recipe.spec b/package/recipe.spec
index ca33ef5..f066dbb 100644
--- a/package/recipe.spec
+++ b/package/recipe.spec
@@ -1,7 +1,7 @@
name: package
version: 0.0.1
release: 1
-sources: https://git.karchnu.fr/WeirdOS/package/archive/832edb5f8d982019d5d106acc78161a5f90863cf.tar.gz
+sources: https://git.karchnu.fr/WeirdOS/package/archive/832edb5f8d982019d5d106acc78161a5f90863cf.tar.gz -> %{name}-%{version}.tar.gz
build-dependencies: crystal, shards
# FIXME: FIXME: Build this statically in.
dependencies: gc, libevent, pcre