Commit Graph

16 Commits

Author SHA1 Message Date
Hamish Coleman
b0d742b3f5 Remove the need for autoconf in the debian package
Continuing to try and simplify the build system, calculate the remaining
two autoconf variables from the existing config.mak.

For the moment, leave a configure and configure.ac file in place to
allow any old build systems to continue to function without errors.
2023-08-30 20:27:14 +01:00
Hamish Coleman
018add0280 Use a simple debian/control Architecture
By switching to the "any" architecture, we no longer need to template
the debian/control file.  This simply claims that the package can be
built on any known debian arch - which we currently think is true - so
it will help future portability.
2023-08-30 20:27:14 +01:00
Hamish Coleman
9d4f68fce2 Regenerate packages configure scripts 2023-08-30 20:27:14 +01:00
Hamish Coleman
1b862513ff Regenerate packages configure scripts 2023-08-30 20:27:14 +01:00
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
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
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
fe27d2bfc2 Fixed debian dependency 2020-08-17 09:38:53 +02:00
emanuele-f
4d36f9f613 Package fixes 2019-07-06 14:40:16 +02:00
Luca Deri
63e74ccc6a Added support for ARM64 platforms 2019-01-26 09:33:24 +01:00
Emanuele Faranda
d896a9c3e8 Fix missing n2n-ntopng in configure 2018-12-12 16:16:46 +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
d299d558ac Packaging and parameter parsing fixes 2018-08-17 10:17:09 +02:00
Luca Deri
c164d2b208 Reworked debian/ubuntu packaging 2018-06-20 20:23:28 +02:00