mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Moved SSL certificates path declarations to a variable.
This commit is contained in:
parent
3de856d01a
commit
47719afe19
@ -29,6 +29,7 @@ TOOLCHAIN=$BUILD/toolchain
|
||||
SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
|
||||
LIB_PREFIX=$SYSROOT_PREFIX/usr
|
||||
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
|
||||
SSL_CERTIFICATES="etc/pki/tls"
|
||||
|
||||
FAKEROOT_SCRIPT=$ROOT/.fakeroot.$PROJECT.$TARGET_ARCH
|
||||
|
||||
|
@ -22,6 +22,5 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/etc/pki/tls
|
||||
cp $PKG_DIR/script/ca-bundle.crt $INSTALL/etc/pki/tls
|
||||
cp $PKG_DIR/script/ca-bundle.crt $INSTALL/etc/pki/tls/cacert.pem
|
||||
mkdir -p $INSTALL/$SSL_CERTIFICATES
|
||||
cp $PKG_DIR/script/ca-bundle.crt $INSTALL/$SSL_CERTIFICATES/cacert.pem
|
||||
|
@ -45,7 +45,7 @@ esac
|
||||
cd $PKG_BUILD
|
||||
./Configure --prefix=/usr \
|
||||
--libdir=lib \
|
||||
--openssldir=/etc/pki/tls \
|
||||
--openssldir="/$SSL_CERTIFICATES" \
|
||||
--install_prefix="$SYSROOT_PREFIX" \
|
||||
shared \
|
||||
threads \
|
||||
|
@ -22,8 +22,8 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/etc/pki/tls
|
||||
cp -P $PKG_BUILD/apps/openssl.cnf $INSTALL/etc/pki/tls
|
||||
mkdir -p $INSTALL/$SSL_CERTIFICATES
|
||||
cp -P $PKG_BUILD/apps/openssl.cnf $INSTALL/$SSL_CERTIFICATES
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp -P $PKG_BUILD/apps/openssl $INSTALL/usr/bin
|
||||
|
@ -77,7 +77,7 @@ ac_cv_header_librtmp_rtmp_h=yes \
|
||||
--without-gnutls \
|
||||
--without-polarssl \
|
||||
--without-nss \
|
||||
--with-ca-bundle="/etc/pki/tls/cacert.pem" \
|
||||
--with-ca-bundle="/$SSL_CERTIFICATES/cacert.pem" \
|
||||
--without-ca-path \
|
||||
--without-libssh2 \
|
||||
--with-librtmp="$SYSROOT_PREFIX/usr" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user