| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Add a --one-filesystem option to getfattr. With this option, getfattr
will not cross mount points, similar to "tar --one-file-system".
|
| |
|
|
|
|
|
| |
bzero is a deprecated function that is optionally unavailable with
uClibc-ng.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
| |
|
|
|
|
|
| |
Commit 315af30d0c1a198dc662a90e6e6ae2456abf2489 (Cleanup visibility of
API functions) changed to generating headers into the install path.
This means automake itself would no longer take care of uninstalling
the headers for us. Add a local hook for that to fix distcheck.
|
| |
|
|
|
|
|
| |
Import visibility_hidden.m4 macro from acl and use it in configure.ac
This will enable -fvisibility CFLAG when supported by compiler.
Mark API functions with default visibility attribute.
|
| | |
|
| |
|
|
|
|
| |
The xattr syscalls are provided by glibc since ages, so there is no need to use
the indirect system call "syscall" anymore. This removes the need for the
<attr/xattr.h> header; use <sys/xattr.h> instead.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mike's build-system-revamping commit 9ce21bd of January this year
accidentally dropped a crucial -include of "libattr.h". This silently
undefined the HAVE_F*ATTR macros, causing attr_copy_{fd,file}.c to think
that xattrs are not supported and to compile the functions in those
files into a 'return 0;' stub.
The code in these files uses the NLS _() macro, which was recently moved
into misc.h, which can only sensibly be included by things outside
libattr. So migrate the NLS macros into a new nls.h at the same time,
and include it from misc.h.
With these fixes in place, xattrs can be copied again.
|
| |
|
|
|
| |
- <features.h> is Linux specific
- Define __THROW for non glibc based systems
|
| |
|
|
|
|
| |
The libattr library is supposed to be LGPLv2.1+ licensed, but some of the files
were accidentally labeled as GPLv2+ licensed. Fix this and clarify some more
license headers that mix LGPLv2.1 and GPLv2.
|
| |
|
|
| |
This matches what we do in all the other headers.
|
| |
|
|
|
|
|
| |
Automake already provides a variable for
${includedir}/${PACKAGE_NAME}; use it.
Acked-by: Mike Frysinger <vapier@gentoo.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This deletes the hand rolled build system and replaces it entirely
with autotools. The overall diffstat shows that this is a clear
win, and it makes the package build/install like every other autotool
package out there which makes the lives of distro maintainers a lot
easier.
This should also be faster by virtue of using a non-recursive build.
Things to note:
- to generate autotools:
./autogen.sh
- to see full compile output:
make V=1
- to build specific targets:
make attr getfattr ...
- to run tests:
make check
- to create a release:
make distcheck -j
Other non-developer things:
- the xattr.conf file is now installed into sysconfdir by default
- man pages are no longer compressed as this is uncommon in the
autotools world and distros don't need it anyways (they already
handle it automatically for most pakages)
- the minor # of the shared library is now based on the package
version so it'll be much bigger ... this isn't a problem, and
is actually a bugfix (older releases didn't change when they
should have)
(Again, this is all using the standard autotool targets.)
|
| |
|
|
|
| |
This lets us autogenerate config.h using autoheader rather than
hand maintain it.
|
| |
|
|
|
|
|
|
|
| |
These files haven't been updated in years. The respective upstreams
do their own thing now. Punt this code to make future cleanups easier.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
These
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
This makes the `make install DESTDIR=...` form work. It keeps support
for all previous forms too (like DIST_ROOT).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| |
|
|
|
|
|
| |
When doing a static build the .lai file is not created, so do not try
to install it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If /bin/sh is not a functional enough shell, configure will select a
SHELL of /bin/bash or better. But the current build helpers always
hardcode /bin/sh, so if libtool itself configures itself for /bin/bash,
things will fail when it attempts to do:
SHELL = /bin/sh
LIBTOOL = $(SHELL) .../libtool
...
eval: 1: base_compile+= -pipe: not found
...
So rather than hardcoding SHELL to /bin/sh, set it to @SHELL@ and let
configure find a good value for us.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
This flag indicates to dereference top-level symlinks. (If non
top-level symlinks should be stat()ed as well, the
WALK_TREE_DEREFERENCE flag must be specified.)
|
| |\ \
| |/ |
|
| | | |
|
| |\ \
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Clarify some license notices to specifically refer to GPLv2+ instead of only
referring to GPL without version. (Most of the sloppy license headers slipped
in unnoticed; the changes were acked by Felix Blyakher <felixb@sgi.com> on
behalf of SGI on 8 April 2009.)
Add license headers to a number of small files which were only licenses as
GPLv2+ implicitly so far.
Refer to this package as "this program" rather than "Attr" throughout the
license notices; this simplifies sharing files among packages.
|
| |
|
|
|
|
|
|
| |
Some of the license notices added in commit f36cdfd are wrongly referring
to GPLv2.1. This is wrong; the proper licenses that the notices should refer
to are GPLv2, and LGPLv2.1. Fix this mistake.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
| |
|
|
| |
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recent versions of libtool behave slightly differently, which causes some
breakage in how libtoolize was used here. Make sure that libtoolize adds
the auxiliary files (config.guess and config.sub).
Move install-sh into include/ so that libtoolize does not destroy it.
Split up the ``make clean'' and ``make distclean'' targets: the former
removes all files generated during a build. The latter removes all
files generated by libtoolize, autoconf, and configure as well.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
| |
|
|
|
|
|
|
| |
We dont want to generate symlinks when the libdir is the same as the
devlibdir, otherwise we clobber the real files with broken symlinks.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Nathan Scott <nscott@aconex.com>
|
| |
|
|
|
|
|
|
| |
We need the "default" target first, otherwise a simple "make -C include"
only ran the $(INCDIR) target, missing disk, and failures ensued.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is for http://oss.sgi.com/bugzilla/show_bug.cgi?id=759
"fix parallel issue with include/ symlinks"
Doing something like "make -j2 install install-dev" would lead
to a race of removing & creating symlinks in include/
Thanks to Mike for reporting & suggesting the fix.
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
|
| |
|
|
|
|
| |
Merge of master-melb:xfs-cmds:32514a by kenmcd.
Allow parallel builds of xfs-cmds
|
| |
|
|
|
|
|
|
|
|
| |
attr_copy_fd is a static list of exceptions for attributes that need special
treatment. The list of those attributes tends to change (slowly) with kernel
versions. We replaced the static list with a config file a while ago; this is
the patch used.
Merge of master-melb:xfs-cmds:31181a by kenmcd.
Add configurable xattr copy
|
| |
|
|
|
|
| |
Merge of master-melb:xfs-cmds:30491a by kenmcd.
walk_tree.h is not a devel package file
|
| |
|
|
|
|
| |
Merge of master-melb:xfs-cmds:30471a by kenmcd.
Add new header files to include/Makefile
|
| |
|
|
| |
Merge of master-melb:xfs-cmds:30192a by kenmcd.
|
| |
|
|
| |
Merge of master-melb:xfs-cmds:30105a by kenmcd.
|
| |
|
|
|
|
| |
Merge of master-melb:xfs-cmds:29016a by kenmcd.
make sure the library link respects LDFLAGS
|
| |
|
|
|
|
| |
Merge of master-melb:xfs-cmds:27984a by kenmcd.
Fix cross-compile issues with libtool and compiler.
|
| |
|
|
| |
Merge of master-melb:xfs-cmds:26825a by kenmcd.
|
| |
|
|
| |
Merge of master-melb:xfs-cmds:26539a by kenmcd.
|
| |
|
|
|
|
| |
up-to-dated-ness tracking system (Rosetta).
Merge of master-melb:xfs-cmds:26417a by kenmcd.
|
| |
|
|
|
|
| |
Merge of master-melb:xfs-cmds:26405a by kenmcd.
specify platform for depend flags
|
| |
|
|
| |
Merge of master-melb:xfs-cmds:25860a by kenmcd.
|
| |
|
|
| |
Merge of master-melb:xfs-cmds:25657a by kenmcd.
|
| |
|
|
| |
Merge of master-melb:xfs-cmds:25213a by kenmcd.
|
| | |
|