summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* getfacl: Add --one-file-system optionnextPavel Polacek2020-11-141-0/+1
| | | | | | | Add a --one-filesystem option to getfacl. With this option, getfacl will not cross mount points, similar to "tar --one-file-system". (Patch modified by Andreas Gruenbacher.)
* include: fix uninstall for `make distcheck`Mike Frysinger2018-06-181-0/+2
|
* Remove ACL_ADD and ACL_DELETEAndreas Gruenbacher2016-03-071-2/+0
| | | | | These permissions will never be added to POSIX ACLs; remove the (already commented out) definitions.
* Cleanup visibility of API functionsYury Usishchev2016-03-023-47/+59
| | | | | Add visibility attribute to public headers and -fvisibility=hidden compiler option when visibility is supported by compiler.
* Rework config.h usageYury Usishchev2016-02-151-2/+0
| | | | | | | | | Move #include "config.h" from misc.h to every source file. It's incorrect to include it after a system header file because it does things like: Those must come before you include any system header file in order for them to work properly. It hasn't bitten us so far, but we still should fix the files to do the right thing.
* add __acl_ prefixes to internal symbolsMike Frysinger2014-08-121-4/+4
| | | | | | When static linking libacl, people sometimes run into symbol collisions because their own code defines symbols like "quote". So for acl internal symbols, use an __acl_ prefix.
* mark libmisc funcs as hidden so they are not exportedMike Frysinger2014-08-121-4/+13
|
* build: drop aclincludedir, use pkgincludedirMike Frysinger2014-01-181-1/+1
| | | | | Automake already provides a variable for ${includedir}/${PACKAGE_NAME}; use it.
* modernize build systemMike Frysinger2014-01-137-809/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: - 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-132-10/+17
| | | | | This lets us autogenerate config.h using autoheader rather than hand maintain it.
* punt debian/rpm packaging logicMike Frysinger2014-01-131-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>
* Install the libraries to the appropriate directoryBrandon Philips2013-05-201-1/+1
|
* acl: 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>
* acl: 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>
* acl: 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>
* libacl: Add acl_extended_file_nofollow()Kamil Dudka2011-04-041-0/+1
| | | | | | | This function calls lgetxattr() instead of getxattr(), which helps ls(1) to prevent unnecessary automatic mounts, which acl_extended_file() triggers. See the following bug report for more details: https://bugzilla.redhat.com/692982
* Merge branch 'misc'Andreas Gruenbacher2009-06-231-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-222-26/+19
|\ \ | |/
| * 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-06-085-0/+73
| | | | | Add license headers to a number of small files which were only licenses as GPLv2+ implicitly so far.
* Fix editing errorAndreas Gruenbacher2009-03-131-2/+0
|
* Fix wrong license notices; add missing noticesAndreas Gruenbacher2009-03-135-9/+55
| | | | | | | | | | | Some of the license notices are referring to GPLv2.1. This is wrong; the proper licenses that the notices should refer to are GPLv2, and LGPLv2.1. Fix this mistake. Add missing license notices to a whole bunch of files which didn't indicate their license. 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>
* Fix cross-compile issues with libtool and compiler.Barry Naujok2009-02-261-0/+1
| | | | | | | | This is equivalent to commit de7b3f6 from Barry Naujok <bnaujok@sgi.com> in the acl package, and part of the Gentoo package, as pointed out by Mike Frysinger <vapier@gentoo.org>. 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 sys target, missing disk, and failures ensued. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by:Christoph Hellwig <hch@infradead.org>
* fix parallel installs in include/ dirsEric Sandeen2008-12-301-4/+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-cmsd
* 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/+6
| | | | Merge of master-melb:xfs-cmds:30195a by kenmcd.
* fix up tree walking code with symlinks for acl commandsTim Shimmin2007-11-211-0/+38
| | | | Merge of master-melb:xfs-cmds:30109a 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 a build issue on GNU/kFreeBSD, thanks to Petr Salinger.Lachlan McIlroy2006-12-091-0/+5
| | | | | Also updates Debian packaging. Merge of master-melb:xfs-cmds:27678a by kenmcd.
* 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 acl 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:26416a 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.
* Add back accidentally dropped comment delimiter.Nathan Scott2006-02-201-1/+2
| | | | Merge of master-melb:xfs-cmds:25237a by kenmcd.
* Debian packaging updates for acl (debmake to debhelper transition).Nathan Scott2006-02-161-3/+1
| | | | Merge of master-melb:xfs-cmds:25212a by kenmcd.
* Update copyright annotations and license boilerplates to correspond with SGI ↵Nathan Scott2005-11-093-76/+0
| | | | | | Legals preferences. Merge of master-melb:xfs-cmds:24332a by kenmcd.
* Update copyright annotations and license boilerplates to correspond with SGI ↵Nathan Scott2005-11-091-28/+0
| | | | | | Legals preferences. Merge of master-melb:xfs-cmds:24326a by kenmcd.
* Updated next_line fix from AndreasGNathan Scott2005-02-221-0/+1
| | | | Merge of master-melb:xfs-cmds:21593a by kenmcd.
* Keep userspace packaging in sync, portability changes.Nathan Scott2004-09-302-3/+3
| | | | Merge of xfs-cmds-melb:slinx:19609a by kenmcd.
* Add some more glibc-based platforms that people are apparently porting ↵Nathan Scott2003-10-151-1/+1
| | | | acl/attr to