Commit Graph

265 Commits

Author SHA1 Message Date
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