mirror of
https://github.com/Cacti/spine.git
synced 2026-10-25 12:36:57 +09:00
Fixes #440 Adds idiomatic Debian packaging under packaging/debian/. To build a .deb, symlink the directory to the source root first: ln -s packaging/debian debian dpkg-buildpackage -us -uc -b Files: control, rules (debhelper 13, bootstrap+configure override, setuid fix in dh_fixperms), cacti-spine.install, cacti-spine.manpages, changelog, copyright (DEP-5, GPL-2.0-or-later + BSD-4-Clause for nft_popen), postinst (seeds /etc/spine.conf from .dist on first install), prerm. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
19 lines
315 B
Makefile
19 lines
315 B
Makefile
#!/usr/bin/make -f
|
|
|
|
export DH_VERBOSE = 1
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure:
|
|
./bootstrap
|
|
dh_auto_configure -- \
|
|
--enable-lcap \
|
|
--with-results-buffer=2048 \
|
|
--with-max-scripts=20
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install
|
|
install -D -m 0644 spine.conf.dist \
|
|
debian/cacti-spine/etc/spine.conf.dist
|