Commit graph

50 commits

Author SHA1 Message Date
Laurent Bigonville
6d1061719e Add the apport script coming from Ubuntu, thanks to them again 2019-08-18 15:38:40 +02:00
Laurent Bigonville
d07de5b2ba debian/rules: Install augeas lenses in /usr/share/augeas/lenses/ instead of /usr/share/augeas/lenses/dist/, the later seems to be reserved for augeas own lenses, not 3rd party ones 2019-08-02 08:42:06 +02:00
Laurent Bigonville
ed73672c7c debian/rules: Do not run make install twice
This causes issues due to the fact that the second make install is run
after several files being moved in override_dh_auto_install-arch
2019-08-01 19:07:01 +02:00
Laurent Bigonville
e8aa8ec3ff Do not FTBFS when building the arch:all packages only 2019-08-01 18:45:06 +02:00
Laurent Bigonville
247c516a79 debian/rules, debian/control: Override --with-systemdshutdowndir passed to configure to fix FTBFS on non-linux architectures and do not build-depend against systemd 2019-08-01 15:05:56 +02:00
Laurent Bigonville
9aba586fa8 Simplify debian/rules, install systemd files on non-linux arch as well 2019-07-27 20:34:37 +02:00
Laurent Bigonville
c1e987a09c Bump debhelper compatibility version to 12 2019-07-27 20:34:36 +02:00
Laurent Bigonville
57fac761d2 Switch from cdbs to debhelper sequence 2019-07-27 20:34:13 +02:00
Laurent Bigonville
b11ef489f7 Move pidfiles from /var/run/nut to /run/nut, there is nothing else to do since /var/run is a symlink to /run for some times now (policy 3.9.3) 2019-07-27 14:14:55 +02:00
Arnaud Quette
08288b6a7f debian/control, debian/rules, debian/libnutscan1.install,
debian/libnutscan-dev.install: distribute nut-scanner. (Closes: #921379)

Signed-off-by: Arnaud Quette <ArnaudQuette@Eaton.com>
2019-02-26 13:43:33 +01:00
Laurent Bigonville
e3cc4871ce debian/rules: Assign DEB_HOST_ARCH_OS with ?= instead of :? to please lintian 2018-02-20 11:36:25 +01:00
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