summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* getfattr: Add --one-file-system optionAndreas Gruenbacher2021-03-111-0/+1
| | | | | Add a --one-filesystem option to getfattr. With this option, getfattr will not cross mount points, similar to "tar --one-file-system".
* attr: Replace bzero with memsetRosen Penev2019-08-121-2/+2
| | | | | | | bzero is a deprecated function that is optionally unavailable with uClibc-ng. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* include: add uninstall target to fix distcheckMike Frysinger2016-12-091-0/+5
| | | | | | | 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.
* Cleanup visibility of API functionsYury Usishchev2016-03-023-18/+35
| | | | | | | 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.
* Use stdint types consistentlyFelix Janda2016-01-131-2/+4
|
* Remove <attr/xattr.h> and the syscall wrappersAndreas Gruenbacher2015-04-153-79/+5
| | | | | | 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.
* build: unbreak attr_copy_fd() and attr_copy_file().Nick Alcock2014-10-203-9/+11
| | | | | | | | | | | | | | | 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.
* Portability fixesEmmanuel Dreyfus2014-06-301-0/+11
| | | | | - <features.h> is Linux specific - Define __THROW for non glibc based systems
* License fixesAndreas Gruenbacher2014-03-043-8/+8
| | | | | | 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.
* avoid glibc-specific DECLS definesMike Frysinger2014-01-131-3/+6
| | | | This matches what we do in all the other headers.
* build: drop attrincludedir, use pkgincludedirJan Engelhardt2014-01-131-1/+1
| | | | | | | Automake already provides a variable for ${includedir}/${PACKAGE_NAME}; use it. Acked-by: Mike Frysinger <vapier@gentoo.org>
* modernize build systemMike Frysinger2014-01-097-817/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* move gettext logic into misc.hMike Frysinger2014-01-091-0/+10
| | | | | This lets us autogenerate config.h using autoheader rather than hand maintain it.
* punt debian/rpm packaging logicMike Frysinger2014-01-091-4/+0
| | | | | | | | | 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
* Add a default /etc/xattr.conf fileAndreas Gruenbacher2013-11-181-0/+1
|
* Mark the Irix compatibility functions as deprecatedAndreas Gruenbacher2013-11-181-10/+20
|
* attr: respect DESTDIR when installingMike Frysinger2013-05-181-0/+2
| | | | | | | 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>
* attr: Fix static build installationThomas Petazzoni2013-05-181-2/+1
| | | | | | | 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>
* attr: use SHELL from configureMike Frysinger2013-05-182-1/+1
| | | | | | | | | | | | | | | | | 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>
* Install the libraries to the appropriate directoryKamil Rytarowski2013-04-301-1/+1
|
* Merge branch 'misc'Brandon Philips2010-01-221-4/+5
|\
| * Introduce new WALK_TREE_DEREFERENCE_TOPLEVEL flagAndreas Gruenbacher2009-06-231-4/+5
| | | | | | | | | | | | 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.)
* | Merge branch 'misc'Andreas Gruenbacher2009-06-221-1/+1
|\ \ | |/
| * Add a parameter to quote() to specify which characters to quoteAndreas Gruenbacher2009-06-221-1/+1
| |
* | Merge branch 'misc'Andreas Gruenbacher2009-06-221-5/+0
|\ \ | |/
| * Put libmisc on its own branchAndreas Gruenbacher2009-06-222-0/+61
|
* Fix the path to include/install-shAndreas Gruenbacher2009-06-171-1/+1
|
* More license updatesAndreas Gruenbacher2009-05-1212-55/+101
| | | | | | | | | | | | | 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.
* Fix wrong license noticesAndreas Gruenbacher2009-03-112-2/+2
| | | | | | | | 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>
* Add copyright and license notices to lots of filesAndreas Gruenbacher2009-03-104-0/+73
| | | | Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
* More libtoolize fixesAndreas Gruenbacher2009-03-102-1/+350
| | | | | | | | | | | | | | 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>
* only symlink development libraries when neededMike Frysinger2009-01-251-1/+3
| | | | | | | | 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>
* fix include/ symlink creation (again)Eric Sandeen2009-01-081-2/+2
| | | | | | | | 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>
* ix parallel installs in include/ dirsEric Sandeen2008-12-301-3/+5
| | | | | | | | | | | | | 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>
* Allow parallel builds of xfs-cmds.Barry Naujok2008-11-212-13/+11
| | | | | | Merge of master-melb:xfs-cmds:32514a by kenmcd. Allow parallel builds of xfs-cmds
* the current attribute copying functions attr_copy_file andBarry Naujok2008-05-191-1/+6
| | | | | | | | | | 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
* walk_tree.h is not a devel package fileBarry Naujok2008-02-141-2/+2
| | | | | | Merge of master-melb:xfs-cmds:30491a by kenmcd. walk_tree.h is not a devel package file
* Add new header files to include/Makefile for acl and attrBarry Naujok2008-02-111-1/+1
| | | | | | Merge of master-melb:xfs-cmds:30471a by kenmcd. Add new header files to include/Makefile
* Add some code to the tree walking to better handle file descriptors.Tim Shimmin2007-12-041-5/+26
| | | | Merge of master-melb:xfs-cmds:30192a by kenmcd.
* fix up tree walking for symlinksTim Shimmin2007-11-211-0/+18
| | | | Merge of master-melb:xfs-cmds:30105a by kenmcd.
* make sure the library link respects LDFLAGSBarry Naujok2007-06-281-0/+1
| | | | | | Merge of master-melb:xfs-cmds:29016a by kenmcd. make sure the library link respects LDFLAGS
* Fix cross-compile issues with libtool and compiler.Barry Naujok2007-01-231-0/+1
| | | | | | Merge of master-melb:xfs-cmds:27984a by kenmcd. Fix cross-compile issues with libtool and compiler.
* Fix symlink detection in userspace MakefilesNathan Scott2006-08-211-3/+5
| | | | Merge of master-melb:xfs-cmds:26825a by kenmcd.
* fix make depend for libtool librariesTim Shimmin2006-07-141-6/+14
| | | | Merge of master-melb:xfs-cmds:26539a by kenmcd.
* Update attr package to better integrate into the Ubuntu localisation ↵Nathan Scott2006-07-052-7/+9
| | | | | | up-to-dated-ness tracking system (Rosetta). Merge of master-melb:xfs-cmds:26417a by kenmcd.
* some Makefile dependency fixesTim Shimmin2006-07-042-1/+16
| | | | | | Merge of master-melb:xfs-cmds:26405a by kenmcd. specify platform for depend flags
* Allow LDFLAGS to come from build env, for the Gentoo fringe dwellers.Nathan Scott2006-05-022-1/+2
| | | | Merge of master-melb:xfs-cmds:25860a by kenmcd.
* fix lib64 installsTim Shimmin2006-04-041-5/+6
| | | | Merge of master-melb:xfs-cmds:25657a by kenmcd.
* Debian packaging updates for attr (debmake to debhelper transition).Nathan Scott2006-02-161-1/+0
| | | | Merge of master-melb:xfs-cmds:25213a by kenmcd.
* Implement the list_attr IRIX API on top of the Linux API. For fsstress.Nathan Scott2006-01-121-0/+12
|