Commit Graph

45 Commits

Author SHA1 Message Date
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
espie
150a0f36fa first tag: update-desktop-database 2018-06-27 21:03:34 +00:00
espie
9732413348 kill the ^VAR idiom in SUBST_VARS, prefer passing explicit options to
update-plist (this will allow me to remove some crazy duplicate code
in pkg_add and update-plist)
2018-05-27 10:56:33 +00:00
zhuk
211b639fb6 Stop installing /usr/local/sbin/smtp: noone uses it, ever the apcupsd itself,
and the name clashes with new shiny /usr/bin/smtp in base.

input & ok sthen@, kirby@ (MAINTAINER)
2018-05-03 11:01:24 +00:00
sthen
db3e17373e fix bad bump 2018-01-12 14:05:10 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
sthen
7c587d8b38 upstream try to avoid dynamic-linking to produce a binary that works more easily
across linux distributions; that's not really useful for us, and the way they
did it (link with cc -lsupc++) doesn't work so well with clang. just switch to
normal linking with c++. ok espie@ kirby@
2017-05-25 16:31:41 +00:00
kirby
78e2208e81 remove patch for bsd driver which is no longer used. 2016-06-08 08:27:04 +00:00
kirby
26cdaaf78a update to apcupsd-3.14.14 2016-06-03 08:11:09 +00:00
kirby
c08367e9be unbreak build after USB_GET_STRING_DESC removal.
spotted by naddy@, thanks!
2016-05-26 08:34:17 +00:00
kirby
4bec13ed81 remove MODGETTEXT_*_DEPENDS after. gettext module is gone 2016-04-25 12:36:09 +00:00
kirby
87cfba3929 - update homepage
- remove gettext module and regen wantlib
 - bump
2016-04-10 12:25:45 +00:00
kirby
bd70e48be0 unbreak build for user not in operator group. spotted by ajacoutot@, thanks
add missing LIB_DEPEND and bump.
2015-07-18 22:14:40 +00:00
kirby
e080e4ce23 update to apcupsd-3.14.13.
the most significatn change is added support of modbus upses.
2015-07-18 12:04:54 +00:00
kirby
dfaea64c7f tell people to disable uhidev not uhid.
input and ok from sthen@
2015-06-18 21:52:02 +00:00
kirby
148f6887d0 Add a note that some USB devices need ugen to work.
The same note was added to sysutils/nut.
All wording by sthen@
2015-01-22 21:23:29 +00:00
ajacoutot
3af8d56751 Powerdown the machine when power fails.
ok kirby@ (maintainer)
2015-01-22 11:45:49 +00:00
ajacoutot
241f3f2ba2 powerdown is gone; new solution will make its way soon.
ok kirby@ (maintainer)
2014-07-15 11:46:25 +00:00
sthen
dcb445207e sync follow graphics/gd update 2014-03-17 23:21:26 +00:00
kirby
9e3e0c8037 unbreak packaging.
reported by nigel@ and RD Thrush, thanks
ok nigel@
2014-02-06 06:32:55 +00:00
kirby
ac5a99a5ea Update apcupsd to 3.14.11. This brings us support for new APC MODBUS
protocol used in the newest APC UPSes.
 - use stricter modes for scripts and data
 - drop apcupsd.conf.5 patch (patch from schwarze@ was commited upstream)
 - use ${VARBASE} instead of hardcoded /var

Reads good to jasper@
2014-02-04 18:34:14 +00:00
espie
955e3f48ec no idea whether these actually need to be 0700, but the fix is needed 2014-01-24 10:48:23 +00:00
kirby
949f9ab058 - split -main and -cgi packages (move apropriate configs to -cgi package)
- switch from MESSAGEs to READMEs
 - update my e-mail
 - regen distinfo while here
with the input from espie@ and sthen@
OK sthen@
2014-01-08 20:46:18 +00:00
ajacoutot
de423d4d84 Bump after devel/gconf2,-main is gone. 2013-09-27 17:49:01 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
sthen
f5a323c546 Don't use ${FLAVOR:L}, we only support lower-case flavours now.
OK ajacoutot@ espie@
2013-02-09 14:49:50 +00:00
sthen
c033eddb06 simplify rc_pre(); this uses rm -f which returns a successful exit code
even if the file doesn't exist, so no need to explicitly test for its
presence. from rpe, ok ajacoutot@
2012-08-27 13:39:59 +00:00
sthen
db0a920335 Better SYSCONFDIR handling (remove the CONFIGURE_STYLE=...old hack) now that
we have BASESYSCONFDIR. Maintainer timeout.
2011-11-28 10:46:19 +00:00
sthen
cf42594994 bugfix update to apcupsd-3.14.10, from maintainer Kirill Bychkov
- while there, add NO_REGRESS
2011-09-20 11:26:14 +00:00
espie
46d3548829 normalize pkgpath 2011-09-16 11:41:38 +00:00
sthen
acc69348be update apcupsd to 3.4.19, switch from net-snmp support to internal snmp
support (removing the separate snmp flavour), and add an rc file.

from maintainer Kirill Bychkov; wantlib-x11 synced by me.
2011-08-30 09:59:30 +00:00
ajacoutot
8e6304f974 deve/gconf2 is about to loose its dependency on x11/gtk+2 so explicitely
register x11/gtk+2 for ports depending on gconf2 that don't have another
dependency that would bring it.

discussed with jasper@
2011-05-14 21:29:03 +00:00
ajacoutot
304b67eef7 New style *_DEPENDS. 2011-03-07 18:54:50 +00:00
jakemsr
ea82525963 the USB_DEVICEINFO ioctl only requires read access to the usb bus.
open the bus with O_RDONLY instead of O_RDWR to not require write
permission.

ok ajacoutot@
2011-02-02 21:56:03 +00:00
espie
6c283d7e98 new depends 2010-11-20 17:22:40 +00:00
espie
632a3518ab move gettext to new WANTLIB 2010-11-06 16:07:00 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
espie
709b054ab9 USE_GROFF=Yes 2010-10-19 07:43:00 +00:00
ajacoutot
04b03547b3 Move to new DEPENDS.
from Kirill Bychkov (maintainer)
2010-10-05 09:04:11 +00:00
sthen
78355991cf add a missing space in MESSAGE-main's sample rc.local fragment; Kirill Bychkov 2010-06-17 18:43:43 +00:00
sthen
5768ad4599 Various small fixes suggested by aja@ 2010-05-27 10:21:39 +00:00
sthen
8005714669 Import ports/sysutils/apcupsd, a daemon for monitoring APC UPSes.
We already have sysutils/apc-upsd which hasn't been maintained upstream
in >10 years, which I intend to rm unless there are objections.

From maintainer Kirill Bychkov with various input from myself.

Apcupsd can be used for power mangement and controlling most of APC's
UPS models. Apcupsd works with most of APC's Smart-UPS models as well as
most simple signalling models such a Back-UPS, and BackUPS-Office.
During a power failure, apcupsd will inform the users about the power
failure and that a shutdown may occur. If power is not restored, a
system shutdown will follow when the battery is exhausted, a timeout
(seconds) expires, or runtime expires based on internal APC calculations
determined by power consumption rates.
2010-05-25 21:56:33 +00:00