Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dtandersen committed Aug 8, 2024
1 parent 844f267 commit 134d133
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,32 @@ https://github.com/docker-rpm-builder/docker-rpm-builder

# Building

https://blog.packagecloud.io/buildling-debian-packages-with-debuild/
https://metebalci.com/blog/a-minimum-complete-example-of-debian-packaging-and-launchpad-ppa-hellodeb/


1. Download the tar ball
wget -O ../nagios-plugins-ets_1.4.orig.tar.gz https://github.com/ucsd-ets/nagios-plugins-ets/archive/refs/tags/1.2.tar.gz
2. Extract source
tar zxvf ../nagios-plugins-ets_1.4.orig.tar.gz --strip-components=1
3. Run debuild
debuild -us -uc
4. Check the output
dpkg -c ../nagios-plugins-ets_1.4_amd64.deb

See:
* https://blog.packagecloud.io/buildling-debian-packages-with-debuild/
* https://metebalci.com/blog/a-minimum-complete-example-of-debian-packaging-and-launchpad-ppa-hellodeb/
* https://www.debian.org/doc/manuals/debmake-doc/ch04.en.html

# Installation

dpkg -i nagios-plugins-ets-1.4.deb

<!-- wget -O nagios-plugins-ets_1.4.orig.tar.gz https://github.com/ucsd-ets/nagios-plugins-ets/archive/refs/tags/1.2.tar.gz

wget https://github.com/ucsd-ets/nagios-plugins-ets/archive/refs/tags/1.2.tar.gz -->

notes:

debuild -us -uc
dpkg -c ../nagios-plugins-ets_1.4_amd64.deb

debuild calls dh build which calls dh_auto_build which calls make -j1 which selects the 1st goal which is install.

# Installation
When I've added

dpkg -i nagios-plugins-ets-1.4.deb
all:
before install to makefile, the problem was solved.

0 comments on commit 134d133

Please sign in to comment.