Commit graph

15 commits

Author SHA1 Message Date
Bernard Spil
e5e3c24018 mail/libvmime: Update to v0.9.2
- Update from snapshot to release 0.9.2
  - Work around missing install-strip target
  - Update pkg-plist
  - re-roll patch
  - Fix compile error in posixSocket

PR:		216999
2017-03-26 10:42:16 +00:00
Raphael Kubo da Costa
f358732b18 Uses/iconv.mk: Set iconv-related CMake variables.
The way we deal with iconv in base and ports across different FreeBSD
releases is complicated: 9.x does not have iconv.h in base, 10.1 has it with
a different prototype for iconv(3) and later versions have the right
iconv(3) prototype. And, in some cases (USES=iconv:{translit,wchar_t}), we
must always use the libiconv port.

This is why there are so many checks in Uses/iconv.mk: we need to know the
situation we currently have in order to decide whether to pull iconv from
converters/libiconv, whether to just use its header (and pull the library
from base) or whether to use everything from base.

r384038 adjusted several CMake-based ports, but did so in a way that was not
very scalable and required a few intrusive patches to some ports. Most ports
that have both USES=cmake and USES=iconv use variations of FindIconv.cmake
that behave similarly. This change passes the header and library values we
really want to use to CMake using the most common variable names, bypassing
the calls to find_path() and find_library() that would sometimes end up
finding the wrong file. The few ports that use different variable names have
had their Makefiles adjusted (we manually pass the values we want via
CMAKE_ARGS).

Other changes:
- chinese/fcitx: Explicitly set LIBICONV_LIBC_HAS_ICONV_OPEN=OFF as we
  always want the version from ports because of USES=iconv:wchar_t.
- editors/calligra: Explicitly use iconv:translit because Kexi needs it.
- irc/weechat and irc/weechat-devel: The FindIconv.cmake patches could not
  be entirely removed because the check_library_exists() calls are wrong.
  Sent upstream: https://github.com/weechat/weechat/pull/513
- textproc/ctpp2: Use iconv:translit when the TRANSLITERATE option is used.

PORTREVISION has been bumped in editors/calligra and textproc/ctpp2 because
their dependency list has changed in 10.2 and later as the ports version is
always used now.

PR:		202798
Reviewed by:	antoine, tijl
Approved by:	portmgr (antoine)
2015-09-03 15:44:13 +00:00
Tijl Coosemans
074ea5282a converters/libiconv:
- 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)
2015-04-15 08:20:27 +00:00
Tijl Coosemans
3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +00:00
Xin LI
9da2d73d6b Fix a build. 2013-09-12 18:36:20 +00:00
Xin LI
ad8656c49d Fix build.
Per ISO C++03 14.2/4:

When the name of a member template specialization appears after . or ->
in a postfix-expression, or after nested-name-specifier in a qualified-id,
and the postfix-expression or qualified-id explicitly depends on a
template-parameter (14.6.2), the member template name must be prefixed by
the keyword template. Otherwise the name is assumed to name a non-template.
2013-09-06 00:17:45 +00:00
Xin LI
d0d0e0ba23 - Do not rely on specific gnutls nor gsasl version.
- Fix clang compilation.

Submitted by:	Mel Flynn <rflynn acsalaska net>
2012-03-08 18:54:06 +00:00
Xin LI
7bb946c334 Update to 0.9.1. 2011-05-03 18:47:10 +00:00
Xin LI
8121e44e5f - Fix a possible segfault in stringUtils::countASCIIchars()
- Fix body contents not generating bug caused by stream::reset() won't
   reset EOF condition.

Obtained from:	vmime svn
2009-12-08 17:59:00 +00:00
Xin LI
ddbce161cb Chase for latest GNUtls's removal of libgnutls-config. 2009-08-19 23:29:24 +00:00
Xin LI
1c01c6a605 Update to 0.9.0 2008-11-16 21:49:03 +00:00
Xin LI
ec2fc08a00 Remove GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED after GNUTLS upgrad
in order to fix build.

Reporteed by:	pointyhat via pav
2008-03-05 23:09:46 +00:00
Xin LI
dd46428dfa - Define _GLIBCXX__PTHREADS as a workaround for our gcc's gthr.h,
which defines _GLIBCXX_GTHREAD_USE_WEAK and causes compilation
   to fail for no good reason.
 - Respect users' CFLAGS setting.
 - Use MASTER_SITE=SF.
 - Bump PORTREVISION.
2008-02-18 00:10:20 +00:00
Marcus Alves Grando
45d1f9d24f Update to 0.8.0
Add SHA256

PR:		89217
Submitted by:	delphij (maintainer)
2005-11-18 13:26:20 +00:00
Marcus Alves Grando
9984aa2815 New port
"libvmime is a MIME manipulation library."

PR:		ports/86300
Submitted by:	Xin LI <delphij@freebsd.org>
Approved by:	pav (mentor)
2005-09-20 12:18:52 +00:00