n2n/packages/debian
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
..
debian Use a simple debian/control Architecture 2023-08-30 20:27:14 +01:00
configure Use a simple debian/control Architecture 2023-08-30 20:27:14 +01:00
configure.in Use a simple debian/control Architecture 2023-08-30 20:27:14 +01:00
Makefile.in Automatically generate debian changelog 2023-08-30 20:27:14 +01:00
README Automatically generate debian changelog 2023-08-30 20:27:14 +01:00

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

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