n2n/packages/debian
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
..
debian Update packaging for debian (#677) 2021-04-05 19:27:55 +02:00
configure Added missing configure 2021-04-06 17:09:12 +02:00
configure.in Added build target for Ubiquity EdgeRouter X 2021-02-16 11:31:23 +00:00
Makefile.in added automated binary artifacts (#849) 2021-10-11 18:44:28 +05:45
README Reworked debian/ubuntu packaging 2018-06-20 20:23:28 +02:00

Prerequisites
-------------
apt-get install debhelper fakeroot dpkg-sig

EdgeOS
------
We need to replace BusyBox-implemented commands using full-fledged commands by doing
(see http://community.ubnt.com/t5/EdgeMAX/ubnt-debian-package-conflict/m-p/421325)

curl -O http://ftp.us.debian.org/debian/pool/main/c/coreutils/coreutils_8.5-1_mips.deb
dpkg -i --force-all coreutils_8.5-1_mips.deb

curl -O http://ftp.us.debian.org/debian/pool/main/t/tar/tar_1.23-3_mips.deb
dpkg -i --force-all tar_1.23-3_mips.deb

wget http://ftp.us.debian.org/debian/pool/main/f/findutils/findutils_4.4.2-4_mips.deb
dpkg -i --force-all findutils_4.4.2-4_mips.deb

wget http://ftp.us.debian.org/debian/pool/main/g/gzip/gzip_1.5-1.1_mips.deb
dpkg -i --force-all gzip_1.5-1.1_mips.deb