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
Reviewer Review Type Date Requested Status
Danielle Foré Needs Fixing
Review via email: mp+313927@code.qastaging.launchpad.net

Description of the change

Use firewalld instead of UFW

To post a comment you must log in.
279. By Corentin Noël

Use Firewalld instead of UFW

Revision history for this message
Cody Garver (codygarver) wrote :
Download full text (24.5 KiB)

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:
>
> 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://bugs.launchpad.net/switchboard-plug-security-privacy/+bug/1639775
>
> For more details, see:
> https://code.launchpad.net/~tintou/switchboard-plug-security-privacy/firewalld/+merge/313927
>
> 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_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_DATAROOTDIR}/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.elementaryos.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/FirewallPanel.vala' --- src/FirewallPanel.vala 2015-05-10 13:54:39 +0000 +++ src/FirewallPanel.vala 2016-12-31 02:13:20 +0000 @@ -1,6 +1,6 @@ // -*- Mode: vala; indent-tabs-mode: nil; tab-width: 4 -*-...

Revision history for this message
Danielle Foré (danrabbit) wrote :

from Cody via Slack, "This should be a build flag so it doesn't break Loki support.

review: Needs Fixing

Unmerged revisions

279. By Corentin Noël

Use Firewalld instead of UFW

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: