diff --git a/pkg.info b/pkg.info index d5ddcc6..89352a1 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: make-ca description: PKI setup script for LFS (and others) version: 1.13 -revision: 2 +revision: 3 url: https://github.com/lfs-book/make-ca license: GPL3 or MIT architecture: any diff --git a/post_install.sh b/post_install.sh new file mode 100644 index 0000000..5e06743 --- /dev/null +++ b/post_install.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +/usr/sbin/make-ca -D "$BPM_ROOT" -g diff --git a/post_remove.sh b/post_remove.sh new file mode 100644 index 0000000..d3663c2 --- /dev/null +++ b/post_remove.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -rf "$BPM_ROOT"/etc/ssl/* diff --git a/source.sh b/source.sh index 06661b7..1b4f6f2 100644 --- a/source.sh +++ b/source.sh @@ -17,7 +17,6 @@ prepare() { package() { make DESTDIR="$BPM_OUTPUT" install 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 }