Skip to contentSkip to conversation

Added keepalived package

PATCH Superseded Ilias Apalodimas 2 participants 4 messages Feb 7, 2017

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover Added keepalived package

Add Support for keepalived

Ilias Apalodimas (1):
Added keepalived package

 package/Config.in                |  1 +
 package/keepalived/Config.in     | 13 +++++++++++++
 package/keepalived/keepalived.mk | 13 +++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 package/keepalived/Config.in
 create mode 100644 package/keepalived/keepalived.mk
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 Added keepalived package

---
 package/Config.in                |  1 +
 package/keepalived/Config.in     | 13 +++++++++++++
 package/keepalived/keepalived.mk | 13 +++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 package/keepalived/Config.in
 create mode 100644 package/keepalived/keepalived.mk
package/Config.in +1 -0
index 114a5ad..f0f1dec 100644
@@ -1546,6 +1546,7 @@ menu "Networking applications"
 	source "package/irssi/Config.in"
 	source "package/iw/Config.in"
 	source "package/janus-gateway/Config.in"
+	source "package/keepalived/Config.in"
 	source "package/kismet/Config.in"
 	source "package/knock/Config.in"
 	source "package/leafnode2/Config.in"
package/keepalived/Config.in new file +13 -0
new file mode 100644
index 0000000..ee4ab7a
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_KEEPALIVED
+	bool "keepalived"
+	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_POPT
+	help
+	  The main goal of the keepalived project is to add a strong & robust
+	  keepalive facility to the Linux Virtual Server project.
+	  It implements a multilayer TCP/IP stack checks. Keepalived implements
+	  a framework based on three family checks : Layer3, Layer4 & Layer5.
+	  This framework gives the daemon the ability of checking a LVS server
+	  pool states. Keepalived can be sumarize as a LVS driving daemon.
+
+	  http://www.keepalived.org/
package/keepalived/keepalived.mk new file +13 -0
new file mode 100644
index 0000000..4f8a6b2
@@ -0,0 +1,13 @@
+################################################################################
+#
+# keepalived
+#
+################################################################################
+
+KEEPALIVED_VERSION = 1.3.2
+KEEPALIVED_SITE = http://www.keepalived.org/software
+KEEPALIVED_DEPENDENCIES = popt openssl
+KEEPALIVED_LICENSE = GPLv2+
+KEEPALIVED_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/1 Added keepalived package

Hello,

Quoted 1 line · Ilias Apalodimas

Thanks for this patch. This looks mostly good, so great for a first contribution.

A few comments:

- You don't need to send a series with a cover letter for just a single patch. Just send the patch itself.

- Make a change to the DEVELOPERS file to associate your name/email to this package. This way, you'll get notified when/if this package fails to build, or when someone sends a patch touching this package.

- You're missing a hash file. See other packages and the manual for the format/details.

package/keepalived/Config.in line 4

Quoted 10 lines
package/keepalived/Config.in new file +4 -0
new file mode 100644
index 0000000..ee4ab7a
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_KEEPALIVED
+	bool "keepalived"
+	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_POPT

Are you sure this builds even for no-MMU platforms, static linking scenario? It's pretty likely that keepalived uses fork() and therefore will not work on no-MMU platforms.

Yann E. Morin has just submitted a script today to help checking a package, you may want to use it. It will be merged soon, which will make things easier.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 Added keepalived package

Hello,

I'll add the hash file, totally forgot about it and i'll fix the DEVELOPERS file.
I haven't tried it on no-mmu and i doubt it will build properly as you pointed out.

Regards
Ilias

Quoted 46 lines · Thomas Petazzoni

Hello,

Quoted 1 line · Ilias Apalodimas

Thanks for this patch. This looks mostly good, so great for a first contribution.

A few comments:

- You don't need to send a series with a cover letter for just a single patch. Just send the patch itself.

- Make a change to the DEVELOPERS file to associate your name/email to this package. This way, you'll get notified when/if this package fails to build, or when someone sends a patch touching this package.

- You're missing a hash file. See other packages and the manual for the format/details.

package/keepalived/Config.in line 4

Quoted 10 lines
package/keepalived/Config.in new file +4 -0
new file mode 100644
index 0000000..ee4ab7a
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_KEEPALIVED
+     bool "keepalived"
+     select BR2_PACKAGE_OPENSSL
+     select BR2_PACKAGE_POPT

Are you sure this builds even for no-MMU platforms, static linking scenario? It's pretty likely that keepalived uses fork() and therefore will not work on no-MMU platforms.

Yann E. Morin has just submitted a script today to help checking a package, you may want to use it. It will be merged soon, which will make things easier.

Thanks!

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