Commit graph

266 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
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
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
Arnaud Quette
19bb945c64 Fix loop between nut-server and nut-client in stop mode 2012-02-06 11:37:46 +01:00
Arnaud Quette
dafbfe8075 Fix control file 2012-02-06 11:36:41 +01:00
Arnaud Quette
1aa25b671d Debian release 2.6.3-2 2012-01-28 23:05:46 +01:00
Arnaud Quette
926c972a29 Update the list of closed bugs 2012-01-24 13:17:02 +01:00
Arnaud Quette
ba62773351 Update patches list 2012-01-24 11:32:39 +01:00
Arnaud Quette
0d4527e4ff Clarify udev explanation (Closes: #529664) 2012-01-05 17:00:59 +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
968d86eb02 add richcomm_usb 2011-11-03 21:49:45 -04: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
Arnaud Quette
18de36389b Debian release 2.6.2-1 2011-09-29 20:17:51 +02:00
Laurent Bigonville
eb01d7e338 Release to unstable 2011-07-17 19:12:45 +02:00
Laurent Bigonville
6be08da846 Fix changelog entry 2011-07-17 19:12:45 +02:00
Laurent Bigonville
9d7ae928f5 debian/control: Adjust Breaks/Replaces 2011-07-17 19:02:43 +02:00
Laurent Bigonville
2ffa6bd479 Add libups-nut-perl package 2011-07-15 15:41:36 +02:00
Laurent Bigonville
1e45c0d270 debian/nut-server.prerm: Remove /var/run/nut during removal 2011-07-15 15:32:31 +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
14ffb4d76b Set nut-powerman-pdu priority to extras 2011-06-27 17:54:03 +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
1106c880a1 Manually merge Arnaud release 2011-06-27 17:28:00 +02:00
Laurent Bigonville
85d2d1a10a debian/nut.README.Debian: Adjust udev rules naming for permissions override (Closes: #529664) 2011-06-03 10:59:23 +02:00
Laurent Bigonville
1b2269cf22 New upstream release (Closes: #614842, #595773, #616104)
* New upstream release (Closes: #614842, #595773, #616104)
  - Refresh debian/patches/0001-fix_spelling_and_typo.patch
  - Drop debian/patches/0002-fix_libupsclient_pc.patch, applied upstream
2011-06-03 10:39:49 +02:00
Laurent Bigonville
0acf1f781a Drop non-existing build-dependencies 2011-05-09 18:47:16 +02:00
Laurent Bigonville
ba4d85c19c Drop autotools build-dependencies (not needed anymore) 2011-05-09 18:46:31 +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
b98ff51068 Bump Standards-Version to 3.9.2 (no further changes) 2011-05-08 21:45:20 +02:00
Laurent Bigonville
21f8749a47 Release to unstable 2011-05-08 21:34:54 +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
06a2c09071 debian/patch/0002-fix_libupsclient_pc.patch: Fix libupsclient.pc (Closes: #624255) 2011-05-07 01:09:58 +02:00
Laurent Bigonville
3323ee6303 debian/nut.lintian-overrides: Fix typo 2011-05-07 01:06:14 +02:00
Laurent Bigonville
facb367831 d/p/0001-fix_spelling_and_typo.patch: Update and refresh 2011-03-02 15:24:22 +01:00
Laurent Bigonville
8aa07bb6f9 debian/nut-snmp.docs: Distribute snmp.txt doc file (Closes: #548295) 2011-03-02 15:04:47 +01:00
Arnaud Quette
92977d203d Release to unstable 2011-02-16 23:32:15 +01:00
Arnaud Quette
db7ab48e75 debian/nut.docs: limit distributed documentation 2011-02-16 22:57:29 +01:00
Arnaud Quette
a876e1ab6d Update debian/changelog to fit reality 2011-02-16 13:40:19 +01:00
Arnaud Quette
6e28b57f51 Complete the list of closed bugs with this new upstream release 2011-02-16 13:34:39 +01:00
Arnaud Quette
9584e8dd52 New upstream release (Closes: #575176, #609597)
* New upstream release (Closes: #575176, #609597)
* debian/patches/*.patch: removed since these are now fixed upstream
* debian/patches/0001-fix_spelling_and_typo.patch,
  debian/patches/series: reworked to match the new upstream release
* debian/nut.install, debian/nut.manpages: remove obsolete reference to
  megatec and megatec_usb, now repectively replaced by blazer_ser and
  blazer_usb
2011-02-02 17:51:42 +01:00
Laurent Bigonville
6d0c7e7b30 Change nut-cgi Recommends to apache2 | httpd-cgi 2011-01-11 22:24:32 +01:00
Laurent Bigonville
4d1040666f debian/patches/0002-fix_udev_action.patch: Use SUBSYSTEM instead of BUS 2011-01-11 01:32:45 +01:00
Laurent Bigonville
eed8994e1e debian/nut.postinst: Only trigger USB subsystem, should Closes: #574769 2011-01-11 01:26:47 +01:00
Laurent Bigonville
89058c95d8 debian/control: Wrap build-dependencies 2010-12-29 15:46:36 +01:00
Laurent Bigonville
0e20f2aa14 Release to unstable and set urgency to medium 2010-12-24 11:46:41 +01:00
Laurent Bigonville
7bcbb63286 debian/compat: Bump debhelper compatibility to 8 2010-12-24 11:37:29 +01:00
Laurent Bigonville
4670a72fca Remove nut.link (nut.link != nut.links) 2010-12-24 11:14:41 +01: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
Laurent Bigonville
c38582d5c2 debian/libupsclient1-dev.install: Do not ship /lib/libupsclient.la anymore 2010-12-24 11:14:41 +01:00
Laurent Bigonville
a180d2ab55 Drop libupsclient1.post{inst,rm}: ldconfig call is added automatically by debhelper 2010-12-24 11:14:41 +01:00
Laurent Bigonville
7320befdae debian/nut.lintian-overrides: Add override for init.d-script-does-not-provide-itself /etc/init.d/ups-monitor 2010-12-24 11:14:37 +01:00
Laurent Bigonville
5b1840b8ff Add debian/nut.links: Re-add /etc/init.d/ups-monitor that was lost for some reasons 2010-12-24 11:14:07 +01:00
Laurent Bigonville
996a34e6b6 Add debian/libupsclient1.symbols file 2010-12-23 23:57:13 +01:00
Laurent Bigonville
44b38c4ff6 debian/patches/0003-fix_spelling_and_typo.patch: Fix some spelling errors 2010-12-23 23:57:10 +01:00
Laurent Bigonville
0b9baae4e9 Remove nut-snmp.lintian-overrides, not needed anymore 2010-12-23 23:56:24 +01:00
Laurent Bigonville
45abd239cf debian/copyright: Fix copyright-with-old-dh-make-debian-copyright 2010-12-23 23:00:11 +01:00
Laurent Bigonville
9675a8feb9 Add myself as Uploaders 2010-12-23 22:45:05 +01:00
Laurent Bigonville
582ac2bbfd debian/nut.manpages: Install manpage nut.conf.5 (Closes: #528222) 2010-12-22 18:58:51 +01:00
Laurent Bigonville
9a6e44c40b debian/nut.postrm: Do not try to remove nut user is deluser is not installed anymore 2010-12-22 18:55:46 +01:00
Laurent Bigonville
58a98cfddc Add debian/patches/0002-fix_udev_action.patch: Also set permission for "change" udev ACTION (Closes: #557178) 2010-12-22 18:29:42 +01:00
Laurent Bigonville
00b3b334a9 debian/watch: Bump version to 3 2010-12-21 16:56:40 +01:00
Laurent Bigonville
fbab08eae5 Add debian/gbp.conf file 2010-12-21 16:56:22 +01:00
Laurent Bigonville
2f40c02cd5 debian/patches/0001-low_speed_usb_ups.patch: Use patch system for changes that were applied directly in the source 2010-12-21 16:56:04 +01:00
Laurent Bigonville
d71a946e56 Switch to dpkg-source 3.0 (quilt) format (Closes: #573601) 2010-12-21 16:55:46 +01:00
Laurent Bigonville
f3d62f1302 Update Vcs-* fields to new GIT repository 2010-12-21 16:55:23 +01:00
Laurent Bigonville
5bc443a878 Bump Standards-Version to 3.9.1 2010-12-21 16:54:42 +01:00
Laurent Bigonville
69151f849c Commit NMU changes from Tim Retout <diocles@debian.org> 2010-12-21 14:11:23 +01:00
Arnaud Quette
31a319d731 Imported Debian patch 2.4.3-1 2010-03-26 00:21:03 +01:00