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)
- more OPTIONS to let the user choose what he needs to have compiled
- don't allow drivers to be compiled if user wants only the client
- chase netsnmp shared lib version
- provide internationalization support
- provide backup location on my server for the pdf manual and don't IGNORE the
file in distinfo anymore
- patch apcaccess to be able to fetch the host:port from the config file [1]
- add patch to allow usb driver to compile [2]
PR: ports/121141 [1]
Submitted by: Adrian Penisoara [1], Stefan Lambrev [2]
- Now the port build depends on devel/makedepend
- Utilize ETCDIR for Makefile and pkg-plist
- Move pkg-message to FILESDIR
- No need to use USE_GETTEXT=yes, because port doesn't install any mo files
and --enable-nls option doesn't help. With --with-included-gettext apcupsd
doesn't build.
PR: ports/116774
Submitted by: Alexander Logvinov
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
- MASTER/SLAVE networking mode removed (use NIS instead, see manual)
- PowerChute Network Shutdown driver
- New configuration directives to set paths at runtime
Note: GAPCMON GUI monitoring tool is not yet builded in this port, but it will.
PR: ports/111253
Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
Poked by: infofarmer@
This is a bug fix release which includes fixes for SNMP crash in the face of
network errors. Also status and data logging interval was often off by one
period. NIS port now properly defaults to 3551 or value provided by configure,
not hard-coded 7000.