Commit Graph

49 Commits

Author SHA1 Message Date
Peter Korsgaard
6b772b2f41 libxml2: ensure patches are applied in the correct order
Some of the patches depends on eachother, so rename them to ensure they
get applied in the correct order.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-14 20:41:24 +01:00
Gustavo Zacarias
aa5d9ba3b8 libxml2: add multiple security patches
Fixes for CVE-2011-1944, CVE-2011-2821, CVE-2011-2834, CVE-2011-3919,
CVE-2012-0841 and others from upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-11 22:54:52 +01:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Gustavo Zacarias
874b6e4e87 libxml2: fixup configure options
Some configure options changed so adjust.
Forcibly disabling threads isn't good and also it's detected by
configure when there are no threads.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:40:04 +02:00
Thomas Petazzoni
c08e016efa libxml2: remove xml2-config script from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2011-03-07 22:22:31 +01:00
Gustavo Zacarias
9e9213f112 libxml2: bump to version 2.7.8
Bump libxml2 to version 2.7.8.
Re-enable libtool patch now that we handle libtool2 in package infra.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-22 23:44:32 +01:00
Thomas Petazzoni
5f71fc1f19 Remove support for shared configuration cache
The configuration cache shared between packages, while being in
principle a nice idea to speed-up the configuration of packages by
avoiding repetitive identical checks, turned out to be unreliable due
to the subtle differences between similar but not identical checks in
different packages. After spending some time trying to fix those, we
concluded that supporting the shared configuration cache is definitely
too hard and too unreliable, and that we'd better get rid of it
altogether.

This patch therefore removes the shared configuration cache
infrastructure and usage.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-05 10:21:17 +01:00
Thomas Petazzoni
c648785b93 libxml2: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-12 19:26:49 +02:00
Malte Starostik
bea9e43fe7 Globally remove aclocal directories from target
* Remove $(TARGET_DIR)/usr/share/aclocal from target-finalize when not
  installing devfiles and
* Remove some (now) redundant cleanup from individual packages

Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-30 10:45:00 +02:00
Paulius Zaleckas
d701a82321 Remove gtk-doc documentations from target
On my target rootfs it is installed documentation for:
atk, cairo, gdk, gdk-pixbuf, gio, glib, gobject, gtk, pango

It ocupies 34M of space. Configure option --disable-gtk-doc doesn't
prevent installation of it. So we should remove them manually if
documentation is disabled.

[Peter: also remove manual rm's from hal/libxml2/libglade]
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-05 12:21:21 +02:00
Thomas Petazzoni
593c18c0bb packages: remove useless HOST_*_LIBTOOL_PATCH
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:26:27 +02:00
Peter Korsgaard
a88d0ea625 libxml2: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-29 17:42:12 +02:00
Peter Korsgaard
a96be19bc3 package: remove redundant DISABLE_{IPV6,NLS,LARGEFILE} configure args
Makefile.autotools.in automatically adds these to the configure invocation,
so there's no need to explicitly list them.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-22 14:29:00 +01:00
Thomas Petazzoni
e81149c543 libxml2: do not apply libtool patch when compiling for host
The libtool patch is not applied when building for the target because
it does not apply, so do not attempt to apply it when building for the
host. This fixes libxml2 build for the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-20 19:31:04 +01:00
Sagaert Johan
98d5d81a1d libxml2: bump to version 2.7.6
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-28 17:22:37 +01:00
Thomas Petazzoni
a02cf75e19 libxml2: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:36 +01:00
Peter Korsgaard
fa946b788e libxml2: fix build with BR2_CONFIG_CACHE
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 13:11:00 +01:00
Peter Korsgaard
3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Will Newton
422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00
Will Newton
5079d7a0b9 libxml2: Bump version to 2.7.3.
Closes #491

- Deletion of reject files no longer required as they have gone from
   the upstream release.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-30 17:12:53 +02:00
Thomas Petazzoni
b7c3eb7aa7 Add libxml2 for the host
Some other packages, such as shared-mime-info, might need libxml2 and
related tools (xmllint, etc.) to be available on the host. This patch
modifies tthe libxml2 Makefile to compile libxml2 for the host, in
$(HOST_DIR).

Patch from Sven Neumann <s.neumann@raumfeld.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-04-29 07:13:20 +00:00
Peter Korsgaard
e4051615c4 dbus: revert r25156 (Fix dbus dependency on libxml2, without rebuild, works but may need refinement)
As discussed on the list - Too complicated and wrong.
2009-01-30 13:54:42 +00:00
Ulf Samuelsson
4b25f84ab9 Fix dbus dependency on libxml2, without rebuild, works but may need refinement 2009-01-30 07:40:14 +00:00
Peter Korsgaard
0053483c96 libxml2: stop continous rerun of post-extract target
Touch stamp file (seems to have been missed by r23656).
2009-01-27 15:02:34 +00:00
Thomas Lundquist
c86f23b770 Getting rid of a bit more configure options that's been centralized. 2009-01-18 09:26:28 +00:00
Peter Korsgaard
e337d002fe package/: remove redundant install-strip in *_TARGET_INSTALL_OPT
It's default now.
2008-10-20 11:53:16 +00:00
Daniel Laird
ad0984bfa8 package/libxml2/libxml2.mk: Bounce version to 2.6.32
Bounce the version to 2.6.32.
And deal with the left over .rej files.

Daniel Laird
2008-10-10 14:41:18 +00:00
Daniel Laird
fb4d1b03ea libxml2: Post process xml2-config file to actually work and bump version
Version bumped to 2.6.31
(2.6.32 has .rej files so patch target fails - upstream need to be informed).

The xml2-config file in staging dir needs to have prefix / exec-prefix setup
to understand the staging directory location.

This then means that packages that call xml2-config to get include paths/cflags
and libs etc work properly. 

This is very similar to what freetype does to freetype-config.
2008-08-28 10:56:38 +00:00
Peter Korsgaard
6d31b020b0 libxml2: enable ipv6 support if enabled in buildroot 2008-08-24 07:48:15 +00:00
Peter Korsgaard
fe3d0e27da libxml2: use install-strip instead of install-exec for target install
Use install-strip so binaries gets stripped and man pages / header files
gets installed.
2008-08-23 13:08:37 +00:00
Peter Korsgaard
f5dc33a1a3 libxml2: cleanup configure args 2008-08-23 13:08:34 +00:00
Peter Korsgaard
f27b2cc818 libxml2: point to homepage instead of ftp site in help 2008-08-23 13:08:31 +00:00
Peter Korsgaard
92b8a20f5c libxml2: remove unused BR2_PACKAGE_LIBXML2_TARGET_HEADERS option 2008-08-23 13:08:28 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
dd655bccb6 libxml: fix compilation without large file support 2008-06-30 13:16:18 +00:00
Peter Korsgaard
3402d4b4cf libxml2: strip libraries in TARGET_DIR
And cleanup libxml2.mk trailing whitespace while we're at it.
2008-06-20 21:45:27 +00:00
John Voltz
18e08ad369 updated libxml2 makefile 2008-03-06 18:16:30 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Ulf Samuelsson
ae0343b4e6 Cleanup libxml2 directory structure 2007-09-23 14:23:16 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Ulf Samuelsson
e4ead9c13c Remove switches if sstrip is run 2007-08-21 01:53:57 +00:00
Ulf Samuelsson
cf55419b3f SED away some whitespace 2007-08-20 17:21:16 +00:00
Ulf Samuelsson
f60308be15 Från: Brad House <brad@mainstreetsoftworks.com>
Till: 	buildroot@uclibc.org
Ämne: 	[Buildroot] [patch] libxml2 install fails because of missing directory
Datum: 	Tue, 14 Aug 2007 16:34:34 -0400  (22.34 CEST)

If libxml2 is installed before $(TARGET_DIR)/usr/lib is created,
it fails because it can't copy the library over.

Also, the dependency tree is a bit messed up.  libxml2.a should
only be installed if target-headers is specified, it's 4MB
on my system and the only .a file I found in my TARGET_DIR
(target-headers was not specified).

The attached patch fixes the above problems.

-Brad
2007-08-19 20:59:37 +00:00
Ulf Samuelsson
e1875d3ba2 Cleanup libxml2 2007-08-07 17:27:59 +00:00
Ulf Samuelsson
8df9b2733f Only build cvs and libxml2 if WCHAR is enabled 2007-07-31 22:40:13 +00:00
Ulf Samuelsson
90d64ed2bf Fix some bugs in libxml2 make 2007-07-24 14:12:38 +00:00
Ulf Samuelsson
ff2adceaa2 Copy libxml2 headers to staging_dir (and possibly target_dir) 2007-07-17 15:17:42 +00:00
Ulf Samuelsson
f9a0f11030 Add libxml2 package 2007-07-16 20:13:22 +00:00