Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv32717/scripts
Modified Files:
Tag: rel-1-0-patches
openssl
Log Message:
- added missing openssl files
Index: openssl
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/openssl,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -d -r1.18 -r1.18.2.1
--- openssl 4 Oct 2003 17:52:25 -0000 1.18
+++ openssl 22 Oct 2003 23:50:21 -0000 1.18.2.1
@@ -16,23 +16,30 @@
case $1 in
build )
- ./Configure linux-elf shared threads zlib --prefix=/usr || exit 1
+ ./Configure linux-elf shared threads zlib --prefix=/usr --openssldir=/etc/ssl || exit 1
make depend || exit 1
-
+
# openssl 0.9.7 doesn't like the parallel builds :-((
make all || exit 1
strip_debug
-
+
# we have to install this immediately, because this is a library and could be needed by other sources
make install || exit 1
;;
-
+
install )
if [ "$CONFIG_OPENSSL_BIN" = "y" ]; then
- mkdir -p $CDDIR/usr/bin
- mkdir -p $CDDIR/usr/lib
- cp -p apps/openssl $CDDIR/usr/bin || exit 1
- cp -d -p libcrypto.so* $CDDIR/usr/lib || exit 1
+ rm -rf $WORKDIR/tmp || exit 1
+ mkdir -p $WORKDIR/tmp || exit 1
+ make install INSTALL_PREFIX=$WORKDIR/tmp || exit 1
+ rm -rf $WORKDIR/tmp/usr/include || exit 1
+ rm -rf $WORKDIR/tmp/usr/lib/*a || exit 1
+ copy_docs $WORKDIR/tmp/etc/ssl
+ rm -rf $WORKDIR/tmp/etc/ssl/lib || exit 1
+
+ cp -dpR $WORKDIR/tmp/usr $CDDIR/ || exit 1
+ cp -dpR $WORKDIR/tmp/etc $ETCDIR/ || exit 1
+ rm -rf $WORKDIR/tmp || exit 1
fi
;;
|