- Make the existing net-mgmt/icinga port a meta-port which installs the other two ports.
- Add an UPDATING entry for above changes.
- Bump PORTREVISION
Reviewed by: bapt
- Remove no longer needed patches or convert them to use ${REINPLACE_CMD}
- Without the patches autoconf is obsolete
- Install Apache 2.x sample config to apache2 subdir
- Do some more s/Linux/${OPSYS}/ in the sample config files
- Set mode for the CGIs in plist
Committed from: Essen FreeBSD Hackathon
- Remove const qualifier from iconv(3) to match POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
defined because the base system iconv supports these extensions too.
Add/remove patches to/from ports to call iconv with non-const arguments.
This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier. Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.
This exposed some ports that link with libiconv when it is available instead
of using libc iconv. In these cases one of the following changes has been
made:
- patch configure scripts to test for libc iconv first
- add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable
some configure tests
- converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4
- lang/gcc5-aux: respect CFLAGS and friends during configure such that
LIBICONV_PLUG is defined in the iconv test, also switch to external
gettext
- mail/gnarwl: replace patches with CPPFLAGS/LIBS
- multimedia/ffmpeg2theora: remove iconv test from SConstruct and use
ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c
- net-im/licq: finish conversion to cmake
- net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4:
don't need iconv
- textproc/p5-XML-TinyXML: finish conversion to USES=perl5
Other changes:
- databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2
and lzo support
- games/ldmud: respect CFLAGS and friends
- graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect
CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg
dependencies
PR: 199099
Exp-run by: antoine
Approved by: portmgr (antoine)
- 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)
- Update to 1.10.2
- Stagify
- Use new LIB_DEPENDS syntax
- Add USES gmake
- Remove a lot of no longer needed variables and logic from the old nagios port
- Install Apache 2.x configuration examples by default, no longer provide an
option to depend on www/apache22 to be more flexible
- Use ports system's own way to add and remove users and groups. Remove pkg-{de,}install
- Don't use the install-commandmode make target. ICINGADIR and ICINGALOGDIR are now created
from the icinga rc-script
- Remove embedded Perl option which is considered broken by the developers
- Remove UNHANDLED_HACK option - another relict from the old nagios port.
- Drop unconditional dependency on Perl
- Remove unneeded chmod g+s on the rw directory as this is the default behaviour on FreeBSD
- Bump PORTREVISION
- Improve formatting, e.g. wrap overly long lines, fix whitespace
- NOPORTEXAMPLES -> PORT_OPTIONS:MEXAMPLES (port is already OptionsNG)
- Synchronize port description with official website
- Use more standard double (even) space padding in pkg-message.in
Approved by: lme (maintainer)
The former is what is used in the upstream init script, the latter is commonly used in
our rc scripts.
- Bump PORTREVISION
Suggested by: demon
Feature safe: yes
- Change plugins directory to %%LOCALBASE%%/nagios so the files installed by
net-mgmt/nagios-plugins port are found [1]
- Add "--enable-pqsql" to add PostgreSQL support
- Set proper permissions on the rw directory
- Fix substitutions in pkg-message
- While here silence warnings about inclusion of deprecated header sys/timeb.h
- Bump PORTREVISION
Noticed by: angelv <angelvg@gmail.com> [1]