Commit Graph

19 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
9cbf4ca80a RPM Release variable is the number of patches applied to the upstream source, since we are the upstream source, there are no patches 2021-11-01 19:15:23 +00:00
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
Giacomo Sanchietti
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
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
Alfredo Cardigliano
5889b2c4a0 rpm-sign fix for centos8 2019-10-21 09:37:28 +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
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
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
30e7a700c0 File rename 2018-08-17 12:56:47 +02:00