Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
447aa490
O
openssl
项目概览
btwise
/
openssl
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
447aa490
编写于
5月 21, 2005
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Patches for Cygwin, provided by Corinna Vinschen <vinschen@redhat.com>
上级
fe977f75
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
33 addition
and
15 deletion
+33
-15
Makefile.org
Makefile.org
+5
-5
Makefile.shared
Makefile.shared
+6
-5
engines/Makefile
engines/Makefile
+7
-2
util/cygwin.sh
util/cygwin.sh
+15
-3
未找到文件。
Makefile.org
浏览文件 @
447aa490
...
@@ -276,7 +276,7 @@ Makefile: Makefile.org Configure config
...
@@ -276,7 +276,7 @@ Makefile: Makefile.org Configure config
@
false
@
false
libclean
:
libclean
:
rm
-f
*
.map
*
.so
*
.so.
*
engines/
*
.so
*
.a
*
/lib
*
/
*
/lib
rm
-f
*
.map
*
.so
*
.so.
*
*
.dll engines/
*
.so engines/
*
.dll
*
.a engines/
*
.a
*
/lib
*
/
*
/lib
clean
:
libclean
clean
:
libclean
rm
-f
shlib/
*
.o
*
.o core a.out fluff rehash.time testlog make.log cctest cctest.c
rm
-f
shlib/
*
.o
*
.o core a.out fluff rehash.time testlog make.log cctest cctest.c
...
@@ -476,13 +476,13 @@ install_sw:
...
@@ -476,13 +476,13 @@ install_sw:
chmod
555
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.new
;
\
chmod
555
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.new
;
\
mv
-f
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.new
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i
;
\
mv
-f
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.new
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i
;
\
else
\
else
\
c
=
`
echo
$$
i |
sed
's/^lib
/cyg
/'
`
;
\
c
=
`
echo
$$
i |
sed
's/^lib
\(.*\)\.dll\.a/cyg\1-
$(SHLIB_VERSION_NUMBER)
.dll
/'
`
;
\
cp
$$
c
$(INSTALL_PREFIX)$(INSTALLTOP)
/bin/
$$
c.new
;
\
cp
$$
c
$(INSTALL_PREFIX)$(INSTALLTOP)
/bin/
$$
c.new
;
\
chmod
755
$(INSTALL_PREFIX)$(INSTALLTOP)
/bin/
$$
c.new
;
\
chmod
755
$(INSTALL_PREFIX)$(INSTALLTOP)
/bin/
$$
c.new
;
\
mv
-f
$(INSTALL_PREFIX)$(INSTALLTOP)
/bin/
$$
c.new
$(INSTALL_PREFIX)$(INSTALLTOP)
/bin/
$$
c
;
\
mv
-f
$(INSTALL_PREFIX)$(INSTALLTOP)
/bin/
$$
c.new
$(INSTALL_PREFIX)$(INSTALLTOP)
/bin/
$$
c
;
\
cp
$$
i
.a
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.a
.new
;
\
cp
$$
i
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i
.new
;
\
chmod
644
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.
a.
new
;
\
chmod
644
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.new
;
\
mv
-f
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.
a.new
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.a
;
\
mv
-f
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i.
new
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/
$$
i
;
\
fi
)
;
\
fi
)
;
\
fi
;
\
fi
;
\
done
;
\
done
;
\
...
...
Makefile.shared
浏览文件 @
447aa490
...
@@ -229,7 +229,8 @@ link_o.cygwin:
...
@@ -229,7 +229,8 @@ link_o.cygwin:
SHLIB
=
cyg
$(LIBNAME)
;
\
SHLIB
=
cyg
$(LIBNAME)
;
\
expr
$(PLATFORM)
:
'mingw'
>
/dev/null
&&
SHLIB
=
$(LIBNAME)
eay32
;
\
expr
$(PLATFORM)
:
'mingw'
>
/dev/null
&&
SHLIB
=
$(LIBNAME)
eay32
;
\
SHLIB_SUFFIX
=
.dll
;
\
SHLIB_SUFFIX
=
.dll
;
\
SHLIB_SOVER
=
-
$(LIBVERSION)
;
\
LIBVERSION
=
"
$(LIBVERSION)
"
;
\
SHLIB_SOVER
=
${
LIBVERSION
:+
"-
$(LIBVERSION)
"
}
;
\
ALLSYMSFLAGS
=
'-Wl,--whole-archive'
;
\
ALLSYMSFLAGS
=
'-Wl,--whole-archive'
;
\
NOALLSYMSFLAGS
=
'-Wl,--no-whole-archive'
;
\
NOALLSYMSFLAGS
=
'-Wl,--no-whole-archive'
;
\
SHAREDFLAGS
=
"
$(CFLAGS)
$(SHARED_LDFLAGS)
-shared -Wl,-Bsymbolic -Wl,--out-implib,lib
$(LIBNAME)
.dll.a"
;
\
SHAREDFLAGS
=
"
$(CFLAGS)
$(SHARED_LDFLAGS)
-shared -Wl,-Bsymbolic -Wl,--out-implib,lib
$(LIBNAME)
.dll.a"
;
\
...
@@ -240,16 +241,16 @@ link_a.cygwin:
...
@@ -240,16 +241,16 @@ link_a.cygwin:
SHLIB
=
cyg
$(LIBNAME)
;
\
SHLIB
=
cyg
$(LIBNAME)
;
\
expr
$(PLATFORM)
:
'mingw'
>
/dev/null
&&
SHLIB
=
$(LIBNAME)
eay32
;
\
expr
$(PLATFORM)
:
'mingw'
>
/dev/null
&&
SHLIB
=
$(LIBNAME)
eay32
;
\
SHLIB_SUFFIX
=
.dll
;
\
SHLIB_SUFFIX
=
.dll
;
\
SHLIB_SOVER
=
;
\
SHLIB_SOVER
=
-
$(LIBVERSION)
;
\
ALLSYMSFLAGS
=
'-Wl,--whole-archive'
;
\
ALLSYMSFLAGS
=
'-Wl,--whole-archive'
;
\
NOALLSYMSFLAGS
=
'-Wl,--no-whole-archive'
;
\
NOALLSYMSFLAGS
=
'-Wl,--no-whole-archive'
;
\
base
=
;
[
$(LIBNAME)
=
"crypto"
]
&&
base
=
-Wl
,--image-base,0x6
12
00000
;
\
base
=
;
[
$(LIBNAME)
=
"crypto"
]
&&
base
=
-Wl
,--image-base,0x6
30
00000
;
\
SHAREDFLAGS
=
"
$(CFLAGS)
$(SHARED_LDFLAGS)
-shared
$$
base -Wl,-Bsymbolic -Wl,--out-implib,lib
$(LIBNAME)
.dll.a"
;
\
SHAREDFLAGS
=
"
$(CFLAGS)
$(SHARED_LDFLAGS)
-shared
$$
base -Wl,-Bsymbolic -Wl,--out-implib,lib
$(LIBNAME)
.dll.a"
;
\
[
-f
apps/
$$
SHLIB
$$
SHLIB_SUFFIX
]
&&
rm
apps/
$$
SHLIB
$$
SHLIB_SUFFIX
;
\
[
-f
apps/
$$
SHLIB
$$
SHLIB_SUFFIX
]
&&
rm
apps/
$$
SHLIB
$$
SHLIB_SUFFIX
;
\
[
-f
test
/
$$
SHLIB
$$
SHLIB_SUFFIX
]
&&
rm test
/
$$
SHLIB
$$
SHLIB_SUFFIX
;
\
[
-f
test
/
$$
SHLIB
$$
SHLIB_SUFFIX
]
&&
rm test
/
$$
SHLIB
$$
SHLIB_SUFFIX
;
\
$(LINK_SO_A)
||
exit
1
;
\
$(LINK_SO_A)
||
exit
1
;
\
cp
-p
$$
SHLIB
$$
SHLIB_SUFFIX apps/
;
\
cp
-p
$$
SHLIB
$$
SHLIB_S
OVER
$$
SHLIB_S
UFFIX apps/
;
\
cp
-p
$$
SHLIB
$$
SHLIB_SUFFIX
test
/
cp
-p
$$
SHLIB
$$
SHLIB_S
OVER
$$
SHLIB_S
UFFIX
test
/
link_app.cygwin
:
link_app.cygwin
:
$(LINK_APP)
$(LINK_APP)
...
...
engines/Makefile
浏览文件 @
447aa490
...
@@ -82,14 +82,19 @@ files:
...
@@ -82,14 +82,19 @@ files:
links
:
links
:
# XXXXX This currently only works on systems that use .so as suffix
# XXXXX This currently only works on systems that use .so as suffix
# for shared libraries.
# for shared libraries as well as for Cygwin which uses the
# dlfcn_name_converter and therefore stores the engines with .so suffix, too.
install
:
install
:
@
[
-n
"
$(INSTALLTOP)
"
]
# should be set by top Makefile...
@
[
-n
"
$(INSTALLTOP)
"
]
# should be set by top Makefile...
@
if
[
-n
"
$(SHARED_LIBS)
"
]
;
then
\
@
if
[
-n
"
$(SHARED_LIBS)
"
]
;
then
\
set
-e
;
\
set
-e
;
\
for
l
in
$(LIBNAMES)
;
do
\
for
l
in
$(LIBNAMES)
;
do
\
(
echo
installing
$$
l
;
\
(
echo
installing
$$
l
;
\
cp
lib
$$
l.so
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/engines/lib
$$
l.so.new
;
\
if
[
"
$(PLATFORM)
"
!=
"Cygwin"
]
;
then
\
cp
lib
$$
l.so
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/engines/lib
$$
l.so.new
;
\
else
\
cp
cyg
$$
l.dll
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/engines/lib
$$
l.so.new
;
\
fi
;
\
chmod
555
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/engines/lib
$$
l.so.new
;
\
chmod
555
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/engines/lib
$$
l.so.new
;
\
mv
-f
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/engines/lib
$$
l.so.new
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/engines/lib
$$
l.so
)
;
\
mv
-f
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/engines/lib
$$
l.so.new
$(INSTALL_PREFIX)$(INSTALLTOP)
/lib/engines/lib
$$
l.so
)
;
\
done
;
\
done
;
\
...
...
util/cygwin.sh
浏览文件 @
447aa490
...
@@ -47,6 +47,14 @@ function doc_install()
...
@@ -47,6 +47,14 @@ function doc_install()
create_cygwin_readme
create_cygwin_readme
}
}
function
certs_install
()
{
CERTS_DIR
=
${
INSTALL_PREFIX
}
/usr/ssl/certs
mkdir
-p
${
CERTS_DIR
}
cp
-rp
certs/
*
${
CERTS_DIR
}
}
function
create_cygwin_readme
()
function
create_cygwin_readme
()
{
{
README_DIR
=
${
INSTALL_PREFIX
}
/usr/share/doc/Cygwin
README_DIR
=
${
INSTALL_PREFIX
}
/usr/share/doc/Cygwin
...
@@ -104,6 +112,8 @@ base_install
...
@@ -104,6 +112,8 @@ base_install
doc_install
doc_install
certs_install
create_cygwin_readme
create_cygwin_readme
create_profile_files
create_profile_files
...
@@ -112,11 +122,13 @@ cd ${INSTALL_PREFIX}
...
@@ -112,11 +122,13 @@ cd ${INSTALL_PREFIX}
strip usr/bin/
*
.exe usr/bin/
*
.dll
strip usr/bin/
*
.exe usr/bin/
*
.dll
# Runtime package
# Runtime package
find etc usr/bin usr/share/doc usr/ssl/certs usr/ssl/man/man[157]
\
find etc usr/bin usr/lib/engines usr/share/doc usr/ssl/certs
\
usr/ssl/misc usr/ssl/openssl.cnf usr/ssl/private
-empty
-o
\!
-type
d |
usr/ssl/man/man[157] usr/ssl/misc usr/ssl/openssl.cnf usr/ssl/private
\
-empty
-o
\!
-type
d |
tar
cjfT openssl-
${
VERSION
}
-
${
SUBVERSION
}
.tar.bz2 -
tar
cjfT openssl-
${
VERSION
}
-
${
SUBVERSION
}
.tar.bz2 -
# Development package
# Development package
find usr/include usr/lib usr/ssl/man/man3
-empty
-o
\!
-type
d |
find usr/include usr/lib/
*
.a usr/lib/pkgconfig usr/ssl/man/man3
\
-empty
-o
\!
-type
d |
tar
cjfT openssl-devel-
${
VERSION
}
-
${
SUBVERSION
}
.tar.bz2 -
tar
cjfT openssl-devel-
${
VERSION
}
-
${
SUBVERSION
}
.tar.bz2 -
ls
-l
openssl-
${
VERSION
}
-
${
SUBVERSION
}
.tar.bz2
ls
-l
openssl-
${
VERSION
}
-
${
SUBVERSION
}
.tar.bz2
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录