summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-07-22 04:48:06 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-07-22 04:48:06 +0000
commit5e8d567f604fbd7a3191d0c72fe5ed439835776e (patch)
tree1baafca00d9778b5f08d56eaa9fdea83dd1df4c2 /sys-power
parentBug #141066, version bump. (diff)
downloadhistorical-5e8d567f604fbd7a3191d0c72fe5ed439835776e.tar.gz
historical-5e8d567f604fbd7a3191d0c72fe5ed439835776e.tar.bz2
historical-5e8d567f604fbd7a3191d0c72fe5ed439835776e.zip
As per bug #138389, add a warning message.
Package-Manager: portage-2.1.1_pre3-r1
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/nut/ChangeLog5
-rw-r--r--sys-power/nut/Manifest26
-rw-r--r--sys-power/nut/nut-2.0.3-r1.ebuild14
3 files changed, 24 insertions, 21 deletions
diff --git a/sys-power/nut/ChangeLog b/sys-power/nut/ChangeLog
index f33a3f0b0314..69d52a6fb1d8 100644
--- a/sys-power/nut/ChangeLog
+++ b/sys-power/nut/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/nut
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.11 2006/07/07 04:35:57 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.12 2006/07/22 04:48:06 robbat2 Exp $
+
+ 22 Jul 2006; Robin H. Johnson <robbat2@gentoo.org> nut-2.0.3-r1.ebuild:
+ As per bug #138389, add a warning message.
07 Jul 2006; Joshua Jackson <tsunam@gentoo.org> nut-2.0.3-r1.ebuild:
Stable x86; bug #138389
diff --git a/sys-power/nut/Manifest b/sys-power/nut/Manifest
index 406b7fce7af4..53f7d950d82a 100644
--- a/sys-power/nut/Manifest
+++ b/sys-power/nut/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX lighttpd_nut.conf 961 RMD160 636b45860713453dc88d7ed0392862735e329099 SHA1 1cde03638637f3b2e302ae939605f2f2b7f464fd SHA256 5604058313d3cfeba426c69a756944bc7cc3ddb3813db68582e69dff1a00f7cb
MD5 cb4007ab506c4c49dcf12a7a5516fff9 files/lighttpd_nut.conf 961
RMD160 636b45860713453dc88d7ed0392862735e329099 files/lighttpd_nut.conf 961
@@ -40,18 +37,18 @@ EBUILD nut-2.0.1_pre4.ebuild 3261 RMD160 bbd843faf48eded2af803a1bb7e6c5d05c30549
MD5 8809b41802e3ee3222dc5304021142bb nut-2.0.1_pre4.ebuild 3261
RMD160 bbd843faf48eded2af803a1bb7e6c5d05c30549c nut-2.0.1_pre4.ebuild 3261
SHA256 4b772a64f70a129326768d1f6f1436ff38564983f3dd92ac3c2eb8632e50d83f nut-2.0.1_pre4.ebuild 3261
-EBUILD nut-2.0.3-r1.ebuild 4506 RMD160 1aa4fa65e6f12806abe61ff0e02edc4f5c823684 SHA1 a17b2f06686273cd5281fddbf4277e41d98647ec SHA256 8dc101c87c5eb1af500c51a2dab75d31ea9e56061b4bc6bfeed1135b6aa7ec79
-MD5 e34fa4cf2d598f027f57470342fc42d1 nut-2.0.3-r1.ebuild 4506
-RMD160 1aa4fa65e6f12806abe61ff0e02edc4f5c823684 nut-2.0.3-r1.ebuild 4506
-SHA256 8dc101c87c5eb1af500c51a2dab75d31ea9e56061b4bc6bfeed1135b6aa7ec79 nut-2.0.3-r1.ebuild 4506
+EBUILD nut-2.0.3-r1.ebuild 4792 RMD160 91dd8845a45dc032ca5e0a1a4be8ef3a8fe14ba9 SHA1 56108e6097847b7d739fa51185ed04ee6ac07148 SHA256 013b412e0f39e1a428a11bd798940a9644412d23d7a70d3e946933ff0ca81c7a
+MD5 b7b7546906f3ab4558916aff22702977 nut-2.0.3-r1.ebuild 4792
+RMD160 91dd8845a45dc032ca5e0a1a4be8ef3a8fe14ba9 nut-2.0.3-r1.ebuild 4792
+SHA256 013b412e0f39e1a428a11bd798940a9644412d23d7a70d3e946933ff0ca81c7a nut-2.0.3-r1.ebuild 4792
EBUILD nut-2.0.3.ebuild 4098 RMD160 24a7562be85a1f97e7a66097755c58a8cdb80665 SHA1 51a120c46d6edc46aa92098e8c66cb71bded10dc SHA256 c4d7ac980e746d0a4fbefabd68e2f557b7327f87cb377fa870487bf3d837d35f
MD5 61484ea86863e51b9c9a1652bdeae3bf nut-2.0.3.ebuild 4098
RMD160 24a7562be85a1f97e7a66097755c58a8cdb80665 nut-2.0.3.ebuild 4098
SHA256 c4d7ac980e746d0a4fbefabd68e2f557b7327f87cb377fa870487bf3d837d35f nut-2.0.3.ebuild 4098
-MISC ChangeLog 9052 RMD160 bfdbb80ebed82d4df08909f1b2befc2f40ab38fe SHA1 980ae03a272c62998684fc368797277d18a972dd SHA256 f16aeade936236d7d5d65c686ff98da7202600a91d5ecd8998998cea976db19e
-MD5 22cf173f0e583da33d8a89094f30363b ChangeLog 9052
-RMD160 bfdbb80ebed82d4df08909f1b2befc2f40ab38fe ChangeLog 9052
-SHA256 f16aeade936236d7d5d65c686ff98da7202600a91d5ecd8998998cea976db19e ChangeLog 9052
+MISC ChangeLog 9173 RMD160 fa349dfef9698d981e3c468849652d634ae84a72 SHA1 87b9091ad3b6d7dc9b7ebae63a3af89d00b4f8f8 SHA256 4d272eabe07b7c2b61d7a2e313b009024a2e7edb28a486a188ff920437dc8f94
+MD5 d5136fe2cda84ce1867487239519041d ChangeLog 9173
+RMD160 fa349dfef9698d981e3c468849652d634ae84a72 ChangeLog 9173
+SHA256 4d272eabe07b7c2b61d7a2e313b009024a2e7edb28a486a188ff920437dc8f94 ChangeLog 9173
MISC metadata.xml 219 RMD160 7737543ce33cd412792e332121aa1c6ed452adfc SHA1 6c360930b80d6f4168ba1a486a25ad176505ea63 SHA256 8b2ef93d0d6f03a1ad115651dc46a7752e7775a62a32a7046c3294e50b14725b
MD5 a961228140ef319b2ddba54d99b6e401 metadata.xml 219
RMD160 7737543ce33cd412792e332121aa1c6ed452adfc metadata.xml 219
@@ -71,10 +68,3 @@ SHA256 017d3a946060089d62dfdd42621bacfc1b226a902c114a956e3326f77a2bc7dc files/di
MD5 5a43e7f37bd0612cb2dd452deb50d5a3 files/digest-nut-2.0.3-r1 229
RMD160 4d2ca56c0309afe9db50e1a97681135d9fa208a2 files/digest-nut-2.0.3-r1 229
SHA256 017d3a946060089d62dfdd42621bacfc1b226a902c114a956e3326f77a2bc7dc files/digest-nut-2.0.3-r1 229
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
-
-iD8DBQFEreS72ZWR0Jhg/EsRAkw0AJ9FW4maG5Lr+HS0kMZgNODV2JXDYgCff/mK
-smTbU0RYwNprhvUHqU2ftwk=
-=mVM5
------END PGP SIGNATURE-----
diff --git a/sys-power/nut/nut-2.0.3-r1.ebuild b/sys-power/nut/nut-2.0.3-r1.ebuild
index a1c5fdea4300..57a39e085849 100644
--- a/sys-power/nut/nut-2.0.3-r1.ebuild
+++ b/sys-power/nut/nut-2.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/nut-2.0.3-r1.ebuild,v 1.9 2006/07/07 04:35:57 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/nut-2.0.3-r1.ebuild,v 1.10 2006/07/22 04:48:06 robbat2 Exp $
inherit eutils fixheadtails
@@ -34,7 +34,8 @@ NUT_PRIVATE_FILES="/etc/nut/{upsd.conf,upsd.users,upsmon.conf}"
pkg_setup() {
enewgroup nut 84
- enewuser nut 84 -1 /var/state/nut nut
+ enewuser nut 84 -1 /var/state/nut nut,tty
+ warningmsg
}
src_unpack() {
@@ -171,4 +172,13 @@ pkg_postinst() {
eval chown root:root ${ROOT}${NUT_PUBLIC_FILES} 2>/dev/null
eval chmod 0644 ${ROOT}${NUT_PUBLIC_FILES} 2>/dev/null
+
+ warningmsg
+}
+
+warningmsg() {
+ ewarn "Please note that NUT now runs under the 'nut' user."
+ ewarn "NUT is in the tty group for access to RS-232 UPS."
+ ewarn "However if you use a USB UPS you may need to look at the udev or"
+ ewarn "hotplug rules that are installed."
}