Commit graph

219 commits

Author SHA1 Message Date
Koop Mast
c82aa34d6c Fix libxml2 CVE-2015-1819
doc/ tree tested by:	wblock@

Obtained from:	libxml2 upstream
MFH:		2015Q3
Security: 9c7177ff-1fe1-11e5-9a01-bcaec565249c
2015-07-01 13:59:18 +00:00
Mathieu Arnold
6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00
Dmitry Marakasov
ce706e44e6 - Add CPE info
Approved by:	portmgr blanket
2015-05-10 20:38:22 +00:00
Koop Mast
118edfa083 Fix regression introduced in CVE-201403660 fix.
Submitted by:	gjb@
Obtained from:	libxml2 upstream
2014-10-29 17:11:11 +00:00
Koop Mast
99c102db3d patch-parser.c:
Replace allready applied patch with new patch from upstream to unbreak the
 xmlcatalog command.
patch-uri.c:
Revert uri.c commit that causes the document chain to fail.

Reported by:	antoine@
Tested by:	bapt@
MFH:		2014Q4
2014-10-20 14:19:06 +00:00
Koop Mast
06cf046998 Update to 2.9.2.
This release fixes CVE-2014-3660 (DoS).

MFH:		2014Q4
Security:	0642b064-56c4-11e4-8b87-bcaec565249c
2014-10-18 12:55:55 +00:00
Koop Mast
fc406f4c65 Fix miss merge relating to iconv support.
Reported & tested by:	Cyril Kalinchikov <cyr.k@me.com>
2014-05-16 10:50:28 +00:00
Koop Mast
0eb79be561 Make sure to remove all orphaned doc dirs.
Submitted by:	port jenkins via swills@
2014-05-14 14:26:55 +00:00
Koop Mast
9d4f1e2d7b Make check-plist not trow it cookies. 2014-05-13 21:25:15 +00:00
Koop Mast
607eebc44b Update to libxml2 2.9.1 [1]
This version fixes CVE-2013-2877.
Add upstream patch for CVE-2014-0191.

CVE's Reported by:	Akinori MUSHA <knu@iDaemons.org>
Obtained from:	GNOME dev repo [1], libxml2 upstream [2]
MFH:		2014Q2
2014-05-13 20:32:00 +00:00
Tijl Coosemans
aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Hiroki Sato
839dc18139 - Add STAGEDIR support.
- Use *_CONFIGURE_WITH.
- Add workaround for an iconv incompatibility on 10.X and later.
2013-11-25 08:31:27 +00:00
Baptiste Daroussin
0068f2d47f Add NO_STAGE all over the place in preparation for the staging support (cat: textproc) 2013-09-20 23:17:30 +00:00
Boris Samorodov
7046a55fd8 Introduce variable ICONV_PREFIX at Mk/Uses/iconv.mk. The default for
pre 100043 is ${LOCALBASE} and /usr otherwise. Convert all ports to
new variable usage.

Approved by:	portmgr (bapt, implicit)
2013-09-07 19:49:41 +00:00
Baptiste Daroussin
a79c5a7d1a Track down the latest USE_GNOME=pkgconfig 2013-09-02 10:35:45 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Marcus von Appen
95e7081976 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig and
  USE_GETTEXT=yes to USES=gettext while here
2013-04-27 18:25:24 +00:00
Jung-uk Kim
879bb9b6c2 Fix build with LZMA. All supported versions have liblzma in the base.
Approved by:	gnome (mezz)
Feature safe:	yes
2013-04-18 22:40:33 +00:00
Bryan Drewery
9d61e86da1 - Add http mirror in case FTP is not available
Approved by:	gnome (kwm)
Approved by:	portmgr (implicit)
2013-04-05 19:39:31 +00:00
Koop Mast
2e337aebfc Fix options evaluation that got mixed up in the OptionsNG converstion.
PR:		ports/177480
Submitted by:	scf@
Pointyhat for:	kwm
2013-03-29 20:12:12 +00:00
Koop Mast
11b42c3627 Fix typo
PR:		ports/177480
Submitted by:	Sayetsky Anton <vsjcfm@gmail.com>
2013-03-29 16:35:15 +00:00
Koop Mast
be6202887a Update to 2.8.0. [1]
Add patch to fix CVE-2013-0338 and CVE-2013-0339. [2]
Convert to OptionsNG, rename patches to standard form. [1]

Notified by:	swills@ [2]
Obtained from:	gnome team repo [1]
Security:	843a4641-9816-11e2-9c51-080027019be0
2013-03-29 14:08:46 +00:00
Koop Mast
c7d5467d51 Switch main site and mirror around. The mirror is still valid but it is really slow.
Reported by:	many
Feature safe:	yes
2012-11-26 17:30:02 +00:00
Steve Wills
8c33e8cf1b - Revert previous change to add -pthread since libxml2 is not threaded, but is
thread-safe, so -pthread is not needed here, but in threaded programs that
  use libxml2

Pointed out by:	ale@
Discussed with:	marcus, kwm
Pointyhat to:	swills
2012-09-30 14:31:53 +00:00
Steve Wills
25a5a99b79 - Build with -pthread and include -pthread in xml2-config --libs output when threads are enabled
PR:		ports/171353
Discussed with:	marcus, kwm
Approved by:	marcus
2012-09-25 14:55:49 +00:00
Koop Mast
9df7deee2a Merge the patch-Makefile.in into patch-aa which already patched Makefile.in. 2012-08-16 17:51:49 +00:00
Dmitry Sivachenko
12e0349f95 Compile static libxml2.a with -fPIC so 3rd party shared libs can
link statically with libxml2.a.

OK from:	mezz
2012-08-16 07:42:00 +00:00
Jeremy Messenger
4bc0dc3de0 Fix the disable iconv option.
PR:		ports/167211
Submitted by:	sunpoet
2012-05-20 16:31:52 +00:00
Koop Mast
b7e1fac56a Document and fix a off-by-one vulnability in libxml2.
Obtained from:	libxml upstream
Security:	b8ae4659-a0da-11e1-a294-bcaec565249c
2012-05-18 11:51:18 +00:00
Koop Mast
b4387127d5 Fix last commit which broke the build.
Feature safe:	yes
2012-03-16 09:02:36 +00:00
Jeremy Messenger
4a44abaad9 -Make the iconv optional.
PR:		ports/162571
Submitted by:	Pedro Giffuni <giffunip@tutopia.com>
Feature safe:	yes
2012-03-16 02:27:04 +00:00
Koop Mast
6966f2b88e Fix libxml2 heap buffer overflow vulnability.
PR:		ports/164270
Submitted by:	kj <b4039413@nwldx.com>
Security:	57f1a624-6197-11e1-b98c-bcaec565249c
2012-02-27 23:12:03 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Koop Mast
ba7ff2952c Do the WITH_FBSD10_FIX manualy, because it doesn't do the right thing (yet).
This should unbreak the python bindings.

Reported by:	miwi and pointyhat (via pav)
2011-11-02 22:49:26 +00:00
Koop Mast
0ce7a25ea5 Make sure the FreeBSD 10 fix, doesn't blow away local changes.
Reported by:	Marco Steinbach <coco@executive-computing.de>
		Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-11-01 11:08:35 +00:00
Koop Mast
d2c7ed4da0 Add WITH_FBSD10_FIX=yes, to fix build on FreeBSD 10.0.
Submitted by:	beat@
2011-10-28 17:07:54 +00:00
Koop Mast
683c1e4913 Remove obsolete patch, for freebsd6.
PR:		ports/162011
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-10-25 18:17:32 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Koop Mast
0e682dded4 Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-11 19:20:17 +00:00
Koop Mast
05b7bd7eb4 Re-enable symbol versioning. This fixes the undefined symbols.
PR:		ports/152616 ports/152612
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
		Pascal Stumpf <Pascal.Stumpf@cubes.de>
2010-11-27 16:02:15 +00:00
Joe Marcus Clarke
aeb02988f4 Update to 2.7.8. 2010-11-27 05:23:45 +00:00
Koop Mast
e3bc416b63 Use USE_CSTD=gnu89 to build libxml2.
When build with Clang it tries to use C99 math functions we don't have.
Also fix a symbol collision with the python bindings that got exposed by a
Clang bug.

With hat:	gnome
2010-10-09 20:12:37 +00:00
Jeremy Messenger
82d0623f4b Add an option to build libxml w/out threads support.
PR:		ports/146582
Submitted by:	Alexander Kriventsov <avk@vl.ru>
Feature safe:	yes
2010-06-24 17:20:01 +00:00
Koop Mast
48e62d9a37 Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.30/ .

This release brings initial PackageKit support, Upower (replaces power
management part of hal), cuse4bsd integration with HAL and cheese, and a
faster Evolution.

Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This
will also be the last of the 2.x releases. The next release will be the
highly-anticipated GNOME 3.0 which will bring with it a new UI experience.

Currently, there are a few bugs with GNOME 2.30 that may be of note for our
users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at
http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading
instructions, and the up-to-date list of known issues.

This release features commits by avl, ahze, bland, marcus, mezz, and myself.

The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the
initual packagekit porting.

And the following contributors & testers for there help with this release:
Eric L. Chen
Vladimir Grebenschikov
Sergio de Almeida Lenzi
DomiX
walder
crsd
Kevin Oberman
Michal Varga
Pavel Plesov
Bapt
kevin

and ITetcu for two exp-run

PR:	ports/143852
	ports/145347
	ports/144980
	ports/145830
	ports/145511
2010-05-10 21:19:08 +00:00
Xin LI
3a83bc100d libxml2 knows too much about zlib internals. Beginning from zlib 1.2.2.3
the zlib authors has provided a 'gzdirect' function to detect whether the
current gzFile descriptor is still providing a stream from uncompression,
so use it instead of rolling own.

The upcoming zlib 1.2.4 update will break the current libxml2 usage.

Patch was the same as Mark Adler provided to libxml2 maintainers at:

	http://osdir.com/ml/svn-commits-list/2010-01/msg05723.html

PR:		ports/144828
Approved by:	mezz (freebsd-gnome@)
2010-03-17 21:06:18 +00:00
Alex Dupre
97d6d3c585 Build thread-safe library and do it in the right way to not break other ports.
Reviewed by:	marcus
Approved by:	marcus
2009-12-01 09:48:07 +00:00
Joe Marcus Clarke
ff529b35ac Update to 2.7.6. 2009-10-10 18:37:15 +00:00
Joe Marcus Clarke
c32ac92f84 Update to 2.7.5.
Feature safe:	yes
2009-09-26 12:56:14 +00:00
Joe Marcus Clarke
7e22e041af Fix thread support.
PR:		138942
Submitted by:	andrew.w.nosenko@gmail.com
Feature safe:	yes
2009-09-19 16:58:09 +00:00