Commit Graph

470 Commits

Author SHA1 Message Date
Steve Lawrence 34b5d67c2d Use selabel interfaces instead of matchpathcon
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-09-01 09:30:51 +03:00
Panu Matilainen b6adef396b Add configure.ac check for need to -ldl
- without this the build can barf on unresolved dl* symbols with a
  linker defaulting to --no-add-needed
2010-06-23 15:59:49 +03:00
Steve Lawrence f3bcf9a18c Add a generic plugin for use by simple Collections
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-06-22 11:12:43 +03:00
Panu Matilainen 72a472bdcd Require BDB >= 4.5 for sanity's sake
- replace unused feature tests in configure.ac with a simple version check
2010-04-08 12:33:19 +03:00
Panu Matilainen 9791cf2ab5 Lose shmkey + shared BDB config options
- 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-31 01:59:27 +03:00
Panu Matilainen 8c7e53ec80 First take at pluggable file attribute + dependency extraction system
- 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-03-23 16:32:46 +02:00
Panu Matilainen 87c237bebf Split elf dependency extraction out of librpmbuild to external helper
- 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-10 11:20:51 +02:00
Panu Matilainen a5dbbd4065 Remove unused mntctl & mount related header checks 2010-02-05 17:09:16 +02:00
Florian Festi 51c96db046 Kill RPMTAG_FSNAMES and RPMTAG_FSSIZES and everything implementing them 2010-02-03 16:27:00 +01:00
Panu Matilainen a9483191a5 Bump version to appear newer than 4.8.0, update translations too 2010-01-08 12:23:54 +02:00
Panu Matilainen dab8a648db Loose string header compatibility goo
- <string.h> is required by C standard, we dont support ancient
  non-conformant compilers anyway
2010-01-05 15:09:08 +02:00
Panu Matilainen 53ab541984 Remove unnecessary NLS definitions from system.h
- 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-05 14:29:48 +02:00
Panu Matilainen 2c6120755c Unconditionally include <sys/wait.h> where needed
- no point conditionalizing what we cant live without
2010-01-05 12:35:54 +02:00
Panu Matilainen 5085ae9923 Move sys/mman.h include out of system.h to the places that care
- 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-05 12:16:52 +02:00
Panu Matilainen cd174374ff Remove unnecessary and broken time.h related configure + system.h checks
- 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-05 11:37:59 +02:00
Panu Matilainen 5c084f842a Unconditionally include <netdb.h> where needed instead of system.h
- there's no fallback for missing netdb.h so there's little point
  conditionalizing it
- avoid yet more system.h pollution
2010-01-05 11:26:14 +02:00
Panu Matilainen e9df6383be Remove pointless & unused configure checks
- 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-05 10:56:56 +02:00
Panu Matilainen 0edc291e50 Sanitize signature checking formatResult() a bit
- 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-05 10:45:23 +02:00
Panu Matilainen 423a86361b Oops, ftok() is really optional 2010-01-05 10:19:52 +02:00
Panu Matilainen 834551d246 Clean up poll() vs select() tests
- 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-04 17:15:26 +02:00
Panu Matilainen 554f3f0cfb Remove unused header checks from configure
- maybe these have been used at some point but not anymore...
2010-01-04 16:59:39 +02:00
Panu Matilainen 1da827724c Eliminate unused id -u tests
- 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-04 16:31:10 +02:00
Panu Matilainen 4cb02aa928 Re-enable mmap test in configure & fix the code build again
- this stuff has been disabled for years, lets see what breaks...
2010-01-04 16:20:56 +02:00
Panu Matilainen 8dd92d661d Remove unnecessary stdint check from configure
- a leftover from pre-C99 requirement times
2010-01-04 16:10:44 +02:00
Panu Matilainen 190d2b4783 Remove S_IFSOCK and S_IFLNK kludgery for ancient unixes
- these are specified by POSIX 2001, it's not really rpm's job to
  provide them if the system doesn't
2010-01-04 16:07:11 +02:00
Panu Matilainen 5f0c9a3882 Require lchown() and remove ancient broken chown kludgery
- lchown() is POSIX 2001, we dont care about older / nonconformant stuff
2010-01-04 15:58:55 +02:00
Panu Matilainen 8ca9ce53be Check for our POSIX 2001 requirements and abort if not found 2010-01-04 15:27:31 +02:00
Panu Matilainen 3125bac65f Lose the hysterical fakefork hack
- we're not particularly interested in AmigaOS quirks from 1996
2010-01-04 15:27:25 +02:00
Panu Matilainen 33404070cd Remove further replacement functions for POSIX 2001 required bits
- getwd(), getcwd(), basename() and realpath() are all POSIX 2001
  defined, we dont care about older stuff
2010-01-04 15:27:05 +02:00
Panu Matilainen bb803d630c Remove unnecessary setenv() replacement function
- setenv() and unsetenv() are required by POSIX 2001, we dont care about
  older systems
2010-01-04 14:21:42 +02:00
Panu Matilainen 580f9625e1 Remove largely unnecessary putenv() replacement
- 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-04 14:15:20 +02:00
Panu Matilainen 60dc809db1 Eliminate myrealloc() replacement function
- realloc(NULL, size) is defined as equal to malloc(size) in C99 and
  POSIX 2001, we dont care about anything older than that
2010-01-04 13:46:43 +02:00
Panu Matilainen 7c62eb237f Remove replacements for C99 mandated functions
- rpm requires C99 compiler anyway, no point in carrying these around
2009-12-23 14:52:49 +02:00
Panu Matilainen 2753a5e934 Dont include <pwd.h> from system.h, dont bother checking for it either
- no much point conditionalizing something we can't live without
- just three places need, no point polluting include space everywhere
2009-12-23 13:40:10 +02:00
Panu Matilainen 68a5dd5803 Dont bother including <sys/socket.h>, we dont use anything from there 2009-12-23 13:36:29 +02:00
Panu Matilainen a39dc445fc Dont include grp.h from system.h, dont bother checking in configure either
- no much point conditionalizing something we can't live without
- just two places need, no point polluting include space everywhere
2009-12-23 13:15:59 +02:00
Panu Matilainen 0fbf88d34c Dont bother checking and including a header we dont use or need 2009-12-23 12:58:17 +02:00
Panu Matilainen c47b96630c Dont bother checking for a header we dont use 2009-12-23 12:37:37 +02:00
Panu Matilainen 5c31864598 Dont bother checking for functions we dont use
- 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-23 12:25:32 +02:00
Panu Matilainen 0de16638aa Use AC_PROG_MKDIR_P for testing mkdir -p capability
- 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-23 11:40:55 +02:00
Panu Matilainen 6760122281 Remove unused h_errno test from configure.ac 2009-12-22 14:55:54 +02:00
Florian Festi e2c217b4b7 Remove support for sqlite based rpm database
Also remove abstraction layer between rpmdb.h and the back end
in lib/backend/
2009-12-07 15:59:13 +01:00
Panu Matilainen 139c031d2c Preparing for 4.8.0-beta1 2009-12-07 13:51:48 +02:00
Panu Matilainen 105518cf57 Bump up the python version requirement to match reality
- Python >= 2.6 is known to work, 2.5 might be possible with __future__
  imports but until somebody tests it...
2009-12-05 11:05:39 +02:00
Panu Matilainen 46d1ba0448 Fix the posix chown test for selinux enabled systems (RhBug:543035)
- on selinux enabled systems, 'ls -l' mode string is longer than
  expected here, just trim the ls output to our expected length
2009-12-02 15:30:27 +02:00
Panu Matilainen 480095ab2a Use AS_HELP_STRING() for configure option output 2009-11-27 15:57:44 +02:00
Panu Matilainen 63175d4d31 Avoid using python's print for Python 3.x compatibility
- 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-19 10:30:48 +03:00
Ville Skyttä 1c83af6e10 Deprecate %__lzma, use %__xz in it. 2009-10-06 10:47:43 +03:00
Panu Matilainen 9f9ab48f71 Add -Wempty-body to default options if gcc supports it
- ...to help protect against screwups like
  2ee45ef12a
2009-09-07 18:41:32 +03:00
Panu Matilainen db5ac1e44a Bump version to appear newer than 4.7.x branch 2009-08-13 10:35:01 +03:00
Panu Matilainen 8078d0ba24 LZMA -> XZ renaming
- 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
2009-03-18 09:42:23 +02:00
Jindrich Novy 74c9a96c3c Port XZ payload compression to xz-4.999.8 API
- use SHA256 digests for archive error detection
- use 100MiB peak memory usage for decoding
- use better XZ detection in configure.ac
2009-03-09 20:20:42 +01:00
Panu Matilainen 0643dd44e6 Test for fakechroot in configure
- only needed by the testsuite
- optimally testsuite should skip parts needing fakechroot if it's not
  there but at least this'll leave a trace into rpmtests.log...
2008-12-09 13:23:00 +02:00
Jindrich Novy 73c17671de Add AC_CONFIG_MACRO_DIR for the new libtool 2008-11-18 11:23:26 +01:00
Panu Matilainen e0e0a5e035 Fix capability verification
- the previous implementation was pretty busted up, cap_size() is the
  size of external representation, not sizeof(*cap_t) as pointed out by
  Andrew Morgan
- check for cap_compare() in configure and use it if available (it's
  a Linux-specific extension to the posix draft and only very recent
  libcap has it)
- if cap_compare() isn't available, use internal variant that does it
  the hard way by converting the capabilities to external presentation
  and comparing those
2008-11-14 09:47:43 +02:00
Panu Matilainen 9a509e9f1a Avoid leaking C99 options into stock %{__cc} macro 2008-11-04 11:37:09 +02:00
Panu Matilainen f4b5bd55db Beginnings of acl (POSIX.1e draft 17) verification support
- if built with --with-acl, check that files and directories don't have
  any extra acl's set
- for now, any acl beyond the regular unix permission set is reported as
  file mode difference as the acl's cannot have been set by rpm itself
- patch from Andreas Gruenbacher, modified to use libacl instead of raw
  xattrs for portability, BUT atm this uses non-portable acl_equiv_mode()
  Linux libacl extension, the posix draft doesn't seem to have much in
  the way of comparing entries :-/
2008-10-26 14:18:17 +02:00
Panu Matilainen 770a0f34c9 Beginnings of file capability (POSIX.1e draft 15) verification support
- add minimal bits and pieces to check for capabilities in files on verify
- for now, any capability set is a verification failure as the capability
  cannot have been set by rpm itself
- patch from Andreas Gruenbacher, modified to use libcap instead of raw
  xattrs for portability
2008-10-26 14:17:16 +02:00
Jindrich Novy ca40fafedb Remove timezone autoconf checks and system.h reference
- timezone is no more used so it's no more needed
2008-10-24 12:32:31 +02:00
Panu Matilainen df8b431be8 Bump version 2008-10-16 17:09:28 +03:00
Panu Matilainen 0b31ec61cc Add configure detection for SuSE too
- distro detection in configure is pretty futile but while we still have it...
2008-10-14 16:32:58 +03:00
Panu Matilainen 085dcab72f Move luaext include fiddling out of toplevel configure 2008-10-14 15:49:57 +03:00
Panu Matilainen a1b05720b0 Sanitize libluaext linkage 2008-10-14 15:36:23 +03:00
Panu Matilainen 9397bb61ba Kick out ancient and unused LDFLAGS_STATIC configure.ac-hackery 2008-10-14 14:17:14 +03:00
Panu Matilainen 79fe0e0e3b Use standard auto*foo checks for NSS
- upstream NSPR/NSS doesn't ship pkg-config files (unfortunately)
- hardcoded guesses are always wrong for somebody, expect builder to
  pass in appropriate CPPFLAGS etc
2008-08-19 13:33:21 +03:00
Panu Matilainen 77ecf321bf Fix segfault on zero-length %policy file 2008-08-14 15:02:52 +03:00
Panu Matilainen 27a6edd36d Add a new legacy compatibility header, kill rpmints.h
- build-time generated rpmints.h causes issues with distcheck and is
  not really worth the trouble
- we have all sorts of legacy junk to deal with, sticking them all into
  rpmints.h would be just wrong...
2008-07-08 18:54:28 +03:00
Panu Matilainen 7985d6afb5 Bump version to resemble library versioning 2008-07-04 16:09:47 +03:00
Panu Matilainen 90e10708f8 Fixup paths and Makefiles for rpmdb/ elimination 2008-05-12 12:28:12 +03:00
Panu Matilainen 4ad7f40395 Rip useless ROOT_GROUP checking from configure
- it was only used for an ancient RH-specific %_fixgroup anyway which
  in turn only ever did anything when building as root - bad bad...
2008-05-08 14:37:29 +03:00
Panu Matilainen a306a04a89 RIP alloca() 2008-04-30 14:38:09 +03:00
Panu Matilainen 811e7be604 Drop va_copy check, it's already done by C99 checks 2008-04-28 14:02:51 +03:00
Panu Matilainen 48f19e86b5 Require C99 capable compiler in configure
- also enable C99 mode if not on by default
2008-04-28 14:02:51 +03:00
Jindrich Novy 3d8e0ef13a Check for lzma library in configure.ac and reference it in Makefile.am 2008-04-22 12:36:27 +02:00
Panu Matilainen d48e6c8380 Start phasing out internal copy of Lua
- don't build internal copy of Lua
- move 3rd party extensions (posix and rexlib) to toplevel luaext/
  directory, built by default (unless --without-lua specified)
- auto*foo checks for external Lua
- minimal tweaks to lposix.c and rpmlua.c to get them build with Lua 5.1
2008-04-16 15:37:52 +03:00
Jindrich Novy 58fdb16e75 Require mkstemp()
- mktemp() and tempnam() are dangerous
2008-04-16 13:01:06 +02:00
Panu Matilainen babade1594 Enable stack protector by default if gcc supports it 2008-04-03 12:59:13 +03:00
Panu Matilainen 0c0d812b0d Remove unused RPMUSER, GROUP etc from configure.ac 2008-03-07 12:36:22 +02:00
Panu Matilainen 61189cb868 Add super-H arch support (rhbz#432496)
Patch from Masaki Chikama
2008-03-04 08:16:02 +02:00
Panu Matilainen e1ca3be052 Rip the horrible (ia64) autorelocate kludgery. RIP.
- we don't support relocated x86 on ppc in qemu either...
2008-02-05 10:08:44 +02:00
Panu Matilainen 924007789d Drop internal db from dist tarballs
- tarball down to almost 1/4 of earlier size
- check if internal db is present in configure, point to INSTALL if not
- distcheck needs --with-external-db now to have any chance at working
- leaving to hg for now for easy reversal if getting second thoughts ;)
2008-01-09 19:07:20 +02:00
Panu Matilainen 20bfd34975 Drop duplicate locale.h check 2007-12-19 09:01:39 +02:00
Panu Matilainen bef37587d3 Don't bother configuring db3 directory if using external db 2007-12-17 11:38:12 +02:00
Ralf Corsépius f407b391c0 test == is a bashism. 2007-12-11 09:12:12 +01:00
Panu Matilainen d4cc1de207 Rename apidocs to hackingdocs, only build on request 2007-12-05 11:56:33 +02:00
Ralf Corsépius 333f10c56e Adjust comment. 2007-11-26 15:41:24 +01:00
Ralf Corsépius 8f82c7309e s/build_os/host_os/ 2007-11-26 15:38:20 +01:00
Ralf Corsépius 5831404601 Add header preinstallation. 2007-11-22 15:54:42 +01:00
Ralf Corsépius 5787b3f7c1 Eliminate egrep (Abandoned by POSIX many years ago). 2007-11-22 09:43:40 +01:00
Ralf Corsépius d58b2666e3 Add AC_USE_SYSTEM_EXTENSIONS.
Remove AC_AIX, AC_MINIX.
Do not add -D_GNU_SOURCE to CFLAGS.
2007-11-21 16:51:57 +01:00
Ralf Corsépius 4990a44984 s/build_cpu/host_cpu/ 2007-11-21 11:34:30 +01:00
Panu Matilainen b359165445 Fix build without O2
HAVE_LOCALE_H is used by system.h, ensure it is defined properly
(the issue only occurs when compiling without __OPTIMIZE__ (ie -O2)
 otherwise libintl.h do include locale.h)

Patch from Pascal Rigaux
2007-11-13 13:03:38 +02:00
Panu Matilainen df84cabff6 Disable -Wstrict-prototypes for now due to noise from NSPR headers 2007-11-08 12:57:02 +02:00
Panu Matilainen 8afe81c214 Use NSS instead of beecrypt for encryption (Tomas Mraz) 2007-11-02 10:02:40 +02:00
Ralf Corsépius a100133e56 Replace AC_CHECK_FUNCS by AC_REPLACE_FUNCS for basename, getcwd, getwd, putenv, realpath, setenv, stpcpy, stpncpy, strcspn, strdup, strtol, strtoul, strspn, strstr. 2007-10-30 15:51:53 +01:00
Ralf Corsépius d255841988 Remove AM_C_PROTOTYPES. 2007-10-29 07:28:15 +01:00
Ralf Corsépius b85e0d00ca Abandon addlib().
Stop messing around with /usr/ucblib.
2007-10-27 06:38:35 +02:00
Ralf Corsépius bfb5e17e77 Eliminate AC_TRY_COMPILE (Obsolete). 2007-10-27 06:28:06 +02:00
Ralf Corsépius 6765e53464 Remove AC_PROG_GCC_TRADITIONAL (Obsolete). 2007-10-27 06:13:03 +02:00
Ralf Corsépius d4988efe1b Remove AC_ISC_POSIX (Obsolete). 2007-10-27 06:10:13 +02:00
Ralf Corsépius a468d3004d Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER. 2007-10-27 05:48:53 +02:00
Ralf Corsépius 6d13cf177d Check for stdarg.h.
Check for va_copy.
2007-10-27 04:12:19 +02:00
Ralf Corsépius 4b185fc48d Add rpmdb/rpmints.h.in. 2007-10-24 18:38:18 +02:00
Ralf Corsépius dd8bbe42a3 Remove AC_CHECK_FUNC(fchmod). 2007-10-24 03:11:19 +02:00
Ralf Corsépius b9d56b6dc9 Remove WITH_APIDOCS, WITH_APIDOCS_TARGET.
Add AM_CONDITIONALS DOXYGEN and APIDOCS. Don't generate Doxyfile.
2007-10-18 16:04:00 +02:00
Ralf Corsépius 0a7a487724 Use DOXYGEN instead of __DOXYGEN. 2007-10-18 08:34:37 +02:00
Ralf Corsépius a6c8f8086e Add automake option nostdinc. 2007-10-17 16:42:21 +02:00
Panu Matilainen 38fe2fd973 Use HAVE_DB_H for both internal and external BDB
- rpmdb only cares whether we have BDB or no, internal vs external
  doesn't matter
- makes external BDB actually work
2007-10-17 14:55:41 +03:00
Ralf Corsépius 0f22ea8830 Add __LZMA. 2007-10-08 17:12:10 +02:00
Ralf Corsépius 4f7db64d7c Add HAVE_DOT. 2007-10-05 10:37:55 +02:00
Ralf Corsépius 9cf8f9c31a Stop checking for machine/types.h (Private header of some OSes not supposed to be used). 2007-10-04 08:55:07 +02:00
Ralf Corsépius 249dad1475 Remove $dirs (unused). 2007-10-03 05:07:12 +02:00
Ralf Corsépius 6e4e9c7516 Remove AC_CHECK_HEADERS(thread.h).
Remove duplicate check for pthread.h.
2007-10-01 12:58:32 +02:00
Ralf Corsépius e1b4af366a Remove checks for synch.h, semaphore.h, aio.h (unused). 2007-09-20 14:57:04 +02:00
Ralf Corsépius 48f4ff6583 Make zlib conditional. 2007-09-20 14:45:40 +02:00
Ralf Corsépius 2d157c07f0 Tighten check for libbz2. 2007-09-20 06:53:19 +02:00
Ralf Corsépius 88b0e2c093 Cosmetics. 2007-09-19 15:02:40 +02:00
Ralf Corsépius fa1f65cef6 Rename --with-internal-db into --with-external-db.
Add AC_ARG_WITH(external_db).
2007-09-19 05:32:03 +02:00
Ralf Corsépius 211a30a615 Remove NPTL games. 2007-09-19 05:15:57 +02:00
Ralf Corsépius 6503abadc9 Add check for db_threadid_t in db.h. 2007-09-18 19:18:09 +02:00
Ralf Corsépius eacf1841db Rename BZIP2BIN->__BZIP2.
Rename GZIPBIN->__GZIP.
Rename UNZIPBIN->__UNZIP.
2007-09-18 14:55:58 +02:00
Ralf Corsépius 4f250b5c36 Remove WITH_POPT (Unused). 2007-09-18 12:44:29 +02:00
Ralf Corsépius c89c1481eb s/libary/library/ 2007-09-18 12:41:47 +02:00
Ralf Corsépius a0558abcf2 Fix ancient typo. 2007-09-18 10:49:20 +02:00
Ralf Corsépius 2607d282e7 Invert logic to setup WITH_INTERNAL_DB. 2007-09-18 08:09:43 +02:00
Ralf Corsépius f2a250702a Add preliminary --with/without-internal-db processing. 2007-09-18 05:01:45 +02:00
Ralf Corsépius 7bf56f5829 Eliminate WITH_DB_SUBDIR. 2007-09-17 17:58:29 +02:00
Ralf Corsépius ae3127c0f2 Add with_internal_db. 2007-09-17 11:33:18 +02:00
Ralf Corsépius 91a33fbdc5 Move generating rpmpopt-@VERSION@ from configure into Makefile. 2007-09-14 05:21:39 +02:00
Ralf Corsépius ede9e90272 Move generating rpm.pc from configure into Makefile. 2007-09-14 05:09:17 +02:00
Ralf Corsépius df1b72d3af Process platform in Makefile instead of configure. 2007-09-13 14:51:46 +02:00
Ralf Corsépius d974ed0136 Add __CURL. 2007-09-12 12:42:59 +02:00
Ralf Corsépius 52bc67436f Attempt to escape hg messed up the repo once more. 2007-09-12 11:42:08 +02:00
Ralf Corsépius 07c9cac938 Fix indentation of --enable-python. 2007-09-12 11:31:17 +02:00
Panu Matilainen 1180de589b Automated merge with file:/home/pmatilai/repos/rpm-ioclean 2007-09-12 12:26:15 +03:00
Ralf Corsépius fb7433b364 Merge tools/Makefile.am into Makefile.am 2007-09-12 10:56:37 +02:00
Panu Matilainen d36716c25c Remove NEON and related hacks 2007-09-12 10:55:55 +03:00
Ralf Corsépius cfe8875a0f Reduce minimum python version to 2.3. 2007-09-12 08:23:51 +02:00
Ralf Corsépius 2ff6e07f50 Reduce minimum python version to 2.4. 2007-09-12 01:21:13 +02:00
Ralf Corsépius 22bafd7430 Remove libxml. 2007-09-11 11:32:05 +02:00
Ralf Corsépius f69f0b7a8f Add subdir-objects. 2007-09-11 10:38:46 +02:00
Ralf Corsépius cf865f1327 Require python >= 2.5. 2007-09-10 22:24:25 +02:00
Ralf Corsépius c5ffd9805e Split host-python (__PYTHON), from build-python.
Abandon --with-python.
Add --enable-python.
Rework python check to use AM_PATH_PYTHON.
2007-09-10 12:49:51 +02:00
Ralf Corsépius 4d00510124 Add AC_DISABLE_STATIC. 2007-09-10 07:11:54 +02:00
Ralf Corsépius 38ec147d0b Generate scripts/macros.perl, scripts/macros.php, scripts/macros.python from inside of scripts/Makefile.am. 2007-09-05 12:09:45 +02:00
Ralf Corsépius db5db69665 Don't AC_DEFINE(RPMCONFIGDIR). 2007-09-05 09:57:12 +02:00
Ralf Corsépius 2671d4cc05 AC_DEFINE(RPMCANONVENDOR).
Remove VENDORRPMRC_FILENAME.
2007-09-04 15:19:29 +02:00
Ralf Corsépius 05f96178f1 Remove selinux autodetection.
Rely on --with/--without-selinux.
2007-09-04 14:19:18 +02:00
Ralf Corsépius 00165b6ee8 Make --with-neon more strict. 2007-09-04 12:01:54 +02:00
Panu Matilainen b9c2d89686 merge 2007-09-04 11:25:35 +03:00
Panu Matilainen f07d1abc27 Backed out changeset 842b0b8f3f8d 2007-09-04 11:25:26 +03:00
Ralf Corsépius c2f919af38 Add --with-neon. 2007-09-04 09:09:39 +02:00
Panu Matilainen ffea910c37 Read vendor macros again.
- replace VENDORRPMRC_FILENAME with VENDORCONFIGDIR
- use it to locate both vendor rpmrc and macros
2007-09-03 22:39:26 +03:00
Ralf Corsépius ba645b29c4 Remove CTAGS, CSCOPE. 2007-09-03 12:59:15 +02:00
Ralf Corsépius b2db269632 Remove LIBRPMALIAS_FILENAME. 2007-08-31 18:54:13 +02:00
Panu Matilainen 31a693a7eb Lose ancient and unused brp-redhat 2007-08-31 10:25:11 +03:00
Ralf Corsépius eac9291fde Eliminate tmpdir, varprefix. 2007-08-31 08:56:56 +02:00
Ralf Corsépius 0f5d8ca08f Don't AC_SUBST varprefix.
Generate macros from Makefile.am
2007-08-31 05:58:04 +02:00
Ralf Corsépius 0e95c12b29 Remove AC_SUBST(RPM) (Unused). 2007-08-31 04:25:22 +02:00
Ralf Corsépius 15fb330227 Remove doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile. 2007-08-29 17:43:20 +02:00
Ralf Corsépius 29d53ac70f Reflect having removed doc/manual/Makefile.am 2007-08-29 13:06:05 +02:00
Ralf Corsépius 5b8a3cf39b Eliminate LIBRPMRC_FILENAME. 2007-08-28 18:22:11 +02:00
Ralf Corsépius 5553568c62 Remove SYSCONFIGDIR. 2007-08-28 13:20:03 +02:00
Ralf Corsépius d846415f66 Eliminate MACROFILES. 2007-08-28 11:33:07 +02:00
Ralf Corsépius 7e87026e5c Check for locale.h. 2007-08-28 10:58:48 +02:00
Ralf Corsépius 59441dc4d3 Remove LOCALEDIR. 2007-08-28 06:45:25 +02:00
Ralf Corsépius 43ae6e6f57 Remove stamp-h. 2007-08-28 06:37:49 +02:00
Ralf Corsépius d702278169 Use $GCC instead of undocumented autoconf internal $ac_cv_c_compiler_gnu 2007-08-27 16:16:12 +02:00
Ralf Corsépius 749313a946 Remove FINDREQUIRES, FINDPROVIDES (Unused). 2007-08-24 06:40:22 +02:00
Ralf Corsépius 752fea0aee Use with_dmalloc instead of withval. 2007-08-24 06:05:45 +02:00
Ralf Corsépius b6abbcf059 Use with_python instead of withval. 2007-08-24 06:04:43 +02:00
Ralf Corsépius 5696bd01a9 Eliminate localdone. 2007-08-24 05:43:59 +02:00
Ralf Corsépius ca4dd3714a Eliminate INCPATH. 2007-08-24 05:43:34 +02:00
Ralf Corsépius e0f6bee085 Eliminate rpmpopt.
Let rpmpopt-${VERSION} be generated by configure.ac directly.
2007-08-23 15:56:08 +02:00
Ralf Corsépius 2a98ab385d Remove AC_SUBST(INCPATH). 2007-08-22 16:52:25 +02:00
Ralf Corsépius 33b0675212 Add bzip'ed tarball.
Remove tests/atlocal
2007-08-21 16:29:51 +02:00
Ralf Corsépius d09e67798b Preliminary preps for autotest. 2007-08-20 12:31:28 +02:00
Ralf Corsépius c28a0694cc Remove tests/hello-test/Makefile. 2007-08-19 18:41:15 +02:00
Ralf Corsépius 00e06a335d Remove LIBMISC (Unused). 2007-08-16 06:44:52 +02:00
Ralf Corsépius a1cd8954a0 Add tests/Makefile tests/hello-test/Makefile. 2007-08-16 05:31:03 +02:00
Ralf Corsépius 81b1baab5a Replace MKDIR_P and MKDIR with RPM_MKDIR_P and RPM_MKDIR to avoid conflicts with automake's build-in MKDIR_P/MKDIR 2007-08-15 13:49:01 +02:00
Ralf Corsépius cc71f47f18 Add AM_CONDITIONAL(SELINUX). 2007-08-15 13:40:10 +02:00
Ralf Corsépius bc1d56ab7b Rename XML2 into libxml2. 2007-08-15 09:11:25 +02:00
Ralf Corsépius 13625ddb7f Add check for libxml2. 2007-08-15 09:03:35 +02:00
Ralf Corsépius 4c73047556 Fix comment on bzip2 library. 2007-08-15 09:02:34 +02:00
Ralf Corsépius c23d7b1cbe Fix broken error message. 2007-08-15 07:36:31 +02:00
Ralf Corsépius b9774ace00 Add --enable-sqlite3.
Rework WITH_SQLITE3* handling.
2007-08-14 18:29:54 +02:00
Ralf Corsépius fc0a01b5a7 Eliminate DBLIBOBJS, DBLIBSRCS. Add AM_CONDITIONAL SQLITE3. 2007-08-14 16:18:10 +02:00
Ralf Corsépius 218e5804fb Use AS_IF instead of []-if. 2007-08-14 16:16:14 +02:00
Ralf Corsépius 81b3cdd0ad Remove --with-efence (Users should use LIBS=-lefence instead. 2007-08-13 17:56:48 +02:00
Ralf Corsépius 7178c4a7ed Remove WITH_ZLIB_SUBDIR, WITH_PYTHON_SUBDIR. 2007-08-13 15:38:11 +02:00
Ralf Corsépius 8aeb0c33dd Fix bugs in previous commit. 2007-08-13 09:48:56 +02:00
Ralf Corsépius 94f8f21a94 Rework check for selinux. 2007-08-13 09:35:48 +02:00
Ralf Corsépius 25cc40bfa5 Clean up --with-lua. 2007-08-13 07:30:28 +02:00
Ralf Corsépius e0088ef075 Rework --with-apidocs handling. 2007-08-13 06:42:49 +02:00
Ralf Corsépius 6f411b4550 Remove WITH_LUA_SUBDIR. 2007-08-12 08:07:11 +02:00
Ralf Corsépius 3df1e54331 Remove support for in-source-tree sqlite3. 2007-08-11 08:02:50 +02:00
Ralf Corsépius 3ea0304ada Rework check for libmagic. 2007-08-10 17:07:17 +02:00
Ralf Corsépius 2eb2f975da Remove WITH_MAGIC_SUBDIR. 2007-08-10 16:09:25 +02:00
Ralf Corsépius 0f99662fe3 Remove WITH_RPMFILE (Unused). 2007-08-10 16:03:23 +02:00