commit | c8050a99956fcca52c2440e2e774961d451728fd | [log] [tgz] |
---|---|---|
author | Zhiyi Zhang <zhiyi@cs.ucla.edu> | Sun Jan 21 17:33:16 2018 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sat Feb 03 19:19:44 2018 +0000 |
tree | 1ebcf992a5fade402c42663c769440a02eb68251 | |
parent | 5f353c4be1a4d0bcd178e13b8537b4625381eb1d [diff] |
Update postinst file to follow v2 security elements Change-Id: I17e11e05043ba864052419604096e72a6238ec9c
The following packages needs to be installed in order to build source .deb package to be upload to PPA:
sudo apt-get install git devscripts debhelper dh-make
The build process is very much automated and the following command can be used to build all packages and upload them to the ppa.
make dput
Before running dput make sure that you have access to upload packages to named-data/ppa
(or modify target PPA repository in packaging.mk
).
To build a specific package, go to the package's folder and run the same make dput
command.
The scripts by default create source packages for Ubuntu 12.04 (precise), 13.10 (saucy), and 14.04 (trusty). If necessary, default actions and distributions can be overriden:
To only build source packages (no upload) only for Ubuntu 12.04:
make build DISTROS=precise
To build binary package that can be installed with dpkg -i <package>.deb
:
make build DEBUILD=debuild DISTROS=precise
The build package will be in <package-folder>/work/<package-name>_<version>.deb