Commit Graph

39 Commits

Author SHA1 Message Date
Laurent Bigonville
08d39e662c debian/rules: Mask ups-monitor LSB initscript
debian/rules: Mask ups-monitor, this is not a real LSB initscript but it's a
symlink to the nut-client one. The purpose of this was to offer a common
interface to shutdown the UPS in case of power loss, this is not necessary with
systemd as this functionality is handeled by the
/lib/systemd/system-shutdown/nutshutdown script now.
2017-01-28 21:57:02 +01:00
Laurent Bigonville
d755c8b023 debian/rules: Enable hardening=+all 2016-07-18 10:22:54 +02:00
Laurent Bigonville
79b4afb095 Revert "Systemd units are now installed in multi-arch path"
The unit files are again installed in the systemdsystemunitdir path

This reverts commit 4730afcab2.
2016-07-17 18:07:49 +02:00
Laurent Bigonville
cf7db8a9f1 Merge remote-tracking branch 'origin/debian-jessie' into debian 2016-07-16 10:45:41 +02:00
Laurent Bigonville
5dc71af109 Really fix package initial installation when PID1 is systemd (Closes: #747863) 2015-03-20 23:12:51 +01:00
Laurent Bigonville
241119d464 Add wrappers that check the MODE in /etc/nut/nut.conf to avoid starting the daemons if nut is not configured (Closes: #747863). 2015-01-27 09:31:34 +01:00
Laurent Bigonville
fedf671e4d Revert the changes made in the previous NMU
debian/rules: Revert the changes made in the previous NMU, I don't think
that dropping the .service file that late in the release cycle is a good
idea and anyway this was causing left-over files on upgrade.
2015-01-25 12:52:51 +01:00
Neil Williams
819cab0654 Imported Debian patch 2.7.2-1.1 2015-01-25 12:28:09 +01:00
Arnaud Quette
165791ea2a New packages: libnutclient0 and libnutclient-dev 2014-10-20 21:39:47 +02:00
Laurent Bigonville
8bd57e3e01 Rename package libupsclient3 to libupsclient4, soname got bumped again 2014-04-22 21:48:51 +02:00
Laurent Bigonville
a766575eca debian/control, debian/rules: Call dh-autoreconf and pass LDFLAGS to minimize runtime dependencies 2014-04-22 20:44:03 +02:00
Laurent Bigonville
9b564eb7df debian/rules, debian/control, d/p/0004-fix-systemd-service.patch: Use a symlink instead of an Alias= to mask the SysV initscript 2013-12-26 13:24:53 +01:00
Laurent Bigonville
bbd9f7852b debian/rules: Drop static ordering for the initscripts and pass --restart-after-upgrade option to dh_installinit and dh_systemd_start to minimize the downtime of the daemons 2013-11-24 20:11:37 +01:00
Laurent Bigonville
cbf85f6779 Move bash-completion file to /usr/share/bash-completion/ 2013-11-24 19:47:23 +01:00
Laurent Bigonville
a62d95150d Rename libupsclient1 to libupsclient3 following the soname bump, rename libupsclient1-dev to libupsclient-dev, the package is not co-installable anyway 2013-11-24 19:47:23 +01:00
Laurent Bigonville
74efce57eb debian/rules, debian/control: Enable SSL support using libnss3 2013-11-24 17:55:35 +01:00
Laurent Bigonville
a60005575f debian/rules: Drop manual creation of .service files symlink, this should be handled by dh_systemd now 2013-07-06 17:35:29 +02:00
Laurent Bigonville
11b7980da6 Install tmpfiles conf files to create /run/nut directory during boot 2013-01-31 21:21:13 +01:00
Laurent Bigonville
853f3503ce debian/rules: Alias systemd nut-monitor service file to nut-client to prevent it from running twice 2013-01-26 01:42:50 +01:00
Laurent Bigonville
2904bfac3c Install all development files under /usr 2012-08-13 01:59:08 +02:00
Laurent Bigonville
4730afcab2 Systemd units are now installed in multi-arch path 2012-08-13 00:58:30 +02:00
Laurent Bigonville
0d1e4a2dcc Install systemd .service files (Closes: #679450) 2012-08-12 23:38:39 +02:00
Laurent Bigonville
8141cb7297 Follow multi-arch policy 2012-08-12 23:08:37 +02:00
Laurent Bigonville
f50e269016 debian/rules: Stop the nut-client before nut-server on systems using static boot ordering (Closes: #679451) 2012-08-09 11:57:18 +02:00
Arnaud Quette
1aa25b671d Debian release 2.6.3-2 2012-01-28 23:05:46 +01:00
Arnaud Quette
bd91941eb2 Install Augeas lenses 2011-12-03 00:40:26 +01:00
Arnaud Quette
39af1601d0 Install Avahi service file 2011-12-02 20:40:30 +01:00
Arnaud Quette
e69a4460bb Debian release 2.6.2-1 2011-09-30 22:44:59 +02:00
Arnaud Quette
e75060ac30 Debian release 2.6.2-1 UNRELEASED 2011-09-29 22:58:03 +02:00
Laurent Bigonville
dfa7599f33 Generate PDF and html doc and install it in nut-doc package 2011-07-15 15:02:19 +02:00
Laurent Bigonville
63f12aa09f Add nut-monitor package 2011-06-27 17:54:05 +02:00
Laurent Bigonville
46c56a3a13 Add python-nut package 2011-06-27 17:53:40 +02:00
Laurent Bigonville
ad6a04226d List non-installed files 2011-06-27 17:48:19 +02:00
Laurent Bigonville
910934027d Split nut package into nut-client and nut-server, keep nut package as metapackage 2011-06-27 17:47:15 +02:00
Laurent Bigonville
3059d08dfd Correctly pass flags to configure
* debian/rules:
  - Correctly pass flags to configure
2011-05-09 18:41:28 +02:00
Laurent Bigonville
8cc62ab670 Drop HAL package and build-dependencies (Closes: #613197) 2011-05-09 15:03:14 +02:00
Laurent Bigonville
9f5431316b Switch to cdbs
* debian/rules:
  - Switch to cdbs
  - Remove not existing configure options (Closes: #611813)
  - Drop Phony rules (Closes: #613699)
* debian/control:
  - Add cdbs build-dependency
2011-05-08 21:34:54 +02:00
Laurent Bigonville
c3894a1752 debian/rules: Remove dpatch logic as we are using package source version '3.0 (quilt)' 2010-12-24 11:14:41 +01:00
Arnaud Quette
31a319d731 Imported Debian patch 2.4.3-1 2010-03-26 00:21:03 +01:00