Commit Graph

23 Commits

Author SHA1 Message Date
Damian Kaczmarek
9f930d2d7f lsof: fix permission of extracted files
Closes #4369

Default tar permissiong make it impossible to apply patches to some of
the files.

Change extraction command to skip permissions by using "-O" tar option
and a pipe tar chain.

Solution suggested by: Arnout Vandecappelle <arnout@mind.be>

[Peter: rework to use define as suggested by Thomas]
Signed-off-by: Damian Kaczmarek <damian@veritymedical.co.uk>
Tested-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-24 23:07:09 +01:00
Gustavo Zacarias
faf408f4af lsof: bump to version 4.85
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-07 21:29:51 +02:00
Thomas Petazzoni
0849e8193e package: remove useless arguments from GENTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS 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:09:58 +02:00
Peter Korsgaard
50e0338bc8 lsof: fix build after gentargets conversion
With the gentargets conversion, the tarball is extracted directly in the
source directory, so adjust paths to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-27 15:49:00 +01:00
Martin Banky
8db52c6e78 lsof: convert to gentargets and bump to 4.84
lsof is packaged as a tarball inside a .tar.bz2 package, so we have a
post-extract hook to extract the source code tarball, so that for the
next steps, lsof looks like a normal package.

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-14 00:28:25 +01:00
Andy Gibbs
44b170e104 lsof: stop overriding CFLAGS in build
Closes #2767

lsof compile breaks if CFLAGS overridden in 'make' command line
which is the case since buildroot-2010.08.

lsof has a partial fix for this already in the form of the
'LSOF_CFLAGS_OVERRIDE=1' configure option; however this only
fixes the problem in the generation of the Makefile for liblsof.

This patch does two things: it extends the 'LSOF_CFLAGS_OVERRIDE=1'
configure option to also cover the main Makefile; it also patches
lsof.mk to make use of the LSOF_CFLAGS_OVERRIDE option.

Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-04 17:15:18 +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
4bcbf87c99 lsof, m4: use variables from BR instead of uclibc
UCLIB_HAS_.* is not defined in Buildroot space, so the conditions always
evaluate to the same result. Use appropriate Buildroot variables.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-18 14:22:30 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Peter Korsgaard
f3cdba4707 lsof: bump version
Reported by Mark McLaurin.
2008-10-23 18:54:10 +00:00
Peter Korsgaard
1d3c30176e lsof: bump version
Patch by Conrad Parker.
2008-06-16 12:29:44 +00:00
Ivan Kuten
2f8ef512ed make lsof configure with target includes, thanks to marcg 2007-10-21 12:02:16 +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
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
f203aaf7c0 - use BR2_INET_IPV6 2007-06-26 17:45:08 +00:00
Bernhard Reutner-Fischer
c1efa9b291 - bump version 2007-05-15 11:23:46 +00:00
Bernhard Reutner-Fischer
819ef8072b - Convince lsof to honor uClibc's notion of wchar and locale support. 2006-12-13 23:08:48 +00:00
Bernhard Reutner-Fischer
aca398bb7f - compile against the cross toolchain, not the host 2006-11-29 12:59:56 +00:00
Bernhard Reutner-Fischer
6e2823c1fa - add and use BR2_BZCAT config option. 2006-11-17 15:43:51 +00:00
Eric Andersen
4c2a4485d1 escape the wildcard 2006-10-02 18:40:42 +00:00
Eric Andersen
6e17ffbaa2 fixup lsof so it will apply patches, and compile when rpc is disabled 2006-08-25 02:13:46 +00:00
Eric Andersen
f2a4704040 patch from John Gatewood Ham, add lsof 2006-06-23 06:53:28 +00:00