summaryrefslogtreecommitdiff
path: root/alfred/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* alfred: update to version 2023.3Sven Eckelmann2023-11-171-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2023.2Sven Eckelmann2023-08-181-2/+2
| | | | | | * receive data with valid source on unix sock without active interface Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2023.1Sven Eckelmann2023-05-271-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* treewide: remove AUTORELEASENick Hainke2023-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenWrt/packages removed AUTORELEASE treewide. Remove it also in the routing feed. This is just copied from [0] with modification to the sed cmd because it was not working for the routing feed: 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/routing; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's/\/Makefile$//';); do make package/$i/download done [0] - https://github.com/openwrt/packages/commit/0c10c224be81f9221dabfab449855ab6718d2a0c Signed-off-by: Nick Hainke <vincent@systemli.org>
* treewide: refactor to use PKG_BUILD_FLAGS:=ltoAndre Heider2023-04-131-4/+1
| | | | | | | See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS" on the main repository. Signed-off-by: Andre Heider <a.heider@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=gc-sectionsAndre Heider2023-04-131-2/+3
| | | | | | | See commit da370098 "treewide: add support for "gc-sections" in PKG_BUILD_FLAGS" on the main repository. Signed-off-by: Andre Heider <a.heider@gmail.com>
* alfred: update to version 2023.0Sven Eckelmann2023-01-261-2/+2
| | | | | | * add support for gpsd 3.25 Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2022.3Sven Eckelmann2022-11-101-2/+2
| | | | | | * coding style cleanups and refactoring Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Rebuild on CONFIG*_ALFRED_* changesSven Eckelmann2022-10-231-0/+7
| | | | | | | | | The buildsystem doesn't know that the Package/*/config kconfig symbols are related to the alfred package build. It is necessary to explicitly define it via PKG_CONFIG_DEPENDS. Fixes: f76074d42429 ("alfred: add alfred 2013.3.0 to feed") Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2022.2Sven Eckelmann2022-07-261-2/+2
| | | | | | | | * support event notification via unix socket * improve timing stability of transmitted announcement packets * reduce socket handling overhead when many clients and interfaces Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2022.1Sven Eckelmann2022-05-061-2/+2
| | | | | | | | | | | * coding style cleanups and refactoring * introduce 'server status' IPC call * bugs fixed: - prevent potential read outside of buffer when parsing alfred_change_interface_v0/alfred_change_bat_iface_v0 IPC message Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Allow parallel buildsSven Eckelmann2022-02-191-0/+2
| | | | | | | | The build system of this package is written in a way that it is safe to run the make steps in parallel. The build time can be reduced slightly on modern systems. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2022.0Sven Eckelmann2022-02-031-2/+2
| | | | | | | | * coding style cleanups and refactoring * allow changing of batman-adv interface at runtime * allow to start alfred without interfaces specified Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2021.4Sven Eckelmann2021-11-191-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* Revert "batman-adv: update packages to version 2021.4"Simon Wunderlich2021-11-191-2/+2
|
* alfred: update to version 2021.4Sven Eckelmann2021-11-191-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2021.3Sven Eckelmann2021-09-141-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2021.2Sven Eckelmann2021-08-201-2/+2
| | | | | | * manpage cleanups Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: update to version 2021.1Sven Eckelmann2021-05-181-2/+2
| | | | | | | * Allow to force of alfred startup when the interfaces don't work/exist (yet) * coding style cleanups and refactoring Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: use $(AUTORELEASE) for PKG_RELEASESven Eckelmann2021-05-141-1/+1
| | | | | | | Use `$(AUTORELEASE)` variable rather than setting a PKG_RELEASE on every commit manually. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Start up alfred without valid interfacesSven Eckelmann2021-02-151-1/+1
| | | | | | | | | | | | | | The alfred server always needs interfaces to operate on. But these interfaces might not exist at the moment when the daemon process is started. This situation stopped the startup process after the init scripts waited for a longer period of polling the system state. But alfred is able to deal with interfaces which disappeared at runtime but existed at startup. To force a similar behavior for the alfred startup, the parameter "--force" or "-f" is used. The extra polling code is therefore no longer needed in the init scripts. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Fix procd process handling for disable stateSven Eckelmann2021-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | Alfred can be stopped during a (re)start or reload when: * disabled = 1 * batman-adv interface is missing * MAC based EUI64 IPv6 link-local address not set It is assumed that procd detects that the procd instance definition disappeared and the currently running instance must be stopped. But all these checks were triggering an "exit" which then stopped the alfred init script and the wrapper from /lib/functions/procd.sh. And thus procd was never informed about the instances which should be changed. The correct handling is to return the result of the function instead of directly killing the init scripts. Fixes: 45db0e60d2ff ("alfred: use procd") Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2021.0Sven Eckelmann2021-01-281-2/+2
| | | | | | * Drop support for batman-adv's sysfs+debugfs Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2020.4Sven Eckelmann2020-10-271-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2020.3Sven Eckelmann2020-08-251-3/+3
| | | | | | * synchronization of batman-adv netlink header Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2020.2Sven Eckelmann2020-07-061-3/+3
| | | | | | * Rephrase names of server roles Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2020.1Sven Eckelmann2020-04-241-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Switch to OpenWrt package templateSven Eckelmann2020-03-071-22/+19
| | | | | | | | | The OpenWrt routing feed was tried to be merged together with the OpenWrt package feed. But they ended up being rejected due to formalities like the slightly different package template. Just moving to the OpenWrt package based one should simplify similar approaches in the future. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2020.0Sven Eckelmann2020-03-071-3/+3
| | | | | | * fix build against gpsd API 9.0 Signed-off-by: Sven Eckelmann <sven@narfation.org>
* Merge pull request #529 from adrianschmutzler/openwrtversionSimon Wunderlich2019-12-151-1/+1
|\ | | | | batman-adv and friends: improve version string
| * alfred: improve version stringAdrian Schmutzler2019-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the package version string so it does not start with "openwrt", but with the base version we are modifying: So far: openwrt-2019.4-1 Now: 2019.4-openwrt-1 Since it's us modifying version 2019.4 (in this case), this order is more convenient (and also closer to what the kernel version string does). Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* | alfred: upgrade package to latest release 2019.5Sven Eckelmann2019-12-131-2/+2
|/ | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2019.4Sven Eckelmann2019-10-251-3/+3
| | | | | | * fix build with musl Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Extend PKG_LICENSE* informationSven Eckelmann2019-10-251-1/+2
| | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Allow startup without batman-adv sysfs supportSven Eckelmann2019-08-011-1/+1
| | | | | | | | The batman-adv kernel module can be build without sysfs support. This will stop the kernel module from creating the "mesh" directory. The alfred init script must not depend on this folder to start the daemon up. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Support multiple listening interfacesSven Eckelmann2019-08-011-1/+1
| | | | | | | | The alfred daemon allows to be started with multiple interfaces. The first interface is used for communication and to calculate the source mac address. The rest of the interfaces are only used for communication. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2019.3Sven Eckelmann2019-08-011-2/+2
| | | | | | | * avoid some kernel deprecation warning by using more generic netlink over sysfs Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Drop unused init-y variableSven Eckelmann2019-07-271-2/+0
| | | | | | | The Makefile defines the init-y variable but neither this Makefile nor OpenWrt's common files use this variable. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Use standard Build/Compile ruleSven Eckelmann2019-07-271-7/+1
| | | | | | | | alfred isn't using any special rules in Build/Compile. It is cleaner to directly use the global Build/Compile/Default instead of having a functional similar copy in the package Makefile Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2019.2Sven Eckelmann2019-05-231-2/+2
| | | | | | * synchronization of batman-adv netlink header Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2019.1Sven Eckelmann2019-03-281-2/+2
| | | | | | * synchronization of batman-adv netlink header Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2019.0Sven Eckelmann2019-02-021-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2018.4Sven Eckelmann2018-11-141-3/+3
| | | | | | | | | * bugs squashed: - fixed detection of own IPv4 packets - use manual IPv4 ARP requests to retrieve MAC of neighbors Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Add openwrt revision to internal versionSven Eckelmann2018-10-071-2/+3
| | | | | | | | | | OpenWrt is using a modified version of the software and these modifications may introduce extra bugs (or behavior changes). It is also patched for stable releases instead of switching to new releases. The revision should therefore be added to the version number to make it easier understandable which modified version the user may have installed. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2018.3Sven Eckelmann2018-09-151-3/+3
| | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: Fix alfred.initAdrian Schmutzler2018-07-211-1/+1
| | | | | | | The commit 45db0e6 introduced curly brackets which are not correct syntax and thus broke the script. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* alfred: upgrade package to latest release 2018.2Sven Eckelmann2018-07-171-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2018.1Sven Eckelmann2018-04-251-3/+2
| | | | | | * synchronization of batman-adv netlink header Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2018.0Sven Eckelmann2018-02-271-3/+3
| | | | | | | | * synchronization of batman-adv netlink and packet headers * mark licenses clearer, change batman-adv UAPI header from ISC to MIT * coding style cleanups and refactoring Signed-off-by: Sven Eckelmann <sven@narfation.org>
* alfred: upgrade package to latest release 2017.4Sven Eckelmann2017-12-051-3/+3
| | | | | | | | | | | | * synchronization of batman-adv netlink header * coding style cleanups and refactoring * documentation cleanup * bugs squashed: - only query debugfs when netlink failed - handle allocation errors in hashtable iterator Signed-off-by: Sven Eckelmann <sven@narfation.org>