Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 503408 Details for
Bug 609282
sys-power/nut should install NUT Monitor
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nut-2.7.3-r1.patch
nut-2.7.3-r1.patch (text/plain), 2.31 KB, created by
Marco Genasci
on 2017-11-10 10:29:51 UTC
(
hide
)
Description:
nut-2.7.3-r1.patch
Filename:
MIME Type:
Creator:
Marco Genasci
Created:
2017-11-10 10:29:51 UTC
Size:
2.31 KB
patch
obsolete
>--- /usr/portage/sys-power/nut/nut-2.7.3.ebuild 2017-09-04 10:04:59.569996104 +0200 >+++ /usr/local/portage/sys-power/nut/nut-2.7.3-r1.ebuild 2017-11-09 11:13:07.480197891 +0100 >@@ -2,10 +2,12 @@ > # Distributed under the terms of the GNU General Public License v2 > > EAPI=5 >-inherit autotools bash-completion-r1 eutils fixheadtails multilib user systemd flag-o-matic toolchain-funcs >+PYTHON_COMPAT=( python2_7 ) >+inherit autotools bash-completion-r1 eutils fixheadtails multilib user systemd flag-o-matic python-single-r1 toolchain-funcs > > MY_P=${P/_/-} > >+ > DESCRIPTION="Network-UPS Tools" > HOMEPAGE="http://www.networkupstools.org/" > # Nut mirrors are presently broken >@@ -16,7 +18,7 @@ > SLOT="0" > KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd" > >-IUSE="cgi ipmi snmp +usb selinux ssl tcpd xml zeroconf" >+IUSE="cgi client ipmi snmp +usb selinux ssl tcpd xml zeroconf" > CDEPEND=" > cgi? ( >=media-libs/gd-2[png] ) > snmp? ( net-analyzer/net-snmp ) >@@ -31,6 +33,10 @@ > >=sys-apps/sed-4 > virtual/pkgconfig" > RDEPEND="${CDEPEND} >+ client? ( >+ gnome-base/libglade >+ ${PYTHON_DEPS} >+ ) > selinux? ( sec-policy/selinux-nut ) > " > >@@ -82,6 +88,7 @@ > # in some cases on old systems it wasn't in the nut group either! > gpasswd -a nut nut 2>/dev/null > warningmsg ewarn >+ python-single-r1_pkg_setup > } > > src_prepare() { >@@ -107,6 +114,10 @@ > -e 's:@LIBSSL_LDFLAGS@:@LIBSSL_LIBS@:' \ > lib/libupsclient{.pc,-config}.in || die #361685 > >+ sed -i \ >+ -e 's:os\.path\.dirname( sys\.argv\[0\] ):\"/usr/share/nut\":' \ >+ scripts/python/app/NUT-Monitor || die >+ > eautoreconf > } > >@@ -217,6 +228,23 @@ > doins scripts/hotplug/nut-usbups.hotplug > fi > >+ if use client; then >+ einfo "Installing NUT-Monitor client" >+ insinto /usr/share/pixmaps/ >+ doins scripts/python/app/nut-monitor.png >+ insinto /usr/share/"${PN}"/pixmaps/ >+ doins scripts/python/app/pixmaps/{on_battery,on_line,var-ro,var-rw,warning}.png >+ insinto /usr/share/applications >+ doins scripts/python/app/nut-monitor.png >+ insinto /usr/share/"${PN}" >+ doins scripts/python/app/gui-1.3.glade >+ insinto /usr/share/applications/ >+ doins scripts/python/app/nut-monitor.desktop >+ python_fix_shebang scripts/python/app/NUT-Monitor >+ python_doexe scripts/python/app/NUT-Monitor >+ python_domodule scripts/python/module/PyNUT.py >+ fi >+ > dobashcomp "${S}"/scripts/misc/nut.bash_completion > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 609282
: 503408