Merge lp://qastaging/~tintou/switchboard-plug-security-privacy/firewalld into lp://qastaging/~elementary-apps/switchboard-plug-security-privacy/trunk
Proposed by
Corentin Noël
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp://qastaging/~tintou/switchboard-plug-security-privacy/firewalld | ||||
Merge into: | lp://qastaging/~elementary-apps/switchboard-plug-security-privacy/trunk | ||||
Diff against target: |
805 lines (+199/-491) 8 files modified
CMakeLists.txt (+0/-4) data/org.pantheon.security-privacy.policy.cmake (+0/-20) data/security-privacy-plug-helper (+0/-24) src/CMakeLists.txt (+1/-1) src/FirewallPanel.vala (+149/-209) src/Firewalld.vala (+49/-0) src/Plug.vala (+0/-35) src/UFWHelpers.vala (+0/-198) |
||||
To merge this branch: | bzr merge lp://qastaging/~tintou/switchboard-plug-security-privacy/firewalld | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Danielle Foré | Needs Fixing | ||
Review via email:
|
Description of the change
Use firewalld instead of UFW
To post a comment you must log in.
Unmerged revisions
- 279. By Corentin Noël
-
Use Firewalld instead of UFW
This should be a build flag so it does not break Loki support yet.
> On Dec 30, 2016, at 8:14 PM, Corentin Noël <email address hidden> wrote: /bugs.launchpad .net/switchboar d-plug- security- privacy/ +bug/1639775 /code.launchpad .net/~tintou/ switchboard- plug-security- privacy/ firewalld/ +merge/ 313927 MAKE_PROGRAM} package_source) -configure_file (${CMAKE_ SOURCE_ DIR}/data/ org.pantheon. security- privacy. policy. cmake ${CMAKE_ BINARY_ DIR}/data/ org.pantheon. security- privacy. policy) -install(FILES ${CMAKE_ BINARY_ DIR}/data/ org.pantheon. security- privacy. policy DESTINATION ${CMAKE_ INSTALL_ FULL_DATAROOTDI R}/polkit- 1/actions/ ) -install(FILES ${CMAKE_ SOURCE_ DIR}/data/ security- privacy- plug-helper PERMISSIONS OWNER_EXECUTE OWNER_READ DESTINATION ${PKGDATADIR}/) - # Traslation stuff add_subdirectory (po) === removed directory 'data' === removed file 'data/org. pantheon. security- privacy. policy. cmake' --- data/org. pantheon. security- privacy. policy. cmake 2014-08-09 18:22:03 +0000 +++ data/org. pantheon. security- privacy. policy. cmake 1970-01-01 00:00:00 +0000 @@ -1,20 +0,0 @@ - - - - elementary - http:// www.elementaryo s.org/ - - - Authentication is required to run the Firewall Configuration - preferences- system- privacy - - no - no - auth_admin_keep - - @PKGDATADIR@ /security- privacy- plug-helper - - - \ No newline at end of file === removed file 'data/security- privacy- plug-helper' --- data/security- privacy- plug-helper 2014-04-24 16:28:52 +0000 +++ data/security- privacy- plug-helper 1970-01-01 00:00:00 +0000 @@ -1,24 +0,0 @@ -#!/bin/bash - - while getopts "12345:6:" OPTION; do - case ${OPTION} in - 1) - LANGUAGE=C - export LANGUAGE - ufw status;; - 2) - ufw --force enable;; - 3) - ufw disable;; - 4) - LANGUAGE=C - export LANGUAGE - ufw status numbered;; - 5) - ufw $2;; - 6) - ufw --force delete $OPTARG;; - \?) - exit 1;; - esac - done \ No newline at end of file === modified file 'src/CMakeLists .txt' --- src/CMakeLists.txt 2014-12-02 21:20:07 +0000 +++ src/CMakeLists.txt 2016-12-31 02:13:20 +0000 @@ -19,7 +19,7 @@ FirewallPanel.vala LockPanel.vala TrackPanel.vala - UFWHelpers.vala + Firewalld.vala ZGUtilities.vala ${CMAKE_ CURRENT_ BINARY_ DIR}/config. vala PACKAGES === modified file 'src/FirewallPa nel.vala' --- src/FirewallPan el.vala 2015-05-10 13:54:39 +0000 +++ src/FirewallPan el.vala 2016-12-31 02:13:20 +0000 @@ -1,6 +1,6 @@ // -*- Mode: vala; indent-tabs-mode: nil; tab-width: 4 -*-...
>
> Corentin Noël has proposed merging lp:~tintou/switchboard-plug-security-privacy/firewalld into lp:switchboard-plug-security-privacy.
>
> Requested reviews:
> elementary Apps team (elementary-apps)
> Related bugs:
> Bug #1639775 in Switchboard Security & Privacy Plug: "Firewall portion of plug should use FirewallD instead of ufw"
> https:/
>
> For more details, see:
> https:/
>
> Use firewalld instead of UFW
> --
> Your team elementary Apps team is requested to review the proposed merge of lp:~tintou/switchboard-plug-security-privacy/firewalld into lp:switchboard-plug-security-privacy.
> === modified file 'CMakeLists.txt' --- CMakeLists.txt 2016-12-01 11:56:30 +0000 +++ CMakeLists.txt 2016-12-31 02:13:20 +0000 @@ -38,10 +38,6 @@ include (CPack) add_custom_target (dist COMMAND ${CMAKE_