was conflicting with C++ headers, leading to the following errors:
In file included from /usr/include/c++/4.2/iostream:45,
from ../include/XmlFileWriter.h:36,
from pflogx.cpp:36:
/usr/include/c++/4.2/ostream:566:47: error: macro "flush" passed 2
arguments, but takes just 1
This header was required before PF_* enums were moved to <netpfil/pf/pf.h>,
which applies to all supported versions of FreeBSD. Thus, do not #include
offending and nowadays useless header file, only #include <netpfil/pf/pf.h>
(which is #included by <net/pfvar.h>) when its definitions are needed.
Tested on: i386, amd64, powerpc, sparc64
Snooze waits until a particular time and then runs a command.
Together with a service supervision system such as runsv(8) (from
sysutils/runit), this can be used to replace cron(8).
Benefits over cron(8):
- mnemonic syntax
- no overlapping job runs possible
- filtering by ISO week and day of year
- no centralized daemon required (no fuzzing with multiple
users/permissions)
- can easily disable jobs or force their execution
instantly
- have custom logs
- very robust with respect to external time changes
- can use a file timestamp to ensure minimum waiting time between two
runs, even across reboots
- randomized delays
- variable slack
- ad-hoc usage possible, just run the program from command line
WWW: https://github.com/chneukirchen/snooze
htop only requires lsof for its open files view. Move the lsof run
dependency to an option so that it can be removed by users.
While here
- Add LICENSE_FILE
- Follow http://htop.sourceforge.net/ redirect to
http://hisham.hm/htop/ and update WWW
PR: 224241
Approved by: gaod@hychen.org (maintainer timeout, 2 weeks)
There were some questions about the version. The source code has 1.2 in it,
but it hasn't been tagged on github. So I left it as g20171216.
PR: 224470
Submitted by: Dmitri Goutnik <dg@syrec.org>
Approved by: adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D13563
- in general, if we think that the code is not architecture-specific,
and instead just enables x86 assembler by default, those should
use BROKEN rather than IGNORE. This will allow them to be attempted
with TRYBROKEN.
- spell i386 as x86.
- spell asm as assembler.
- pet portlint.
These changes should have no effect on tier-1 builds.
Approved by: portmgr (tier-2 blanket)
A64-Olinuxino is a Single Board Computer based on the Allwinner A64 SoC.
Reviewed by: bapt
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D13562
- Do not overwrite do-build, it is not necessary
- Ensure the env variables are respected during configure phase
- Now that we use the regular do-build kernel we can pass gmake variables via
arguments which allows to overwrites predefine ones without custom patches
- Force verbose mode when building to see what command line is invoke, in in
particular which compiler is called
- Overwrite NOSTDINC_FLAGS because on freebsd we do actually want to use our
regular standard include files
- Register the dependency on libssl/libcrypto
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D13543