Commit Graph

28 Commits

Author SHA1 Message Date
Hamish Coleman
ff72ed8190 Make all version calculations come from scripts/version.sh and remove resulting redundant substitutions 2021-11-01 19:15:23 +00:00
Hamish Coleman
a4910ddc77 Debian Standards-Version variable is the packaging standard, nothing to do with our version 2021-11-01 19:15:23 +00:00
Hamish Coleman
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 Coleman
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 Coleman
ecedcdcb58
Major documentation improvements (#752) 2021-08-19 20:02:53 +05:45
Luca Deri
d2ddc479c7 Added missing configure 2021-04-06 17:09:12 +02:00
Sven Roederer
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
Luca Deri
85894715bd Added build target for Ubiquity EdgeRouter X 2021-02-16 11:31:23 +00: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
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
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
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 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
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
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
Luca Deri
76bce0f808 Package update 2018-06-22 09:48:33 +02:00
Luca Deri
c164d2b208 Reworked debian/ubuntu packaging 2018-06-20 20:23:28 +02:00