Imported Debian patch 2.7.2-1.1

This commit is contained in:
Neil Williams 2015-01-17 10:29:11 +00:00 committed by Laurent Bigonville
parent d504d61101
commit 819cab0654
2 changed files with 11 additions and 1 deletions

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
nut (2.7.2-1.1) unstable; urgency=medium
* Non-maintainer upload.
* Port Ubuntu change to drop upstream systemd unit files to allow
sysvinit files for Jessie. (Closes: #747863)
-- Neil Williams <codehelp@debian.org> Sat, 17 Jan 2015 10:29:11 +0000
nut (2.7.2-1) unstable; urgency=low nut (2.7.2-1) unstable; urgency=low
* New upstream release * New upstream release

4
debian/rules vendored
View File

@ -78,7 +78,9 @@ common-install-arch::
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libupsclient.so $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libupsclient.so
# Install systemd files only on systems where it's supported # Install systemd files only on systems where it's supported
ifeq (linux,$(DEB_HOST_ARCH_OS)) # disabled in Ubuntu until the unit gets fixed to check nut.conf
# disabled in Debian Jessie to retain sysvinit support until fix is available
ifeq (linux-disabled,$(DEB_HOST_ARCH_OS))
install -m 644 -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system/nut-monitor.service \ install -m 644 -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system/nut-monitor.service \
$(CURDIR)/debian/nut-client/lib/systemd/system/nut-monitor.service $(CURDIR)/debian/nut-client/lib/systemd/system/nut-monitor.service
install -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system-shutdown/nutshutdown \ install -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system-shutdown/nutshutdown \