Archived
Generate certificates through package script
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: make-ca
|
name: make-ca
|
||||||
description: PKI setup script for LFS (and others)
|
description: PKI setup script for LFS (and others)
|
||||||
version: 1.13
|
version: 1.13
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://github.com/lfs-book/make-ca
|
url: https://github.com/lfs-book/make-ca
|
||||||
license: GPL3 or MIT
|
license: GPL3 or MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
/usr/sbin/make-ca -D "$BPM_ROOT" -g
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
rm -rf "$BPM_ROOT"/etc/ssl/*
|
||||||
@@ -17,7 +17,6 @@ prepare() {
|
|||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
install -vdm755 "$BPM_OUTPUT"/etc/ssl/local
|
install -vdm755 "$BPM_OUTPUT"/etc/ssl/local
|
||||||
/usr/sbin/make-ca -D "$BPM_OUTPUT" -g
|
|
||||||
|
|
||||||
install -Dm644 LICENSE.MIT "$BPM_OUTPUT"/usr/share/licenses/LICENSE
|
install -Dm644 LICENSE.MIT "$BPM_OUTPUT"/usr/share/licenses/LICENSE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user