ca-certificates: move to usr/bin.
This commit is contained in:
parent
a6ec23b9c9
commit
ba4d3da7ec
2 changed files with 4 additions and 2 deletions
|
@ -3,6 +3,6 @@ post)
|
|||
[ ! -d etc/ca-certificates/update.d ] && \
|
||||
install -d etc/ca-certificates/update.d
|
||||
[ ! -d etc/ssl/certs ] && install -d etc/ssl/certs
|
||||
env DESTDIR="$(pwd -P)" usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
|
||||
env DESTDIR="$(pwd -P)" usr/bin/update-ca-certificates --fresh >/dev/null 2>&1
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ca-certificates'
|
||||
pkgname=ca-certificates
|
||||
version=20150426
|
||||
revision=1
|
||||
revision=2
|
||||
noarch="yes"
|
||||
hostmakedepends="python"
|
||||
depends="virtual?openssl run-parts"
|
||||
|
@ -19,6 +19,7 @@ do_build() {
|
|||
|
||||
do_install() {
|
||||
vmkdir usr/share/${pkgname}
|
||||
vmkdir usr/bin
|
||||
vmkdir usr/sbin
|
||||
vmkdir etc/ssl/certs
|
||||
make install DESTDIR=${DESTDIR}
|
||||
|
@ -27,5 +28,6 @@ do_install() {
|
|||
cd ${DESTDIR}/usr/share/ca-certificates
|
||||
find . -name '*.crt' | sort | cut -b3- > ${DESTDIR}/etc/ca-certificates.conf
|
||||
sed -i 's,c_rehash,openssl certhash,g' ${DESTDIR}/usr/sbin/update-ca-certificates
|
||||
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||
ln -s /etc/ssl/certs/ca-certificates.crt ${DESTDIR}/etc/ssl/certs.pem
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue