Browse Source

NetworkManager-libreswan package creation

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 6 years ago
parent
commit
c1cb72c640
  1. 495
      SOURCES/0001-translations-rh1383163.patch
  2. 261
      SPECS/NetworkManager-libreswan.spec

495
SOURCES/0001-translations-rh1383163.patch

@ -0,0 +1,495 @@ @@ -0,0 +1,495 @@
From 8200e1b5d52fdf317bc46bbd43583488bc7fc03f Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Mon, 29 May 2017 19:06:24 +0200
Subject: [PATCH 1/2] po: add zanata.xml

---
zanata.xml | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 zanata.xml

diff --git a/zanata.xml b/zanata.xml
new file mode 100644
index 0000000..a64fcb6
--- /dev/null
+++ b/zanata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<config xmlns="http://zanata.org/namespace/config/">
+ <url>https://vendors.zanata.redhat.com/</url>
+ <project>networkmanager-libreswan</project>
+ <project-version>RHEL-7.4</project-version>
+ <project-type>gettext</project-type>
+
+</config>
--
2.13.0

From fada091faeb6f6c4c4f8ede04e9ad15c743772ed Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Mon, 29 May 2017 18:04:52 +0200
Subject: [PATCH 2/2] po: update Japan translations

From the Red Hat translators.

https://bugzilla.redhat.com/show_bug.cgi?id=1383163
---
po/ja.po | 386 +++++++++++++++++++++++++++++----------------------------------
1 file changed, 176 insertions(+), 210 deletions(-)

diff --git a/po/ja.po b/po/ja.po
index 8224644..b78d3a9 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -2,272 +2,238 @@
# Copyright (C) 2006 THE NetworkManager-vpnc's COPYRIGHT HOLDER
# This file is distributed under the same license as the NetworkManager-vpnc package.
# Satoru SATOH <ss@gnome.gr.jp>, 2006.
-#
+# kmoriguc <kmoriguc@redhat.com>, 2017. #zanata
+# lrintel <lrintel@redhat.com>, 2017. #zanata
msgid ""
msgstr ""
-"Project-Id-Version: NetworkManager-vpnc HEAD\n"
-"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=network-manager-libreswan&keywords=I18N+L10N&component=general\n"
-"POT-Creation-Date: 2013-09-23 04:10+0000\n"
-"PO-Revision-Date: 2013-10-03 14:18+0900\n"
-"Last-Translator: Hajime Taira <htaira@redhat.com>\n"
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-05-16 10:52+0200\n"
+"PO-Revision-Date: 2017-05-19 12:59+0000\n"
+"Last-Translator: kmoriguc <kmoriguc@redhat.com>\n"
"Language-Team: Japanese <gnome-translation@gnome.gr.jp>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Zanata 4.1.1\n"
+"Plural-Forms: nplurals=1; plural=0\n"
-#: ../auth-dialog/main.c:188
-#, c-format
-msgid "You need to authenticate to access the Virtual Private Network '%s'."
-msgstr "仮想プライベートネットワーク '%s' にアクセスするには認証が必要です。"
+#: ../appdata/network-manager-libreswan.metainfo.xml.in.h:1
+msgid "IPsec VPN client"
+msgstr "IPsec VPN クライアント"
-#: ../auth-dialog/main.c:197 ../auth-dialog/main.c:221
-msgid "Authenticate VPN"
-msgstr "VPN 認証"
+#: ../appdata/network-manager-libreswan.metainfo.xml.in.h:2
+msgid "Libreswan based client for IKEv1 based IPsec virtual private networks"
+msgstr ""
+"IKEv1 ベースの IPsec 仮想プライベートネットワーク向けの Libreswan ベースのク"
+"ライアント"
+
+#: ../appdata/network-manager-libreswan.metainfo.xml.in.h:3
+msgid ""
+"Support for configuring IKEv1 based IPsec virtual private network "
+"connections."
+msgstr ""
+"IKEv1 ベースの IPsec 仮想プライベートネットワーク接続に関する設定のサポート"
-#: ../auth-dialog/main.c:200
+#: ../appdata/network-manager-libreswan.metainfo.xml.in.h:4
+msgid "Compatible with Libreswan and Cisco IPsec VPN servers."
+msgstr "Libreswan および Cisco IPsec VPN サーバーと互換性があります。"
+
+#: ../appdata/network-manager-libreswan.metainfo.xml.in.h:5
+msgid "The NetworkManager Developers"
+msgstr "NetworkManager 開発者"
+
+#: ../auth-dialog/main.c:165
+#, c-format
+msgid "Authenticate VPN %s"
+msgstr "VPN %s を認証"
+
+#: ../auth-dialog/main.c:182
msgid "Password:"
msgstr "パスワード:"
-#: ../auth-dialog/main.c:202
+#: ../auth-dialog/main.c:192
msgid "Group Password:"
msgstr "グループパスワード:"
-#: ../auth-dialog/main.c:223
+#: ../auth-dialog/main.c:228
+msgid "Authenticate VPN"
+msgstr "VPN 認証"
+
+#: ../auth-dialog/main.c:237
msgid "_Group Password:"
msgstr "グループパスワード(_G):"
-#: ../nm-libreswan.desktop.in.h:1
-msgid "IPsec Based VPN Connection Manager (libreswan)"
-msgstr "IPsec ベースの VPN 接続マネージャー (libreswan)"
-
-#: ../nm-libreswan.desktop.in.h:2
-msgid "Add, Remove, and Edit VPN Connections"
-msgstr "VPN 接続を追加、削除または編集"
+#: ../auth-dialog/main.c:487
+#, c-format
+msgid "You need to authenticate to access the Virtual Private Network '%s'."
+msgstr "仮想プライベートネットワーク '%s' にアクセスするには認証が必要です。"
-#: ../properties/nm-libreswan.c:47
+#: ../properties/nm-libreswan-editor-plugin.c:43
msgid "IPsec based VPN"
msgstr "IPsec ベースの VPN"
-#: ../properties/nm-libreswan.c:48
-msgid "IPsec, IKEv1, IKEv2 based VPN"
-msgstr "IPsec, IKEv1, IKEv2 ベースの VPN"
-
-#: ../properties/nm-libreswan.c:274
-msgid "Saved"
-msgstr "保存しました"
-
-#: ../properties/nm-libreswan.c:281
-msgid "Always Ask"
-msgstr "毎回求める"
-
-#: ../properties/nm-libreswan.c:288
-msgid "Not Required"
-msgstr "不要"
-
-#: ../properties/nm-libreswan-dialog.ui.h:1
-msgid " "
-msgstr " "
-
-#: ../properties/nm-libreswan-dialog.ui.h:2
-msgid "<b>General</b>"
-msgstr "<b>全般</b>"
-
-#: ../properties/nm-libreswan-dialog.ui.h:3
-msgid "Show passwords"
-msgstr "パスワードを表示する"
+#: ../properties/nm-libreswan-editor-plugin.c:44
+msgid "IPsec based VPN using IKEv1"
+msgstr "IKEv1 を使った IPsec ベースの VPN"
-#: ../properties/nm-libreswan-dialog.ui.h:4
-msgid "Gro_up password:"
-msgstr "グループパスワード(_U):"
-
-#: ../properties/nm-libreswan-dialog.ui.h:5
-msgid "_Gateway:"
-msgstr "ゲートウェイ(_G):"
-
-#: ../properties/nm-libreswan-dialog.ui.h:6
-msgid "G_roup name:"
-msgstr "グループ名(_R):"
-
-#: ../properties/nm-libreswan-dialog.ui.h:7
-msgid "_User password:"
-msgstr "ユーザーパスワード(_U):"
+#: ../properties/nm-libreswan-editor-plugin.c:80
+#: ../properties/nm-libreswan-editor-plugin.c:149
+#, c-format
+msgid "Can't open file '%s': %s"
+msgstr "ファイル '%s' を開けません: %s"
-#: ../properties/nm-libreswan-dialog.ui.h:8
-msgid "<b>Optional</b>"
-msgstr "<b>オプション</b>"
+#: ../properties/nm-libreswan-editor-plugin.c:126
+#, c-format
+msgid "Missing \"conn\" section in \"%s\""
+msgstr "\"%s\" に \"conn\" セクションがありません"
-#: ../properties/nm-libreswan-dialog.ui.h:9
-msgid "User name:"
-msgstr "ユーザー名:"
+#: ../properties/nm-libreswan-editor-plugin.c:167
+#, c-format
+msgid "Error writing to file '%s': %s"
+msgstr "ファイル '%s' への書き込みでエラー: %s"
-#: ../properties/nm-libreswan-dialog.ui.h:10
-msgid "Phase1 Algorithms:"
-msgstr "フェーズ1 アルゴリズム:"
+#: ../src/nm-libreswan-service.c:1449
+msgid "A password is required."
+msgstr "パスワードが必要です"
-#: ../properties/nm-libreswan-dialog.ui.h:11
-msgid "Phase2 Algorithms:"
-msgstr "フェーズ2 アルゴリズム:"
+#: ../src/nm-libreswan-service.c:1833
+msgid ""
+"Could not process the request because the VPN connection settings were "
+"invalid."
+msgstr "VPN 接続設定が無効のため、リクエストを処理できませんでした。"
-#: ../properties/nm-libreswan-dialog.ui.h:12
-msgid "Domain:"
-msgstr "ドメイン:"
+#: ../src/nm-libreswan-service.c:1847
+msgid "Unhandled pending authentication."
+msgstr "保留中の認証を未処理"
-#: ../src/nm-libreswan-service.c:877
+#: ../src/nm-libreswan-service.c:1989
msgid "Don't quit when VPN connection terminates"
msgstr "終了時に VPN 接続を切断しない"
-#: ../src/nm-libreswan-service.c:878
+#: ../src/nm-libreswan-service.c:1990
msgid "Enable verbose debug logging (may expose passwords)"
-msgstr "詳細なデバッグログ機能を有効化する (パスワードが露出する可能性があります)"
-
-#: ../src/nm-libreswan-service.c:901
-msgid "nm-libreswan-service provides integrated IPsec VPN capability to NetworkManager."
-msgstr "nm-libreswan-service は NetworkManager に統合化された IPsec VPN 機能を提供します。"
-
-#~ msgid "_Secondary Password:"
-#~ msgstr "第二パスワード(_S):"
-
-#~ msgid "Connect _anonymously"
-#~ msgstr "匿名で接続(_A)"
-
-#~ msgid "Connect as _user:"
-#~ msgstr "ユーザで接続(_U):"
-
-#~ msgid "_Remember passwords for this session"
-#~ msgstr "このセッションのパスワードを記憶する(_R)"
-
-#~ msgid "_Save passwords in keyring"
-#~ msgstr "パスワードをキーリングに保存する(_S)"
-
-#~ msgid "Compatible Cisco VPN client (vpnc)"
-#~ msgstr "Cisco VPN 互換クライアント (vpnc)"
-
-#~ msgid "The following vpnc VPN connection will be created:"
-#~ msgstr "次の vpnc VPN 接続を作成します:"
-
-#~ msgid "Name: %s"
-#~ msgstr "名前: %s"
-
-#~ msgid "Gateway: %s"
-#~ msgstr "ゲートウェイ: %s"
-
-#~ msgid "Group Name: %s"
-#~ msgstr "グループ名: %s"
-
-#~ msgid "Username: %s"
-#~ msgstr "ユーザ名: %s"
-
-#~ msgid "Domain: %s"
-#~ msgstr "ドメイン: %s"
-
-#~ msgid "Routes: %s"
-#~ msgstr "ルート: %s"
-
-#~ msgid "NAT-Keepalive packet interval: %s"
-#~ msgstr "NAT-Keepalive パケット間隔: %s"
-
-#~ msgid "Enable Single DES"
-#~ msgstr "シングル DES を有効にする"
-
-#~ msgid "Disable NAT Traversal"
-#~ msgstr "NAT Traversal を無効にする"
-
-#~ msgid "The connection details can be changed using the \"Edit\" button."
-#~ msgstr "接続の詳細は\"編集\"ボタンで変更できます。"
-
-#~ msgid "TCP tunneling not supported"
-#~ msgstr "TCP トンネリングはサポートされていません"
-
-#~ msgid ""
-#~ "The VPN settings file '%s' specifies that VPN traffic should be tunneled through TCP which is currently not supported in the vpnc software.\n"
-#~ "\n"
-#~ "The connection can still be created, with TCP tunneling disabled, however it may not work as expected."
-#~ msgstr ""
-#~ "VPn 設定ファイル '%s' は VPN 通信が TCP を介してトンネルされるように指定していますが、今のところ vpnc はこの機能をサポートしていません。\n"
-#~ "\n"
-#~ "TCP トンネリングを無効にした上で接続を作成することはできますが期待どおりに動作しないかもしれません。"
-
-#~ msgid "Cannot import settings"
-#~ msgstr "設定をインポートできません"
-
-#~ msgid "The VPN settings file '%s' does not contain valid data."
-#~ msgstr "VPN 設定ファイル '%s' には適切なデータが含まれていません。"
-
-#~ msgid "Select file to import"
-#~ msgstr "インポートするファイルを選択"
+msgstr ""
+"詳細なデバッグログ機能を有効化する (パスワードが露出する可能性があります)"
-#~ msgid "Save as..."
-#~ msgstr "別名で保存..."
+#: ../src/nm-libreswan-service.c:1991
+msgid "D-Bus name to use for this instance"
+msgstr "このインスタンスに使用する D-Bus 名"
-#~ msgid "A file named \"%s\" already exists."
-#~ msgstr "ファイル \"%s\" は既にあります。"
+#: ../src/nm-libreswan-service.c:2014
+msgid ""
+"This service provides integrated IPsec VPN capability to NetworkManager."
+msgstr "このサービスは、統合 IPsec VPN 機能を NetworkManager に提供します。"
-#~ msgid "Do you want to replace it with the one you are saving?"
-#~ msgstr "保存しようとしているファイルで上書きしますか?"
+#: ../shared/utils.c:85
+#, c-format
+msgid "Error writing config: %s"
+msgstr "config への書き込みでエラー: %s"
-#~ msgid "Failed to export configuration"
-#~ msgstr "設定のエクスポートに失敗"
+#: ../shared/nm-utils/nm-shared-utils.c:185
+#, c-format
+msgid "object class '%s' has no property named '%s'"
+msgstr "オブジェクトクラス '%s' には '%s' という名前のプロパティーがありません"
-#~ msgid "Failed to save file %s"
-#~ msgstr "ファイル %s の保存に失敗"
+#: ../shared/nm-utils/nm-shared-utils.c:192
+#, c-format
+msgid "property '%s' of object class '%s' is not writable"
+msgstr ""
+"オブジェクトクラス '%s' のプロパティー '%s' は、書き込み可能ではありません"
-#~ msgid "<i>example: 172.16.0.0/16 10.11.12.0/24</i>"
-#~ msgstr "<i>例: 172.16.0.0/16 10.11.12.0/24</i>"
+#: ../shared/nm-utils/nm-shared-utils.c:199
+#, c-format
+msgid ""
+"construct property \"%s\" for object '%s' can't be set after construction"
+msgstr ""
+"オブジェクト '%s' のコンストラクトプロパティー \"%s\" は構築後に設定できませ"
+"ん"
-#~ msgid "Connection na_me:"
-#~ msgstr "接続名(_M):"
+#: ../shared/nm-utils/nm-shared-utils.c:207
+#, c-format
+msgid "'%s::%s' is not a valid property name; '%s' is not a GObject subtype"
+msgstr ""
+"'%s::%s' は有効なプロパティー名ではありません。'%s' は GObject サブタイプでは"
+"ありません"
-#~ msgid "Disable NAT _traversal"
-#~ msgstr "NAT Traversal を無効にする(_T)"
+#: ../shared/nm-utils/nm-shared-utils.c:216
+#, c-format
+msgid "unable to set property '%s' of type '%s' from value of type '%s'"
+msgstr "プロパティー '%s' (タイプ '%s') をタイプ '%s' の値から設定できません"
-#~ msgid "Enable _weak single DES encryption"
-#~ msgstr "弱いシングル DES 暗号を有効にする(_W)"
+#: ../shared/nm-utils/nm-shared-utils.c:227
+#, c-format
+msgid ""
+"value \"%s\" of type '%s' is invalid or out of range for property '%s' of "
+"type '%s'"
+msgstr ""
+"値 \"%s\" (タイプ '%s') がプロパティー '%s' (タイプ '%s') に対して無効または"
+"範囲外です"
-#~ msgid "Import _Saved Configuration..."
-#~ msgstr "保存設定をインポート(_S)..."
+#: ../shared/nm-utils/nm-vpn-plugin-utils.c:80
+#, c-format
+msgid "missing plugin file \"%s\""
+msgstr "プラグインファイル '%s' がありません"
-#~ msgid "Interval:"
-#~ msgstr "間隔:"
+#: ../shared/nm-utils/nm-vpn-plugin-utils.c:86
+#, c-format
+msgid "cannot load editor plugin: %s"
+msgstr "エディタープラグインを読み込めません: %s"
-#~ msgid "Name used to identify the connection to the private network, e.g. \"Campus VPN\" or \"Corporate Network\""
-#~ msgstr "例えば \"キャンパス VPN\" や \"社内ネットワーク\" などといったプライベートネットワークの接続を識別するための名前です。"
+#: ../shared/nm-utils/nm-vpn-plugin-utils.c:95
+#, c-format
+msgid "cannot load factory %s from plugin: %s"
+msgstr "プラグインからファクトリー %s を読み込めません: %s"
-#~ msgid "Override _user name"
-#~ msgstr "ユーザ名を上書き指定(_U)"
+#: ../shared/nm-utils/nm-vpn-plugin-utils.c:121
+msgid "unknown error creating editor instance"
+msgstr "エディターインスタンスの作成中に不明なエラー"
-#~ msgid "Please enter the information provided by your system administrator below. Do not enter your password here as you will be prompted when connecting."
-#~ msgstr "システム管理者が提供した情報を下に入力してください。接続時にきかれるまではパスワードは入力しないでください。"
+#: ../properties/nm-libreswan-dialog.ui.h:1
+msgid "<b>General</b>"
+msgstr "<b>全般</b>"
-#~ msgid "Please note that the file you import is not a Cisco VPN or VPNC configuration file. Ask your adminstrator for the file."
-#~ msgstr "インポートしたファイルは Cisco VPN と VPNC の設定ファイルのいずれでもありません。管理者に尋ねてみて下さい。"
+#: ../properties/nm-libreswan-dialog.ui.h:2
+msgid "_Gateway:"
+msgstr "ゲートウェイ(_G):"
-#~ msgid "Use NAT _keepalive packets"
-#~ msgstr "NAT Keepalive パケットを使用(_K)"
+#: ../properties/nm-libreswan-dialog.ui.h:3
+msgid "Show passwords"
+msgstr "パスワードを表示する"
-#~ msgid "Use _domain for authentication"
-#~ msgstr "認証にドメインを使用(_D)"
+#: ../properties/nm-libreswan-dialog.ui.h:4
+msgid "_Secret:"
+msgstr "シークレット(_S):"
-#~ msgid "_Only use VPN connection for these addresses"
-#~ msgstr "これらのアドレスについてのみ VPN 接続を利用(_O)"
+#: ../properties/nm-libreswan-dialog.ui.h:5
+msgid "_User password:"
+msgstr "ユーザーパスワード(_U):"
-#~ msgid "The VPN login failed because the user name and password were not accepted."
-#~ msgstr "VPN ログインに失敗。ユーザ名、パスワードが間違っています。"
+#: ../properties/nm-libreswan-dialog.ui.h:6
+msgid "G_roup name:"
+msgstr "グループ名(_R):"
-#~ msgid "The VPN login failed because the VPN program could not be started."
-#~ msgstr "VPN ログインに失敗。VPN プログラムを起動できませんでした。"
+#: ../properties/nm-libreswan-dialog.ui.h:7
+msgid "User name:"
+msgstr "ユーザー名:"
-#~ msgid "The VPN login failed because the VPN program could not connect to the VPN server."
-#~ msgstr "VPN ログインに失敗。VPN プログラムは VPN サーバに接続できませんでした。"
+#: ../properties/nm-libreswan-dialog.ui.h:8
+msgid "Phase2 Algorithms:"
+msgstr "フェーズ2 アルゴリズム:"
-#~ msgid "The VPN login failed because the VPN configuration options were invalid."
-#~ msgstr "VPN ログインに失敗。VPN 設定オプションが間違っています。"
+#: ../properties/nm-libreswan-dialog.ui.h:9
+msgid "Domain:"
+msgstr "ドメイン:"
-#~ msgid "The VPN login failed because the VPN program received an invalid configuration from the VPN server."
-#~ msgstr "VPN ログインに失敗。VPN プログラムが VPN サーバから受け取った設定は適切なものではありません。"
+#: ../properties/nm-libreswan-dialog.ui.h:10
+msgid "Phase1 Algorithms:"
+msgstr "フェーズ1 アルゴリズム:"
-#~ msgid "<b>Required Information</b>"
-#~ msgstr "<b>必須情報</b>"
+#: ../properties/nm-libreswan-dialog.ui.h:11
+msgid "Ad_vanced"
+msgstr "高度な(_V)"
-#~ msgid "O_ptional Information"
-#~ msgstr "オプション情報(_P)"
+#: ../properties/nm-libreswan-dialog.ui.h:12
+msgid " "
+msgstr " "
--
2.13.0

261
SPECS/NetworkManager-libreswan.spec

@ -0,0 +1,261 @@ @@ -0,0 +1,261 @@
%global nm_version 1:1.2.0
%global nma_version 1.2.0

Summary: NetworkManager VPN plug-in for IPsec VPN
Name: NetworkManager-libreswan
Version: 1.2.4
Release: 2%{?dist}
License: GPLv2+
URL: http://www.gnome.org/projects/NetworkManager/
Group: System Environment/Base
Source0: https://download.gnome.org/sources/NetworkManager-libreswan/1.2/%{name}-%{version}.tar.xz

Patch0: 0001-translations-rh1383163.patch

BuildRequires: gtk3-devel
BuildRequires: libnl3-devel
BuildRequires: NetworkManager-devel >= %{nm_version}
BuildRequires: NetworkManager-glib-devel >= %{nm_version}
BuildRequires: NetworkManager-libnm-devel >= %{nm_version}
BuildRequires: libnm-gtk-devel >= %{nma_version}
BuildRequires: libnma-devel >= %{nma_version}
BuildRequires: libsecret-devel
BuildRequires: intltool gettext

Requires: NetworkManager >= %{nm_version}
Requires: dbus
Requires: /usr/sbin/ipsec

Provides: NetworkManager-openswan = %{version}-%{release}
Obsoletes: NetworkManager-openswan < %{version}-%{release}

%global _privatelibs libnm-libreswan-properties[.]so.*
%global __provides_exclude ^(%{_privatelibs})$
%global __requires_exclude ^(%{_privatelibs})$

%description
This package contains software for integrating the libreswan VPN software
with NetworkManager and the GNOME desktop

%package -n NetworkManager-libreswan-gnome
Summary: NetworkManager VPN plugin for libreswan - GNOME files
Group: System Environment/Base

Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: shared-mime-info

Provides: NetworkManager-openswan-gnome = %{version}-%{release}
Obsoletes: NetworkManager-openswan-gnome < %{version}-%{release}

%description -n NetworkManager-libreswan-gnome
This package contains software for integrating VPN capabilities with
the libreswan server with NetworkManager (GNOME files).

%prep
%setup -q
%patch0 -p1

%build
%configure \
--disable-static \
--enable-more-warnings=yes \
--with-dist-version=%{version}-%{release}
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la

%find_lang %{name}

%post
update-desktop-database &> /dev/null || :

%postun
update-desktop-database &> /dev/null || :

%files -f %{name}.lang
%{_libdir}/NetworkManager/libnm-vpn-plugin-libreswan.so
%{_sysconfdir}/dbus-1/system.d/nm-libreswan-service.conf
%{_prefix}/lib/NetworkManager/VPN/nm-libreswan-service.name
%{_libexecdir}/nm-libreswan-service
%{_libexecdir}/nm-libreswan-service-helper
%doc AUTHORS ChangeLog NEWS
%license COPYING

%files -n NetworkManager-libreswan-gnome
%{_libexecdir}/nm-libreswan-auth-dialog
%{_libdir}/NetworkManager/libnm-*-properties.so
%{_libdir}/NetworkManager/libnm-vpn-plugin-libreswan-editor.so
%dir %{_datadir}/gnome-vpn-properties/libreswan
%{_datadir}/gnome-vpn-properties/libreswan/nm-libreswan-dialog.ui
%{_sysconfdir}/NetworkManager/VPN/nm-libreswan-service.name
%{_datadir}/appdata/network-manager-libreswan.metainfo.xml


%changelog
* Mon May 29 2017 Lubomir Rintel <lrintel@redhat.com> - 1.2.4-2
- po: update Japanese translation (rh #1383163)

* Thu Jun 30 2016 Thomas Haller <thaller@redhat.com> - 1.2.4-1
- Update to 1.2.4 release
- Move base VPN plugin library to base libreswan package
- Don't require nm-connection-editor anymore

* Wed Apr 27 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.2.0-1
- Update to 1.2.0 release

* Wed Mar 30 2016 Lubomir Rintel <lrintel@redhat.com> - 1.2.0-0.1.beta3
- Update to 1.2-beta3:
- Added support for main exchange type (rh #1292912)
- A device libreswan is unable listen on no longer aborts connection (rh #1285367)
- Added import/export support (rh #1129878)
- Replace NetworkManager-openswan (rh #1264552)

* Mon Oct 26 2015 Lubomir Rintel <lrintel@redhat.com> - 1.0.6-3
- Fix the pty hangup patch (rh #1271973)

* Fri Oct 23 2015 Lubomir Rintel <lrintel@redhat.com> - 1.0.6-2
- Fix recovery after failures (rh #1271973)

* Thu Aug 27 2015 Lubomir Rintel <lrintel@redhat.com> - 1.0.6-1
- Update to a newer upstream release (rh #1243057)

* Fri Feb 28 2014 Avesh Agarwal <avagarwa@redhat.com> - 0.9.8.0-5
Resolves: rhbz#1069526
- Rename to NetworkManager-libreswan

* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.9.8.0-4
- Mass rebuild 2014-01-24

* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.9.8.0-3
- Mass rebuild 2013-12-27

* Thu Dec 12 2013 Avesh Agarwal <avagarwa@redhat.com> - 0.9.8.0-2
- Fixed rhbz#921061
- Fixed rhbz#999353
- Fixed rhbz#1035786
- Fixed rhbz#1014830
- Fixes 1035786 (and its duplicate 1040924)
- Fixed 926225
- Fixed dependency to libreswan.
- Created a new sub package NetworkManager-openswan-gnome
- Various other spec file fixes.
- Additional code changes are as follows:
- Fixed an issue where proper network stack is not loaded unless
_stackmanager is run before starting pluto daemon service.
- Fixed the termination operation of pluto daemon to comply with
libreswan changes.
- Fixed various debug messages.
- Fixed initiation of pluto daemon by this plugin to reflect the
changes in libreaswan.
- Fixed defaults values for more parameters to help the VPN
connection stay more reliable.
- Rewrote pluto watch API which watches the pluto process for its status.
Fixed memory leak issues as not all child processes were reaped correctly.
Also g_spwan_close_pid was not being called after children were reaped.
Also modified debugs and added more to help with debugging in the future.
- Fixed an issue where nm-openswan service is searching for ipsec binary in
both /sbin and /usr/sbin leading to same operation twice, as /sbin is just
symlink to /usr/sbin, so removed /sbin from the search paths.
- Fixed some libreswan related macro changes.
- Fixed netmask issue when sending IP information to the nm openswan
plugin service.
- Fixed the current code as it does not set the default route field
NM_VPN_PLUGIN_IP4_CONFIG_NEVER_DEFAULT when sending VPN information
to nm-openswan plugin. This fix sets the field to TRUE.
- Fixed some issues found by coverity scan.
- Fixed an issue where writing configuration on stdin should not end with
\n as it gives error. It used to work previously, but not with latest
NetworkManager versions.
- libreswan related fixes, as some macros have been modified after forking
to libreswan from openswan.
- openswan/libreswan does not provide tun0 interface, so fixed the code
where it sends tun0 interface.
- Fix prcoessing of nm-openswan-dialog.ui file and added more error notifications.
- Fixed dead code based on coverity scan.
- Fixed gnomekeyring lib dependencies.
- Fixed Networkmanager and related lib dependencies.
- Fixed gtk label max width issue by setting it to 35.
- NM-openswan was missing support for nm-openswan-auth-dialog.desktop.in.in.
So added a new nm-openswan-auth-dialog.desktop.in.in, and modified related
Makefile and configure.ac files.

* Mon Aug 5 2013 Avesh Agarwal <avagarwa@redhat.com> - 0.9.8.0-1
- Rebase to latest upstream version 0.9.8.0
- Fixed several issues with the packaging

* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3.995-5.git20120302
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Thu Dec 13 2012 Avesh Agarwal <avagarwa@redhat.com> - 0.9.3.995-4
- Fixed #845599, #865883

* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3.995-3.git20120302
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Fri Apr 27 2012 Avesh Agarwal <avagarwa@redhat.com> - 0.9.3.995-2
- Ported changes from rhel to fedora

* Fri Mar 2 2012 Dan Williams <dcbw@redhat.com> - 0.9.3.995-1
- Update to 0.9.3.995 (0.9.4-beta1)
- ui: add support for external UI mode, eg GNOME Shell

* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.9.0-2
- Rebuild for new libpng

* Fri Aug 26 2011 Dan Williams <dcbw@redhat.com> - 0.9.0-1
- Update to 0.9.0
- ui: translation fixes

* Thu Jul 21 2011 Dan Williams <dcbw@redhat.com> - 0.8.999-2.git20110721
- Update to git snapshot
- Fixes for secrets handling and saving

* Tue May 03 2011 Dan Williams <dcbw@redhat.com> - 0.8.999-1
- Update to 0.8.999 (0.9-rc2)
- Port to GTK 3.0 and GtkBuilder
- Fix some issues with secrets storage

* Sun Mar 27 2011 Christopher Aillon <caillon@redhat.com> - 0.8.0-9.20100411git
- Rebuild against NetworkManager 0.9

* Wed Feb 16 2011 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-8.20100411git
- fixes for compile time errors

* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-7.20100411git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Tue Sep 7 2010 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-6.20100411git
- Modified import and export interfaces to import_from_file and export_to_file, respectively,
due to changes in NMVpnPluginUiInterface struct in NM (bz 631159).

* Mon Jul 26 2010 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-5.20100411git
- Fixed #616910
- Support for reading phase1 and phase2 algorithms through GUI

* Tue Jul 13 2010 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-4.20100411git
- Modified fix for the bz 607352
- Fix to read connection configuration from stdin
- Fix to read Xauth user password from stdin
- Fix to delete the secret file as soon as read by Openswan

* Thu Jul 8 2010 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-3.20100411git
- Modified the patch so that it does not pass user password to
"ipsec whack" command.

* Thu Jul 8 2010 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-2.20100411git
- Modified to initiate VPN connections with openswan whack interface
- Fixed the issue of world readable conf and secret files
- Cleaned conf and secret files after VPN connection is stopped
- Fixed the issue of storing sensitive information like user
password in a file (rhbz# 607352)
- Changed PLUTO_SERVERBANNER to PLUTO_PEER_BANNER due
to the same change in Openswan
- Modifed GUI to remove unused configuration boxes

* Tue Jun 15 2010 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-1.20100411git
- Initial build
Loading…
Cancel
Save