summaryrefslogtreecommitdiff
path: root/repo/cacerts/cacerts.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/cacerts/cacerts.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/cacerts/cacerts.xibuild')
-rw-r--r--repo/cacerts/cacerts.xibuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/cacerts/cacerts.xibuild b/repo/cacerts/cacerts.xibuild
new file mode 100644
index 0000000..9fef8e1
--- /dev/null
+++ b/repo/cacerts/cacerts.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+MAKEDEPS="sbase bash sed"
+DEPS="libnghttp libp11-kit"
+
+PKG_VER=1.7
+SOURCE=https://github.com/djlucas/make-ca/releases/download/v$PKG_VER/make-ca-$PKG_VER.tar.xz
+ADDITIONAL="
+ fix-sbase-coreutils.patch
+"
+
+DESC="Root certificates needed by ssl built using make-ca"
+
+
+prepare () {
+ apply_patches
+ sed -i "s/grep/ggrep/g" make-ca
+
+}
+
+package () {
+ mkdir -p $PKG_DEST/etc/ssl/certs
+ bash make-ca -g --force -D $PKG_DEST
+ chmod -R 777 $PKG_DEST || echo "couldnt change permissions for $PKG_DEST"
+
+ install -d $PKG_DEST/usr/bin
+ install -d $PKG_DEST/usr/libexec/make-ca
+ install -m755 make-ca $PKG_DEST/usr/bin/
+ install -m700 copy-trust-modifications $PKG_DEST/usr/libexec/make-ca
+}