Commit Graph

122 Commits

Author SHA1 Message Date
Jason E. Hale
b0276a1466 Update security/*gpgme* to 1.13.0
Changes:	https://lists.gnupg.org/pipermail/gnupg-devel/2019-March/034272.html
2019-03-28 05:22:03 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Baptiste Daroussin
7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00
Jason E. Hale
9434475fd4 Update security/*gpgme* to 1.12.0
Changes:	https://lists.gnupg.org/pipermail/gnupg-devel/2018-October/033977.html
2018-10-12 14:58:53 +00:00
Jason E. Hale
59fe7d00a5 Update security/*gpgme* to 1.11.1
Changes:	https://lists.gnupg.org/pipermail/gnupg-devel/2018-April/033624.html
2018-07-31 19:05:35 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Tobias C. Berner
b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Jason E. Hale
e798b0e1b9 security/gpgme:
- Add some magic to support the regression tests in the case where the test
  build directory path length exceeds the maximum socket path length.
- Fix shebang in the pinentry test script. At long last, the real reason some
  of the tests were failing has been discovered!
- Remove files/patch-tests_gpg_Makefile.in now that the pinentry script is
  fixed.
- Move USES upward.

security/gpgme-cpp:
- Remove workaround for Bug 193528 (fixed in GCC 6+)

security/gpgme-qt5:
- Add full test support.
- QT5 testlib only needed for tests at build time.
- Add DOXYGEN option to install the API documentation. Prevent the
  automatic building of the docs if doxygen happens to be installed.
- Bump PORTREVISION due to added options / dependency change

security/py-gpgme:
- Add full test support.
- Revert flavor logic move from r460759. The logic being below
  <bsd.port.options.mk> was the reason it wasn't previously working.
- Bump PORTREVISION due to added option
2018-02-06 15:18:23 +00:00
Jason E. Hale
0ed45d9403 Add a TEST option to toggle in-build testing as it was causing trouble when
the test build directory path length was longer than the maximum socket path
length. A workaround to this problem is noted in the Makefile. [1]

Prevent the GNUPG1 option and the TEST option from being enabled simultaneously
since the tests mainly revolve around the programs supplied with GnuPG 2.x.

Disable in-build tests for slave ports for now.

Move the flavor logic for the python slave port into the slave port Makefile
as it was not being evaluated correctly when in the master port Makefile.

Reported by:	tijl (via private mail) [1]
2018-02-02 23:30:34 +00:00
Jason E. Hale
7f77d3a7df Update to 1.10.0
Simplify python version detection

Changes:	https://lists.gnupg.org/pipermail/gnupg-users/2017-December/059592.html
2018-01-26 04:02:18 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Jason E. Hale
f9d0b63e5b Update security/gpgme and friends to 1.9.0 [1]
Fix LICENSE
Add regression test support for master port. Slave port tests are not working
properly and need further investigation.

PR:		218316 (based on) [1]
Submitted by:	gahr [1]
Changes:	https://lists.gnupg.org/pipermail/gnupg-users/2017-March/057963.html
2017-04-05 20:13:00 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Antoine Brodin
20b3a34a02 Rename python setuptools ports to better match other python ports
Reviewed by:	mat, sunpoet
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D9983
2017-03-16 19:23:48 +00:00
Jason E. Hale
6f4acc8acd Fix configure of security/gpgme-qt5 for users that have
'WITHOUT_GNU_GREP_COMPAT=yes' set

Obtained from:	based on upstream patch of m4/qt.m4
2016-12-20 07:47:38 +00:00
Jason E. Hale
d32b8fe316 Update security/gpgme-* to 1.8.0
In this version, libgpgme-pthread.so has been removed in favor of just
using libgpgme.so as the thread-safe library. PORTREVISION has been
bumped on all ports depending on security/gpgme so that any that may have
linked to -lgpgme-pthread will link to -lgpgme instead.

The Python module provided by security/py-gpgme has been renamed upstream
from pyme3 to gpg. This removes the conflict with security/py-pyme,
although security/py-gpgme is still the direct replacement of that
module.
2016-11-26 23:41:16 +00:00
Tobias C. Berner
983a022252 Fix conflict between libqgpgme from deskutils/kdepimlibs4 and security/qgpgme-qt5
Install the kde4 version of libqgpgme as libqgpgme4.
* Bump revision in affected dependencies -- not all ports using USE_KDE=pimlibs
  actually link against libqgpgme.
* Remove conflict from security/gpgme-qt5
* Drop KDE3 hunks from patch-cmake__modules__FindQGpgme.cmake

PR:		212886
Reviewed by:	rakuco
Approved by:	rakuco (mentor)
2016-11-23 12:15:38 +00:00
Jason E. Hale
ca6f71fa4b Fix build of security/gpgme-qt5 with gcc49
In file included from qgpgmebackend.cpp:42:0:
../../../lang/cpp/src/engineinfo.h: In constructor
  'GpgME::EngineInfo::Version::Version(const string&)':
../../../lang/cpp/src/engineinfo.h:47:17: error: 'sscanf' is not a
  member of 'std'
      std::sscanf(version.c_str(), "%d.%d.%d", &major, &minor, &patch) != 3) {

PR:		214687
Submitted by:	tcberner
2016-11-21 12:27:15 +00:00
Jason E. Hale
aac4f4ab6b Using ports libc++ on non-leaf ports is problematic, as the requirement
basically flows to all ports that depend on gpgme-{cpp,qt5}. In particular,
sysutils/kf5-kwallet was breaking in FreeBSD 9.x because mismatches between
libc++ and libstdc++ from gcc48 were causing a gpgme symbol not to be found:

backendpersisthandler.cpp:(.text+0xf61): undefined reference to
`GpgME::Context::encrypt(std::vector<GpgME::Key, std::allocator<GpgME::Key> >
const&, GpgME::Data const&, GpgME::Data&, GpgME::Context::EncryptionFlags)'

Switch the build of both ports to lang/gcc on FreeBSD 9 and the system compiler
on FreeBSD 10:
* Use USES:compiler-c++11-lib instead of compiler-c++11-lang, as we do need a
C++11-compatible standard library. This causes the right compiler to be chosen
as described above.
* Set _GLIBCXX_USE_C99 so that gpgme-cpp builds with GCC 4.8 (std::to_string()
is not exposed by default on FreeBSD). Several other ports need to do the same.
* Add a few patches to fix the gpgme-qt5:
** patch-git_b4658f6a1 is a backport from an upstream commit to make the port
   build with GCC 4.8 without errors.
** patch-lang_qt_src_qgpgmeencryptjob.cpp is a local workaround for the
   std::bind() bug mentioned in ports r424451.

PR:		214575
Submitted by:	rakuco
2016-11-17 13:55:47 +00:00
Jason E. Hale
5640bb9654 Fix build of the Qt interface on FreeBSD 10.2 and 10.3. On FreeBSD 10.1, it
builds without issue (and thats what I originally tested this on and assumed
it would work on later releases), but there seems to be a regression in the
c++ headers that appears to have happend in r278724, so use libc++ from ports.

libtool: compile:  c++ -std=c++11 -DHAVE_CONFIG_H -I. -I../../..
-I../../../lang/cpp/src -I../../../src -I/usr/local/include/qt5/QtCore
-I/usr/local/include/qt5 -fpic -I/usr/local/include -I/usr/local/include
-DBUILDING_QGPGME -isystem /usr/local/include -O2 -pipe -fstack-protector
-isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include
-MT qgpgmeencryptjob.lo -MD -MP -MF .deps/qgpgmeencryptjob.Tpo -c
qgpgmeencryptjob.cpp  -fPIC -DPIC -o .libs/qgpgmeencryptjob.o
qgpgmeencryptjob.cpp:133:9: error: no matching function for call to 'bind'
    run(std::bind(&encrypt,
        ^~~~~~~~~
/usr/include/c++/v1/functional:2184:1: note: candidate template ignored:
couldn't infer template argument '_Fp'
bind(_Fp&& __f, _BoundArgs&&... __bound_args)
^
/usr/include/c++/v1/functional:2193:1: note: candidate template ignored:
couldn't infer template argument '_Rp'
bind(_Fp&& __f, _BoundArgs&&... __bound_args)
^
1 error generated.
gmake[4]: *** [Makefile:801: qgpgmeencryptjob.lo] Error 1

Also, link to libgpgmepp already installed instead of rebuilding it.
2016-10-22 07:33:17 +00:00
Jason E. Hale
fef85d18be Really fix build on 9.x for the c++ and Qt5 bindings;
require libc++.
2016-10-21 00:05:57 +00:00
Jason E. Hale
e9c7c9d33d - Update to 1.7.1
- Check for c++11 compiler for the c++ and Qt bindings
2016-10-19 23:32:55 +00:00
Jason E. Hale
4949249b82 - Update security/gpgme to 1.7.0
- Convert to master port and add several slave ports for the newly added
  c++, Qt5, and python bindings (security/gpgme-cpp, security/gpgme-qt5,
  and security/py-gpgme, respectively)
- The Qt bindings currently provided by deskutils/kdepimlibs4
  cannot currently coexist with these new bindings, but will be phased out
  in the future
- The python bindings are an updated version of the ones provided by
  security/py-pyme and are now being maintained as part of the gpgme project.
  They work with both python 2.x and 3.x.

PR:		212886
2016-10-18 19:45:23 +00:00
Mathieu Arnold
597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
Tijl Coosemans
5b2f512f3e security/gpgme: put header back in normal location.
This used to cause a conflict with security/gpgme03 but this port has been
removed many years ago now.

Approved by:	jhale (maintainer)
2016-03-17 09:09:06 +00:00
Jason E. Hale
ee19c1c13c Update to 1.6.0 2015-12-08 03:36:10 +00:00
Jason E. Hale
0418b8bf61 Update to 1.5.5 2015-06-14 20:10:26 +00:00
Jason E. Hale
e49946e5f0 - Update to 1.5.4 2015-05-08 17:38:46 +00:00
Jason E. Hale
0542bb6fad - Update to 1.5.3 2015-02-26 03:20:28 +00:00
Jason E. Hale
3fa5ec8c3b - Trim @dirrm[try] from pkg-plist 2014-09-22 13:17:03 +00:00
Dmitry Marakasov
9a81de4118 - Drop .la files, no dependees require them
Approved by:	portmgr blanket
2014-09-17 15:05:18 +00:00
Jason E. Hale
b03f49e38b - Add CPE support 2014-08-04 13:31:26 +00:00
Jason E. Hale
b059a6bdcb - Update to 1.5.1
Security:	90ca3ba5-19e6-11e4-8616-001b3856973b
2014-08-02 02:39:19 +00:00
Jason E. Hale
945ecc3a0f - Fix build if gpgsm is not installed
PR:		191264
Submitted by:	rakuco
2014-06-22 09:43:38 +00:00
Jason E. Hale
c61786f8f7 - Strip binaries in a little cleaner fashion 2014-06-22 08:44:25 +00:00
Jason E. Hale
dcf209ebbf - Update to 1.5.0
- Simplify MASTER_SITES
- Drop signature download and verify target
- Strip libraries
- Add UPDATING entry documenting behavior change since gpgme now
  autodetects the gpg binary
2014-06-22 07:07:42 +00:00
Tijl Coosemans
06b57d03bc USES=libtool tar:bzip2. 2014-05-30 09:58:02 +00:00
Jason E. Hale
784e4c52e1 - Update security/gpgme to 1.4.3
- Use USE_GNOME= ltverhack to correct the library version number
  to what the author intended.  This effectively rolls the version
  number backwards, but should prevent future unneccesary version
  bumps.
- Support staging
- Use options helpers
- Use new LIB_DEPENDS syntax
- Bump PORTREVISION on dependent ports
2013-10-20 19:20:15 +00:00
Baptiste Daroussin
a65ed2e51b Add NO_STAGE all over the place in preparation for the staging support (cat: security) 2013-09-20 22:55:24 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Carlo Strub
f87124df63 - Remove A/An in COMMENT
- Trim Header where applicable
2013-03-29 19:33:41 +00:00
Jason E. Hale
7afa609aeb - Update MAINTAINER to my new FreeBSD.org address
Approved by:	makc (mentor)
2012-09-13 04:45:58 +00:00
Jase Thew
8f8777c3b0 - Convert to optionsNG
PR:		ports/169576
Submitted by:	Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
Approved by:	flo (mentor)
2012-07-09 13:02:18 +00:00
Max Brazhnikov
11679e25fb Update to 1.3.2
PTH option has been removed (unsupported upstream)

Submitted by:	Jason E. Hale (maintianer) via kde-freebsd maillist
2012-05-11 08:48:55 +00:00
Julien Laffaye
6004f13382 - Update to 1.3.1
- Move LICENSE earlier

PR:		ports/159076
Submitted by:	Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
2011-07-21 12:43:23 +00:00
Olli Hauer
87931c6875 -remove MD5 2011-07-03 14:03:52 +00:00
Doug Barton
0064bfe0b9 Fix the shared library version number for libassuan to reflect what
the authors intended by adding:

USE_AUTOTOOLS=	libtool
USE_GNOME=	ltverhack

to security/libassuan/Makefile.

Update the libassuan shared library version number and/or bump
PORTREVISION in the dependent ports.

Requested by:	ale
Feature safe:	yes
2011-01-14 07:42:11 +00:00
Doug Barton
54767cbda3 Update libassuan to version 2.0.1:
* Input and output notification handler can now really access the
  parsed fd as stated in the manual.

* Cleaned up the logging.

Bump PORTREVISION and libassuan version number in related ports
2010-12-22 19:16:12 +00:00