Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dcc-network/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,8 @@ target_link_libraries(${DccNetwork_Name} PRIVATE

dcc_install_plugin(NAME ${DccNetwork_Name} TARGET ${DccNetwork_Name})

# security loader permission interfaces config
install(FILES "misc/permission-interfaces/org.deepin.dcc-network.json"
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dde-control-center/permission-interfaces)

dcc_handle_plugin_translation(NAME ${DccNetwork_Name} )
11 changes: 11 additions & 0 deletions dcc-network/misc/permission-interfaces/org.deepin.dcc-network.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "1.0",
"description": "网络插件需要授权的 D-Bus 系统服务接口",
"DestList": [
{
"DbusName": "org.deepin.dde.AirplaneMode1",
"DbusPath": "/org/deepin/dde/AirplaneMode1",
"DbusInterface": "org.deepin.dde.AirplaneMode1"
}
]
}
9 changes: 5 additions & 4 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,26 @@ Depends: ${misc:Depends},
network-manager-openconnect,
network-manager-strongswan | libreswan (>=4.12),
network-manager-sstp,
libdde-network-core (= ${binary:Version})
libdde-network-core (= ${binary:Version}),
dde-daemon (>= 6.1.102)
Description: the plugin of network for dde control center
dcc-network-plugin module

Package: dock-network-plugin
Architecture: any
Depends: ${misc:Depends},${shlibs:Depends},libdde-network-core (= ${binary:Version})
Depends: ${misc:Depends},${shlibs:Depends},libdde-network-core (= ${binary:Version}),dde-daemon (>= 6.1.102)
Description: the plugin of network for dde-dock
dock-plugin module

Package: dss-network-plugin
Architecture: any
Depends: ${misc:Depends},${shlibs:Depends},libdde-network-core (= ${binary:Version})
Depends: ${misc:Depends},${shlibs:Depends},libdde-network-core (= ${binary:Version}),dde-daemon (>= 6.1.102)
Description: the plugin of network for dde-lock
dss-network-plugin module

Package: deepin-service-plugin-network
Architecture: any
Depends: ${misc:Depends},${shlibs:Depends},curl
Depends: ${misc:Depends},${shlibs:Depends},curl,dde-daemon (>= 6.1.102)
Breaks: dde-daemon (<<6.1.58)
Replaces: dde-daemon (<<6.1.58)
Description: the plugin of network service for deepin-service-manager
Expand Down
1 change: 1 addition & 0 deletions debian/dcc-network-plugin.install
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
usr/lib/*/dde-control-center
usr/share/dde-control-center/translations
usr/share/dde-control-center/permission-interfaces
Loading