Moved SSL certificates path declarations to a variable.

This commit is contained in:
Bertrand G 2012-02-20 16:04:09 +01:00
parent 3de856d01a
commit 47719afe19
5 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -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

View File

@ -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" \