Commit Graph

245 Commits

Author SHA1 Message Date
Mathieu Arnold
305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Tobias C. Berner
178e71ea61 textproc/libxml2: rename VALID option to VALIDATION
- The option name could under some circumctances lead to issues
  with the VALID_CATEGOIRES variable of the ports framework.
- Simply rename the option, to something similar.

PR:		252933
Submitted by:	andrew@tao11.riddles.org.uk
2021-02-12 20:27:37 +00:00
Tobias C. Berner
d56eb40d13 textproc/libxml2: ship patches via files/ due to gitlab
- gitlab has a tendency to change checksum of patches due to metadata changes
- switch to including the patches in the tree directly instead of using PATCH_FILES

PR:             251040
Submitted by:   daniel.engberg.lists@pyret.net
Reported by:    David Armstrong <bink19th@pm.me>
2020-11-30 18:45:04 +00:00
Dima Panov
6edea31670 textproc/libxml2: backport python 3.9.x support
No PORTREVISION bump, py-libxml2 was always unbuildable with py39

With hat:	desktop
Obtained from:	libxml2 repo
2020-10-13 00:55:42 +00:00
Tobias C. Berner
eec5dd6f57 textproc/libxml2: Multiple vulnerabilities
Includes upstreams fixes for

	* CVE-2019-20388
	* CVE-2020-7595
	* CVE-2020-24977

PR:		249386
Submitted by:	daniel.engberg.lists@pyret.net
MFH:		2020Q3
2020-09-25 20:29:37 +00:00
Baptiste Daroussin
6b5e7cdc84 In preparation of the update of glib remove the -reference ports
Those ports mainly concern old Gnome2 libraries, the behaviour of this infra
is not compatible with the meson build system (being used in newer version)
the documentation is provided otherwise in the other version
2020-09-19 10:43:46 +00:00
Antoine Brodin
cbae7b6938 Unbreak py-libxml2 2020-01-18 21:08:36 +00:00
Tobias C. Berner
02493639a9 textproc/libxml2: Remove gmake dependency
- remove dependency on gmake in textproc/libxml2 and textproc/libxml2-reference

PR:		243346
Submitted by:	daniel.engberg.lists@pyret.net
2020-01-18 20:16:01 +00:00
Tobias C. Berner
7cfca3405b textproc/libxml2: update to 2.9.10
PR:		24004
Exp-run by:	antoine
Reviewed by:	madpilot
Differential Revision:	https://reviews.freebsd.org/D22410
2019-11-23 20:09:34 +00:00
Tobias C. Berner
5bed1dc473 Create desktop@ as maintainer of some shared desktop ports
This idea has been around for quite some time. Time to make it happen.

In order to share the load on the ports required by multiple desktop
environments start to share the responsibility of maintainership.

This is the initial list that came to mind, but we can probably extend it, to
include another handful of ports.

WWW: https://wiki.freebsd.org/DesktopTeam
Mailing List: https://lists.freebsd.org/mailman/listinfo/freebsd-desktop

Approved by:	swills, kwm (gnome), madpilot (xfce)
Differential Revision:	https://reviews.freebsd.org/D22389
2019-11-15 20:10:21 +00:00
Antoine Brodin
4d8148ba5f MASTERDIR is always defined after bsd.port.pre.mk 2019-10-05 05:42:01 +00:00
Mark Linimon
a4c44afe3e Prepare for powerpc-on-clang by deleting hard-coded tests for libstdc++.so
as a stand-in for "are we running on gcc".

For people already testing powerpc on clang, it is possible that they
already have both compilers in base.  Thus, the assumption that "gcc is
in base" (e.g.  libstdc++.so exists) always means "force use of GCC" is
already broken.  It will be for everyone on -CURRENT once the switch is
made.

Tested on both amd64 and powerpc64.

PR:		239153
Approved by:	gnome (maintainer-timeout, > 1 month)
2019-10-04 22:24:36 +00:00
Steve Wills
8a749f4712 textproc/libxml2: Update to 2.9.9 [1]
While here, fix a bug in libxslt triggered by the libxml2 update

PR:		235713 [1]
PR:		238522
Exp-run by:	antoine
Reported by:	kunda <chitty_cloud@me.com> [1]
Reviewed by:	kwm [1] [2]
Obtained from:	5b0965010a
2019-06-13 12:59:39 +00:00
Antoine Brodin
89b855b456 Workaround https://bugzilla.gnome.org/show_bug.cgi?id=789714
PR:		234633
Obtained from:	Fedora / openSuse
2019-03-08 06:47:53 +00:00
Steve Wills
3c061c9867 textproc/libxml2: fix build with GCC-based architectures
PR:		234563
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Pointyhat to:	swills
2019-01-05 23:55:00 +00:00
Antoine Brodin
c8ad5ec32c Fix LICENSE_PERMS 2019-01-03 18:08:39 +00:00
Steve Wills
585accadec textproc/libxml2: update to 2.9.8
PR:		233804
Exp-run by:	antoine
2019-01-01 23:25:29 +00:00
Koop Mast
815b85b670 Remove usage of _PyVerify_fd().
This function appears to be removed in python 3.5.0. Instead of adding a
version check like the submitter proposed. Grab the upstream patch instead
that just removes the function usage.

PR:		224902
Submitted by:	Michael Zhilin <mizhka@gmail.com>
Obtained from:	libxml2 upstream
2018-10-25 19:26:44 +00:00
Dmitry Marakasov
e62c4f57b6 - Add LICENSE
Approved by:	portmgr blanket
2018-03-14 08:33:13 +00:00
Mathieu Arnold
37677d32e3 Switch some MASTER_SITES from http/ftp to https.
Also some cleanup of dead entries.

PR:		226203
Submitted by:	Sam H
Sponsored by:	Absolight
2018-02-27 13:03:48 +00:00
Steve Wills
9440728b39 textproc/libxml2: update to 2.9.7
PR:		222893
PR:		224189
Reported by:	Walter Hop <walter@lifeforms.nl>
Approved by:	gnome@ (kwm)
Exp-run by:	antoine
MFH:		2017Q4
Security:	76e59f55-4f7a-4887-bcb0-11604004163a
2017-12-13 14:46:44 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
John Marino
d2b73d7ce8 textproc/libxml2: remove LICENSE block to unbreak libxml2-reference
The addition of the MIT licence block broke at least the
textproc/libxml2-reference port due to how the helper script
bsd.gnome-reference.mk works.  Removed at the request of person that
suggested the license be added [2].

PR:		209806

PR:		212265 [2]
Reported by:	cpm
2016-08-31 20:13:51 +00:00
Koop Mast
08c94c0300 Update libxml2 to 2.9.4.
Add license block.
Pull extra patch to fix NULL pointer deref. [1]

Changelog:	https://mail.gnome.org/archives/xml/2016-May/msg00023.html

PR:		209806
Submitted by:	pi@
Obtained from:	upstream [1]
MFH:		2016Q3
Security:	e195679d-045b-4953-bb33-be0073ba2ac6
2016-08-28 19:18:20 +00:00
Koop Mast
ac9d521985 New release to fix a number of CVE's.
CVE-2015-1819 is also listed in the release notes of 2.9.3 but that issue
was fixed in a previous commit and documented in another vuxml entry.

MFH:		2015Q4
Security:	e5423caf-8fb8-11e5-918c-bcaec565249c
2015-11-20 20:45:25 +00:00
Dmitry Marakasov
a6cc456e5c - Add option to disable validator
Approved by:	kwm
2015-07-16 06:31:59 +00:00
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