forked from OLSR/olsrd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README-Debian-package
32 lines (25 loc) · 1.17 KB
/
README-Debian-package
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
If you want to build the Debian packages from the latest git source, here is
how to do it:
First, get the latest debian/ folder from salsa.debian.org, which contains
all the files needed to build the Debian package, then run dpkg-buildpackage:
sudo apt-get install build-essential dpkg-dev
git clone <url to olsrd repo>
cd olsrd
git checkout <your feature branch> # This step is optional
git remote add debbuild https://salsa.debian.org/debian/olsrd.git
git fetch debbuild
git checkout debbuild/master debian
echo "1.0" > debian/source/format
vi debian/changelog # Set the version number on top line (optional)
dpkg-buildpackage -uc -us
ls -l ../olsrd*.*
If you want the package to have the proper version, then you'll need to edit
the debian/changelog file. Just change the version number on the top-most
line of debian/changelog.
You can also find the latest tarballs of the debian/ folder here, look on the
right column under "Download Source Package olsrd":
http://packages.debian.org/source/sid/olsrd
e.g.
http://ftp.debian.org/debian/pool/main/o/olsrd/olsrd_0.6.3-6.debian.tar.gz
You can find complete developer info here:
http://packages.qa.debian.org/o/olsrd.html