Port details |
- apcctrl Fork of apcupsd 3.14.x with support for Brazilian APC nobreaks
- 0.8.21_2 sysutils
=2 0.8.21_2Version of this port present on the latest quarterly branch. - Maintainer: lobo@bsd.com.br
 - Port Added: 2019-10-31 23:44:25
- Last Update: 2025-03-17 04:02:08
- Commit Hash: e87d813
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- License: GPLv2
- WWW:
- http://www.apcctrl.com.br
- Description:
- ApcCtrl is an unofficial branch from apcupsd 3.14.x. It can be
used for controlling Brazilian APC UPS models (herited from Microsol).
Models supported or in tests:
- BACK-UPS BR 1200VA (BZ1200BI-BR)
- BACK-UPS BR 1500VA (BZ1500PBI-BR)
- BACK-UPS BR 2200VA (BZ2200BI-BR and BZ2200I-BR)
- SMART-UPS BR 1000VA (SUA1000BI-BR and SOLIS1000BI)
- SMART-UPS BR 1500VA (SUA1500BI-BR and SOLIS1500BI)
- SMART-UPS BR 2000VA (SUA2000BI-BR)
- SMART-UPS BR 3000VA (SUA3000BI-BR)
- STAY 800 (PS800)
- STAY 700 (PS700)
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- apcctrl>0:sysutils/apcctrl
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/sysutils/apcctrl/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/apcctrl
- pkg install apcctrl
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: apcctrl
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1572562006
SHA256 (apcctrl-0.8.21.tar.gz) = ad3bc43de922f25e98db6e97390034600d094b257458b25ee8677b1c63b0f1bf
SIZE (apcctrl-0.8.21.tar.gz) = 3531048
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for apcctrl-0.8.21_2:
APCDUMB_DRV=off: Dumb UPS driver support
APCSMART_DRV=off: APC SmartUPS serial driver support
BRAZIL_DRV=on: Brazilian APC-Microsol support
CGI=off: Build CGI programs to show status
GAPCMON=off: Build GTK GUI front-end
MODBUS=off: MODBUS driver support
MODBUS_USB=off: MODBUS USB driver support
PCNET_DRV=off: PowerChute Network Shutdown driver support
SHUTDOWN_POWEROFF=off: Shutdown behavior with Halt and Power off
SNMP_DRV=off: SNMP driver support
SNMP_DRV_OLD=off: Old SNMP driver support
TCP_WRAPPERS=off: TCP wrapper support
TEST_DRV=off: Test driver support
USB_DRV=off: USB driver support
===> Use 'make config' to modify these settings
- Options name:
- sysutils_apcctrl
- USES:
- gmake
- pkg-message:
- For install:
-
Sample files and scripts are installed in /usr/local/etc/apcctrl.
Some examples of devices:
/dev/ttyU0 /dev/ttyUSB.nobreak
/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2
/dev/ttyACM0 /dev/ttyACM1 /dev/ttyACM2
Add apcctrl_enable=YES to your /etc/rc.conf[.local] to have apcctrl
starting up at boot time.
For default, apcctrl starts with `--kill-on-powerfail` parameter.
Please, read its man page, and if this is not the intended behavior you want,
change it accordingly.
In some systems where the shutdown can take a while (like in bhyve environment),
you may want to change this behavior as follows:
Set apcctrl_flags="--term-on-powerfail" on your /etc/rc.conf[.local].
Add this to /etc/rc.shutdown, after the "Insert other shutdown procedures here"
line:
test -f /var/run/powerfail && /usr/local/sbin/apcctrl --hibernate
or
test -f /var/run/powerfail && /usr/local/sbin/apcctrl --power-off
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.8.21_2 17 Mar 2025 04:02:08
    |
Charlie Li (vishwin)  |
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.
No functional or package changes. |
0.8.21_2 25 Feb 2024 14:30:24
    |
Muhammad Moinur Rahman (bofh)  |
sysutils/apcctrl: Moved man to share/man
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.8.21_1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.8.21_1 20 Jul 2022 14:23:05
    |
Tobias C. Berner (tcberner)  |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
0.8.21_1 06 Apr 2021 14:31:13
    |
Mathieu Arnold (mat)  |
all: Remove all other $FreeBSD keywords. |
0.8.21_1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.8.21_1 04 May 2020 21:31:39
  |
dinoex  |
- update libgd to 2.3.0
- new option RAQM
- resurrect deprecated gdlib-config
- bump dependend ports |
0.8.21 31 Oct 2019 23:43:55
  |
dbaio  |
Add sysutils/apcctrl: Fork of apcupsd 3.14.x with support for Brazilian APC
nobreaks
ApcCtrl is an unofficial branch from apcupsd 3.14.x. It can be
used for controlling Brazilian APC UPS models (herited from Microsol).
Models supported or in tests:
- BACK-UPS BR 1200VA (BZ1200BI-BR)
- BACK-UPS BR 1500VA (BZ1500PBI-BR)
- BACK-UPS BR 2200VA (BZ2200BI-BR and BZ2200I-BR)
- SMART-UPS BR 1000VA (SUA1000BI-BR and SOLIS1000BI)
- SMART-UPS BR 1500VA (SUA1500BI-BR and SOLIS1500BI)
- SMART-UPS BR 2000VA (SUA2000BI-BR)
- SMART-UPS BR 3000VA (SUA3000BI-BR)
- STAY 800 (PS800)
- STAY 700 (PS700)
WWW: http://www.apcctrl.com.br
PR: 241623
Submitted by: Mario Lobo <lobo@bsd.com.br> |