aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: merge into top level makefile tooMike Frysinger2021-10-231-3/+6
| | | | | | | This kills off recursive make entirely. Closes: https://bugs.gentoo.org/819411 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* build: hoist -Itop_srcdir to common AM_CPPFLAGSMike Frysinger2021-10-231-1/+3
| | | | | | | Every subdir sets this var this way, so might as well unify it. We keep very few files in here, so shouldn't be a future problem. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* build: flatten build a bit to avoid (most) recursive makeMike Frysinger2021-10-211-10/+10
| | | | | | Provides a bit of a speed up. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Makefile.am: don't mangle final binary with sedSergei Trofimovich2021-05-041-9/+0
| | | | | | | | | | | | | | | | | In bug #774861 pash found out that /bin/sh -> busybox produces invalid `sandbox` binary. It happens because `busybox sed` does not implement hex escape insertions, like: $ printf "a" | gnu-sed 's/a/\x00/' | hexdump -C 00000000 00 |.| $ printf "a" | busybox sed 's/a/\x00/' | hexdump -C 00000000 78 30 30 |x00| The change exposes `__SANDBOX_TESTING` variable to external users. Reported-by: pash Bug: https://bugs.gentoo.org/774861 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Stop installing the icon and .desktop fileMichał Górny2020-02-281-4/+2
| | | | | | | | The menu entry for Sandbox is not very useful, so stop installing it by default. Leave the files in place in case somebody wanted them. Bug: https://bugs.gentoo.org/710920 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Flatten data, etc & scripts MakefilesMichał Górny2019-01-131-4/+18
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Remove pointless .pch supportMichał Górny2019-01-131-35/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* add a configure option to control pch usageMike Frysinger2012-11-171-6/+19
| | | | | | | | | Mostly for testing purposes. This also tweaks the dependency to fix a warning when generating the headers.h.pch in subdirs when the toplevel headers.h.pch already exists. URL: http://bugs.gentoo.org/425524 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* precompile headers.h to speed up build slightlyMike Frysinger2012-07-031-3/+27
| | | | | | | Since all system headers are included by way of headers.h, we can pre-compile this to speed up the build up a bit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* significantly overhaul output helpersMike Frysinger2012-06-231-0/+9
| | | | | | | | | | | | | | | | | | | | There are a few major points we want to hit here: - have all output from libsandbox go through portage helpers when we are in the portage environment so that output is properly logged - convert SB_E{info,warn,error} to sb_e{info,warn,error} to match style of other functions and cut down on confusion - move all abort/output helpers to libsbutil so it can be used in all source trees and not just by libsandbox - migrate all abort points to the centralized sb_ebort helper Unfortunately, it's not terribly easy to untangle these into separate patches, but hopefully this shouldn't be too messy as much of it is mechanical: move funcs between files, and change the name of funcs that get called. URL: http://bugs.gentoo.org/278761 Reported-by: Mounir Lamouri <volkmar@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* use newer automake featuresMike Frysinger2009-04-051-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* include the m4 files from the autoconf-archive packageMike Frysinger2009-02-181-0/+1
| | | | | | | | Not everyone has the autoconf-archive package installed, so have the autogen.sh script automatically update the local copies and include them in the tree. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ChangeLog: use git to generateMike Frysinger2008-11-281-3/+5
| | | | | | | Now that we're using git rather than svn, update the ChangeLog generation method accordingly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: initial test frameworkMike Frysinger2008-11-111-1/+3
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* get the ChangeLog hook working with distcheckMike Frysinger2008-11-101-2/+11
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Makefile.am: add headers.h to EXTRA_DISTMike Frysinger2008-11-091-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* bump ver to 1.3.x and build lzma tarballsMike Frysinger2008-11-091-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* svn2cl: run during `make dist` rather than `./autogen.sh`Mike Frysinger2007-04-191-0/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Move libsandbox to its own directory.Martin Schlemmer2006-07-091-1/+8
| | | | Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* As we are using a symbol map for libsandbox, its no longer neededMartin Schlemmer2006-07-091-2/+2
| | | | | | | | | to have all the internal functions static, and thus we can break things out a bit and make the source layout more sane. Start by moving librcutil to libsbutil, and adding all the defines and helper functions needed by both libsandbox and sandbox. Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* Set default values via a config file. Also support sandbox.dMartin Schlemmer2006-07-061-1/+1
| | | | | | config directory for package specific configuration files. Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* Enable building of librcutil.Martin Schlemmer2006-07-051-1/+3
| | | | Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* Move clean.sh to scripts. Some 'make distcheck' fixes.Martin Schlemmer2005-12-011-1/+1
| | | | Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* Add scripts/svn2cl.*; move ChangeLog and update autogen.sh toMartin Schlemmer2005-12-011-1/+1
| | | | | | generate ChangeLog. Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* Use versioned symbols on supported libc's for functions we wrap, as well asMartin Schlemmer2005-11-301-1/+1
| | | | | | provide all versions of specific functions. Some syntax cleanups. Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* Reorder source layout.Martin Schlemmer2005-11-281-48/+3
| | | | Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* Really remove libctest.cMartin Schlemmer2005-05-101-1/+1
| | | | Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* whitespace fixes and move LIBC_VERSION to config.hMike Frysinger2005-04-281-17/+15
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Make sure all functions used in libsandbox.c is declared static. DefineMartin Schlemmer2005-04-231-1/+1
| | | | | | | | | SB_STATIC in localdecls.h for this. Include sandbox_futils.c rather than linking with its object. Hopefully this will fix bug #90153. URL: http://bugs.gentoo.org/90153 Signed-off-by: Martin Schlemmer <azarah@gentoo.org> Reported-by: Alexandre Rostovtsev <tetromino@gmail.com>
* dropping duplicate symbolsMarius Mauch2005-03-141-0/+1
| | | | Signed-off-by: Marius Mauch <genone@gentoo.org>
* Seems -nostdlib was the problem with the constructor/destructor - remove itMartin Schlemmer2005-03-141-1/+3
| | | | | | from Makefile.am, and change the constructor/destructor names again. Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* correct symbols.h building when libdir !+ "/lib"Brian Harring2005-03-091-3/+3
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* Fix symbols.in not added to dist.Martin Schlemmer2005-03-021-2/+1
| | | | Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* White space fixes.Martin Schlemmer2005-03-021-2/+2
| | | | Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* Fix inverse test logic in canonicalize.c, use a strncpy. Fix gcc warning inMartin Schlemmer2005-03-021-7/+42
| | | | | | | | | getcwd.c. Add symbols.in and logic to Makefile.am to generate symbol versions for glibc and other libc's that use this. Update libsandbox.c to use these symbol versions if available. Fix exec wrapper to re-export LD_PRELOAD if the process unset it. Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
* hopefully cvs is done being stupid. Compilation fixes, along w/ make dist fix.Brian Harring2004-12-061-1/+1
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* should make things compile againBrian Harring2004-12-051-1/+1
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* turn create-localdecls into semi-autotooledMike Frysinger2004-12-021-5/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* touchupsMike Frysinger2004-12-021-17/+8
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* adjustment so it stops installing a couple of extra srcs to /usr/share.Brian Harring2004-11-211-2/+4
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* corrections to remove hardcoded paths.Brian Harring2004-11-201-3/+7
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* removed the /usr/lib/portage/ hardcoded reference for bashrc.Brian Harring2004-11-201-2/+5
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* nuke the creation of a gz for dist target.Brian Harring2004-11-201-1/+1
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* final make dist tweak. stupid bugger.Brian Harring2004-11-201-1/+1
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* corrections for make dist, include canocicalize.cBrian Harring2004-11-201-0/+1
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* changed the dist target to include building bz2'd tarballs.Brian Harring2004-11-201-0/+2
| | | | Signed-off-by: Brian Harring <ferringb@gentoo.org>
* Initial revisionBrian Harring2004-11-191-0/+16
Signed-off-by: Brian Harring <ferringb@gentoo.org>