Re: please test sysutlis/apcupsd update

2008-07-08 Thread Stefan Lambrev

Hi,

Ion-Mihai Tetcu wrote:

On Tue, 01 Jul 2008 15:19:29 +0300
Stefan Lambrev [EMAIL PROTECTED] wrote:

  

Greetings Ion-Mihai,

Ion-Mihai Tetcu wrote:


On Tue, 01 Jul 2008 13:38:49 +0300
Stefan Lambrev [EMAIL PROTECTED] wrote:

[ .. ]

  
  

===  Patching for apcupsd-3.14.4
===  Applying FreeBSD patches for apcupsd-3.14.4
Ignoring previously applied (or reversed) patch.
3 out of 3 hunks ignored--saving rejects to 
./src/drivers/usb/bsd/bsd-usb.c.rej

= Patch patch-src__drivers__usb__bsd__bsd-usb.c failed to apply
cleanly. ** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade.54579.0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=apcupsd-3.14.3_1 UPGRADE_PORT_VER=3.14.3_1 make

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! sysutils/apcupsd (apcupsd-3.14.3_1)   (patch error)

Can you please send me tar of your port? May be the diff is broken?



That file was removed as it was integrated upstream; I did diff -u
instead of diff -uN. Thanks for catching this.

Try the one attached or just rm the file.


  
  

Removing the old patch fix the compilation problem.
The new version of apcups (usb) works fine with: ugen0: American
Power Conversion Back-UPS CS 500 FW:808.q7.I USB FW:q7, class 0/0,
rev 1.10/0.06, addr 2 on uhub0
I hope to find time to test and with Smart-UPS 3000 RM (serial) and 
network too.

I just tested and can confirm that new port works fine with APC 
Smart-UPS 3000 RM



I missed -N to cvs diff. The patch is no longer useful since it has
been incorporated upstream. I uploaded the good patch:

http://t32.tecnik93.com/FreeBSD/ports/apcupsd/port/apcupsd-3.14.3_2-to-3.14.4.diff

Thanks,

  


--

Best Wishes,
Stefan Lambrev
ICQ# 24134177

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: please test sysutlis/apcupsd update

2008-07-01 Thread Stefan Lambrev

Hi,

Sorry I didn't reply earlier.

Ion-Mihai Tetcu wrote:

Hi,


At:
http://t32.tecnik93.com/FreeBSD/ports/apcupsd/port/apcupsd-3.14.3_2-to-3.14.4.diff
you'll find a diff (also attached to this mail) which updates
sysutlis/apcupsd to the latest stable version.

cd /usr/ports/sysutils/apcupsd  \
fetch 
http://T32.TecNik93.com/FreeBSD/ports/apcupsd/port/apcupsd-3.14.3_2-to-3.14.4.diff 
 \
patch  apcupsd-3.14.3_2-to-3.14.4.diff  \
make clean  make config  make install clean

Notable changes are:
- it now builds using gmake
- NLS and POWERFLUTE are removed
- POLLTIME directive to control UPS polling interval. This directive
specifies the number of seconds to delay between polling the UPS for
status. Previously, NETTIME allowed this to be adjusted for network
connections only (snmp, pcnet, nis-net). POLLTIME configures the delay
for all connection types. NETTIME is accepted as a synonym for 
compatibility with old config files.

- you can now use the graphical client via GAPCMON OPTION
- it won't build on anything pre 6.3R

I need to know if it works OK for you, especially the CGI and CAPGCOM.

If I don't receive any complains I plan to commit this in 3 days.


Thanks,

  

---  Upgrading 'apcupsd-3.14.3_1' to 'apcupsd-3.14.4' (sysutils/apcupsd)
---  Building '/usr/ports/sysutils/apcupsd'
===  Cleaning for apcupsd-3.14.4
===  Found saved configuration for apcupsd-3.14.4
===  Extracting for apcupsd-3.14.4
= MD5 Checksum OK for apcupsd-3.14.4.tar.gz.
= SHA256 Checksum OK for apcupsd-3.14.4.tar.gz.
= MD5 Checksum OK for apcupsd.pdf.
= SHA256 Checksum OK for apcupsd.pdf.
===  Patching for apcupsd-3.14.4
===  Applying FreeBSD patches for apcupsd-3.14.4
Ignoring previously applied (or reversed) patch.
3 out of 3 hunks ignored--saving rejects to 
./src/drivers/usb/bsd/bsd-usb.c.rej

= Patch patch-src__drivers__usb__bsd__bsd-usb.c failed to apply cleanly.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade.54579.0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=apcupsd-3.14.3_1 UPGRADE_PORT_VER=3.14.3_1 make

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
   ! sysutils/apcupsd (apcupsd-3.14.3_1)   (patch error)

Can you please send me tar of your port? May be the diff is broken?

--

Best Wishes,
Stefan Lambrev
ICQ# 24134177

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: please test sysutlis/apcupsd update

2008-07-01 Thread Stefan Lambrev

Greetings Ion-Mihai,

Ion-Mihai Tetcu wrote:

On Tue, 01 Jul 2008 13:38:49 +0300
Stefan Lambrev [EMAIL PROTECTED] wrote:

[ .. ]

  

===  Patching for apcupsd-3.14.4
===  Applying FreeBSD patches for apcupsd-3.14.4
Ignoring previously applied (or reversed) patch.
3 out of 3 hunks ignored--saving rejects to 
./src/drivers/usb/bsd/bsd-usb.c.rej

= Patch patch-src__drivers__usb__bsd__bsd-usb.c failed to apply
cleanly. ** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade.54579.0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=apcupsd-3.14.3_1 UPGRADE_PORT_VER=3.14.3_1 make

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! sysutils/apcupsd (apcupsd-3.14.3_1)   (patch error)

Can you please send me tar of your port? May be the diff is broken?



That file was removed as it was integrated upstream; I did diff -u
instead of diff -uN. Thanks for catching this.

Try the one attached or just rm the file.


  

Removing the old patch fix the compilation problem.
The new version of apcups (usb) works fine with: ugen0: American Power 
Conversion Back-UPS CS 500 FW:808.q7.I USB FW:q7, class 0/0, rev 
1.10/0.06, addr 2 on uhub0
I hope to find time to test and with Smart-UPS 3000 RM (serial) and 
network too.


--

Best Wishes,
Stefan Lambrev
ICQ# 24134177

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: please test sysutlis/apcupsd update

2008-07-01 Thread Ion-Mihai Tetcu
On Tue, 01 Jul 2008 15:19:29 +0300
Stefan Lambrev [EMAIL PROTECTED] wrote:

 Greetings Ion-Mihai,
 
 Ion-Mihai Tetcu wrote:
  On Tue, 01 Jul 2008 13:38:49 +0300
  Stefan Lambrev [EMAIL PROTECTED] wrote:
 
  [ .. ]
 

  ===  Patching for apcupsd-3.14.4
  ===  Applying FreeBSD patches for apcupsd-3.14.4
  Ignoring previously applied (or reversed) patch.
  3 out of 3 hunks ignored--saving rejects to 
  ./src/drivers/usb/bsd/bsd-usb.c.rej
  = Patch patch-src__drivers__usb__bsd__bsd-usb.c failed to apply
  cleanly. ** Command failed [exit code 1]: /usr/bin/script -qa 
  /tmp/portupgrade.54579.0 env UPGRADE_TOOL=portupgrade 
  UPGRADE_PORT=apcupsd-3.14.3_1 UPGRADE_PORT_VER=3.14.3_1 make
  ** Fix the problem and try again.
  ** Listing the failed packages (-:ignored / *:skipped / !:failed)
  ! sysutils/apcupsd (apcupsd-3.14.3_1)   (patch error)
 
  Can you please send me tar of your port? May be the diff is broken?
  
 
  That file was removed as it was integrated upstream; I did diff -u
  instead of diff -uN. Thanks for catching this.
 
  Try the one attached or just rm the file.
 
 

 Removing the old patch fix the compilation problem.
 The new version of apcups (usb) works fine with: ugen0: American
 Power Conversion Back-UPS CS 500 FW:808.q7.I USB FW:q7, class 0/0,
 rev 1.10/0.06, addr 2 on uhub0
 I hope to find time to test and with Smart-UPS 3000 RM (serial) and 
 network too.
 

I missed -N to cvs diff. The patch is no longer useful since it has
been incorporated upstream. I uploaded the good patch:

http://t32.tecnik93.com/FreeBSD/ports/apcupsd/port/apcupsd-3.14.3_2-to-3.14.4.diff

Thanks,

-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - [EMAIL PROTECTED], PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature