Commit Graph

34 Commits

Author SHA1 Message Date
Fabrice Fontaine b52f465c7b net/tinc: fix PKG_CPE_ID
tinc-vpn:tinc is a better CPE ID than tinc:tinc as this CPE ID has the
latest CVEs (whereas tinc:tinc only has CVEs up to 2002):
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3🅰️tinc-vpn:tinc

Fixes: 299e5b0a9b (treewide: add PKG_CPE_ID for better cvescanner coverage)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 15:57:46 -08:00
Vladislav Grigoryev 10d923d8f4 tinc: fetch ed25519 public keys from uci
Fetch Ed25519 public keys from UCI host sections.
Update options and syntax to current version.

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
2023-11-06 10:55:42 -08: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
Erwan MAS fb99d50c1e tinc: add creation of hosts directory for each network configuration
Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
2022-03-08 21:56:52 -08:00
Rosen Penev 5f51bc789b tinc: update to 1.1pre18
Switch to AUTORELEASE for simplicity.

Switch to normal tarballs.

Add license information.

Reorganize Makefile for consistency between packages.

Add libtool patch fixing compilation under some conditions.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-26 20:11:26 -07:00
Etienne Champetier 440d3c0450 tinc: use 'uci_get_state' instead of 'uci -P /var/state get'
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2021-09-01 14:12:26 -07:00
Erwan MAS bf292a2cd9 tinc: Add possibility to populate more config variables via uci
Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
2021-05-17 20:16:34 -04:00
Erwan MAS e80d128925 tinc: new maintainer
Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
2021-02-15 23:34:42 -05:00
Erwan MAS 871615934e tinc: fix missing HASH
Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
2021-02-14 14:47:43 -05:00
Erwan MAS fd61f2d2e2 tinc: Bump to version 1.1 commit 3ee0d5dd
Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
2021-02-14 14:37:12 -05:00
Florian Eckert 3364d6665a tinc: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Saverio Proto 251d4043df tinc: fix build regression in pkg 1.0.36-1
the patches 010-Fix-compilation-when-OpenSSL-has-no-ENGINE-support
and 020-Fix-compilation-without-deprecated-OpenSSL-APIs are now
merged upstream, so they must be dropped from the OpenWrt pkg

Signed-off-by: Saverio Proto <zioproto@gmail.com>
2019-10-29 10:47:42 +01:00
Saverio Proto b6ec718b98 tinc: version bump to 1.0.36
Signed-off-by: Saverio Proto <zioproto@gmail.com>
2019-10-27 09:27:31 +01:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Rosen Penev 5ef7a05a8a
tinc: Fix to actually build without deprecated APIs
The configure script checks for the existence of OpenSSL by checking a
deprecated function. This works around it. The other changes have been done
previously

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-05 23:31:25 -08:00
Rosen Penev 329d5a4c0c tinc: Fix compilation without deprecated OpenSSL APIs
Minor Makefile adjustments. Added PKG_BUILD_PARALLEL for faster
compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-12 17:33:54 -08:00
Pacien TRAN-GIRARD 62ee62682e tinc: update to 1.0.35
Critical security update for:
* CVE-2018-16737,
* CVE-2018-16738,
* CVE-2018-16758

Announcement:
https://www.tinc-vpn.org/pipermail/tinc/2018-October/005311.html

Signed-off-by: Pacien TRAN-GIRARD <pacien.trangirard@pacien.net>
2018-10-08 20:54:36 +02:00
Saverio Proto 8704bba6ce tinc: version bump 1.0.34
Signed-off-by: Saverio Proto <zioproto@gmail.com>
2018-06-15 17:02:22 +02:00
Saverio Proto a665803ef2 tinc: version bump 1.0.33
Signed-off-by: Saverio Proto <saverio.proto@switch.ch>
2017-11-05 00:56:07 +01:00
Ryan Mounce 642b87660b tinc: version bump 1.0.32
Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
2017-09-05 11:30:34 +09:30
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
Saverio Proto c6fc63906c tinc: version bump 1.0.31
Signed-off-by: Saverio Proto <zioproto@gmail.com>
2017-02-05 10:09:02 +01:00
Saverio Proto e16322cfa7 tinc: version bump 1.0.30
Signed-off-by: Saverio Proto <zioproto@gmail.com>
2016-11-21 20:34:35 +01:00
Saverio Proto 6bea54e74e tinc: version bump 1.0.29 2016-10-23 12:04:45 +02:00
Felix Fietkau e8394949dc tinc: add missing zlib dependency
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-24 14:55:05 +02:00
Saverio Proto e7cdecf254 tinc: version bump 1.0.28 2016-04-10 20:40:19 +02:00
Saverio Proto 07f647f6c3 tinc: version bump 1.0.27 2016-04-10 09:46:39 +02:00
Saverio Proto cf5f2586b0 tinc: version bump 1.0.26
Signed-off-by: Saverio Proto <zioproto@gmail.com>
2015-07-06 20:26:54 +02:00
Jo-Philipp Wich 4004ec2c75 tinc: fix musl compatibility
Let configure include `sys/if_tun.h` when testing for `netinet/if_ether.h`
to detect the Kernel/libc header conflict on musl.

After this patch, configure will correctly detect `netinet/if_ether.h` as
unusable and the subsequent compilation will not attempt to use it.

Fixes the following compatibility error:

	In file included from .../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/linux/if_tun.h:20:0,
	                 from linux/device.c:24:
	.../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/linux/if_ether.h:137:8: error: redefinition of 'struct ethhdr'
	 struct ethhdr {
	        ^
	In file included from .../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/net/ethernet.h:10:0,
	                 from linux/../have.h:180,
	                 from linux/../system.h:26,
	                 from linux/device.c:21:
	.../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/netinet/if_ether.h:96:8: note: originally defined here
	 struct ethhdr {
	        ^
	make[5]: *** [linux/device.o] Error 1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-18 19:51:59 +02:00
Saverio Proto 695b595012 [tinc] Update to tinc 1.0.25 2014-12-24 09:49:05 +01:00
Alessio Caiazza c1195229df Currently tinc init script will delete the generated configuration folder and then check if it will not exists in order to create it.
This patch will first check if the generated configuration folder exists and then delete it, after that it will always create the configuration folder.
2014-10-03 17:51:44 +02:00
Saverio Proto 5c51f03557 tinc: update MAINTAINER contact info 2014-10-03 17:46:43 +02:00
Saverio Proto ade8009afc tinc: update year in Copyright notice 2014-10-03 17:46:43 +02:00
Toke Høiland-Jørgensen c8bec163ad tinc: add package
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2014-07-31 17:39:15 +02:00