<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3562" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>Ok, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>Now I am rebuilding an el4 rpm based on el5 
src.rpm.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>I will remove the --with-hal option in the configure part. 
In order a full featured rpm, I'm trying to keep every option unless 
hal.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>But I&nbsp;am having problems with dependencies. 
libX11-devel, libXpm-devel, dbus-glib-devel and powerman-devel do not exist in 
RHEL 4... These are for RHEL5.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>Does anyone&nbsp;know the equivalent dependencies for 
RHEL4?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>Another possibility is to disable the option that requires 
thoses dependencies. I didn't find a document explaining that so could you 
help.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>By disabling the troublemaker options, I can build 
a&nbsp;package for my particuliar configuration. Of course it will not help 
others...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>I put the RHEL5 spec file in attachement 
also.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>Merci,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=927293011-03082009><FONT face=Arial 
color=#0000ff size=2>Antoine</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De&nbsp;:</B> Arnaud Quette 
[mailto:aquette.dev@gmail.com] <BR><B>Envoyé&nbsp;:</B> lundi 3 août 2009 
11:09<BR><B>À&nbsp;:</B> Antoine Gatineau<BR><B>Cc&nbsp;:</B> Charles Lepple; 
nut-upsuser<BR><B>Objet&nbsp;:</B> Re: [Nut-upsuser] Usbhip-ups going 
wild<BR></FONT><BR></DIV>
<DIV></DIV>salut Antoine<BR><BR>
<DIV class=gmail_quote>2009/8/3 Antoine Gatineau <SPAN dir=ltr>&lt;<A 
href="mailto:antoine.gatineau@alcatel-lucent.com">antoine.gatineau@alcatel-lucent.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Thanks for 
  the info.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>I use the 
  first approach. </FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>So, if I 
  understood well, the nut-hal support (ie, the --with-hal) is used only for the 
  2nd approach. Udev rules are dealt when using --with-usb.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Is that 
  correct?</FONT></SPAN></DIV></DIV></BLOCKQUOTE>
<DIV><BR>mostly! the udev rules are used in both cases...<BR>&nbsp;</DIV>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV>
  <DIV dir=ltr align=left></DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>If so, I 
  might be able to rebuild the nut-2.4.1 pachage for RHEL4.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>For 
  packaging help (I think I might need some for the next stage ;-) ) do I 
  continue this thread or use the nut-packaging list (or 
  both).</FONT></SPAN></DIV></DIV></BLOCKQUOTE>
<DIV><BR>no, continue using the present thread.<BR>nut-packaging is not really 
active, and I've created it originally as a placeholder for packagers 
discussions (related to the NUT Packaging Standard - NPS - 
topic)<BR><BR>cheers,<BR>Arnaud<BR>-- <BR>Linux / Unix Expert R&amp;D - Eaton - 
<A href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</A><BR>Network 
UPS Tools (NUT) Project Leader - <A 
href="http://www.networkupstools.org/">http://www.networkupstools.org/</A><BR>Debian 
Developer - <A href="http://www.debian.org">http://www.debian.org</A><BR>Free 
Software Developer - <A 
href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</A><BR>&nbsp;</DIV>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV>
  <DIV dir=ltr align=left></DIV><BR>
  <DIV lang=fr dir=ltr align=left>
  <HR>
  <FONT face=Tahoma size=2><B>De&nbsp;:</B> Arnaud Quette [mailto:<A 
  href="mailto:aquette.dev@gmail.com" target=_blank>aquette.dev@gmail.com</A>] 
  <BR><B>Envoyé&nbsp;:</B> vendredi 31 juillet 2009 21:41<BR><B>À&nbsp;:</B> 
  Antoine Gatineau<BR><B>Cc&nbsp;:</B> Charles Lepple; nut-upsuser
  <DIV>
  <DIV></DIV>
  <DIV class=h5><BR><B>Objet&nbsp;:</B> Re: [Nut-upsuser] Usbhip-ups going 
  wild<BR></DIV></DIV></FONT><BR></DIV>
  <DIV>
  <DIV></DIV>
  <DIV class=h5>
  <DIV></DIV>salut Antoine,<BR><BR>
  <DIV class=gmail_quote>2009/7/31 Antoine Gatineau <SPAN dir=ltr>&lt;<A 
  href="mailto:antoine.gatineau@alcatel-lucent.com" 
  target=_blank>antoine.gatineau@alcatel-lucent.com</A>&gt;</SPAN><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I 
    might ask a stupid question but isn't hal used to manage the UPS 
    device<BR>and connection through udev rules?<BR>I though that hal was mostly 
    usefull with usb...<BR><BR>In the nut-hal document, it is said that HAL 
    "allows NUT drivers to feed the<BR>HAL system, which will itself 
    feeds<BR>applications such as the Gnome Power Manager"<BR>Does that mean hal 
    is not used for managing the battery itself but sees the<BR>nut driver as a 
    "pseudo real &nbsp;battery"? In this case, indeed, I do not need<BR>it.<BR>I 
    use upsmon for power management.<BR>
    <DIV></DIV></BLOCKQUOTE>
  <DIV><BR>not at all. there are 2 approaches:<BR>- the standard one, where you 
  have a driver (usbhid-ups), upsd and upsmon.<BR>udev only applies the device 
  privileges rules.<BR>- the Integrated Power Management approach, where NUT USB 
  driver can feed data to HAL (instead of upsd), replacing the basic USB/HID 
  support in HAL.<BR>Note that HAL is being superseded by DeviceKit and 
  DeviceKit-power.<BR>This approach will probably be abandonned...<BR><BR></DIV>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV><BR>-----Message d'origine-----<BR>De : Charles Lepple [mailto:<A 
    href="mailto:clepple@gmail.com" 
    target=_blank>clepple@gmail.com</A>]<BR></DIV>Envoyé : vendredi 31 juillet 
    2009 15:08<BR>
    <DIV>
    <DIV></DIV>
    <DIV>À : Antoine Gatineau<BR>Cc : 'nut-upsuser'<BR>Objet : Re: [Nut-upsuser] 
    Usbhip-ups going wild<BR><BR>On Jul 31, 2009, at 9:03 AM, Antoine Gatineau 
    wrote:<BR><BR>&gt; Indeed, nut depends on some packages not the distribution 
    itself.<BR>&gt; You are surely right.<BR>&gt;<BR>&gt; Anyway, here are the 
    links :<BR>&gt; RHEL 4 : <A href="ftp://rpmfind.net/linux/EPEL/4ES/SRPMS/" 
    target=_blank>ftp://rpmfind.net/linux/EPEL/4ES/SRPMS/</A><BR>&gt; 
    nut-2.2.0-4.el4.src.rpm<BR>&gt; RHEL 5 : nut-2.4.1 found only on this 
    one<BR>&gt; <A href="http://wolfy.fedorapeople.org/nut/SRPM/" 
    target=_blank>http://wolfy.fedorapeople.org/nut/SRPM/</A><BR></DIV></DIV></BLOCKQUOTE>
  <DIV><BR>use that one.<BR>install it and edit the spec.<BR>modifying 
  --with-all by --with-usb should be sufficient.<BR></DIV></DIV><BR 
  clear=all>cheers,<BR>Arnaud<BR>-- <BR>Linux / Unix Expert R&amp;D - Eaton - <A 
  href="http://www.eaton.com/mgeops" 
  target=_blank>http://www.eaton.com/mgeops</A><BR>Network UPS Tools (NUT) 
  Project Leader - <A href="http://www.networkupstools.org/" 
  target=_blank>http://www.networkupstools.org/</A><BR>Debian Developer - <A 
  href="http://www.debian.org" target=_blank>http://www.debian.org</A><BR>Free 
  Software Developer - <A href="http://arnaud.quette.free.fr/" 
  target=_blank>http://arnaud.quette.free.fr/</A><BR><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>