summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2011-06-28Enable GLOB_ONLYDIR of the bundled glob() on platforms that support itPanu Matilainen1-1/+1
2011-04-29Add lrzip support.Ville Skyttä1-0/+1
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-04-29Add lzip support.Ville Skyttä1-0/+1
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-04-04Only enable test-suite if fakechroot is availablePanu Matilainen1-1/+3
2011-03-28Use pkg-config to find Lua + determine flags (ticket #88)Panu Matilainen1-21/+14
- Additionally clean up the logic a bit and dont bother building any lua-related bits if disabled
2011-03-25Push platform config out of main rpm macros filePanu Matilainen1-28/+0
- canon arch & color stuff is now calculated per each known arch in installplatform, and just a single place where arch name mangling is done
2011-03-25Replace distro/vendor autodetection with a configure switchPanu Matilainen1-13/+7
- it's not rpm's job, not is it possible for rpm to know about distribution/vendor names and preferences - use build_vendor as the canonical vendor (affecting %{_vendor} default and macro + rpmrc paths) unless overridden by --with-vendor=name
2011-03-25Move find-provides and find-requires link to autodeps/Florian Festi1-35/+24
Implement link reaction with less copied code
2011-03-23Remove checks of unused things from configure.acJindrich Novy1-12/+1
2011-03-23Don't use mtrace(3), muntrace(3) and don't check for mcheck.hJindrich Novy1-2/+0
- valgrind is good for these things without touching the code
2011-03-23Remove libio support to suppress timedRead()Jindrich Novy1-1/+0
2011-03-09Preliminary distutils support for the python bindingsPanu Matilainen1-0/+1
- Steps towards separating rpm-python from the main rpm tarball even though developed within the rpm repository. - Having the bindings in a separate tarball makes it simpler to build them for different python versions, notably python 3 (RhBug:531543)
2011-03-04Make peace with autoconf-2.68Panu Matilainen1-0/+2
2010-12-22Only sepolicy-plugin needs linking to libsemanagePanu Matilainen1-1/+4
2010-12-03Bump HEAD version at branch-pointPanu Matilainen1-1/+1
2010-10-26Fix BDB version check in configure to work with >= 5 tooPanu Matilainen1-1/+1
2010-10-22Move librpmsign to its own subdirectory in the sourcesPanu Matilainen1-1/+1
2010-10-01Add configure switch to disable plugins buildPanu Matilainen1-0/+7
- For now this is really just to allow building statically while hacking, for "real world" use this has implications on collections support etc which is not handled by this patch.
2010-10-01Handle enable/disable python to configure.ac more sanelyPanu Matilainen1-1/+1
- Conditionalize the python subdir on toplevel make instead of python subdir makefile.
2010-09-01Add SELinux policy pluginSteve Lawrence1-3/+46
This adds a new plugin specifically for a collection to load SELinux policy. This implements the post_add and pre_remove plugin hooks. The only time anything happens during the pre_remove hook is if post_add was not called (i.e. if the transaction only removes policies). This plugin extracts all the policy information from packages in the sepolicy collection during the open te hook. It then determines which policies should be installed/removed based on if the package is being installed/removed and the type of the policy and the system policy. It then executes semodule (or uses libsemanage if semodule cannot be executed or installing in a chroot) to remove and install the necessary policies. It then reloads the selinux state, reloads the file contexts, and if necessary, relabels the file system.
2010-09-01Use selabel interfaces instead of matchpathconSteve Lawrence1-0/+13
This replaces the old matchpathcon interfaces with the new selabel interfaces for relabeling files, storing an selabel handle in the transaction set. With this change, also comes an added distinction between --nocontexts being specified and a failure to read the load file contexts. Previously, there was no distinction, and both cases used the RPMTRANS_FLAG_NOCONTEXTS flag. However, with the new policy plugin, it is necessary to make such a distinction. This is because matchpathcon_init (now selabel interfaces) can fail at the beginning of the transaction, but succeed later after new policy is installed. Because of this, we may need to enable/disable RPMTRANS_FLAG_NOCONTEXTS multiple times. However, because this flag could also mean --nocontexts, we cannot do that. By storing the selabel handle in the rpmts, we can easily keep track if the handle has been successfully created, rather than overloading RPMTRANS_FLAG_NOCONTEXTS with two meanings.
2010-06-23Add configure.ac check for need to -ldlPanu Matilainen1-0/+1
- without this the build can barf on unresolved dl* symbols with a linker defaulting to --no-add-needed
2010-06-22Add a generic plugin for use by simple CollectionsSteve Lawrence1-0/+1
This patch adds a generic plugin, exec.so, that should be sufficient for the majority of Collection actions. After all packages in a Collection have been installed/removed, this plugin executes the arguments by calling system(3), allowing for a very generic and powerful method to perform many actions. This also adds two sample macros as examples of the format, using the exec.so plugin.
2010-04-08Require BDB >= 4.5 for sanity's sakePanu Matilainen1-18/+8
- replace unused feature tests in configure.ac with a simple version check
2010-03-31Lose shmkey + shared BDB config optionsPanu Matilainen1-1/+0
- we dont want anything to do with System V IPC, really... BDB uses file backed mmap when it needs, this suits us just fine
2010-03-23First take at pluggable file attribute + dependency extraction systemPanu Matilainen1-1/+1
- move most of the hardwired classification logic from rpmfc C-code to macro-based configuration, supporting drop-in addition of arbitrary new attributes + dependency extractors based on regex matching of libmagic file types and paths - just the initial rough conversion of our built-in dependency types, various open questions + todo-items remain, plus likely fair amount of more-or-less subtle breakage
2010-02-10Split elf dependency extraction out of librpmbuild to external helperPanu Matilainen1-2/+0
- Elf dependency extraction code code lifted from rpmfcELF() and refactored to saner pieces. Having it in separate executable also frees librpmbuild of libelf dependency, clean up the unnecessary linkage etc from autofoo - This lets internal dependency generator for elf files be overridden without losing file coloring (which is required for correct multilib handling). It also permits non-native elf files (eg when cross-building) to be handled by providing a custom elf dependency helper - On the flip side, this inevitably slows down builds somewhat as two fork-exec's are needed for every elf file, but unlike invoking something like the python interpreter, this is a slim helper... - All dependency extractors of the internal dependency generator are now external helpers (how twisted is that, huh? :) and thus can be customized and filtered through %__foo_provides|requires macros
2010-02-05Remove unused mntctl & mount related header checksPanu Matilainen1-2/+2
2010-02-03Kill RPMTAG_FSNAMES and RPMTAG_FSSIZES and everything implementing themFlorian Festi1-22/+0
2010-01-08Bump version to appear newer than 4.8.0, update translations tooPanu Matilainen1-1/+1
2010-01-05Loose string header compatibility gooPanu Matilainen1-2/+0
- <string.h> is required by C standard, we dont support ancient non-conformant compilers anyway
2010-01-05Remove unnecessary NLS definitions from system.hPanu Matilainen1-3/+0
- all uses of dgettext() and friends are already protected by appropriate ifdef's, no need to provide dummy defines here - setlocale() and <locale.h> are required by C89, C99 and POSIX .. assume its there and if not, one can disable the whole thing with --disable-nls
2010-01-05Unconditionally include <sys/wait.h> where neededPanu Matilainen1-1/+1
- no point conditionalizing what we cant live without
2010-01-05Move sys/mman.h include out of system.h to the places that carePanu Matilainen1-1/+1
- just two places where needed, dont pollute system.h needlessly - include depending on HAVE_MMAP instead of separately checking for sys/mman.h, if sys/mman.h doesn't exist or is broken HAVE_MMAP wont be set
2010-01-05Remove unnecessary and broken time.h related configure + system.h checksPanu Matilainen1-1/+0
- the AC_HEADER_TIME check is unnecessary for any remotely recent systems, and the HAVE_SYS_TIME_H conditional in system.h is just broken as we dont even check for <sys/time.h> header in configure - dont include from system.h, the time.h and sys/time.h get already included through our public headers where necessary
2010-01-05Unconditionally include <netdb.h> where needed instead of system.hPanu Matilainen1-1/+1
- there's no fallback for missing netdb.h so there's little point conditionalizing it - avoid yet more system.h pollution
2010-01-05Remove pointless & unused configure checksPanu Matilainen1-5/+0
- vprintf(), vsnprintf() and snprintf() are in C99, no point checking especially as we dont have fallbacks for them - no point testing for inline capability as we dont try to work around
2010-01-05Sanitize signature checking formatResult() a bitPanu Matilainen1-1/+0
- whole lotta unnecessary wankery here (what have I been thinking) - avoid using the non-standard strndup(), we checked for it in configure but didn't provide an alternative so checking was just bogus
2010-01-05Oops, ftok() is really optionalPanu Matilainen1-1/+2
2010-01-04Clean up poll() vs select() testsPanu Matilainen1-1/+1
- move the includes out of system.h, not commonly needed - <poll.h> is conditional as we actually provide a fallback through select(), but for <sys/select.h> missing there's no fallback so doesn't make much sense to test for (and both poll.h and sys/select.h are posix anyway...)
2010-01-04Remove unused header checks from configurePanu Matilainen1-4/+2
- maybe these have been used at some point but not anymore...
2010-01-04Eliminate unused id -u testsPanu Matilainen1-11/+0
- this was used by _fixowner and _fixgroup macros back in the day but they no longer exist as they're unusable without building as root
2010-01-04Re-enable mmap test in configure & fix the code build againPanu Matilainen1-4/+1
- this stuff has been disabled for years, lets see what breaks...
2010-01-04Remove unnecessary stdint check from configurePanu Matilainen1-4/+0
- a leftover from pre-C99 requirement times
2010-01-04Remove S_IFSOCK and S_IFLNK kludgery for ancient unixesPanu Matilainen1-24/+0
- these are specified by POSIX 2001, it's not really rpm's job to provide them if the system doesn't
2010-01-04Require lchown() and remove ancient broken chown kludgeryPanu Matilainen1-42/+1
- lchown() is POSIX 2001, we dont care about older / nonconformant stuff
2010-01-04Check for our POSIX 2001 requirements and abort if not foundPanu Matilainen1-5/+3
2010-01-04Lose the hysterical fakefork hackPanu Matilainen1-8/+0
- we're not particularly interested in AmigaOS quirks from 1996
2010-01-04Remove further replacement functions for POSIX 2001 required bitsPanu Matilainen1-2/+0
- getwd(), getcwd(), basename() and realpath() are all POSIX 2001 defined, we dont care about older stuff
2010-01-04Remove unnecessary setenv() replacement functionPanu Matilainen1-1/+1
- setenv() and unsetenv() are required by POSIX 2001, we dont care about older systems