Commit Graph

8 Commits

Author SHA1 Message Date
Bernd Kuhls
81aa2c8bc4 package/tor: bump version to 0.2.6.10
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-10 16:12:16 +02:00
Thomas Petazzoni
bfe2ba7453 tor: needs NPTL threads
Fixes:

  http://autobuild.buildroot.org/results/f09/f09af8dd0d85bc6137a0c2f26cbe62686767b957/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-04 15:36:04 +02:00
Peter Korsgaard
86ae63af05 tor: explain why we use -std=gnu99
[Missed from 5cf5b390 (fix building if GCC's C standard is not gnu99)]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-07-03 09:04:46 +02:00
Alexey Brodkin
5cf5b39038 tor: fix building if GCC's C standard is not gnu99
Up to date tor (at least starting from 0.2.6) requires compiler with C99
plus some extensions support.

If default GCC's C standard < c99 (that's the case at least for ARC)
you'll see this on attempt to build tor:
----------------------->8--------------------
src/common/address.c: In function ''tor_addr_parse_PTR_name':
src/common/address.c:502:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for (int i = 0; i < 16; ++i) {
     ^
src/common/address.c:502:5: note: use option -std=c99 or -std=gnu99 to compile your code
----------------------->8--------------------

Once you follow compiler advice and enable c99 support with "-std=c99"
you'll pass that failure but will see tons of other errors, see
https://www.mail-archive.com/tor-dev@lists.torproject.org/msg06273.html

And only g99 resolves all problems at once.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-07-02 17:36:35 +02:00
Thomas Petazzoni
49565a282a tor: needs thread support
Fixes:

  http://autobuild.buildroot.org/results/4f7/4f758978f6820ecceaad57385f3c104011180c4d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-29 17:43:13 +02:00
Vicente Olivert Riera
1a68d105f5 tor: bump to version 0.2.6.9
- Bump to version 0.2.6.9
- Update hash file
- Adapt patch to new version

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-21 06:40:09 +02:00
Bernd Kuhls
dbe7e621aa package/tor: limit libseccomp support to archs supported by upstream
See this commit for a list of supported archs:
https://gitweb.torproject.org/tor.git/commit/src/common/sandbox.c?id=b0c1c700114aa8d4dfc180d85870c5bbe15fcacb

Fixes mips64el build error:
http://autobuild.buildroot.net/results/f97/f9792a0b013f6b79774ecc978d859f56bd941586/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-26 14:29:30 +02:00
Bernd Kuhls
17d2c6d5db package/tor: new package
[Thomas:
  - remove reference to BR2_LARGEFILE, this option has been
    removed. Largefile support is now guaranteed to be present.
  - rewrap Config.in help text to the appropriate length.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-25 16:53:07 +02:00