Commit graph

129 commits

Author SHA1 Message Date
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
Laurent Bigonville
4730afcab2 Systemd units are now installed in multi-arch path 2012-08-13 00:58:30 +02:00
Laurent Bigonville
b5e16725fa Drop debian/patches/0001-fix-upsmon-regression.patch, applied upstream 2012-08-12 23:43:36 +02:00
Laurent Bigonville
ce071bf6d9 New upstream release 2012-08-12 23:40:20 +02:00
Laurent Bigonville
4c70406ad9 Merge tag 'upstream/2.6.5' into debian
Upstream version 2.6.5
2012-08-12 23:39:32 +02:00
Laurent Bigonville
a1fa151fc7 Imported Upstream version 2.6.5 2012-08-12 23:39:31 +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
e25bc18d96 Release to unstable (2.6.4-2) 2012-08-12 21:33:33 +02:00
Laurent Bigonville
d518f66985 Be sure that all maintainer scripts are returning 0 at their end 2012-08-12 21:30:45 +02:00
Laurent Bigonville
d634a9971d debian/watch: Update watch file 2012-08-12 21:30:37 +02:00
Laurent Bigonville
37fc917325 Also install /bin/upssched-cmd in nut-client package as this script is referenced in default upssched.conf config file 2012-08-12 21:30:24 +02:00
Laurent Bigonville
b13692c4ba Fix package descriptions (Closes: #678068) 2012-08-12 21:29:35 +02:00
Laurent Bigonville
fa2376d331 Be sure that client is stopped before the server also when using dependencies based boot 2012-08-12 21:29:24 +02:00
Laurent Bigonville
a7e6c2affc Do not use dpkg-maintscript-helper to remove /etc/init.d/nut 2012-08-12 21:26:51 +02:00
Laurent Bigonville
6c85678343 Fix typo in debian/nut-client.postinst 2012-08-12 21:26:51 +02:00
Laurent Bigonville
5d4e219ae8 Add dependency against adduser and lsb-base on nut-client package 2012-08-12 21:26:51 +02:00
Laurent Bigonville
04703f7239 Fix changelog entry 2012-08-12 21:25:35 +02:00
Laurent Bigonville
0429bb5294 Drop /etc/default/nut → /etc/nut/nut.conf migration code, migration happends before squeeze release (Closes: #684392) 2012-08-09 21:40:24 +02:00
Laurent Bigonville
a6634bc58e Also create nut user when installing nut-client package and do not delete it on purge anymore (Closes: #682000) 2012-08-09 21:23:32 +02:00
Laurent Bigonville
1cd02baa2d Move nut metapackage to Section: metapackages 2012-08-09 12:00:55 +02:00
Laurent Bigonville
dbeaea56b0 Add debian/patches/0001-fix-upsmon-regression.patch: Fix upsmon/upssched regression (Taken from upstream) (Closes: #679513) 2012-08-09 12:00:53 +02:00
Laurent Bigonville
a9f5fa9b6f Rename nut-server.lintian-overrides to nut-client.lintian-overrides and adjust overrides now that ups-monitor is shipped in nut-client package (Closes: #677947) 2012-08-09 12:00:19 +02:00
Laurent Bigonville
51c7f9422f debian/nut-server.maintscript: Remove /etc/init.d/nut on upgrade (Closes: #677822) 2012-08-09 11:57:29 +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
357d77d1f2 Fix typo error on nut-ipmi package name 2012-06-12 14:34:34 +02:00
Arnaud Quette
82fda8eb40 Split udev rules files between nut-server and nut-ipmi 2012-06-11 20:27:04 +02:00
Arnaud Quette
ca0de194e2 Create IPMI support package 2012-06-08 23:27:10 +02:00
Arnaud Quette
39a7ae33fb Fix bug #660072 (obsolete udev rules left in /etc) 2012-06-06 21:06:03 +02:00
Arnaud Quette
112d9a7c99 Fix nut-client init script (Closes: #675619)
Fix action "start" and use of log_*_*msg LSB log functions.
Patch from Laurent Bigonville (Closes: #675619)
2012-06-04 11:38:04 +02:00
Arnaud Quette
848fe6dc74 Start packaging 2.6.4-1, closing #671444 + NMU #613643 2012-06-04 11:35:54 +02:00
Arnaud Quette
e16f76b337 Merge commit 'upstream/2.6.4' into debian 2012-06-01 15:55:22 +02:00
Arnaud Quette
fefe62b2bd Imported Upstream version 2.6.4 2012-06-01 15:55:19 +02:00
Arnaud Quette
8b4a877ae9 Bump Standards-Version to 3.9.3 2012-05-02 22:29:43 +02:00
Arnaud Quette
a97c472533 Add missing drivers and manpages 2012-05-02 20:53:04 +02:00
Arnaud Quette
f4447a2e78 Fix output messages content and format 2012-05-02 20:31:36 +02:00