diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2015-01-04 17:55:55 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2015-01-04 17:55:55 +0300 |
commit | a9e4dccdf65617e7173bc3521ee058a41bba5279 (patch) | |
tree | 0f51bd9a96fe4ff913523b90326a2b8954c43235 | |
parent | 742c7edf7c35d0b07c1a3a4ff221b0c5a755c073 (diff) | |
download | bind9-a9e4dccdf65617e7173bc3521ee058a41bba5279.tar.gz |
Omit some files on illumos
-rwxr-xr-x | debian/rules | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 49631630..eaa51ca5 100755 --- a/debian/rules +++ b/debian/rules @@ -119,11 +119,13 @@ install: build install -m 644 -o root -g root debian/apparmor-profile.local ${ETCAPP}/local/usr.sbin.named rmdir debian/bind9/var/run/named debian/lwresd/var/run/named || true +ifneq (illumos,$(DEB_HOST_ARCH_OS)) install debian/ip-up.d debian/bind9/etc/ppp/ip-up.d/bind9 install debian/ip-down.d debian/bind9/etc/ppp/ip-down.d/bind9 install debian/ip-up.d debian/bind9/etc/network/if-up.d/bind9 install debian/ip-down.d debian/bind9/etc/network/if-down.d/bind9 install -m644 debian/bind9.ufw.profile debian/bind9/etc/ufw/applications.d/bind9 +endif # Build architecture-independent files here. binary-indep: build install @@ -153,14 +155,21 @@ binary-arch: build install dh_installdocs -a dh_installexamples -a dh_installmenu -a +ifeq (linux,$(DEB_HOST_ARCH_OS)) dh_systemd_enable -pbind9 --no-enable bind9-resolvconf.service dh_systemd_enable -pbind9 bind9.service dh_systemd_enable -plwresd lwresd.service - dh_installinit -a --no-start -- defaults 15 85 # Ship the extra service file for resolvconf integration manually. if [ -d debian/bind9/lib/systemd/system ]; then cp debian/bind9-resolvconf.service debian/bind9/lib/systemd/system; fi +endif +ifeq (illumos,$(DEB_HOST_ARCH_OS)) + dh_smf +endif + dh_installinit -a --no-start -- defaults 15 85 dh_installcron -a +ifneq (illumos,$(DEB_HOST_ARCH_OS)) dh_installdebconf -pbind9 +endif dh_installinfo -a dh_installchangelogs -a # CHANGES # upstream changelog only in bind9-doc dh_install --sourcedir=debian/bind9 -a |