Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] strongswan: bump to version 5.2.1
@ 2014-12-16  0:56 Gustavo Zacarias
  2014-12-20 20:48 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2014-12-16  0:56 UTC (permalink / raw)
  To: buildroot

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/strongswan/Config.in       | 17 +++++++++++++----
 package/strongswan/strongswan.hash |  2 ++
 package/strongswan/strongswan.mk   |  9 ++++++---
 3 files changed, 21 insertions(+), 7 deletions(-)
 create mode 100644 package/strongswan/strongswan.hash

diff --git a/package/strongswan/Config.in b/package/strongswan/Config.in
index 3b0f47f..c1b7f41 100644
--- a/package/strongswan/Config.in
+++ b/package/strongswan/Config.in
@@ -110,13 +110,22 @@ config BR2_PACKAGE_STRONGSWAN_SQL
 
 endif
 
-config BR2_PACKAGE_STRONGSWAN_TOOLS
-	bool "Enable additional utilities (openac, scepclient and pki)"
+config BR2_PACKAGE_STRONGSWAN_PKI
+	bool "Enable pki certificate utility"
+	default y
+
+config BR2_PACKAGE_STRONGSWAN_SCEP
+	bool "Enable SCEP client tool"
 	default y
 
 config BR2_PACKAGE_STRONGSWAN_SCRIPTS
-	bool "Enable additional utilities (found in directory scripts)"
-	depends on BR2_PACKAGE_STRONGSWAN_CHARON || BR2_PACKAGE_STRONGSWAN_TOOLS
+	bool "Enable additional utilities (found in scripts directory)"
+	depends on BR2_PACKAGE_STRONGSWAN_CHARON
+	default y
+
+config BR2_PACKAGE_STRONGSWAN_VICI
+	bool "Enable vici/swanctl"
+	depends on BR2_PACKAGE_STRONGSWAN_CHARON
 	default y
 
 endif
diff --git a/package/strongswan/strongswan.hash b/package/strongswan/strongswan.hash
new file mode 100644
index 0000000..f434530
--- /dev/null
+++ b/package/strongswan/strongswan.hash
@@ -0,0 +1,2 @@
+# From http://download.strongswan.org/strongswan-5.2.1.tar.bz2.md5
+md5	dd3717c0aa59ab4591ca1812941ebb82	strongswan-5.2.1.tar.bz2
diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk
index bb1d268..f1fe3cc 100644
--- a/package/strongswan/strongswan.mk
+++ b/package/strongswan/strongswan.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-STRONGSWAN_VERSION = 5.1.3
+STRONGSWAN_VERSION = 5.2.1
 STRONGSWAN_SOURCE = strongswan-$(STRONGSWAN_VERSION).tar.bz2
 STRONGSWAN_SITE = http://download.strongswan.org
 STRONGSWAN_LICENSE = GPLv2+
@@ -28,8 +28,11 @@ STRONGSWAN_CONF_OPTS +=
 	--enable-unity=$(if $(BR2_PACKAGE_STRONGSWAN_UNITY),yes,no)                  \
 	--enable-stroke=$(if $(BR2_PACKAGE_STRONGSWAN_STROKE),yes,no)                \
 	--enable-sql=$(if $(BR2_PACKAGE_STRONGSWAN_SQL),yes,no)                      \
-	--enable-tools=$(if $(BR2_PACKAGE_STRONGSWAN_TOOLS),yes,no)                  \
-	--enable-scripts=$(if $(BR2_PACKAGE_STRONGSWAN_SCRIPTS),yes,no)
+	--enable-pki=$(if $(BR2_PACKAGE_STRONGSWAN_PKI),yes,no)                      \
+	--enable-scepclient=$(if $(BR2_PACKAGE_STRONGSWAN_SCEP),yes,no)              \
+	--enable-scripts=$(if $(BR2_PACKAGE_STRONGSWAN_SCRIPTS),yes,no)              \
+	--enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no)                    \
+	--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no)
 
 ifeq ($(BR2_PACKAGE_STRONGSWAN_EAP),y)
 STRONGSWAN_CONF_OPTS +=               \
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] strongswan: bump to version 5.2.1
  2014-12-16  0:56 [Buildroot] [PATCH] strongswan: bump to version 5.2.1 Gustavo Zacarias
@ 2014-12-20 20:48 ` Thomas Petazzoni
  2014-12-22 11:35   ` Gustavo Zacarias
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2014-12-20 20:48 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Mon, 15 Dec 2014 21:56:07 -0300, Gustavo Zacarias wrote:

> -config BR2_PACKAGE_STRONGSWAN_TOOLS
> -	bool "Enable additional utilities (openac, scepclient and pki)"

You're removing this option. Shouldn't it be added to Config.in.legacy,
for proper legacy handling?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] strongswan: bump to version 5.2.1
  2014-12-20 20:48 ` Thomas Petazzoni
@ 2014-12-22 11:35   ` Gustavo Zacarias
  2014-12-22 13:04     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2014-12-22 11:35 UTC (permalink / raw)
  To: buildroot

On 12/20/2014 05:48 PM, Thomas Petazzoni wrote:
>> -config BR2_PACKAGE_STRONGSWAN_TOOLS
>> -	bool "Enable additional utilities (openac, scepclient and pki)"
> 
> You're removing this option. Shouldn't it be added to Config.in.legacy,
> for proper legacy handling?

Hi.
Possibly, however it won't do any good since some tools (openac) are
just gone upstream and i've defaulted to 'y' for the new split tool options.
Frankly speaking i'd rather see the number of options reduced for this
package, only a few of them introduce dependencies:
Curl fetcher (libcurl)
TNCCS 1.1 (libxml2)
EAP-SIM (pcsc-lite)

And that's it, the other options won't make strongswan that big.
Regards.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] strongswan: bump to version 5.2.1
  2014-12-22 11:35   ` Gustavo Zacarias
@ 2014-12-22 13:04     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2014-12-22 13:04 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Mon, 22 Dec 2014 08:35:01 -0300, Gustavo Zacarias wrote:

> Possibly, however it won't do any good since some tools (openac) are
> just gone upstream and i've defaulted to 'y' for the new split tool options.

Ok. But still, even if some tools are gone upstream, we should have
some Config.in.legacy handling, no?

> Frankly speaking i'd rather see the number of options reduced for this
> package, only a few of them introduce dependencies:
> Curl fetcher (libcurl)
> TNCCS 1.1 (libxml2)
> EAP-SIM (pcsc-lite)
> 
> And that's it, the other options won't make strongswan that big.

No problem on my side, feel free to submit some patches :-)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-22 13:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-16  0:56 [Buildroot] [PATCH] strongswan: bump to version 5.2.1 Gustavo Zacarias
2014-12-20 20:48 ` Thomas Petazzoni
2014-12-22 11:35   ` Gustavo Zacarias
2014-12-22 13:04     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox