Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/net
In directory sc8-pr-cvs17:/tmp/cvs-serv1993

Added Files:
        nut.info 
Log Message:
Backport of NUT to 10.3/unstable. This should work, unless NET-SNMP is
substantially different from 10.4.


--- NEW FILE: nut.info ---
Package: nut
Version: 2.0.5
Revision: 1

# (See splitoffs)
Depends: 
BuildDepends: pkgconfig, gd2, libusb, system-openssl-dev
Recommends: nut-cgi, nut-usb
Suggests: nut-snmp

Source: http://random.networkupstools.org/source/2.0/%n-%v.tar.gz
Source-MD5: b08fde86191154bbcfda860f95a5dca2

DocFiles: ChangeLog COPYING CREDITS INSTALL NEWS README UPGRADING

# From http://wiki.finkproject.org/index.php/Fink:Policy:system-openssl
SetCPPFLAGS:        -I%p/lib/system-openssl/include
SetCFLAGS:          -I%p/lib/system-openssl/include
SetCXXFLAGS:        -I%p/lib/system-openssl/include

SetLDFLAGS:         -L%p/lib/system-openssl/lib
 
ConfigureParams: <<
  --with-ssl \
  --with-cgi \
  --with-cgipath=%p/lib/nut-cgi-bin \
  --with-gd-includes=-I%p/include \
  --with-gd-libs='-L%p/lib -lgd'\
  --mandir=%p/share/man   \
  --infodir=%p/share/info \
  --datadir=%p/share/nut  \
  --with-htmlpath=%p/share/nut/html  \
  --with-drvpath=%p/lib/nut \
  --with-pkgconfig-dir=%p/lib/pkgconfig \
  --with-statepath=%p/var/run/ups \
  --with-pidpath=%p/var/run \
  --sysconfdir=%p/etc/nut
<<

CompileScript: <<
  ./configure %c
  make all usb snmp
<<

InstallScript: <<
   make DESTDIR=%d install
   make DESTDIR=%d install-conf
   make DESTDIR=%d install-cgi
   make DESTDIR=%d install-usb
   make DESTDIR=%d install-snmp
   install -d -m 755 %i/share/doc/%n
   cp -pr docs %i/share/doc/%n
   install -d -m 775 %i/var/run/ups
<<

PostInstScript: <<
   chmod 775 %p/var/run/ups
   chgrp nobody %p/var/run/ups
<<

SplitOff: <<
  Package: %N-cgi
  Depends: gd2-shlibs
  Files: <<
    lib/nut-cgi-bin/*
    share/nut/html/*
    share/man/man5/upsstats.html.5
    share/man/man5/hosts.conf.5
    share/man/man5/upsset.conf.5
    share/man/man8/upsimage.cgi.8
    share/man/man8/upsset.cgi.8
    share/man/man8/upsstats.cgi.8
  <<
  Description: Network UPS Tools - CGI graphing tools
<<

SplitOff2: <<
  Package: %N-usb
  Depends: libusb-shlibs, %N
  Files: <<
    lib/nut/newhidups
    lib/nut/tripplite_usb
    lib/nut/bcmxcp_usb
    share/man/man8/newhidups.8
    share/man/man8/tripplite_usb.8
    share/man/man8/bcmxcp_usb.8
  <<
  Description: Network UPS Tools - USB drivers
<<

SplitOff3: <<
  Package: %N-snmp
  Depends: %N
  Files: <<
    lib/nut/snmp-ups
    share/man/man8/snmp-ups.8
  <<
  Description: Network UPS Tools - SNMP driver
<<

Description: Network UPS Tools - core
DescDetail: <<
NUT is a client/server uninterruptible power supply (UPS) monitoring system
that permits the sharing of one (or more) UPS between several machines.  The
'server' monitors the UPS and notifies the 'clients' when the UPS is on
battery or has a low battery.

If you have a serial UPS, you will need a USB-to-serial converter and OS X
drivers for the converter. (PalmConnect converters will not work with the
Palm-provided driver.) In this case, install the base "nut" package.

If your UPS connects via a USB cable, install the "nut-usb" package. This
covers most APC Back-UPS models, as well as MGE Ellipse, Comet, Nova,
Evolution, and Protection Center units. Some Belkin models may be supported.
Tripp Lite USB models that use newhidups (especially ones with LCD in their
name) should work, but the tripplite_usb driver currently cannot open
entry-level Tripp Lite USB devices.

To graphically view the status of your UPSes, install the "nut-cgi" package.
<<

DescUsage:<<
You will need to read the documentation in %p/share/doc/%n/docs to learn how to
set up NUT to monitor your UPS and shut down your machine when the UPS battery
is low.

Note that some USB UPSes may already be supported by OS X, and the NUT drivers
may have trouble interoperating.
<<

DescPackaging:<<
$LastChangedRevision: 371 $ in my local repository.
<<

License: GPL
Homepage: http://random.networkupstools.org/
Maintainer: Charles Lepple <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to