In some systems where the shutdown can take a while (like in bhyve
environment), users may want to change the default shutdown behavior.
PR: 237600
Reported by: Victor Sudakov <vas@mpeks.tomsk.su>
Add support for running multiple instances of apcupsd[1]
Add an option to use `shutdown -p` rather than `shutdown -h`[2]
Set as @sample several scripts that can be customized[3]
Add an option for build with MODBUS USB driver support (Enabled by default)[4]
Set LICENSE_FILE [5]
Sort OPTIONS and make a small adjustment in pkg-message
Take maintainer'ship
PR: 180336 [1]
PR: 187924 [2][3]
PR: 215809 [4]
PR: 220002 [5]
Submitted by: leres@ee.lbl.gov [1]
Submitted by: tdb [3]
Submitted by: ipluta@wp.pl [4]
Submitted by: takefu@airport.fm [5]
Approved by: garga (mentor)
Differential Revision: https://reviews.freebsd.org/D11224
- Rename option USB -> USB_DRV for consistency with other drivers and
provide better option names while I'm here
- Remove hand-rolled `post-install' target now that @sample files are
installed properly
- Reorder some knobs and drop CPPFLAGS/LIBS now that those seem to
be detected correctly
PR: 215153 [1]
This code is related to gcc 3 and is now useless; as a side effect, it sets LD to CC while it should be CXX, breaking the build:
ModbusComm.cpp:(.text+0x5f4): undefined reference to `operator new[](unsigned int)'
Submitted by: pkg-fallout
Approved by: portmgr blanket
- Add license (GPLv2)
- Fix a typo which will cause wrong CONFLICT relationship when GAPCMON is
selected.
PR: ports/198408
Submitted by: Danilo G. Baio (dbaio bsd com br)
Approved by: maintainer timeout (20 days)
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream. Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.
Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix. Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS. This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.
PR: 190592
Exp-run by: antoine
Approved by: portmgr (antoine)
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
way.
This fixes the failure to find gd.h thus enabling building WITH_CGI. [1]
The strange thing is that it doen't fail w/o CONIFGURE_ENV on tindys, only on
any other machine.
Reported by: Robert Huff, Simon Wright [1]
* docs: Document the /refresh switch for apctray.
* apctest: Do not create pid file. There is little reason for it
since apctest is a command-line tool, not a daemon. Plus nothing
ever deletes the file so it interferes with apcupsd operation.
* gapcmon: Network connect timeout fix.
* Fix a few unsafe uses of sprintf and strcat.
* gapcmon: Iconify fixes for KDE
* Fix LOWBATT glitch handling bug that could cause us to act on a
LOWBATT signal immediately instead of waiting for the debounce time.
* Support shutting down apcupsd instances running in other sessions
(such as terminal services or remote desktop sessions).
* docs: PCNET minimum password length is 15 chars, default username
is 'apc', no known way to change the username.
* Makefile: Fix dependency build errors on Darwin and other platforms.
('echo -n' is not portable; use 'tr' to strip newline instead)
Tested by: beech@
the bundled gapcmon in the same place
- bump PORTREVISION
This is a temporary fix as his suggestion from the PR to depend on
sysutils/gapcmon is good but need further tests.
PR: ports/126932
Submitted by: Jason E. Hale (sysutils/gapcmon maintainer)
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
Tested by: Stefan Lambrev <stefan.lambrev@moneybookers.com>
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)