diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/util/cygwin.sh | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/src/lib/libcrypto/util/cygwin.sh b/src/lib/libcrypto/util/cygwin.sh index 7f791d47f4..89d1dda95b 100644 --- a/src/lib/libcrypto/util/cygwin.sh +++ b/src/lib/libcrypto/util/cygwin.sh | |||
| @@ -47,6 +47,14 @@ function doc_install() | |||
| 47 | create_cygwin_readme | 47 | create_cygwin_readme |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | function certs_install() | ||
| 51 | { | ||
| 52 | CERTS_DIR=${INSTALL_PREFIX}/usr/ssl/certs | ||
| 53 | |||
| 54 | mkdir -p ${CERTS_DIR} | ||
| 55 | cp -rp certs/* ${CERTS_DIR} | ||
| 56 | } | ||
| 57 | |||
| 50 | function create_cygwin_readme() | 58 | function create_cygwin_readme() |
| 51 | { | 59 | { |
| 52 | README_DIR=${INSTALL_PREFIX}/usr/share/doc/Cygwin | 60 | README_DIR=${INSTALL_PREFIX}/usr/share/doc/Cygwin |
| @@ -104,19 +112,25 @@ base_install | |||
| 104 | 112 | ||
| 105 | doc_install | 113 | doc_install |
| 106 | 114 | ||
| 115 | certs_install | ||
| 116 | |||
| 107 | create_cygwin_readme | 117 | create_cygwin_readme |
| 108 | 118 | ||
| 109 | create_profile_files | 119 | create_profile_files |
| 110 | 120 | ||
| 111 | cd ${INSTALL_PREFIX} | 121 | cd ${INSTALL_PREFIX} |
| 112 | strip usr/bin/*.exe usr/bin/*.dll | 122 | chmod u+w usr/lib/engines/*.so |
| 123 | strip usr/bin/*.exe usr/bin/*.dll usr/lib/engines/*.so | ||
| 124 | chmod u-w usr/lib/engines/*.so | ||
| 113 | 125 | ||
| 114 | # Runtime package | 126 | # Runtime package |
| 115 | find etc usr/bin usr/share/doc usr/ssl/certs usr/ssl/man/man[157] \ | 127 | find etc usr/bin usr/lib/engines usr/share/doc usr/ssl/certs \ |
| 116 | usr/ssl/misc usr/ssl/openssl.cnf usr/ssl/private -empty -o \! -type d | | 128 | usr/ssl/man/man[157] usr/ssl/misc usr/ssl/openssl.cnf usr/ssl/private \ |
| 129 | -empty -o \! -type d | | ||
| 117 | tar cjfT openssl-${VERSION}-${SUBVERSION}.tar.bz2 - | 130 | tar cjfT openssl-${VERSION}-${SUBVERSION}.tar.bz2 - |
| 118 | # Development package | 131 | # Development package |
| 119 | find usr/include usr/lib usr/ssl/man/man3 -empty -o \! -type d | | 132 | find usr/include usr/lib/*.a usr/lib/pkgconfig usr/ssl/man/man3 \ |
| 133 | -empty -o \! -type d | | ||
| 120 | tar cjfT openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2 - | 134 | tar cjfT openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2 - |
| 121 | 135 | ||
| 122 | ls -l openssl-${VERSION}-${SUBVERSION}.tar.bz2 | 136 | ls -l openssl-${VERSION}-${SUBVERSION}.tar.bz2 |
