!30 添加SA profile,sa_main拉起softbus server服务需要
From: @heppen Reviewed-by: @yukaii Signed-off-by: @yukaii
This commit is contained in:
commit
e4a5554999
84
README.md
84
README.md
@ -1,42 +1,42 @@
|
|||||||
# communication_dsoftbus
|
# communication_dsoftbus
|
||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
现实中多设备间通信方式多种多样(WIFI、蓝牙等),不同的通信方式使用差异大,导致通信问题多;同时还面临设备间通信链路的融合共享和冲突无法处理等挑战。分布式软总线实现近场设备间统一的分布式通信管理能力,提供不区分链路的设备间发现连接、组网和传输能力,主要功能如下:
|
现实中多设备间通信方式多种多样(WIFI、蓝牙等),不同的通信方式使用差异大,导致通信问题多;同时还面临设备间通信链路的融合共享和冲突无法处理等挑战。分布式软总线实现近场设备间统一的分布式通信管理能力,提供不区分链路的设备间发现连接、组网和传输能力,主要功能如下:
|
||||||
|
|
||||||
- 发现连接:提供基于Wifi、蓝牙等通信方式的设备发现连接能力。
|
- 发现连接:提供基于Wifi、蓝牙等通信方式的设备发现连接能力。
|
||||||
- 设备组网:提供统一的设备组网和拓扑管理能力,为数据传输提供已组网设备信息。
|
- 设备组网:提供统一的设备组网和拓扑管理能力,为数据传输提供已组网设备信息。
|
||||||
- 数据传输:提供数据传输通道,支持消息、字节数据传输等能力。
|
- 数据传输:提供数据传输通道,支持消息、字节数据传输等能力。
|
||||||
业务方通过使用分布式软总线提供的API实现设备间的高速通信,不用关心通信细节,进而实现业务平台的高效部署与运行能力。
|
业务方通过使用分布式软总线提供的API实现设备间的高速通信,不用关心通信细节,进而实现业务平台的高效部署与运行能力。
|
||||||
#### 软件架构
|
#### 软件架构
|
||||||
软件架构说明
|
软件架构说明
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
#### 安装教程
|
||||||
|
|
||||||
1. xxxx
|
1. xxxx
|
||||||
2. xxxx
|
2. xxxx
|
||||||
3. xxxx
|
3. xxxx
|
||||||
|
|
||||||
#### 使用说明
|
#### 使用说明
|
||||||
|
|
||||||
1. xxxx
|
1. xxxx
|
||||||
2. xxxx
|
2. xxxx
|
||||||
3. xxxx
|
3. xxxx
|
||||||
|
|
||||||
#### 参与贡献
|
#### 参与贡献
|
||||||
|
|
||||||
1. Fork 本仓库
|
1. Fork 本仓库
|
||||||
2. 新建 Feat_xxx 分支
|
2. 新建 Feat_xxx 分支
|
||||||
3. 提交代码
|
3. 提交代码
|
||||||
4. 新建 Pull Request
|
4. 新建 Pull Request
|
||||||
|
|
||||||
|
|
||||||
#### 特技
|
#### 特技
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||||
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
|
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
|
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
|
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
|
||||||
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||||
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: communication_dsoftbus
|
Name: communication_dsoftbus
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 7
|
||||||
Summary: Inter-process Remote Procedure Call (RPC)
|
Summary: Inter-process Remote Procedure Call (RPC)
|
||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
Url: https://gitee.com/openharmony/communication_dsoftbus
|
Url: https://gitee.com/openharmony/communication_dsoftbus
|
||||||
@ -14,6 +14,7 @@ Source1: https://gitee.com/openharmony/communication_dsoftbus/repository/
|
|||||||
Source2: https://gitee.com/openharmony/third_party_sqlite/repository/archive/OpenHarmony-v3.2-Release.tar.gz #/third_party_sqlite-OpenHarmony-v3.2-Release.tar.gz
|
Source2: https://gitee.com/openharmony/third_party_sqlite/repository/archive/OpenHarmony-v3.2-Release.tar.gz #/third_party_sqlite-OpenHarmony-v3.2-Release.tar.gz
|
||||||
Source3: https://gitee.com/openharmony/third_party_libcoap/repository/archive/OpenHarmony-v3.2-Release.tar.gz #/third_party_libcoap-OpenHarmony-v3.2-Release.tar.gz
|
Source3: https://gitee.com/openharmony/third_party_libcoap/repository/archive/OpenHarmony-v3.2-Release.tar.gz #/third_party_libcoap-OpenHarmony-v3.2-Release.tar.gz
|
||||||
Source4: sqlite.BUILD.gn
|
Source4: sqlite.BUILD.gn
|
||||||
|
Source5: softbus_server.xml
|
||||||
|
|
||||||
Patch1: 0001-remove-dependency-and-adapt-for-openeuler-dsoftbus.patch
|
Patch1: 0001-remove-dependency-and-adapt-for-openeuler-dsoftbus.patch
|
||||||
Patch2: 0002-increase-the-pthread-stack-size-of-x86-and-other-env-dsoftbus.patch
|
Patch2: 0002-increase-the-pthread-stack-size-of-x86-and-other-env-dsoftbus.patch
|
||||||
@ -80,6 +81,7 @@ install -d -m 0755 %{buildroot}/%{_includedir}/dsoftbus
|
|||||||
install -d -m 0755 %{buildroot}/%{_includedir}/sqlite
|
install -d -m 0755 %{buildroot}/%{_includedir}/sqlite
|
||||||
install -d -m 0755 %{buildroot}/%{_libdir}
|
install -d -m 0755 %{buildroot}/%{_libdir}
|
||||||
install -d -m 0755 %{buildroot}/system/lib64
|
install -d -m 0755 %{buildroot}/system/lib64
|
||||||
|
install -d -m 0755 %{buildroot}/system/profile
|
||||||
install -d -m 0755 %{buildroot}/%{build_opt}/openeuler/compiler_gn/third_party/sqlite/
|
install -d -m 0755 %{buildroot}/%{build_opt}/openeuler/compiler_gn/third_party/sqlite/
|
||||||
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
@ -95,6 +97,10 @@ install -d -m 0755 %{buildroot}/%{build_opt}/openeuler/compiler_gn/third_party/s
|
|||||||
rm -rf %{_builddir}/%{header_out_path}/softbus_client/inner_kits/transport/inner_session.h
|
rm -rf %{_builddir}/%{header_out_path}/softbus_client/inner_kits/transport/inner_session.h
|
||||||
find %{_builddir}/%{header_out_path} -name *.h -print0 | xargs -0 -i cp -rf {} %{buildroot}/%{_includedir}/dsoftbus/
|
find %{_builddir}/%{header_out_path} -name *.h -print0 | xargs -0 -i cp -rf {} %{buildroot}/%{_includedir}/dsoftbus/
|
||||||
|
|
||||||
|
# install libs and headers from dsoftbus
|
||||||
|
rm -rf %{_builddir}/%{header_out_path}/softbus_client/inner_kits/transport/inner_session.h
|
||||||
|
find %{_builddir}/%{header_out_path} -name *.h -print0 | xargs -0 -i cp -rf {} %{buildroot}/%{_includedir}/dsoftbus/
|
||||||
|
|
||||||
|
|
||||||
# install libs and headers from dsoftbus
|
# install libs and headers from dsoftbus
|
||||||
%define dsoftbus_module_path %{module_out_path}/communication/dsoftbus
|
%define dsoftbus_module_path %{module_out_path}/communication/dsoftbus
|
||||||
@ -106,6 +112,7 @@ install -m 0755 %{_builddir}/third_party/sqlite/include/*.h %{buildroot}/%{_incl
|
|||||||
install -m 0755 %{_builddir}/%{module_out_path}/common/common/libsqlite.z.so %{buildroot}/%{_libdir}
|
install -m 0755 %{_builddir}/%{module_out_path}/common/common/libsqlite.z.so %{buildroot}/%{_libdir}
|
||||||
install -m 0755 %{_builddir}/%{module_out_path}/common/common/libsqlite.z.so %{buildroot}/system/lib64
|
install -m 0755 %{_builddir}/%{module_out_path}/common/common/libsqlite.z.so %{buildroot}/system/lib64
|
||||||
install -m 0755 %{SOURCE4} %{buildroot}/%{build_opt}/openeuler/compiler_gn/third_party/sqlite/BUILD.gn
|
install -m 0755 %{SOURCE4} %{buildroot}/%{build_opt}/openeuler/compiler_gn/third_party/sqlite/BUILD.gn
|
||||||
|
install -m 0755 %{SOURCE5} %{buildroot}/system/profile
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
@ -113,8 +120,26 @@ install -m 0755 %{SOURCE4} %{buildroot}/%{build_opt}/openeuler/compiler_gn/third
|
|||||||
%{_includedir}/sqlite/*
|
%{_includedir}/sqlite/*
|
||||||
/system/*
|
/system/*
|
||||||
%{build_opt}
|
%{build_opt}
|
||||||
%changelog
|
|
||||||
* Tue Oct 19 2023 Yuying Mu <muyuying1@huawei.com> - 1.0.0-1
|
%changelog
|
||||||
* Tue Nov 20 2023 Jiaqi Zhao <zhaojiaqi18@huawei.com> - 1.0.0-1
|
* Fri Dec 15 2023 heppen <hepeng68@huawei.com> - 1.0.0-7
|
||||||
- Init package
|
- Add SA profile
|
||||||
|
|
||||||
|
* Tue Oct 19 2023 Yuying Mu <muyuying1@huawei.com> - 1.0.0-6
|
||||||
|
* Tue Nov 20 2023 Jiaqi Zhao <zhaojiaqi18@huawei.com> - 1.0.0-6
|
||||||
|
- Update dsoftbus from 3.1.2 to 3.2
|
||||||
|
- Rename package name from dsoftbus to communication_dsoftbus
|
||||||
|
|
||||||
|
* Mon Sep 25 2023 heppen <hepeng68@huawei.com> - 1.0.0-5
|
||||||
|
- fix CVE-2023-30364 for libcoap
|
||||||
|
|
||||||
|
* Wed Sep 20 2023 heppen <hepeng68@huawei.com> - 1.0.0-4
|
||||||
|
- open udp stream and file feature for dsoftbus
|
||||||
|
|
||||||
|
* Wed Nov 30 2022 liheavy <lihaiwei8@huawei.com> - 1.0.0-3
|
||||||
|
- Disassemble yocto-embedded-tools and replace cjson, ninja, gn, openssl, libboundscheck
|
||||||
|
- with openEuler software package
|
||||||
|
|
||||||
|
* Wed Nov 23 2022 xuchongyu <xuchongyu@huawei.com> - 1.0.0-2
|
||||||
|
- add URL,change branch of libboundscheck to 22.03-LTS-SP1
|
||||||
|
|
||||||
|
|||||||
14
softbus_server.xml
Executable file
14
softbus_server.xml
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<info>
|
||||||
|
<process>softbus_server</process>
|
||||||
|
<loadlibs>
|
||||||
|
<libpath>libsoftbus_server.z.so</libpath>
|
||||||
|
</loadlibs>
|
||||||
|
<systemability>
|
||||||
|
<name>4700</name>
|
||||||
|
<libpath>libsoftbus_server.z.so</libpath>
|
||||||
|
<run-on-create>true</run-on-create>
|
||||||
|
<distributed>false</distributed>
|
||||||
|
<dump-level>1</dump-level>
|
||||||
|
</systemability>
|
||||||
|
</info>
|
||||||
Loading…
x
Reference in New Issue
Block a user