locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
CLI and Library to interface with network devices in Oxidized, a RANCID
replacement.
WWW: https://github.com/ytti/oxidized-script
PR: 203374
Submitted by: Nick Hilliard <nick@foobar.org> (with modifications)
Web userinterface and RESTful API for Oxidized, a network device
configuration backup tool.
WWW: https://github.com/ytti/oxidized-web
PR: 203374
Submitted by: Nick Hilliard <nick@foobar.org> (with modifications)
If you want to set WRKSRC, set GH_PROJECT instead.
- The GitHub URLs are case insensitive, but the distribution files you
get out of them are not.
- If the repository was renamed, the old URL will still work, but the
distribution name will be ith the new name.
Sponsored by: Absolight
Many ports passed ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-L/usr/lib -lz"
which is unsafe at least with lang/gcc* that override some system headers
and have newer libgcc_s.so that our old version in base may not be
forward-compatible with.
- Allow mysql root password to be empty.
- No need to set ccnet peer name anymore.
- Fixed a typo in upgrade scripts.
- jpeg mime type
- Add record to GarbageRepos when delete a broken repo
- Get content-length from header when handling web upload.
PR: 215597
Submitted by: Ultima1252@gmail.com (maintainer)
Reviewed by: matthew
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D8985
Upon further discussion, it was revealed that base ncurses will satisfy
requirements, so adjust USES accordingly.
discussed-with: pi (originally committer)
Nagnu is a curses/terminal based dashboard for nagios showing current
status of hosts and services.
WWW: https://github.com/frlen/nagnu
PR: 208846
Submitted by: Fredrik Lennmark <fredrik@min-hemsida.net>
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.
PR: 214780
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Braces are not shell metacharacters, and they do not need to be quoted.
By the time find parses its arguments and dicovers them, the quoting
will have been removed by the shell anyway.
Sponsored by: Absolight
Make sure both stdin and stderr are redirected since daemon(8) forks and this
would otherwise leave scripted restarts haning. See #213412 and #214643 for a
more complete discussion.
PR: 214738, 213412, 214643
Submitted by: Stefan Lambrev
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
The example config files for Apache had nonsense variables strewn
throughout as we do not use the interactive build process for Xymon
which would replace them after asking the user a series of questions.
Sane defaults have been chosen to make the examples more useful to the
user.
- fix reload under daemon(8) using pkill
- use new upstream master site
- add conf.d for more complex configurations
- add named daemon(8) process info
PR: 212671
Submitted by: Dave Cottlehuber <dch@skunkwerks.at> (maintainer)
So, replace them with OPTIONS_SLAVE, OPTIONS_EXCLUDE, OPTIONS_DEFAULT,
where appropriate.
The ghostscript ports are doing something nasty that is certainly wrong,
but I don't want to try to understand it.
Sponsored by: Absolight
- the config file is now a @sample
- pkg-plist added
- /var/db/prometheus is the new place to be
PR: 210059
Submitted by: Andy Carrel <wac@google.com>
Approved by: jev@ecadlabs.com (maintainer)
Prometheus is a systems and service monitoring system. It collects metrics
from configured targets at given intervals, evaluates rule expressions,
displays the results, and can trigger alerts if some condition is observed
to be true.
Prometheus' main distinguishing features as compared to other monitoring
systems are:
- a multi-dimensional data model (timeseries defined by metric name and
set of key/value dimensions)
- a flexible query language to leverage this dimensionality
- no dependency on distributed storage; single server nodes are autonomous
- timeseries collection happens via a pull model over HTTP
- pushing timeseries is supported via an intermediary gateway
- targets are discovered via service discovery or static configuration
- multiple modes of graphing and dashboarding support
- support for hierarchical and horizontal federation
WWW: https://prometheus.io/
PR: 212468
Submitted by: Jev Bjoersell <jev@ecadlabs.com>
As before, there are attempts to use object files before they are
fully built. It's failed on me twice since the previous MAKE_JOBS_UNSAFE
marking was removed. An explicit fix should be made to the vendor
makefile before removing it again.
PR: 210545
Submitted by: Dave Cottlehuber <dch@skunkwerks.at>
Riemann-C-client is a C client library for the Riemann monitoring system,
providing a convenient and simple API, high test coverage and a copyleft
license, along with API and ABI stability.
https://github.com/algernon/riemann-c-client/#readme
USES=localbase:ldflags can be used to set LDFLAGS. Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.
Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set. Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.
Fix some issues with LIBS in some ports.
Switch ports that don't support LIBS to localbase:ldflags.
PR: 212987
Exp-run by: antoine
Approved by: portmgr (antoine)
The file lib/collectd/disk.so was being commented out in pkg-plist for
all FreeBSD versions instead of just for versions less than 10.
Reported by: pierre@guinoiseau.eu (via ports-committers@)
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8042
- new port options CHRONY and MQTT
- disable disk plugin on FreeBSD 9.x due to missing OS files
- various patch changes
PR: 212832
Submitted by: ports@bsdserwis.com (maintainer)
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8028
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN
Some ports have a local mirror configured but for security reasons, it
is not considered upstream.
Sponsored by: Absolight
I think the original makefile was starting that the FreeBSD 9 base OpenSSL
isn't good enough. My previous commit lost that information, so put the
equivalent check back again.
Zabbix3-server can't be built by LibreSSL because it uses PSK. It also
can't be built by FreeBSD 9 base OpenSSL. The latter was documented, but
the solution in the notification was incorrect, so improve all that.
Approved by: SSL blanket
These ports currently utilize PSK which is not supported by LibreSSL, so
detect that SSL_DEFAULT and set IGNORE accordingly. The obsolete
USE_OPENSSL_PORT logic was also removed.
Approved by: SSL blanket
The py4suite option probably didn't work even before the py4suite
dependency was removed from the tree 2 years ago.
The MACRESOLV option fetches during the build which is illegal and
maybe is hitting a bad URL because it freezes as well.
The py4suite has been removed completed and the MACRESOL option has
been marked broken. This is after I rearranged the port to make them
even work as intended. I cleaned up the port a lot after documenting
the SSL requirement with USES=ssl.
Approved by: just-fit-it and SSL blankets
- The hardecoded 3des cipher for ssh has been removed upstream
- Remove a patch that automatically attempts to "svn up" before
checking in changes. This patch may have been committed accidentally a
couple years ago and deviates from upstream's behavior.
If it is possible for your rancid svn repository to be updated outside
of rancid's control it is up to you to resolve these potential
conflicts and modify your scheduled rancid process to "svn up"
beforehand. By instructing rancid to do this automatically it is
possible for an administrator to make device config changes that rancid
will not detect and will not show up in the automatic emails dispatched
to the device administrators.
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.
Change summary:
- Always do verbose builds for cmake, ninja and GNU configure (the
latter includes check if --disable-silent-rules is actually supported
by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well
Submitted by: amdmi3
Reviewed by: mat
Exp-run by: antoine
Approved by: portmgr (mat, antoine)
Differential Revision: D7534
- updated French translation; thanks to Zabbix translators
- enforced bash usage in mysql.size user parameter configuration
script to avoid issues with different default shells;
thanks to Timo Lindfors for reporting it
- fixed timeout being too low when sending configuration data to
active proxy
- fixed loss of trailing whitespace in unquoted function parameters
when creating calculated items with low level discovery
Also:
- Fix default path to PID
- Fix rc.d scripts to correct use PID file
- Remove IGNORE_WITH_MYSQL because referenced version was removed long ago
PR: 209890
Submitted by: pg@pakhom.spb.ru (maintainer)
Approved by: pi (mentor)
- Remove USES=ssl again. The last approach did not fix the problem with unresolved symbols.
Upstream now has symbol versioning in development, so once the new version is released,
all should be fine.
- Bump PORTREVISION
Remove bogus dependency on devel/libconfig. Some time ago I added this because
the ports tree's Q/A check warned that the icinga2 binary is linked against libconfig.
However this is a private library shipped with Icinga 2.
With version 2.5.1 USES=ssl was added to the port's Makefile which added
rpath=${LOCALBASE}/openssl when Icinga 2 gets built and {Open,Libre}SSL from ports
was installed. The result was that ld picked up libconfig.so from the devel/libconfig
port instead of Icinga 2's private library.
To prevent this, the following CMAKE_ARGS were added:
CMAKE_{EXE,MODULE,SHARED,STATIC}_LINKER_FLAGS=${PREFIX}/lib/icinga2
At the moment only EXE_ and SHARED_ linker flags are really needed, to be prepared for
future changes the other flags were also set.
Thanks to mat and Gunnar Beutner (upstream developer) for the insights on the ports
and Icinga 2's build system.
- Re-add USES=ssl
- Bump PORTREVSION
- Update to 2.5.1
- Install a log rotation configuration file for newsyslog(8) in EXAMPLESDIR
- Add dependencies on SSL and libconfig
- Display pkg-message - the file already existed but was not shown
- Regenerate some patches with makepatch
- Pet portlint
Changelog and upstream upgrading instructions: https://www.icinga.org/2016/08/23/icinga-2-v2-5-released/
Comware support has been added via a port option. It is not enabled by
default as upstream has not been able to validate the reliability of
this enhancement.
PR: 209361
RANCID by default attempts to ssh to devices with 3des as the cipher.
This no longer works with OpenSSH in FreeBSD 11 as you need to be more
specific. Changing this to 3des-cbc works for now, but future versions
of OpenSSH will break this as well. Unfortunately this will break RANCID
as many network devices do not support modern ciphers, but we will have
to deal with that when the time comes.
MFH: 2016Q3
This is an small bugfix release for seafile-gui.
- Fixed bugs in auto completion for private shares
- Fix bug in Mingw64
- Updated login dialog
PR: 211635
Submitted by: Ultima1252@gmail.com (maintainer)
This is an update for seafile to the latest version, 6.0.0. This
major version update has only minor fixes.
Recently they're was a debate regarding Seafile Ltd. being forked
by GmbH. After reading several articles and exchanging emails, I
have determined that the best path for FreeBSD to take would be
that of Ltd. I'm sorry if this upsets anyone.
- Updated to 6.0.0
o add replace parameter to move_file api
o [setup-script] check user host when check user exist for mysql
o add progress for download dir/multi
o add remove_group_repos api
PR: 211634
Submitted by: Ultima1252@gmail.com (maintainer)
- There isn't anything that would change functionality, but it is
a major version update, and it needs to line up with the rest of
the stack so people aren't confused.
PR: 211633
Submitted by: Ultima1252@gmail.com (maintainer)
The WITH_DAG knob implies that the ports version of libpcap is desired
for yaf, not the base version as it is currently configured. Fix the
dependency specification accordingly.
PR: 211578
The unconditional specification of libexecinfo.so is redundant on most
plaforms that have libexecinfo.so in base. The helper USES=execinfo
was created just to avoid this issue, so convert port to that.
Approved by: just-fix-it
First, the port already has 3 maintainer timeouts going back years, so
go ahead and reset maintainership.
Second, it's broken on FreeBSD 10 and newer.
Third, the options were broken (e.g. USES defined after <options>,
<pre> and <post> also used with options. I tweaked this some (untested)
Fourth: The pcap specification is ambiguous. (I removed it). [1]
The entire port is in really bad shape so set it for removal in
two weeks.
PR: 211578 [1]
file, so the order remains the same.
Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php. A PHP extension will be automatically activated
when installed. The order into which extensions are loaded is
automatically guessed. In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php
section of the Porter's Handbook for more information.
Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.
And finally, bump PORTREVISION for all php extensions.
PR: 210697
Submitted by: mat
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D7022
- Added py-urllib3 to runtime depends
- Added upgrading reminder in pkg-message.in
- [fix] Fix seaf-fsck.sh --export fails without database
- [fix] Fix users with Umlauts in their display name breaks group
management and api2/account/info on some special Linux distribution
- Remove user from groups when a user is deleted.
- [fix] Fix can't generate shared link for read-only shared library
- [fix] Fix can still view file history after library history is
set to "no history".
- [fix] Fix after moving or deleting multiple selected items in the
webinterface, the buttons are lost until reloading
- Check user before start seafile. The user must be the owner of
seafile-data directory
- Don't allow emails with very special characters that may containing
XSS string to register
- [fix] During downloading multiple files/folders, show "Total size
exceeds limits" instead of "internal server error" when selected
items exceeds limits.
- [fix] When delete a share, only check whether the be-shared user
exist or not. This is to avoid the situation that share to a user
can't be deleted after the user be deleted.
- Add a notificition to a user if he/she is added to a group
- Improve UI for password change page when forcing password change
after admin reset a user's password
- [fix] Fix duplicated files show in Firefox if the folder name
contains single quote '
PR: 211340
Submitted by: Ultima1252@gmail.com (maintainer)