1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-16 20:33:58 +02:00
Commit Graph

60 Commits

Author SHA1 Message Date
Florian Eckert
7889c520b7 keepalived: remove file sync handling for ucitrack
The ucitrack file hanlding was converted to json. Therefore this is not
needed anymore.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-16 08:44:55 +02:00
Florian Eckert
f9ed5a9f3a keepalived: add missing no_accept option
This commit adds the missing option 'no_accept'.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-10-30 14:09:36 +01:00
Florian Eckert
eb2ed20645 keepalived: add startup and shutdown script handling
The keepalived does support script call handling on start and stop.

All scripts located under '/etc/hotplug.d/keepalived' gets now called
with the env ACTION set to startup or shutdown. The script that want to
get called on this keepalived events could evalutate this env to run on
startup or shutdown.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-10-30 14:09:36 +01:00
Florian Eckert
09f20658d9 keepalived: add notify_up and notify_down for virtual server
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-10-04 17:01:04 +02:00
Florian Eckert
5462d06ba8 keepalived: add PING_CHECK to real_server
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-10-04 17:00:42 +02:00
Florian Eckert
5bfbc58983 keepalived: update to version 2.2.8
See release-notes:
https://www.keepalived.org/release-notes/Release-2.2.8.html

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-10-04 16:59:46 +02:00
Paul Fertser
0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Florian Eckert
887243196d keepalived-sync: switch from busybox-timeout to coreutils-timeout
So that the busybox configuration does not have to be adapted, the
dependency has been changed to coreutils-timeout, which provides the
same functionality.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-10-18 16:00:51 +02:00
Jaymin Patel
33398a38aa keepalived: high-availability files and data sync
add new package keepalived-sync to synchronize files and data
between master and backup node. The master node uses SSH over rsync
to send and the backup node will use inotifywatch to watch received files.

The master node can track rsync.sh script to send configuration file on
a backup node based on the vrrp_script configuration of the same script.

The backup node will have a keepalived-inotify service, which would watch
for newly received files and it would call hotplug event. Each service
can keep its respective script under the keepalived hotplug directory and
executes commands to stop, start service or update any config in real-time.

Whenever a switchover will happen, the backup node would have the latest
config and data files from the master node.

Hotplug events can be used to apply config when files are received.

Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
2022-10-13 16:57:02 +05:30
Jaymin Patel
0f7415b8a8 keepalived: add status rpc and service improvement
- enable json by default to generate json stats
- add rpc to generate json status
- add kmod-nf-ipvs dependencies for virtual servers
- set default vip labels on virtual interfaces
- set process name for keepalived child processes

Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
2022-09-15 17:08:11 +05:30
Florian Eckert
eed4277d5c keepalived: fix libip6tc dependency
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-04-06 17:31:58 +02:00
Florian Eckert
209bcc649a keepalived: add missing CONFIG_ prefix to PKG_CONFIG_DEPENDS elements
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-04-06 17:31:49 +02:00
Florian Eckert
bacc3a889f keepalived: enable nftables filtering
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-03-14 12:00:31 +01:00
Florian Eckert
792d745a59 keepalived: update version to 2.2.7
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-02-04 08:14:42 +01:00
Stijn Tintel
624d2278e7 keepalived: fix build with IPVS disabled
The genhash binary is only built when IPVS is enabled, so make its
installation depend on IPVS being enabled.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-09-22 16:13:40 +03:00
Florian Eckert
3f5b2d8cb3 keepalived: update to version 2.2.4
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-08-30 11:47:53 +02:00
Florian Eckert
bdcb3d5905 keepalived: update to version 2.2.2
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-09 09:12:37 +01:00
Florian Eckert
17346bfefa keepalived: use autorelease feature
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-01-27 15:37:48 +01:00
Florian Eckert
4a37ef0d7d keepalived: update to version 2.2.1
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-01-27 15:37:44 +01:00
Florian Eckert
7a503ca84b keepalived: update PKG_VERSION to 2.1.5
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-12 08:55:18 +02:00
Florian Eckert
a8a1fbfa0d keepalived: fix config typo
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-06-15 11:47:33 +02:00
Florian Eckert
d009ce628b keepalived: update PKG_RELEASE number
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-04 09:07:00 +02:00
Florian Eckert
9b24763b9f keepalived: add upgrade script for globals section
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-04 09:07:00 +02:00
Florian Eckert
7b552f298e keepalived: fix building with disable libipvs dynamic
Backport of upstream staging commit to fix compilation issue with x86_64 as
ppc64le build hosts.
42c020aab6

This fixes #10642.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-03-05 11:53:40 +01:00
Florian Eckert
e48a43f924 keepalived: update version to 2.0.20
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-02-27 12:26:59 +01:00
Florian Eckert
bc98aaa3f7 keepalived: set default run directory for pid file on build
This fixes a runtime startup error on system which does not have a
toplevel runtime directory for the pid file. On openwrt the pid is
located at /var/run and not on /run. To fix that add a configure option to
move the pid location to /var/run.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-11-04 13:44:02 +01:00
Florian Eckert
9d0439cc12 keepalived: fix runtime error if kernel option CONFIG_PROC_EVENTS is not enabled
This fixes a runtime startup error for system, which does not have enabled the
kernel config option CONFIG_PROC_EVENTS.

This workaround was published on github under the following URL.
https://github.com/acassen/keepalived/issues/1119

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-11-04 13:43:32 +01:00
Florian Eckert
e2689219be keepalived: update version to 2.0.19
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-10-21 07:43:22 +02:00
Sven Eckelmann
bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Florian Eckert
333324f973 keepalived: update version to 2.0.18
Update version to 2.0.18

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-08-06 14:30:06 +02:00
Florian Eckert
bd2040cfdf keepalived: update to version 2.0.16
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-05-08 11:11:26 +02:00
Florian Eckert
8a999846bb keepalived: update to version 2.0.15
Update keepalived to version 2.0.15

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-10 09:01:05 +02:00
Florian Eckert
37e7dbc3fc keepalived: update to version 2.0.14
Redmine-patch-id: 3383
Update keepalived to version 2.0.14.
Add Config.in file.

Authored-by: Quentin Armitage <quentin@armitage.org.uk>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-03 11:18:15 +02:00
Jan Pavlinec
8b6020db7f
keepalived: update to version 2.0.10
Fixes CVE-2018-19046

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-01-19 23:43:17 +01:00
Florian Eckert
810f85c1a9 keepalived: add cpe id
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-18 09:55:05 +08:00
Eneas U de Queiroz
d33a4c4924 keepalived: build without libipset
keepalived 2.0.7 is not compatible with libipset 7.x.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-28 11:02:00 +08:00
Florian Eckert
b443dfe00b keepalived: add ipvs uci support
Add uci ipvs support to keepalived.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-12 15:20:20 +01:00
Stijn Tintel
ffa1012131 keepalived: disable libnl
When libnl is enabled and libnl-genl is disabled, libnl-genl-3.so.200 is
installed by InstallDev, and keepalived picks it up anyway.
This causes build to fail with the following error:

Package keepalived is missing dependencies for the following libraries:
libnl-genl-3.so.200

Instead of having a conditional dependency it is better to have a
consistent build. Disable libnl to enforce this.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2018-10-07 14:40:52 +03:00
Florian Eckert
d7e5b3a0d0 net/keepalived: enable lvs support
Enable IPVS support.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-13 15:33:25 +02:00
Florian Eckert
4868b6f7a8 net/keepalived: update to version 2.0.7
Update keepalived to version 2.0.7.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-13 08:22:55 +02:00
Florian Eckert
bafec2901b net/keepalived: update to 1.4.4
Update to new upstream stable version 1.4.4

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-09 10:01:13 +02:00
Florian Eckert
3bf2768d2e net/keepalived: update to 1.4.3
bump PKG_VERSION to 1.4.3

To Fix compilation issue cherry-pick two commits from keepalived master tree:
afc450807c
58ae2ba75f

This was discussed on:
https://github.com/acassen/keepalived/issues/835

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-08 14:51:32 +02:00
Florian Eckert
0cf53a97aa net/keepalived: bump PKG_RELEASE add co maintainer
- Bump PKG_RELEASE number to 2
- Add me as co maintainer

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-22 15:32:56 +01:00
Florian Eckert
a7f02bf1c8 net/keepalived: fix kmod-macvlan dependency
If the option 'use_vmac' is selected in a keepalived config and
kmod-macvlan is not installed then keepalived raise an error.

  Netlink: error: Not supported, type=(16), seq=1510647577, pid=0
  vmac: Error creating VMAC interface vrrp.42 for vrrp_instance xxx!!!

Add 'kmod-macvlan' to the package dependency list fixes this error.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-22 15:32:56 +01:00
Florian Eckert
738da3146c net/keepalived: add keepalived.user script handling
Add keepalived.user script handling which are also saved during sysupgrade.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-11-08 11:36:58 +01:00
Florian Eckert
e58a068447 net/keepalived: preserve keepalived uci file over sysupgrade
Preserve keepalived uci file over sysupgrade.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-10-30 15:40:25 +01:00
Florian Eckert
2360f361f5 net/keepalived: update CONFIGURE_ARGS
Remove unused and unrecognized (outdated) configure options in Makefile.
--enable-vrrp
--enable-fwmark
--disable-debug
--disable-profile

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-10-30 15:40:25 +01:00
Florian Eckert
b5104b0f62 net/keepalived: update version to 1.3.9
update keepalived to version 1.3.9

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-10-30 15:16:26 +01:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Alexandru Ardelean
1faf879b4e keepalived: switch maintainer to Ben Kelly (@scrpi)
Talked it over with Ben (@scrpi).
He said he'd be fine with taking over maintainership of this.

@scrpi: please confirm this on PR.

Signed-off-by: Ben Kelly <ben@benjii.net>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-09 12:30:28 +02:00