util/cygwin.sh update [from HEAD].
PR: 2761 Submitted by: Corinna Vinschen
This commit is contained in:
parent
0a5575f3f6
commit
67d216801b
@ -11,6 +11,7 @@ CONFIG_OPTIONS="--prefix=/usr shared zlib no-idea no-rc5"
|
|||||||
INSTALL_PREFIX=/tmp/install/INSTALL
|
INSTALL_PREFIX=/tmp/install/INSTALL
|
||||||
|
|
||||||
VERSION=
|
VERSION=
|
||||||
|
SHLIB_VERSION_NUMBER=
|
||||||
SUBVERSION=$1
|
SUBVERSION=$1
|
||||||
|
|
||||||
function cleanup()
|
function cleanup()
|
||||||
@ -28,6 +29,13 @@ function get_openssl_version()
|
|||||||
echo " Check value of variable VERSION in Makefile."
|
echo " Check value of variable VERSION in Makefile."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
eval `grep '^SHLIB_VERSION_NUMBER=' Makefile`
|
||||||
|
if [ -z "${SHLIB_VERSION_NUMBER}" ]
|
||||||
|
then
|
||||||
|
echo "Error: Couldn't retrieve OpenSSL shared lib version from Makefile."
|
||||||
|
echo " Check value of variable SHLIB_VERSION_NUMBER in Makefile."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function base_install()
|
function base_install()
|
||||||
@ -124,7 +132,7 @@ strip usr/bin/*.exe usr/bin/*.dll usr/lib/engines/*.so
|
|||||||
chmod u-w usr/lib/engines/*.so
|
chmod u-w usr/lib/engines/*.so
|
||||||
|
|
||||||
# Runtime package
|
# Runtime package
|
||||||
tar cjf libopenssl${VERSION//[!0-9]/}-${VERSION}-${SUBVERSION}.tar.bz2 \
|
tar cjf libopenssl${SHLIB_VERSION_NUMBER//[!0-9]/}-${VERSION}-${SUBVERSION}.tar.bz2 \
|
||||||
usr/bin/cyg*dll
|
usr/bin/cyg*dll
|
||||||
# Base package
|
# Base package
|
||||||
find etc usr/bin/openssl.exe usr/bin/c_rehash usr/lib/engines usr/share/doc \
|
find etc usr/bin/openssl.exe usr/bin/c_rehash usr/lib/engines usr/share/doc \
|
||||||
@ -139,7 +147,7 @@ tar cjfT openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2 -
|
|||||||
|
|
||||||
ls -l openssl-${VERSION}-${SUBVERSION}.tar.bz2
|
ls -l openssl-${VERSION}-${SUBVERSION}.tar.bz2
|
||||||
ls -l openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2
|
ls -l openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2
|
||||||
ls -l libopenssl${VERSION//[!0-9]/}-${VERSION}-${SUBVERSION}.tar.bz2
|
ls -l libopenssl${SHLIB_VERSION_NUMBER//[!0-9]/}-${VERSION}-${SUBVERSION}.tar.bz2
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user