Commit graph

57 commits

Author SHA1 Message Date
Mark Felder
5faf1aca7c security/libssh2: Fix pkgconfig
Update to 1.6.0 was breaking builds of libvirt, vlc, etc.

Submitted by:	milios@ccsys.com
MFH:		2015Q3
2015-09-24 18:56:30 +00:00
Mark Felder
e739ccdd34 security/libssh2: Update to 1.6.0
This resolves a CVE

Approved by:	ports-secteam (with hat)
MFH:		2015Q3
Security:	9770d6ac-614d-11e5-b379-14dae9d210b8
Security:	CVE-2015-1782
2015-09-22 17:35:10 +00:00
Tijl Coosemans
a374acb969 By default libtool replaces -export-symbols <file> with -retain-symbols-file
<file> on ELF systems, but this doesn't really do what -export-symbols is
meant to do.  On GNU ELF systems it converts <file> to a simple version
script first and then uses -version-script instead of -retain-symbols-file.
Let USES=libtool patch libtool scripts to do this on all systems with GNU
ld(1).

Bump PORTREVISION on all ports where the build log contains -export-symbols.

audio/calf: This port builds a module that now exports only one function,
but it also builds a number of executables that link to this module and
expect to see other functions.  Because it's already a bit dodgy to link to
a module (libtool warns about this) let the module continue to export only
one function and instead build an ordinary library from the same source that
the executables can link to.  Fix a number of other issues in the same
Makefile.am and clean up the port Makefile.

japanese/scim-honoka: Tries to hide all symbols that start with an
underscore, but because this library is written in C++ all symbols start
with _Z so it ends up hiding everything.  Just don't hide anything at all
like the textproc/scim configure script does.

multimedia/schroedinger: Apply an upstream patch.

textproc/scim-input-pad: Same as japanese/scim-honoka.

PR:		201922
Approved by:	portmgr (antoine)
Exp-run by:	antoine
2015-08-02 15:03:19 +00:00
Kurt Jaeger
cba03c03e1 security/libgcrypt: 1.6.1 -> 1.6.2, bump depends
Changes:
- src/sexp.c (do_vsexp_sscan): Return error for invalid args.
- cipher/md.c (_gcry_md_info): Fix a segv in case of calling
  with wrong parameters.
- cipher/primegen.c (_gcry_generate_elg_prime): Change to return an
  error code, possible NULL deref in call to prime generator.
- cipher/dsa.c (generate): Take care of new return code.
- cipher/elgamal.c (generate): Change to return an error code.  Take
	care of _gcry_generate_elg_prime return code.
- ecc: Support the non-standard 0x40 compression flag for EdDSA.
- mpi: Extend the internal mpi_get_buffer.
- mpi: Fix regression for powerpc-apple-darwin detection.
- Fix bug inhibiting the use of the sentinel attribute in src/gcrypt.h.in
- Fix building for the x32 target without asm modules in
  mpi/generic/mpi-asm-defs.h: Use a fixed value for the x32 ABI.
- Fix ARM assembly when building __PIC__
- mpi: Fix a subtle bug setting spurious bits with in mpi_set_bit.
  * mpi/mpi-bit.c (_gcry_mpi_set_bit, _gcry_mpi_set_highbit): Clear
    allocated but not used bits before resizing.
  * tests/t-mpi-bits.c (set_bit_with_resize): New.
- Use internal malloc function in fips.c.
  * src/fips.c (check_binary_integrity): s/gcry_malloc/xtrymalloc/.
- pubkey: Re-map all deprecated RSA algo numbers.
- cipher: Fix possible NULL dereference in cipher/md.c for being NULL.
- Fix ARMv6 detection when CFLAGS modify target CPU architecture.

PR:		193264
Approved by:	cpm@fbsd.es (maintainer)
2015-01-02 18:46:33 +00:00
Tijl Coosemans
009d225dd5 security/libssh2:
- Convert to USES=libtool and USES=pathfix
- Add INSTALL_TARGET=install-strip
- Only depend on openssl if GCRYPT option is off
- Sanitize libssh2.pc

devel/libvirt:
- Remove workaround for broken libssh2.pc
- Add USES=libtool and bump dependent ports
- Convert to INSTALL_TARGET=install-strip

devel/libvirt-glib:
- Convert to USES=libtool

Approved by:	portmgr (implicit, bump unstaged port)
2014-08-28 21:21:57 +00:00
Kurt Jaeger
b95d127471 security/libgcrypt: 1.5.3_3 -> 1.6.1
- Update to 1.6.1
- Remove some unneeded patches
- Fix pkg-plist
- report configure bug upstream
  https://bugs.g10code.com/gnupg/issue1668
- report API breakage downstream and find that MacPorts had the same issue
  https://rt.cpan.org/Ticket/Display.html?id=97201
- bump PORTREVISION for dependent ports (approx. 100 ports)
- Thanks to exp-run by antoine@ to find ports that break
- patch ports that would otherwise break
  security/shishi with PR 192164 is already committed
  [1] devel/ccrtp
  [2] editors/abiword
  [3] security/p5-Crypt-GCrypt

PR:		191256, 192162 [1], 192163 [2], 192166 [3]
Submitted by:	Carlos Jacobo Puga Medina <cjpugmed@gmail.com>
Approved by:	maintainer timeout, antoine (exp-run), portmgr (implicit)
2014-07-30 03:57:23 +00:00
Dmitry Marakasov
f2c6d67047 - Use new OPTIONS features
- Remove useless (with staging support) maintainer target
- Fix pkgconfig file

PR:		185891
Submitted by:	amdmi3
Approved by:	maintainer timeout
2014-03-07 12:53:40 +00:00
Martin Wilke
c7139e02f3 - Stage support 2014-02-21 01:58:11 +00:00
Raphael Kubo da Costa
bb2c355185 Set LICENSE to a valid value 2014-01-16 17:06:35 +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
Emanuel Haupt
2898e3fa0c Chase security/libgcrypt update 2013-05-03 16:36:39 +00:00
Carlo Strub
f87124df63 - Remove A/An in COMMENT
- Trim Header where applicable
2013-03-29 19:33:41 +00:00
Sofian Brabez
0ba0f1db67 - Update to 1.4.3
Feature safe:	yes
2012-12-02 17:12:51 +00:00
Sofian Brabez
a1a2f49cac - Fix Makefile header 2012-10-09 11:14:31 +00:00
Sofian Brabez
bf7e39e982 - Update MASTER_SITES
- Remove options description already in Mk/bsd.options.desc.mk
2012-10-08 22:51:50 +00:00
Sofian Brabez
721490520d - Convert to OptionsNG 2012-07-16 10:47:28 +00:00
Sofian Brabez
ac5616dc78 - Update to 1.4.2 2012-06-11 14:59:19 +00:00
Sofian Brabez
ba99ff9e32 - Update to 1.4.1
Approved by:	jadawin@, miwi@ (mentors, implicit)
2012-04-16 08:38:45 +00:00
Sofian Brabez
908d44f398 - Fix build when using GCRYPT KNOB
- Bump PORTREVISION

PR:		ports/164835
Submitted by:	Hirohisa Yamaguchi <umq at ueo.co.jp>
Approved by:	jadawin@, miwi@ (mentors, implicit)
2012-02-08 06:58:34 +00:00
Sofian Brabez
0ba4ae9ea0 - Update to 1.4.0
Approved by:	jadawin@, miwi@ (mentors, implicit)
2012-02-03 18:47:01 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Martin Wilke
69a39f5f38 - Fix build on FreeBSD 10
Reported by:	pointyhat
2011-10-29 10:03:08 +00:00
Sofian Brabez
f045d303f8 - Update to 1.3.0
Approved by:	jadawin@ (mentor)
2011-09-08 13:51:46 +00:00
Sofian Brabez
ffbbeb4e91 - Update to 1.2.9
- Update pkg-descr
- Make happy portlint

Approved by:	miwi@ (mentor)
2011-08-18 22:38:48 +00:00
Steve Wills
e0755b977d - Chase the libgcrypt shared lib version 2011-07-03 11:40:49 +00:00
Sofian Brabez
a8e7678ba0 - Fix version of pkg-config
- Bump PORTREVISION

PR:		ports/158195
Submitted by:	mandree@
Approved by:	miwi@ (mentor)
2011-06-29 09:42:02 +00:00
Sofian Brabez
29417500d3 - Update to 1.2.8
- Add LICENSE

Approved by:	jadawin@ (mentor)
2011-04-13 11:45:03 +00:00
Sofian Brabez
d7c5457ddf Update my MAINTAINER address to sbz at FreeBSD.org.
Approved by:	jadawin@ (mentor)
2011-03-18 10:04:54 +00:00
Philippe Audeoud
8f63b3f7d4 - Update to 1.2.7
PR:		ports/149799
Submitted by:	Sofian Brabez <sbrabez _AT_ gmail.com>
2010-08-23 18:57:13 +00:00
Wesley Shields
15c1551ea3 Chase security/libgcrypt shlib bump.
PR:		ports/148755
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
2010-07-27 01:25:20 +00:00
Pietro Cerutti
98eadcd5db - Update to 1.2.6
PR:		147846
Submitted by:	Sofian Brabez <sbrabez@gmail.com> (maintainer)
2010-06-14 10:35:55 +00:00
David Thiel
31ae7c69e0 Update to 1.2.5 and hand maintainership to Sofian Brabez.
PR:		ports/145760
Submitted by:	sbrabez@gmail.com
2010-04-16 20:27:58 +00:00
David Thiel
1dfd3e6b7b Update to 1.2.4.
PR:		ports/144202
Submitted by:	Sofian Brabez <sbrabez@gmail.com>
Feature safe:	yes
2010-02-22 22:00:14 +00:00
David Thiel
3a80948661 Update to 1.2.3.
PR:		ports/143542
Submitted by:	Sofian Brabez
2010-02-08 21:16:33 +00:00
Pav Lucistnik
d86dba7bdc - Add TRACE and ZLIB options
PR:		ports/140711
Submitted by:	Sofian Brabez <sbrabez@gmail.com>
Approved by:	maintainer timeout (lx; 18 days)
2009-12-08 09:56:12 +00:00
David Thiel
713f338423 Update to 1.2.2.
PR:		ports/140626
Submitted by: David Naylor
Feature safe:	yes
2009-11-19 19:59:42 +00:00
David Thiel
3febcac536 Remove @dirrmtry for libdata/pkgconfig directory. This directory is in BSD.local.dist.
Submitted by:	QAT
Feature safe:	yes
2009-10-06 23:03:17 +00:00
David Thiel
c8f53ebab5 Support libgcrypt, and update to 1.2.1, a bugfix release.
PR:		ports/138473
Submitted by:	Peter Wullinger
Feature safe:	yes
2009-10-06 21:38:18 +00:00
David Thiel
3d31f1b2a9 Update to 1.2.
PR:	137760
Submitted by:	Sofian Brabez
Approved by:	maintainer
2009-08-17 22:57:47 +00:00
David Thiel
77a0c6a037 Update to 1.1.
PR:		ports/133336
Submitted by:	Sofian Brabez <sbrabez@gmail.com>
Approved by:	lx (maintainer)
2009-04-03 18:55:42 +00:00
David Thiel
1319a93963 Argh. So, the update notifier was wrong, and 0.2 is not a new release
(of course), but I was fooled because there's a separate project called
libssh which *did* just have a new release. 1.0 is the real update.

Pointed out by: J. Johnston
2009-02-02 01:34:45 +00:00
David Thiel
e28e692846 Include appropriate openssl headers. 2009-01-31 19:29:20 +00:00
David Thiel
14d05cde40 Update to 0.2. 2009-01-31 06:36:18 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
David Thiel
0f45e3e389 Update to 0.18. 2007-12-11 20:18:21 +00:00
David Thiel
a8df590e93 Update to 0.17. 2007-08-09 04:16:26 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
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
2007-07-23 09:36:51 +00:00
David Thiel
4be47df624 Updating to 0.15. 2007-07-08 00:26:55 +00:00
Emanuel Haupt
3b3202afc1 - Provide a patch to fix a bug in the configure script that caused the include
and library directory flags to gcc to be wrong
- Bump PORTREVISION

PR:		102920
Submitted by:	David Thiel <lx@redundancy.redundancy.org> (maintainer)
2006-09-07 20:04:19 +00:00
Cheng-Lung Sung
4ff3f1b6ad - Updating libssh2 to 0.14. Changes:
- Plug leaks in EVP cipher init/shutdown. (Selcuk Gueney)
  - Allow socket_fd == 0 in libssh2_session_startup(). (puudeli)
  - Swap ordering of packet_add/packet-inspection to avoid inspect after
  - free. (Selcuk)
  - Swap KEX_INIT ordering, send our KEX_INIT first.
  - Add check for oportunistic KEX_INIT packets.  Burn bad guess if necessary.
  - Fix OpenSSL detection using pkg-config. (Dan Casey)

PR:		ports/100127
Submitted by:	maintainer (David Thiel)
2006-07-12 04:32:41 +00:00