51 Commits
Author SHA1 Message Date
Hamish ColemanandGitHub c3c72e2656 test on all available runner environments and add autogenerated crossbuilt dpkg packages (#852)
* Make test workflow smoke test use the same internal name as descriptive name

* Refactor workflow to be test_os then build for that OS

* Run tests on all available github runner environments

* Ensure that dpkg builds will fail if the compile fails

* Allow explicitly overriding the debian package architecture

* Pass the detected architecture into the dpkg build process

* Use the possibly overridden MACHINE variable to calculate the short machine name

* Remove unused variable

* Remove unused AC_SUBST

* Allow EXTN to be overridden instead of MACHINE

* Add crossbuilding for dpkg builds

* Ubnuts dont got no crossbuild for mips

* Use the correct value for EXTN
2021-10-14 15:54:19 +05:45
Hamish ColemanandGitHub 7d4ff08200 added automated binary artifacts (#849)
* Allow an autobuilder with no access to private key material to create testable packages

* Initial dpkg build - will need helpers installed to work

* Start adding required dpkg helpers

* Tweak package artifact names

* Add a windows 'package' builder

* Ensure prefix path handling deals with current directory change when descending to tools dir

* The tools makefile currently only needs the SBINDIR path to install properly

* Add a macos 'package' builder

* Remove unused configure variables

* Without commit history, some of the automatic version numbering will fail

* Add an rpm builder

* Need to set the env var for the rpm build before we change our working dir

* Allow gpg signing to fail for generating test rpm packages

* Unfortunately the rpm spec file hardcodes some path assumptions, so we need to use hacks to work around them

* Return to the top dir before moving things around

* A small change to make actions re-run the pipeline

* Name this workflow file with a nicer looking name
2021-10-11 18:44:28 +05:45
Hamish ColemanandGitHub ecedcdcb58 Major documentation improvements (#752) 2021-08-19 20:02:53 +05:45
small_5andGitHub d2b35f8423 Update Makefile (#751) 2021-08-19 19:56:55 +05:45
small_5andGitHub 5c1c65cd5a updated openwrt makefile (#728) 2021-07-15 11:49:33 +05:45
small_5andGitHub 3a7ce700f2 updated Makefile (#715) 2021-06-18 16:31:48 +05:45
small_5andGitHub d8c383eb95 updated openwrt makefile (#712) 2021-06-14 20:00:49 +05:45
Luca Deri d2ddc479c7 Added missing configure 2021-04-06 17:09:12 +02:00
Sven RoedererandGitHub e36fac8f52 Update packaging for debian (#677)
* packages/debian: remove some autogenerate files from repo

* packages/debian/configure
* packages/debian/debian/n2n.debhelper.log
* packages/debian/debian/n2n.postrm.debhelper

are all autogenerated by autoconf or the deb-helper. So there is no need to keep them
in the repo, as it will cause conflicts.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>

* packages/debian: rules: use dh_prep in place of deprecated "dh_clean -k"

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>

* packages/debian: also provide example communities.list file
2021-04-05 19:27:55 +02:00
VergLsmandGitHub 35dc670a5f Update OpenWRT Makefile (#678) 2021-03-30 17:02:46 +05:45
Luca Deri 85894715bd Added build target for Ubiquity EdgeRouter X 2021-02-16 11:31:23 +00:00
Logan oos EvenandGitHub 595384a355 update supernode.conf.sample (#541)
* update supernode.conf.sample

* updated sample supernode.conf
2020-12-19 12:27:55 +01:00
Giacomo SanchiettiandGitHub 036a947521 rpm: fix installation warning (#479)
Avoid cosmetic error when installing the package:

 line 8: cho: command not found
2020-11-09 16:05:01 +01:00
Luca Deri 84ec5c634c Disabled creation of .build-id dir 2020-10-27 22:38:43 +01:00
Luca Deri ce9d33ab64 Fixed sample file as -p is now used instead of -l 2020-10-20 17:29:24 +02:00
Luca Deri f6e4047ce0 Partial fixes for addressing compilation issues introduced by https://github.com/ntop/n2n/pull/460 2020-10-11 11:57:48 +02:00
nanpuyue 25ac58900a fix(openwrt): move config to /etc/n2n
The `/etc/config` directory should only store the "UCI" configuration files.

Reference: https://openwrt.org/docs/guide-user/base-system/uci
2020-09-05 12:00:13 +08:00
lucaderi aab94e9a82 Added check for centos6 2020-08-17 09:54:19 +02:00
Luca Deri 223ef8197f Added ROM dependency 2020-08-17 09:42:14 +02:00
Luca Deri fe27d2bfc2 Fixed debian dependency 2020-08-17 09:38:53 +02:00
Luca Deri 52e2454af7 Added nissing package dependency 2020-08-16 12:36:31 +02:00
Alfredo Cardigliano 5889b2c4a0 rpm-sign fix for centos8 2019-10-21 09:37:28 +02:00
emanuele-f 00b891f17b Update openwrt instructions with the toolchain setup 2019-07-07 12:20:23 +02:00
emanuele-f bf0ad28b4b Update openwrt readme 2019-07-07 00:46:25 +02:00
emanuele-f 4aff8938ac Fix openwrt build instructions 2019-07-06 21:15:03 +02:00
emanuele-f f0545a1fe2 Fix link 2019-07-06 21:03:32 +02:00
emanuele-f 31e201b49d Update OpenWRT commit hash 2019-07-06 21:00:05 +02:00
emanuele-f fa695e9f2b OpenWRT build files and instructions 2019-07-06 20:58:57 +02:00
emanuele-f 4d36f9f613 Package fixes 2019-07-06 14:40:16 +02:00
emanuele-f cb43d0cf64 Unify n2n version 2019-07-06 13:52:17 +02:00
emanuele-f 636c57768f Create n2n user and use in the supernode service 2019-06-19 00:45:47 +02:00
emanuele-f 41e9e04083 Fix invalid service enabled 2019-05-31 10:33:36 +02:00
Luca Deri 18388c8e05 Added service dependency 2019-05-02 09:22:33 +02:00
Luca Deri 63e74ccc6a Added support for ARM64 platforms 2019-01-26 09:33:24 +01:00
emanuele-f a96237f83d Use systemd helpers to honor system wide preferences on service enable/start
Also fix services being started after upgrade even if they were disabled but config existed
2018-12-31 16:36:32 +01:00
emanuele-f f02b68f5af Use after network-online to avoid DNS resolve and multicast bind issues 2018-12-14 10:52:55 +01:00
Emanuele Faranda d896a9c3e8 Fix missing n2n-ntopng in configure 2018-12-12 16:16:46 +01:00
emanuele-f 3bd4e2c335 Add n2n-ntopng to bind the services lifetimes 2018-12-12 16:02:41 +01:00
Luca Deri e7cfa00435 Path fix 2018-12-01 08:45:41 +01:00
Luca Deri b758d69e6c Config files are installed with the .sample extension
You can now do 'cp edge.conf.sample edge.conf' to create a n2n configuration. If the .conf (for edge and supernode) are present, the service is enabled automatically. This prevents unwanted services to be enabled, and it preserves services activation across updates
2018-12-01 08:36:58 +01:00
Emanuele Faranda b84cedd8b8 Add support for multi-service n2n edge
E.g. systemctl start edge@n2n1 will read /etc/n2n/edge-n2n1.conf
2018-11-28 13:04:44 +01:00
Luca Deri 2e2654dd2a Disable automatic n2n startup 2018-11-23 16:57:14 +01:00
Luca Deri fd356cde64 Added the ability to specify (-c) on the supernode the list of allowed communities
kill -HUP on the supernode lists the registered edges
2018-09-28 22:31:45 +02:00
Luca Deri 30e7a700c0 File rename 2018-08-17 12:56:47 +02:00
Luca Deri 9671bf3e9b Added package sign
Added ubuntu symlink
2018-08-17 12:43:52 +02:00
Luca Deri 6e62052eb0 Added centos packaging 2018-08-17 12:41:39 +02:00
Luca Deri d299d558ac Packaging and parameter parsing fixes 2018-08-17 10:17:09 +02:00
Alfredo Cardigliano e1c32b588a using conf files /etc/n2n/{edge,supernode} in systemd, sample configuration files, packages fixes 2018-08-16 16:11:12 +02:00
moshengrenzenmeandGitHub 9dd8375744 Update edge.service.in 2018-07-03 23:39:16 +08:00
Luca Deri 76bce0f808 Package update 2018-06-22 09:48:33 +02:00