mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
ports: make-ca
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git make-ca-clean/make-ca make-ca-workdir/make-ca
|
||||
index a7663be..f00ad05 100644
|
||||
--- make-ca-clean/make-ca
|
||||
+++ make-ca-workdir/make-ca
|
||||
@@ -15,7 +15,7 @@ VERSION="1.13"
|
||||
MAKE_CA_CONF="/etc/make-ca.conf"
|
||||
|
||||
# CA root for hg.mozilla.org
|
||||
-MOZILLA_CA_ROOT="/etc/make-ca/mozilla-ca-root.pem"
|
||||
+MOZILLA_CA_ROOT="${MOZILLA_CERT_SYSROOT}/etc/make-ca/mozilla-ca-root.pem"
|
||||
|
||||
# Get/set defaults
|
||||
if test -f "${MAKE_CA_CONF}"; then
|
||||
@@ -0,0 +1,16 @@
|
||||
name=make-ca
|
||||
revision=1
|
||||
from_source=make-ca
|
||||
imagedeps="openssl"
|
||||
rundeps="bash"
|
||||
allow_network="yes"
|
||||
|
||||
package() {
|
||||
# install it
|
||||
cp -rpv ${source_dir}/* .
|
||||
make install DESTDIR=${dest_dir}
|
||||
install -vdm 755 ${dest_dir}/etc/ssl/local
|
||||
|
||||
# install certificate data
|
||||
MOZILLA_CERT_SYSROOT=${dest_dir} ${dest_dir}/usr/sbin/make-ca -g -D ${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
name=make-ca
|
||||
version=1.13
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/lfs-book/make-ca/releases/download/v${version}/make-ca-${version}.tar.xz"
|
||||
tarball_sha512=c961aec436ad2e88d462e77498640e1b55e9ed90fbe5964bbf44ab55bab511da4f3147bcd40fdac5a362db68414ba5a2f3709d1bdfdf2eb185aa0673986973ab
|
||||
regenerate() {
|
||||
true
|
||||
}
|
||||
Reference in New Issue
Block a user