add sa profile

This commit is contained in:
heppen 2023-12-15 15:32:13 +08:00
parent 340ff35d8e
commit 8c3e074397
2 changed files with 42 additions and 5 deletions

View File

@ -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
@ -106,6 +108,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 +116,28 @@ install -m 0755 %{SOURCE4} %{buildroot}/%{build_opt}/openeuler/compiler_gn/third
%{_includedir}/sqlite/*
/system/*
%{build_opt}
%changelog
* Tue Oct 19 2023 Yuying Mu <muyuying1@huawei.com> - 1.0.0-1
* Tue Nov 20 2023 Jiaqi Zhao <zhaojiaqi18@huawei.com> - 1.0.0-1
- Init package
%changelog
* Fri Dec 15 2023 heppen <hepeng68@huawei.com> - 1.0.0-7
- 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
* Tue Nov 22 2022 xuchongyu <xuchongyu@huawei.com> - 1.0.0-1
- init dsoftbus

14
softbus_server.xml Executable file
View 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>