Control: tags -1 + patch

I've built a private package with the attached patch, and tested that
"swanctl -C" works, however I haven't tested strongswan-starter/stroke
(but the move looks trivial, couldn't possibly break?)

-- 
Gerald Turner <gtur...@unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D
From 50cc42baf5d5c0815a483caae250711a2334de12 Mon Sep 17 00:00:00 2001
From: Gerald Turner <gtur...@unzane.com>
Date: Tue, 21 Nov 2017 14:30:23 -0800
Subject: [PATCH] Move counters plugin from strongswan-starter package to
 libstrongswan package so that it may be used by swanctl as well

---
 debian/control                    | 1 +
 debian/libstrongswan.install      | 3 +++
 debian/strongswan-starter.install | 4 ----
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index f0c6dcd8..571257a6 100644
--- a/debian/control
+++ b/debian/control
@@ -71,6 +71,7 @@ Description: strongSwan utility and crypto library
  For libstrongswan (cryptographic backends, URI fetchers and database layers):
   - aes (AES-128/192/256 cipher software implementation)
   - constraints (X.509 certificate advanced constraint checking)
+  - counters (Provides IKE performance counters)
   - dnskey (Parse RFC 4034 public keys)
   - fips-prf (PRF specified by FIPS, used by EAP-SIM/AKA algorithms)
   - gmp (RSA/DH crypto backend based on libgmp)
diff --git a/debian/libstrongswan.install b/debian/libstrongswan.install
index 072ff7e0..c44318f5 100644
--- a/debian/libstrongswan.install
+++ b/debian/libstrongswan.install
@@ -2,6 +2,7 @@
 usr/lib/ipsec/libstrongswan.so*
 usr/lib/ipsec/plugins/libstrongswan-aes.so
 usr/lib/ipsec/plugins/libstrongswan-constraints.so
+usr/lib/ipsec/plugins/libstrongswan-counters.so
 usr/lib/ipsec/plugins/libstrongswan-dnskey.so
 usr/lib/ipsec/plugins/libstrongswan-fips-prf.so
 usr/lib/ipsec/plugins/libstrongswan-gmp.so
@@ -27,6 +28,7 @@ usr/lib/ipsec/plugins/libstrongswan-xcbc.so
 # config files
 usr/share/strongswan/templates/config/plugins/aes.conf
 usr/share/strongswan/templates/config/plugins/constraints.conf
+usr/share/strongswan/templates/config/plugins/counters.conf
 usr/share/strongswan/templates/config/plugins/dnskey.conf
 usr/share/strongswan/templates/config/plugins/fips-prf.conf
 usr/share/strongswan/templates/config/plugins/gmp.conf
@@ -51,6 +53,7 @@ usr/share/strongswan/templates/config/plugins/x509.conf
 usr/share/strongswan/templates/config/plugins/xcbc.conf
 etc/strongswan.d/charon/aes.conf
 etc/strongswan.d/charon/constraints.conf
+etc/strongswan.d/charon/counters.conf
 etc/strongswan.d/charon/dnskey.conf
 etc/strongswan.d/charon/fips-prf.conf
 etc/strongswan.d/charon/gmp.conf
diff --git a/debian/strongswan-starter.install b/debian/strongswan-starter.install
index 7eebe6be..7b02b0a8 100644
--- a/debian/strongswan-starter.install
+++ b/debian/strongswan-starter.install
@@ -21,7 +21,3 @@ usr/lib/ipsec/plugins/libstrongswan-stroke.so
 usr/share/strongswan/templates/config/plugins/stroke.conf
 etc/strongswan.d/charon/stroke.conf
 debian/usr.lib.ipsec.stroke /etc/apparmor.d/
-#counters
-usr/lib/ipsec/plugins/libstrongswan-counters.so
-usr/share/strongswan/templates/config/plugins/counters.conf
-etc/strongswan.d/charon/counters.conf
-- 
2.14.2

Attachment: signature.asc
Description: PGP signature

Reply via email to