Commit graph

251 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
d31c6dcb9b debian/nut-server.postinst: The udevd process is called systemd-udevd for quite sometimes already, properly detect whether it's running or not, this should fix the devices permissions for USB UPS's (LP: #1540008) 2017-01-26 09:08:40 +01:00
Laurent Bigonville
21b0ce7971 Release to unstable 2017-01-25 09:14:16 +01:00
Laurent Bigonville
627b1dd6ea debian/control: Build-depends against asciidoc-dblatex, Recommends are not pulled automatically by the buildd (Closes: #851015) 2017-01-19 21:43:02 +01:00
Laurent Bigonville
8d6492f968 debian/nut-monitor.install: Install appdata file 2016-09-27 23:32:25 +02:00
Laurent Bigonville
bd298ee052 debian/libnutclient0.symbols: Update the .symbols file, this should fix the FTBFS (Closes: #835703) 2016-09-27 23:32:20 +02:00
Laurent Bigonville
75c8125f8a Release to unstable 2016-07-24 16:40:34 +02:00
Laurent Bigonville
0549a71851 debian/libnutclient0.symbols: Really add all the needed symbols (Closes: #831725) 2016-07-24 16:40:22 +02:00
Laurent Bigonville
10dfed1de3 Release to unstable 2016-07-18 17:48:31 +02:00
Laurent Bigonville
1476985c4c debian/control: Add systemd to the build-dependencies, we need the systemd.pc file to be installed during the build 2016-07-18 17:48:21 +02:00
Laurent Bigonville
5b5df2aac1 Run wrap-and-sort 2016-07-18 17:46:23 +02:00
Laurent Bigonville
e01f1100e2 debian/libnutclient0.symbols: Adjust .symbols file for arch specific C++ symbols (Thanks to pkgkde tools) 2016-07-18 17:43:13 +02:00
Laurent Bigonville
ba41628644 Release to unstable 2016-07-18 10:58:54 +02:00
Laurent Bigonville
d755c8b023 debian/rules: Enable hardening=+all 2016-07-18 10:22:54 +02:00
Laurent Bigonville
f9eefb910b Drop debian/nut-monitor.menu and debian/nut-monitor.xpm, not needed anymore per tech-ctte decision #741573 2016-07-18 10:02:26 +02:00
Laurent Bigonville
3780d53734 debian/control: Fix the grammar in nut-ipmi long description 2016-07-18 09:57:07 +02:00
Laurent Bigonville
d4195945c0 debian/nut-cgi.README.Debian: Fix typo 2016-07-18 09:54:38 +02:00
Laurent Bigonville
4ffde4deaa debian/control: Use https:// URL's in Vcs-* fields 2016-07-18 09:54:23 +02:00
Laurent Bigonville
6cee8926ae debian/libupsclient4.symbols: Adjust the symbols file again for 2.7.4 2016-07-18 09:46:25 +02:00
Laurent Bigonville
8c5af82247 New upstream release (2.7.4) 2016-07-18 02:15:28 +02:00
Laurent Bigonville
237be91ad9 debian/libnutclient0.symbols, debian/libupsclient4.symbols: Adjust the .symbols files 2016-07-18 01:52:09 +02:00
Laurent Bigonville
b0b61548a4 debian/nut-server.install: 52-nut-usbups.rules file has been renamed to 62-nut-usbups.rules 2016-07-17 19:20:31 +02:00
Laurent Bigonville
1a30e36c57 d/p/0009-fix-nutshutdown-install.patch: Install the nutshutdown script in the correct path 2016-07-17 19:06:03 +02:00
Laurent Bigonville
38537675ba Bump debhelper compatibility to 9 2016-07-17 18:10:22 +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
b762a3580e debian/control: Add dh-python to the build-dependencies 2016-07-16 11:13:48 +02:00
Laurent Bigonville
e948707093 debian/control: Bump Standards-Version to 3.9.8 (no further changes) 2016-07-16 11:13:30 +02:00
Laurent Bigonville
85836f6836 d/p/0002-nut-monitor-paths.patch, d/p/0006-ups-conf-maxretry.patch: Refreshed 2016-07-16 11:00:39 +02:00
Laurent Bigonville
f07d79cd65 Drop d/p/0009-fix-favorites-permissions.patch, merged upstream 2016-07-16 10:57:26 +02:00
Laurent Bigonville
f5439265c8 debian/gbp.conf: Switch back the branch to the "debian" one 2016-07-16 10:52:21 +02:00
Laurent Bigonville
cf7db8a9f1 Merge remote-tracking branch 'origin/debian-jessie' into debian 2016-07-16 10:45:41 +02:00
Arnaud Quette
c2a1ac8f1f Remove 0007-killpower-path.patch 2015-04-30 16:01:34 +02:00
Arnaud Quette
7ca12c8e25 New upstream release 2015-04-30 15:58:47 +02:00
Laurent Bigonville
564becd819 Release to unstable 2015-03-20 23:13:01 +01: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
64e656ba48 Release to unstable
The changelog was not changed before releasing 2.7.2-3
2015-02-17 23:17:22 +01:00
Laurent Bigonville
47e0e45e35 debian/NEWS: Fix NEWS file syntax 2015-02-17 10:43:27 +01:00
Laurent Bigonville
f8cfca1b18 Release to unstable 2015-02-17 10:01:35 +01:00
Michael Fincham
1563b485dc Add patch that detects and corrects unsafe permissions on ~/.nut-monitor left over from old installations during NUT-Monitor startup. (Closes: #777706) 2015-02-17 09:47:23 +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
Laurent Bigonville
f07df515f5 debian/gbp.conf: Switch to debian-jessie branch 2015-01-25 12:28:45 +01:00
Neil Williams
819cab0654 Imported Debian patch 2.7.2-1.1 2015-01-25 12:28:09 +01:00
Arnaud Quette
c57ad7e897 Demangle C++ symbols 2014-10-24 23:02:25 +02:00
Arnaud Quette
165791ea2a New packages: libnutclient0 and libnutclient-dev 2014-10-20 21:39:47 +02:00
Laurent Bigonville
d504d61101 Release to unstable 2014-04-22 22:46:17 +02:00
Laurent Bigonville
1e664224b2 debian/nut-server.install, debian/nut-server.manpages: Install new nutdrv_atcl_usb driver 2014-04-22 22:14:57 +02:00
Laurent Bigonville
f26715942d debian/patches/0008-drop-w3c-icons.patch: Remove the link to external W3C icons to prevent privacy breach (privacy-breach-w3c-valid-html) 2014-04-22 21:48:51 +02:00
Laurent Bigonville
8bd57e3e01 Rename package libupsclient3 to libupsclient4, soname got bumped again 2014-04-22 21:48:51 +02:00
Laurent Bigonville
d551399f97 debian/nut-server.install: Upstream is now installing upsdrvctl /sbin 2014-04-22 21:16:19 +02:00
Laurent Bigonville
6621b7de39 Drop d/p/0005-Provide-retry-options-for-upsdrvctl-and-drivers.patch: Merged upstream 2014-04-22 20:57:00 +02:00
Laurent Bigonville
c94a1d80c6 debian/patches/0004-fix-systemd-service.patch: Refreshed 2014-04-22 20:55:43 +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
d0947d03cc New upstream release
* New upstream release
  - Fix the undefined references (Closes: #731156)
2014-04-22 20:43:14 +02:00
Laurent Bigonville
106ff01fcf debian/tests/control: Add lsb-release and netcat to the dependencies (Closes: #733189) 2013-12-29 17:16:33 +01:00
Laurent Bigonville
032745e879 debian/control: Bump Standards-Version to 3.9.5 (no further changes) 2013-12-29 16:59:36 +01: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
e02d926691 Release to unstable 2013-11-24 20:58:03 +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
c68443d795 debian/nut-client.lintian-overrides: Add override for systemd-no-service-for-init-script ups-monitor 2013-11-24 19:47:23 +01:00
Laurent Bigonville
bd7c860a72 debian/patches/0007-killpower-path.patch: Revert POWERDOWNFLAG back to /etc/killpower 2013-11-24 19:47:23 +01:00
Laurent Bigonville
cbf85f6779 Move bash-completion file to /usr/share/bash-completion/ 2013-11-24 19:47:23 +01:00
Laurent Bigonville
0389780de8 debian/nut-server.install, debian/nut-server.manpages: Install new drivers 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
8e8886fd95 d/p/0005-Provide-retry-options-for-upsdrvctl-and-drivers.patch, d/p/0006-ups-conf-maxretry.patch: By default, retry to start the drivers up-to three times, this should mitigate races with slow devices (Closes: #694717) 2013-11-24 17:55:35 +01:00
Laurent Bigonville
3bac34e788 Refresh debian/patches/0004-fix-systemd-service.patch 2013-11-24 17:55:35 +01:00
Laurent Bigonville
74efce57eb debian/rules, debian/control: Enable SSL support using libnss3 2013-11-24 17:55:35 +01:00
Laurent Bigonville
0469bcf177 New upstream release (Closes: #730183) 2013-11-24 16:08:55 +01:00
Laurent Bigonville
9b4acffd6c Release to unstable 2013-07-11 12:30:04 +02:00
Laurent Bigonville
8157c709a1 debian/control: Do not build nut-ipmi on hurd-i386 as freeipmi is not available on that platform. 2013-07-11 12:13:31 +02:00
Laurent Bigonville
4c61ee613e Release to unstable 2013-07-11 00:50:18 +02:00
Laurent Bigonville
154f28c325 debian/patches/0004-fix-systemd-service.patch: Fix path for upsdrvctl in scripts/systemd/nutshutdown.in 2013-07-10 22:48:24 +02:00
Laurent Bigonville
fd9b4809ec debian/patches/0004-fix-systemd-service.patch: Also add Wants/Before for systemd-udev-settle.service in the nut-driver.service as it got renamed after udev merge 2013-07-10 22:19:01 +02:00
Laurent Bigonville
38742dde53 Add build-dependency against dh-systemd and bump minimal cdbs version so systemd helpers are called during build. 2013-07-06 17:35:29 +02: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
65234e6c7b debian/control: Add missing Testsuite field 2013-06-21 17:37:48 +02:00
Laurent Bigonville
476bccbdb3 debian/nut-monitor.menu, nut-monitor.xpm: Add Debian menu entry (Closes: #708813) 2013-06-21 17:36:02 +02:00
Laurent Bigonville
f313323738 Added dep-8-tests to improve QA (from Ubuntu, closes: #708130) 2013-06-18 21:52:31 +02:00
Laurent Bigonville
cc689212ad debian/nut-client.preinst: also revert /etc/nut/nut.conf mangling done by postinst during upgrade from lenny to squeeze (Really closes: #677054) Thanks to Andreas Beckmann for the review. 2013-06-18 21:21:00 +02:00
Laurent Bigonville
c51fe5965a Use canonical URL for the VCS-* fields 2013-06-18 10:36:07 +02:00
Laurent Bigonville
d5939980c1 Add autotools-dev to the build-dependencies so config.{guess,sub} are getting updated during build 2013-06-18 10:35:08 +02:00
Laurent Bigonville
fc374550b2 Bump Standards-Version to 3.9.4 (no further changes) 2013-06-18 10:33:13 +02:00
Laurent Bigonville
8e1c6bce0d Add libgd-dev to the Build-Depends, keep the other alternatives to ease the backports 2013-05-20 15:48:56 +02:00
Laurent Bigonville
623a7f2f69 Move libupsclient1 package to libs Section
* debian/control:
  - Move libupsclient1 package to libs Section
2013-05-14 18:04:58 +02:00
Laurent Bigonville
e8e497bcf4 Release to experimental 2013-01-31 21:51:37 +01:00
Laurent Bigonville
2f87baa5a4 Do not hardcode full path to restorecon
Use which command to detect if the executable is present or not
2013-01-31 21:21:13 +01: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
47044fe3b0 d/p/0004-fix-systemd-service.patch: Fix systemd service file for Debian 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
715368e54f Only remove /etc/init.d/nut from previous versions of nut in nut-server postinst if there are no local changes.
* Only remove /etc/init.d/nut from previous versions of nut in nut-server
  postinst if there are no local changes.
* Also remove /etc/init.d/nut in nut-client postinst. Thanks to
  Laurent Bigonville for the hint.
2013-01-13 17:49:41 +01:00
Laurent Bigonville
d54dd54840 Only fix permissions of configfiles on first install. 2013-01-13 17:49:34 +01:00
Laurent Bigonville
68adcbdb65 debian/watch: Update watch file URL (Thanks to Bart Martens) 2012-12-02 13:48:57 +01:00
Laurent Bigonville
caf09b3d58 debian/control: Fix typo in package description 2012-12-02 13:08:38 +01:00
Sébastien Villemot
a80da4998d debian/nut-client.preinst: revert /etc/nut/nut.conf mangling done by older versions of the postinst (Closes: #677054) 2012-11-27 08:37:34 +01:00
Laurent Bigonville
c79bcd71af Restore proper SELinux context for runtime created /var/run/nut directory 2012-10-09 23:39:40 +02:00
Laurent Bigonville
5b99c93354 debian/control: Move the nut-monitor Suggests from nut-server to nut-client 2012-08-13 10:46:13 +02:00
Laurent Bigonville
3f5ae0e4fb Release to experimental 2012-08-13 01:59:26 +02:00
Laurent Bigonville
2904bfac3c Install all development files under /usr 2012-08-13 01:59:08 +02:00
Laurent Bigonville
b8b31887a5 debian/control: Drop ancient Conflicts/Provides/Replaces 2012-08-13 00:58:57 +02:00
Laurent Bigonville
7903ed56c2 debian/nut-server.install: Drop newmge-shut, renamed upstream to mge-shut and install the old implementation (oldmge-shut) instead 2012-08-13 00:58:57 +02:00