Commit Graph

40 Commits

Author SHA1 Message Date
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
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
ValdikSS ValdikSS 95acb627f4 miredo: add miredo.conf conffile
Keep miredo.conf modified configuration upon upgrades

Signed-off-by: ValdikSS ValdikSS <iam@valdikss.org.ru>
2023-01-17 00:08:12 +03:00
Rosen Penev 6123f3b48e generate-ipv6-address: fix PIC compilation
This is a single C file. Don't bother using the Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-20 20:10:56 +02:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev 081da5a228 miredo: add debian reproducibility patch
Refreshed other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-02 22:39:56 -08:00
Nick Hainke 5d2ae85cd6 generate-ipv6-address: use autorelease feature
Package version is automatically increased as described here:
https://github.com/openwrt/packages/issues/14537

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-01-23 15:12:47 +01:00
Nick Hainke 6396060227 generate-ipv6-address: add ipv6 generator
Generates IPv6 addresses from a given prefix and either a given MAC-48
address (an Ethernet hardware address) or a randomly drawn host number.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-08-18 13:04:12 +02:00
Eike Ritter b8ca6814ad tayga: PKG_RELEASE increased
Signed-off-by: Eike Ritter <git@rittere.co.uk>
2020-08-05 21:19:22 +01:00
Eike Ritter 1dbdbcc1b6 tayga: Added 64:ff9b:1::/48 as well-known prefix for NAT64 (RFC 8215)
Signed-off-by: Eike Ritter <git@rittere.co.uk>
2020-08-04 22:46:08 +01:00
Nikita Vostokov 5db9091a17 miredo: Makefile fixes
* Move CONFIGURE blocks after description
* Fix build with libcap

Signed-off-by: Nikita Vostokov <yawosk@yandex.com>
2020-03-22 15:48:28 +03:00
Nikita Vostokov 7a1e337f39 miredo: Makefile fixes
* Reorder PKG_* variables
* Disable format-security error in common way

Signed-off-by: Nikita Vostokov <yawosk@yandex.com>
2020-03-15 13:56:13 +03:00
Nikita Vostokov 5370088eca miredo: Small fixes after review
Signed-off-by: Nikita Vostokov <yawosk@yandex.com>
2020-03-15 05:49:36 +03:00
Nikita Vostokov 424aafc417 miredo: Initial version 1.2.6
Teredo IPv6 tunneling utility

Signed-off-by: Nikita Vostokov <yawosk@yandex.com>
2020-03-01 15:13:58 +03: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
Ondřej Caletka 441f8a3ed1
aiccu: remove package
Aiccu is a client utility used to connect to the SixXS platform.
As the SixXS platform has been sunset on 2017-06-06[1] and the server parts
of TIC/AYIYA protocol implementations haven't been published, there's no
point to maintain aiccu package anymore.

[1]: https://www.sixxs.net/sunset/

Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
2017-06-09 10:59:35 +02:00
Steven Barth 1d853ac05a all: get rid of kmod-ipv6 dependencies
Signed-off-by: Steven Barth <steven@midlink.org>
2015-10-06 09:04:29 +02:00
Ondřej Caletka 2d127ccadd aiccu: split into default and gnutls variant
Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
2015-10-05 15:03:04 +02:00
Sébastien Noel ff70f87986 aiccu: enable GnuTLS support 2015-09-30 09:38:03 +02:00
Jo-Philipp Wich 1208a25e71 aiccu: fix uClibc build after #1389
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-29 19:50:01 +02:00
Jo-Philipp Wich e39e96d089 aiccu: fix musl compatibility
- Fix redefinition of struct ethhdr
- Restrict the use of res_ninit() and res_nquery() to glibc
- Fix a warning in dn_skipname.c by declaring ns_name_skip() static
- Refresh patches

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 16:35:47 +02:00
Jan Sembera 5f1006cb20 aiccu: fix requiretls option handling
requiretls is a boolean value in aiccu config that only accepts true and
false as values, not "1" or "0" that UCI provides.

Signed-off-by: Jan Sembera <jsembera@google.com>
2015-03-02 21:43:53 +01:00
Nicolas Thill e24dfafb01 remove uneeded PKG_BUILD_DIR & PKG_CAT overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-22 02:37:56 +01:00
Nils Schneider 7d153edb7d tayga: allow more flexible routing
In some scenarios (e.g. 464xlat) it is desirable to not route the mapped
prefix to tayga's interface. This adds an option 'noroutes' which, when
set to 1, will prevent such routes from being added.

Signed-off-by: Nils Schneider <nils@nilsschneider.net>
2015-02-10 03:34:10 +01:00
Ondřej Caletka 6f70462952 aiccu: Add NTP hotplug hook
This hook simply writes current stratum to /var/run/aiccu_ntp_stratum,
from where it is read by aiccu proto script.

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
2014-12-01 15:15:35 +01:00
Ondřej Caletka 7c9b5198cd aiccu: Issue aiccu stop only when aiccu is running
When AICCU is not running, running 'aiccu stop' results in unnecessary
communications with SixXS servers.

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
2014-12-01 15:15:35 +01:00
Ondřej Caletka 4f7b0213d9 aiccu: add NTP sync check
This check tries to wait for NTP daemon to synchronise clock to lower stratum
than 16 before running the aiccu binary. In case timeout (configurable
in new option ntpsynctimeout; default is 90 seconds) is reached, the
AICCU is run neverrtheless. This makes the new script compliant with
some corner case scenarios like not using Busybox NTPd or not using NTPd
at all, maintaining maximum out-of-the box functionality.

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
2014-12-01 15:15:35 +01:00
Ondřej Caletka f6242bdf77 aiccu: Minor whitespace fix
Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
2014-12-01 15:15:35 +01:00
Ian Leonard f5a1d1bba6 Merge branch 'master' into license-updates
Signed-off-by: Ian Leonard <antonlacon@gmail.com>

Conflicts:
	devel/patch/Makefile
	multimedia/minidlna/Makefile
2014-08-10 01:09:06 -07:00
Thomas Bahn 05b0c46db7 aiccu: Fix typo
The option 'tunnel_id' from aiccu is called 'tunnelid' in the UCI config file.
2014-08-06 19:40:02 +02:00
Ian Leonard 2d003b8238 tayga: add PKG_LICENSE ifnromation
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:49:06 -07:00
Ian Leonard 64c633daa6 aiccu: Add PKG_LICENSE information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:45:55 -07:00
sbyx eb435b2e55 Merge pull request #50 from oskar456/aiccu
aiccu: import from oldpackages, integrate with netifd
2014-06-23 18:52:49 +02:00
Ondřej Caletka 449ad56fb5 aiccu: integrate with netifd
This patch integrates AICCU with netifd. Care was taken not to restart
aiccu without a reason as it triggers alert on SixXS infrastructure.
Example usage:

config interface 'wan6'
        option 'proto'    'aiccu'
        option 'username' 'HANDLE-SIXXS/TID'
        option 'password' 'Password'
        option 'ip6prefix' '2001:db8:aabb::/48' #Delegated subnet
        option 'ip6addr' '2001:db8:aaaa:aaa::2/64' #Optional
        option 'verbose' 'true'

Tested with current trunk on TL-WR703N.

Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 16:48:59 +02:00
Ondřej Caletka baed04bed0 aiccu: add myself as maintainer
Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 16:48:59 +02:00
Ondřej Caletka 7bf4be7da8 aiccu: import from oldpackages
Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 16:48:59 +02:00
Ondřej Caletka 545b84c547 tayga: Add Netifd support
This patch integrates tayga with netifd. Parametres are nearly same as
with the older scripts. Support for static mapping of IPv4<=>IPv6 addresses
is missing. Example configuration:

config interface 'nat64'
        option proto 'tayga'
        option prefix 64:ff9b::/96
        option dynamic_pool 10.128.0.0/24
        option ipv4_addr 10.128.0.1	#address of the TAYGA itself
        option ipv6_addr 2001:470:5990::64
        option ipaddr  192.168.1.1 #optional address of TUN interface
        option ip6addr 2001:db8::1

Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 16:25:05 +02:00
Ondřej Caletka 8a90bbadd7 tayga: fix broken ICMP checksum on big-endian machines
This patches fixes wrong ICMP checksum of translated packets on
big-endian machines #16715
The patch is authored by upstream author
Nathan Lutchansky <lutchann@litech.org>
Source of the patch: http://forum.mikrotik.com/viewtopic.php?f=15&t=82329

Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 15:47:29 +02:00
Ondřej Caletka ee7a6cd35b tayga: add myself as maintainer
Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 15:46:38 +02:00
Ondřej Caletka db0236fb85 tayga: import from oldpackages
Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 15:44:35 +02:00