diff --git a/README.md b/README.md index ff94cd05722f167e7a836e1640b740e46324da89..6821391f42a7ca14d08a34a25e015b6eca2781d6 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,42 @@ -# communication_dsoftbus - -#### 介绍 -现实中多设备间通信方式多种多样(WIFI、蓝牙等),不同的通信方式使用差异大,导致通信问题多;同时还面临设备间通信链路的融合共享和冲突无法处理等挑战。分布式软总线实现近场设备间统一的分布式通信管理能力,提供不区分链路的设备间发现连接、组网和传输能力,主要功能如下: - -- 发现连接:提供基于Wifi、蓝牙等通信方式的设备发现连接能力。 -- 设备组网:提供统一的设备组网和拓扑管理能力,为数据传输提供已组网设备信息。 -- 数据传输:提供数据传输通道,支持消息、字节数据传输等能力。 -业务方通过使用分布式软总线提供的API实现设备间的高速通信,不用关心通信细节,进而实现业务平台的高效部署与运行能力。 -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) - +# communication_dsoftbus + +#### 介绍 +现实中多设备间通信方式多种多样(WIFI、蓝牙等),不同的通信方式使用差异大,导致通信问题多;同时还面临设备间通信链路的融合共享和冲突无法处理等挑战。分布式软总线实现近场设备间统一的分布式通信管理能力,提供不区分链路的设备间发现连接、组网和传输能力,主要功能如下: + +- 发现连接:提供基于Wifi、蓝牙等通信方式的设备发现连接能力。 +- 设备组网:提供统一的设备组网和拓扑管理能力,为数据传输提供已组网设备信息。 +- 数据传输:提供数据传输通道,支持消息、字节数据传输等能力。 +业务方通过使用分布式软总线提供的API实现设备间的高速通信,不用关心通信细节,进而实现业务平台的高效部署与运行能力。 +#### 软件架构 +软件架构说明 + + +#### 安装教程 + +1. xxxx +2. xxxx +3. xxxx + +#### 使用说明 + +1. xxxx +2. xxxx +3. xxxx + +#### 参与贡献 + +1. Fork 本仓库 +2. 新建 Feat_xxx 分支 +3. 提交代码 +4. 新建 Pull Request + + +#### 特技 + +1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md +2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) +3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 +4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 +5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) +6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) + diff --git a/dsoftbus.spec b/dsoftbus.spec index 662d5422df18b607f5f1c2138f42673c01cbf9aa..64060c196f2ab777288c97a04ef34ab771ed85d9 100644 --- a/dsoftbus.spec +++ b/dsoftbus.spec @@ -6,7 +6,7 @@ Name: communication_dsoftbus Version: 1.0.0 -Release: 1 +Release: 7 Summary: Inter-process Remote Procedure Call (RPC) License: Apache License 2.0 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 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 +Source5: softbus_server.xml Patch1: 0001-remove-dependency-and-adapt-for-openeuler-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}/%{_libdir} 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/ %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 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 %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}/system/lib64 install -m 0755 %{SOURCE4} %{buildroot}/%{build_opt}/openeuler/compiler_gn/third_party/sqlite/BUILD.gn +install -m 0755 %{SOURCE5} %{buildroot}/system/profile %files %{_libdir}/*.so @@ -113,8 +120,26 @@ install -m 0755 %{SOURCE4} %{buildroot}/%{build_opt}/openeuler/compiler_gn/third %{_includedir}/sqlite/* /system/* %{build_opt} + %changelog -* Tue Oct 19 2023 Yuying Mu - 1.0.0-1 -* Tue Nov 20 2023 Jiaqi Zhao - 1.0.0-1 -- Init package +* Fri Dec 15 2023 heppen - 1.0.0-7 +- Add SA profile + +* Tue Oct 19 2023 Yuying Mu - 1.0.0-6 +* Tue Nov 20 2023 Jiaqi Zhao - 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 - 1.0.0-5 +- fix CVE-2023-30364 for libcoap + +* Wed Sep 20 2023 heppen - 1.0.0-4 +- open udp stream and file feature for dsoftbus + +* Wed Nov 30 2022 liheavy - 1.0.0-3 +- Disassemble yocto-embedded-tools and replace cjson, ninja, gn, openssl, libboundscheck +- with openEuler software package + +* Wed Nov 23 2022 xuchongyu - 1.0.0-2 +- add URL,change branch of libboundscheck to 22.03-LTS-SP1 diff --git a/softbus_server.xml b/softbus_server.xml new file mode 100755 index 0000000000000000000000000000000000000000..e935f1b072bd0c5b10c61bc0a3957b619ed9cc0c --- /dev/null +++ b/softbus_server.xml @@ -0,0 +1,14 @@ + + + softbus_server + + libsoftbus_server.z.so + + + 4700 + libsoftbus_server.z.so + true + false + 1 + +