network-manager-applet: prevent setting system-ca-certs to true by default.
This commit is contained in:
parent
1c3e3e2d20
commit
0d44cd7646
2 changed files with 37 additions and 1 deletions
36
srcpkgs/network-manager-applet/patches/system-ca-certs.patch
Normal file
36
srcpkgs/network-manager-applet/patches/system-ca-certs.patch
Normal file
|
@ -0,0 +1,36 @@
|
|||
diff --git a/src/wireless-security/eap-method-leap.c b/src/wireless-security/eap-method-leap.c
|
||||
index 93bb32d..3a1545e 100644
|
||||
--- src/wireless-security/eap-method-leap.c
|
||||
+++ src/wireless-security/eap-method-leap.c
|
||||
@@ -106,7 +106,6 @@ fill_connection (EAPMethod *parent, NMConnection *connection)
|
||||
if (method->new_connection) {
|
||||
g_object_set (s_8021x,
|
||||
NM_SETTING_802_1X_PASSWORD_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED,
|
||||
- NM_SETTING_802_1X_SYSTEM_CA_CERTS, TRUE,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
diff --git src/wireless-security/eap-method-simple.c src/wireless-security/eap-method-simple.c
|
||||
index 43063dd..6463c46 100644
|
||||
--- src/wireless-security/eap-method-simple.c
|
||||
+++ src/wireless-security/eap-method-simple.c
|
||||
@@ -169,7 +169,6 @@ fill_connection (EAPMethod *parent, NMConnection *connection)
|
||||
if (method->new_connection && (not_saved == FALSE)) {
|
||||
g_object_set (s_8021x,
|
||||
NM_SETTING_802_1X_PASSWORD_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED,
|
||||
- NM_SETTING_802_1X_SYSTEM_CA_CERTS, TRUE,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
diff --git src/wireless-security/eap-method-tls.c src/wireless-security/eap-method-tls.c
|
||||
index da02873..1d3222e 100644
|
||||
--- src/wireless-security/eap-method-tls.c
|
||||
+++ src/wireless-security/eap-method-tls.c
|
||||
@@ -170,7 +170,6 @@ fill_connection (EAPMethod *parent, NMConnection *connection)
|
||||
if (method->new_connection) {
|
||||
g_object_set (s_8021x,
|
||||
secret_flag_prop, NM_SETTING_SECRET_FLAG_AGENT_OWNED,
|
||||
- NM_SETTING_802_1X_SYSTEM_CA_CERTS, TRUE,
|
||||
NULL);
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'network-manager-applet'
|
||||
pkgname=network-manager-applet
|
||||
version=0.9.8.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --with-bluetooth --with-modem-manager-1"
|
||||
hostmakedepends="pkg-config intltool gobject-introspection"
|
||||
|
|
Loading…
Reference in a new issue