summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
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
2010-01-04Remove largely unnecessary putenv() replacementPanu Matilainen1-1/+2
- only the lua posix extension "uses" this by providing putenv() to Lua, make it conditional and return error if not supported by the underlying operating system
2010-01-04Eliminate myrealloc() replacement functionPanu Matilainen1-2/+0
- realloc(NULL, size) is defined as equal to malloc(size) in C99 and POSIX 2001, we dont care about anything older than that
2009-12-23Remove replacements for C99 mandated functionsPanu Matilainen1-3/+2
- rpm requires C99 compiler anyway, no point in carrying these around
2009-12-23Dont include <pwd.h> from system.h, dont bother checking for it eitherPanu Matilainen1-1/+1
- no much point conditionalizing something we can't live without - just three places need, no point polluting include space everywhere
2009-12-23Dont bother including <sys/socket.h>, we dont use anything from therePanu Matilainen1-1/+1
2009-12-23Dont include grp.h from system.h, dont bother checking in configure eitherPanu Matilainen1-1/+1
- no much point conditionalizing something we can't live without - just two places need, no point polluting include space everywhere
2009-12-23Dont bother checking and including a header we dont use or needPanu Matilainen1-2/+0
2009-12-23Dont bother checking for a header we dont usePanu Matilainen1-1/+1
2009-12-23Dont bother checking for functions we dont usePanu Matilainen1-15/+2
- some of this stuff was used in 4.4.x but not anymore - additionally we dont even use getdomainnname(), check for gethostname() instead
2009-12-23Use AC_PROG_MKDIR_P for testing mkdir -p capabilityPanu Matilainen1-39/+12
- for rpmbuild's purposes MKDIR_P doesn't cut it though, we need to point it to something that exists on an installed system
2009-12-22Remove unused h_errno test from configure.acPanu Matilainen1-7/+0
2009-12-07Remove support for sqlite based rpm databaseFlorian Festi1-33/+0
Also remove abstraction layer between rpmdb.h and the back end in lib/backend/
2009-12-07Preparing for 4.8.0-beta1rpm-4.8.0-beta1Panu Matilainen1-1/+1
2009-12-05Bump up the python version requirement to match realityPanu Matilainen1-3/+1
- Python >= 2.6 is known to work, 2.5 might be possible with __future__ imports but until somebody tests it...
2009-12-02Fix the posix chown test for selinux enabled systems (RhBug:543035)Panu Matilainen1-1/+1
- on selinux enabled systems, 'ls -l' mode string is longer than expected here, just trim the ls output to our expected length
2009-11-27Use AS_HELP_STRING() for configure option outputPanu Matilainen1-10/+10
2009-10-19Avoid using python's print for Python 3.x compatibilityPanu Matilainen1-1/+1
- print chanced from statement to a function in python 3, for our purposes sys.stdout.write() is sufficient and avoids dealing with the incompatibilities between Python 2.x and 3.x - suggested by David Malcolm / Ville Skyttä
2009-10-06Deprecate %__lzma, use %__xz in it.Ville Skyttä1-1/+0
2009-09-07Add -Wempty-body to default options if gcc supports itPanu Matilainen1-1/+1
- ...to help protect against screwups like 2ee45ef12aaa958b78c56b6d83bb18aa6a477d15
2009-08-13Bump version to appear newer than 4.7.x branchPanu Matilainen1-1/+1
2009-03-18LZMA -> XZ renamingPanu Matilainen1-0/+1
- what we support now in payloads is XZ, not the former LZMA format, rename user- and header-visible parts to match this - rpmlib(PayloadIsXz) dependency versioned 5.2-1 to avoid unnecessary incompatibility with what rpm5 has and what Mandriva is already using - only provide the rpmlib dependency if actually built with xz support - rpmFileIsCompressed() attempts to guess the magicless old lzma format by file suffix, so it can handle both right now