Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv301/scripts
Modified Files:
openssl
Log Message:
- added missing openssl files
Index: openssl
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/openssl,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- openssl 13 Oct 2003 17:36:09 -0000 1.19
+++ openssl 22 Oct 2003 23:50:39 -0000 1.20
@@ -28,23 +28,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
;;
|