Commit Graph

39 Commits

Author SHA1 Message Date
Gustavo Zacarias 29ea73ab4f openswan: bump to version 2.6.42
Add hash file.
Patch upstream in common Makefile.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-22 18:07:35 +02:00
Thomas De Schampheleire 0518a98ac3 packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTS
While the autotools infrastructure was using FOO_MAKE_OPT, generic packages
were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem
when a new infrastructure is introduced that wants to make use of
FOO_MAKE_OPT(S), and can live alongside either generic-package or
autotools-package. The new infrastructure will have to choose between either
OPT or OPTS, and thus rule out transparent usage by respectively generic
packages or generic packages. An example of such an infrastructure is
kconfig-package, which provides kconfig-related make targets.

The OPTS variant is more logical, as there are typically multiple options.

This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS.
Sed command used:
    find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 15:07:23 +02:00
Gustavo Zacarias 6dc395dec0 openswan: needs host-flex
Although parser.l is shipped it seems it might get regenerated from
parser.y sometimes and an old installed flex might not be good enough.
Fixes:
http://autobuild.buildroot.net/results/e59/e5970eae28d01503d89a5d4e593711d7a27da8b5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-21 21:52:23 +02:00
Gustavo Zacarias c5af9cecf2 openswan: fix possible build failure
openswan's Makefile uses gcc instead of $(CC) for gcc version detection
to use advanced warning/error options. The problem is that if the
host gcc version is newish (>=4.6) and the gcc for the target is not it
uses unsupported options.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-03 21:40:07 +02:00
Gustavo Zacarias 5b31dfca0e openswan: security bump to version 2.6.41
Fixes CVE-2014-2037 (continuation of CVE-2013-6466 issues).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-12 22:24:41 +01:00
Gustavo Zacarias 88b76e2649 openswan: security bump to version 2.6.40
Fixes CVE-2013-6466.
openswan-wno-error-cpp.patch is no longer required since it's now
conditional on a check for a modern enough compiler.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-25 21:00:57 +01:00
Markos Chandras 6e8efc0ed4 openswan: Restore -fPIE to USERCOMPILE flags
The default USERCOMPILE variable uses -fPIE so we bring this back.
This also fixes linking problems for MIPS when non-PIC objects
are used to form a PIC one.

Fixes the following linking problem on MIPS:
connections.o: relocation R_MIPS_HI16 against `__gnu_local_gp'
can not be used when making a shared object; recompile with -fPIC

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-27 20:51:48 +02:00
Gustavo Zacarias 9dee63bf4d openswan: fix older gcc build failure
Older gcc versions (< 4.4) don't accept cpp as -Werror / -Wno-error
parameters.
Disable it since it's not yet a default with any version and we don't do
-Werror by default. Fixes:
http://autobuild.buildroot.net/results/977/9779215c4dfb68dc105f27097246a97851b1f6c2/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-11 21:28:27 +02:00
Gustavo Zacarias 20b52856ef openswan: security bump to version 2.6.39
Fixes CVE-2013-2054.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-10 16:54:19 +02:00
Alexandre Belloni 8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Gustavo Zacarias ad099ccf67 openswan: fix OCF support detection
Now that the openssl OCFs option is gone we need to switch to the package
option.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-05 23:00:53 +02:00
Thomas Petazzoni cdae2b24f0 openswan: add missing TARGET_MAKE_ENV
openswan needs host-bison. The dependency was already there, but the
build was not executed with $(TARGET_MAKE_ENV) in the environment, and
therefore $(HOST_DIR)/usr/bin was not in the PATH.

While we're at it, add licensing informations to openswan.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-25 08:57:15 +01:00
Gustavo Zacarias aff304d535 iproute2: needs mmu
Fixes
http://autobuild.buildroot.net/results/08beca1cae9dc55b2f770a01ad95bcbe56594300/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 17:06:53 +01:00
Arnout Vandecappelle (Essensium/Mind) e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00
Gustavo Zacarias 3bc3af3d9c openswan: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-09 13:32:30 +02:00
Peter Korsgaard 5223447b8b package: remove openswan
As noticed back when it was marked as broken 1 year ago.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-08 17:26:16 +01: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
Peter Korsgaard 469f6e4df5 openswan: mark as BROKEN as it doesn't build with current kernel headers
It WILL get removed after 2009.05 unless someone steps up to fix it.
2009-02-24 08:56:14 +00:00
Peter Korsgaard 280c871e50 openswan: tarball moved to old/ subdir 2009-01-16 13:21:33 +00:00
Peter Korsgaard 4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard 2be151db5d openswan: revert $(strip ...) change (r24307) on patches
Thanks to Markus for noticing.
2008-12-17 10:32:06 +00:00
Peter Korsgaard ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +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
Bernhard Reutner-Fischer 036f718684 - add missing include 2007-09-19 09:20:04 +00:00
Bernhard Reutner-Fischer fbe627b858 - fix args for UDP_INC_STATS_BH 2007-09-19 08:50:54 +00:00
Bernhard Reutner-Fischer acf1168bca - bump version to 2.4.9 2007-09-18 13:02:25 +00:00
Ulf Samuelsson 407899d899 Update openswan package with bugfixes 2007-07-23 09:45:23 +00:00
Bernhard Reutner-Fischer 0848d01d38 - need to rename these hunks to come after the base patches 2007-06-21 22:14:55 +00:00
Bernhard Reutner-Fischer 96a63a34fa - version bump (not yet tested..) 2007-06-21 22:09:36 +00:00
Bernhard Reutner-Fischer e84104dbdf - fwd port 2007-03-24 12:46:46 +00:00
Bernhard Reutner-Fischer 8d34e5660f - fwd port 2007-03-21 10:35:40 +00:00
Bernhard Reutner-Fischer ea585cf1bc - store the current patches for the kernel part somewhere 2007-02-15 13:54:25 +00:00
Bernhard Reutner-Fischer 22a6caa17e - set some kernel related variables for use by packages 2007-02-15 12:30:15 +00:00
Bernhard Reutner-Fischer 8576c4495f - add option to enable debugging support 2006-12-22 11:29:52 +00:00
Bernhard Reutner-Fischer 40bf460fab - remove usage of SUSv3 legacy functions. 2006-12-14 15:36:12 +00:00
Bernhard Reutner-Fischer 5de88506d9 - use the correct installation path. 2006-11-29 20:51:47 +00:00
Bernhard Reutner-Fischer ba1ceecb55 - it helps to actually apply the patches.. ;) 2006-11-29 13:21:28 +00:00
Bernhard Reutner-Fischer c1d7593fde - strip cruft off the pluto patch. 2006-11-28 17:04:37 +00:00
Bernhard Reutner-Fischer ccd252b553 - add openswan support. Compile tested only. Closes #200. 2006-11-28 16:59:17 +00:00