nut: dropped unmaintained port

This commit is contained in:
Tim Biermann 2023-09-24 09:32:52 +02:00
parent f9ef410e49
commit cc82d19b59
Signed by: tb
GPG Key ID: 42F8B4E30B673606
6 changed files with 0 additions and 273 deletions

View File

@ -1,181 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/nut/
-rw-r--r-- root/nut etc/nut/nut.conf.sample
-rw-r--r-- root/nut etc/nut/ups.conf.sample
-rw-r--r-- root/nut etc/nut/upsd.conf.sample
-rw-r--r-- root/nut etc/nut/upsd.users.sample
-rw-r--r-- root/nut etc/nut/upsmon.conf.sample
-rw-r--r-- root/nut etc/nut/upssched.conf.sample
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-- root/root etc/rc.d/upsd
drwxr-xr-x root/root etc/udev/
drwxr-xr-x root/root etc/udev/rules.d/
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/udev/
drwxr-xr-x root/root lib/udev/rules.d/
-rw-r--r-- root/root lib/udev/rules.d/62-nut-usbups.rules
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/al175
-rwxr-xr-x root/root usr/bin/apcsmart
-rwxr-xr-x root/root usr/bin/apcsmart-old
-rwxr-xr-x root/root usr/bin/apcupsd-ups
-rwxr-xr-x root/root usr/bin/bcmxcp
-rwxr-xr-x root/root usr/bin/bcmxcp_usb
-rwxr-xr-x root/root usr/bin/belkin
-rwxr-xr-x root/root usr/bin/belkinunv
-rwxr-xr-x root/root usr/bin/bestfcom
-rwxr-xr-x root/root usr/bin/bestfortress
-rwxr-xr-x root/root usr/bin/bestuferrups
-rwxr-xr-x root/root usr/bin/bestups
-rwxr-xr-x root/root usr/bin/blazer_ser
-rwxr-xr-x root/root usr/bin/blazer_usb
-rwxr-xr-x root/root usr/bin/clone
-rwxr-xr-x root/root usr/bin/clone-outlet
-rwxr-xr-x root/root usr/bin/dummy-ups
-rwxr-xr-x root/root usr/bin/etapro
-rwxr-xr-x root/root usr/bin/everups
-rwxr-xr-x root/root usr/bin/gamatronic
-rwxr-xr-x root/root usr/bin/genericups
-rwxr-xr-x root/root usr/bin/isbmex
-rwxr-xr-x root/root usr/bin/ivtscd
-rwxr-xr-x root/root usr/bin/liebert
-rwxr-xr-x root/root usr/bin/liebert-esp2
-rwxr-xr-x root/root usr/bin/masterguard
-rwxr-xr-x root/root usr/bin/metasys
-rwxr-xr-x root/root usr/bin/mge-shut
-rwxr-xr-x root/root usr/bin/mge-utalk
-rwxr-xr-x root/root usr/bin/microdowell
-rwxr-xr-x root/root usr/bin/microsol-apc
-rwxr-xr-x root/root usr/bin/nut-scanner
-rwxr-xr-x root/root usr/bin/nutdrv_atcl_usb
-rwxr-xr-x root/root usr/bin/nutdrv_qx
-rwxr-xr-x root/root usr/bin/nutdrv_siemens-sitop
-rwxr-xr-x root/root usr/bin/oneac
-rwxr-xr-x root/root usr/bin/optiups
-rwxr-xr-x root/root usr/bin/powercom
-rwxr-xr-x root/root usr/bin/powerpanel
-rwxr-xr-x root/root usr/bin/rhino
-rwxr-xr-x root/root usr/bin/richcomm_usb
-rwxr-xr-x root/root usr/bin/riello_ser
-rwxr-xr-x root/root usr/bin/riello_usb
-rwxr-xr-x root/root usr/bin/safenet
-rwxr-xr-x root/root usr/bin/skel
-rwxr-xr-x root/root usr/bin/solis
-rwxr-xr-x root/root usr/bin/tripplite
-rwxr-xr-x root/root usr/bin/tripplite_usb
-rwxr-xr-x root/root usr/bin/tripplitesu
-rwxr-xr-x root/root usr/bin/upsc
-rwxr-xr-x root/root usr/bin/upscmd
-rwxr-xr-x root/root usr/bin/upscode2
-rwxr-xr-x root/root usr/bin/upslog
-rwxr-xr-x root/root usr/bin/upsrw
-rwxr-xr-x root/root usr/bin/upssched-cmd
-rwxr-xr-x root/root usr/bin/usbhid-ups
-rwxr-xr-x root/root usr/bin/victronups
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libnutclient.a
-rwxr-xr-x root/root usr/lib/libnutclient.la
lrwxrwxrwx root/root usr/lib/libnutclient.so -> libnutclient.so.2.0.0
lrwxrwxrwx root/root usr/lib/libnutclient.so.2 -> libnutclient.so.2.0.0
-rwxr-xr-x root/root usr/lib/libnutclient.so.2.0.0
-rw-r--r-- root/root usr/lib/libnutclientstub.a
-rwxr-xr-x root/root usr/lib/libnutclientstub.la
lrwxrwxrwx root/root usr/lib/libnutclientstub.so -> libnutclientstub.so.1.0.0
lrwxrwxrwx root/root usr/lib/libnutclientstub.so.1 -> libnutclientstub.so.1.0.0
-rwxr-xr-x root/root usr/lib/libnutclientstub.so.1.0.0
-rw-r--r-- root/root usr/lib/libnutscan.a
-rwxr-xr-x root/root usr/lib/libnutscan.la
lrwxrwxrwx root/root usr/lib/libnutscan.so -> libnutscan.so.2.0.0
lrwxrwxrwx root/root usr/lib/libnutscan.so.2 -> libnutscan.so.2.0.0
-rwxr-xr-x root/root usr/lib/libnutscan.so.2.0.0
-rw-r--r-- root/root usr/lib/libupsclient.a
-rwxr-xr-x root/root usr/lib/libupsclient.la
lrwxrwxrwx root/root usr/lib/libupsclient.so -> libupsclient.so.6.0.0
lrwxrwxrwx root/root usr/lib/libupsclient.so.6 -> libupsclient.so.6.0.0
-rwxr-xr-x root/root usr/lib/libupsclient.so.6.0.0
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/upsd
-rwxr-xr-x root/root usr/sbin/upsdrvctl
-rwxr-xr-x root/root usr/sbin/upsmon
-rwxr-xr-x root/root usr/sbin/upssched
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/nut.conf.5.gz
-rw-r--r-- root/root usr/share/man/man5/ups.conf.5.gz
-rw-r--r-- root/root usr/share/man/man5/upsd.conf.5.gz
-rw-r--r-- root/root usr/share/man/man5/upsd.users.5.gz
-rw-r--r-- root/root usr/share/man/man5/upsmon.conf.5.gz
-rw-r--r-- root/root usr/share/man/man5/upssched.conf.5.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/al175.8.gz
-rw-r--r-- root/root usr/share/man/man8/apcsmart-old.8.gz
-rw-r--r-- root/root usr/share/man/man8/apcsmart.8.gz
-rw-r--r-- root/root usr/share/man/man8/apcupsd-ups.8.gz
-rw-r--r-- root/root usr/share/man/man8/bcmxcp.8.gz
-rw-r--r-- root/root usr/share/man/man8/bcmxcp_usb.8.gz
-rw-r--r-- root/root usr/share/man/man8/belkin.8.gz
-rw-r--r-- root/root usr/share/man/man8/belkinunv.8.gz
-rw-r--r-- root/root usr/share/man/man8/bestfcom.8.gz
-rw-r--r-- root/root usr/share/man/man8/bestfortress.8.gz
-rw-r--r-- root/root usr/share/man/man8/bestuferrups.8.gz
-rw-r--r-- root/root usr/share/man/man8/bestups.8.gz
-rw-r--r-- root/root usr/share/man/man8/blazer_ser.8.gz
-rw-r--r-- root/root usr/share/man/man8/blazer_usb.8.gz
-rw-r--r-- root/root usr/share/man/man8/clone.8.gz
-rw-r--r-- root/root usr/share/man/man8/dummy-ups.8.gz
-rw-r--r-- root/root usr/share/man/man8/etapro.8.gz
-rw-r--r-- root/root usr/share/man/man8/everups.8.gz
-rw-r--r-- root/root usr/share/man/man8/gamatronic.8.gz
-rw-r--r-- root/root usr/share/man/man8/genericups.8.gz
-rw-r--r-- root/root usr/share/man/man8/isbmex.8.gz
-rw-r--r-- root/root usr/share/man/man8/ivtscd.8.gz
-rw-r--r-- root/root usr/share/man/man8/liebert-esp2.8.gz
-rw-r--r-- root/root usr/share/man/man8/liebert.8.gz
-rw-r--r-- root/root usr/share/man/man8/masterguard.8.gz
-rw-r--r-- root/root usr/share/man/man8/metasys.8.gz
-rw-r--r-- root/root usr/share/man/man8/mge-shut.8.gz
-rw-r--r-- root/root usr/share/man/man8/mge-utalk.8.gz
-rw-r--r-- root/root usr/share/man/man8/microdowell.8.gz
-rw-r--r-- root/root usr/share/man/man8/microsol-apc.8.gz
-rw-r--r-- root/root usr/share/man/man8/nut-driver-enumerator.8.gz
-rw-r--r-- root/root usr/share/man/man8/nut-recorder.8.gz
-rw-r--r-- root/root usr/share/man/man8/nut-scanner.8.gz
-rw-r--r-- root/root usr/share/man/man8/nutdrv_atcl_usb.8.gz
-rw-r--r-- root/root usr/share/man/man8/nutdrv_qx.8.gz
-rw-r--r-- root/root usr/share/man/man8/nutdrv_siemens_sitop.8.gz
-rw-r--r-- root/root usr/share/man/man8/nutupsdrv.8.gz
-rw-r--r-- root/root usr/share/man/man8/oneac.8.gz
-rw-r--r-- root/root usr/share/man/man8/optiups.8.gz
-rw-r--r-- root/root usr/share/man/man8/powercom.8.gz
-rw-r--r-- root/root usr/share/man/man8/powerpanel.8.gz
-rw-r--r-- root/root usr/share/man/man8/rhino.8.gz
-rw-r--r-- root/root usr/share/man/man8/richcomm_usb.8.gz
-rw-r--r-- root/root usr/share/man/man8/riello_ser.8.gz
-rw-r--r-- root/root usr/share/man/man8/riello_usb.8.gz
-rw-r--r-- root/root usr/share/man/man8/safenet.8.gz
-rw-r--r-- root/root usr/share/man/man8/solis.8.gz
-rw-r--r-- root/root usr/share/man/man8/tripplite.8.gz
-rw-r--r-- root/root usr/share/man/man8/tripplite_usb.8.gz
-rw-r--r-- root/root usr/share/man/man8/tripplitesu.8.gz
-rw-r--r-- root/root usr/share/man/man8/upsc.8.gz
-rw-r--r-- root/root usr/share/man/man8/upscmd.8.gz
-rw-r--r-- root/root usr/share/man/man8/upscode2.8.gz
-rw-r--r-- root/root usr/share/man/man8/upsd.8.gz
-rw-r--r-- root/root usr/share/man/man8/upsdrvctl.8.gz
-rw-r--r-- root/root usr/share/man/man8/upsdrvsvcctl.8.gz
-rw-r--r-- root/root usr/share/man/man8/upslog.8.gz
-rw-r--r-- root/root usr/share/man/man8/upsmon.8.gz
-rw-r--r-- root/root usr/share/man/man8/upsrw.8.gz
-rw-r--r-- root/root usr/share/man/man8/upssched.8.gz
-rw-r--r-- root/root usr/share/man/man8/usbhid-ups.8.gz
-rw-r--r-- root/root usr/share/man/man8/victronups.8.gz
drwxr-xr-x root/root usr/share/nut/
-rw-r--r-- root/root usr/share/nut/cmdvartab
-rw-r--r-- root/root usr/share/nut/driver.list
drwxr-xr-x root/root usr/share/nut/solaris-init/
-rwxr-xr-x root/root usr/share/nut/solaris-init/nut
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/state/
drwxrwx--- root/nut var/state/ups/

View File

@ -1,6 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xEykk5135qdUMvPv+VOMOQeuTCSlLS9wQGtRO8VbIA10pOvr3fNHwdx5LPMx//um1oJUeyp5trJ4XSun+iQQA0=
SHA256 (Pkgfile) = 457484e0cc78a0d9277133749f2003d6054aab348857da94cc4db9b27da8b962
SHA256 (.footprint) = d81ef8f38c18b2f891e30c523400bd9b5b3abe8e8bfc31b5cb6c0c8013d493ef
SHA256 (nut-2.8.0.tar.gz) = c3e5a708da797b7c70b653d37b1206a000fcb503b85519fe4cdf6353f792bfe5
SHA256 (upsd) = 3aef2c1ea325ef9b7d799d244a4fd633ec378e963776bf643273c9d6ee83172a

View File

@ -1,35 +0,0 @@
# Description: Network UPS Tools. Monitor of UPS hardware.
# URL: http://www.networkupstools.org/
# Maintainer: UNMAINTAINED
# Depends on: libusb openssl
# Optional: avahi neon nss
name=nut
version=2.8.0
release=1
source=(http://www.networkupstools.org/source/${version%.*}/$name-$version.tar.gz
upsd)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--with-user=nut \
--with-group=nut \
--with-pidpath=/run \
--sysconfdir=/etc/$name \
--datadir=/usr/share/$name \
--localstatedir=/var/$name
make
make DESTDIR=$PKG install
#if you dont want config templates uncomment the next line
#rm $PKG/etc/nut/*
find $PKG/etc/nut -type f -print0 | xargs -0 chown root:nut
install -d $PKG/etc/udev/rules.d
install -d -m 0770 -o root -g nut $PKG/var/state/ups
install -D -m 0754 $SRC/upsd $PKG/etc/rc.d/upsd
}

View File

@ -1,21 +0,0 @@
PRE-INSTALL
- Need to create a group and user for ups monitoring. (user,group:nut)
- Add support for USB at kernel:
########################################################
Device Drivers --->
USB support --->
[*] Support for Host-side USB
[?] EHCI HCD (USB 2.0) support
[?] OHCI HCD support
[?] UHCI HCD (most Intel and VIA) support
[*] USB Human Interface Device (full HID) support
[*] /dev/hiddev raw HID device support
########################################################
POST-INSTALL
- Remember to change perms in config files:
chown root:nut upsd.conf upsd.users
chmod 0640 upsd.conf upsd.users
- Remember to use man to setup nut.

View File

@ -1,6 +0,0 @@
#!/bin/sh
getent group nut || /usr/sbin/groupadd nut
getent passwd nut || /usr/sbin/useradd -d /var/empty -g nut \
-c "Network UPS Tools" -s /bin/sh nut
/usr/bin/passwd -l nut

View File

@ -1,24 +0,0 @@
#!/bin/sh
#
# /etc/rc.d/upsd: start/stop ups daemon
#
case "$1" in
start)
/usr/bin/upsdrvctl start
/usr/sbin/upsd
;;
stop)
/usr/sbin/upsd -c stop
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage: $0 [start|stop|restart]"
exit 1
esac
# End of file