Commit Graph

40 Commits

Author SHA1 Message Date
Panu Matilainen bf088dbeb5 Bury our glob() implementation entirely inside rpmglob.c (RhBug:819680)
- Lump glob.h and glob.c into rpmglob.c in all their g(l)ory libc
  decorations and make everything static to stop overriding system
  library symbols with our own glob().
2012-05-31 16:46:40 +03:00
Panu Matilainen 0d70636c6d Fix misc/ include path
- -I$(top_builddir)/include/rpm was never right, and now with fts
  moved into misc/ this shows as rpm/rpmutil.h not getting found.
2010-10-12 09:27:46 +03:00
Panu Matilainen 84747fb22e Stuff fts into a convenience library in misc/
- This is not really native rpm code but a copy of (glibc?) FTS
  implementation, with slight modification to avoid symbol name
  collisions. Stick it where the sun don't shine, we'd eventually
  like to get rid of such bundled external code.
2010-10-01 11:22:13 +03:00
Panu Matilainen 37daae03c1 Kill off couple of dangling lib/fs.c references 2010-02-03 17:36:45 +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 216cf2acb6 Remove unneeded strdup() replacement in misc/
- rpmio's own version is always there and portable, this is not needed
2010-01-04 13:34:39 +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 5741334a85 Remove unneeded replacement error/warn functions 2009-12-23 14:37:14 +02:00
Panu Matilainen a306a04a89 RIP alloca() 2008-04-30 14:38:09 +03:00
Ralf Corsépius 94d2343931 Add -I$(top_builddir)/include/rpm to AM_CPPFLAGS. 2007-11-22 16:17:20 +01:00
Ralf Corsépius e898dde44d Remove memcmp.c. 2007-10-30 15:24:10 +01:00
Ralf Corsépius d57d710550 Build libmisc.la.
Use @LTLIBOBJS@.
2007-10-30 12:15:34 +01:00
Ralf Corsépius ea2968b6b3 Cleanup CPPFLAGS. 2007-10-17 16:41:59 +02:00
Ralf Corsépius ea253c1e51 Eliminate noinst_HEADERS. 2007-09-10 10:31:37 +02:00
Ralf Corsépius 75ae38e37c Remove INCPATH. 2007-08-22 11:54:31 +02:00
Panu Matilainen 8d2b416782 Automake cleanups.
- Replace INCLUDES with AM_CPPFLAGS
  (INCLUDES has been replaced by AM_CPPFLAGS and is deprecated in
  modern automakes for several years)
- Require autoconf-2.61 and automake-1.10
  (already required by autogen.sh)
- update mkinstalldirs with the version from automake-1.10
  (The version in rpm is ancient and known to be bugged)

Patch from Ralf Corsepius
2007-08-05 11:30:55 +03:00
jbj 9e1bfe0af5 - blueprint rpm-4_4 and HEAD to minimize diff spew.
CVS patchset: 7706
CVS date: 2005/01/23 20:44:57
2005-01-23 20:44:57 +00:00
jbj c7510bceec build rpm-4.4.1-0.6.
CVS patchset: 7674
CVS date: 2005/01/05 04:46:01
2005-01-05 04:46:01 +00:00
jbj 076a6e29c5 - opaque (well mostly) rpmTransactionSet using methods.
CVS patchset: 5437
CVS date: 2002/05/16 16:55:21
2002-05-16 16:55:21 +00:00
jbj 23fcf67cb5 - fix: avoid locale issues with strcasecmp/strncasecmp (#23199).
- remove almost all explicit uses of stderr in rpmlib using rpmError().

CVS patchset: 4406
CVS date: 2001/01/03 20:19:27
2001-01-03 20:19:27 +00:00
jbj c0424122dd - rip out rpm{get,put}text, use getpo.sh and specspo instead.
CVS patchset: 4139
CVS date: 2000/08/28 01:50:45
2000-08-28 01:50:45 +00:00
jbj db41d9d8b4 More libtool fiddles.
CVS patchset: 3837
CVS date: 2000/06/13 07:15:15
2000-06-13 07:15:15 +00:00
jbj e93943f1e0 - portability: skip bzip2 if not available.
- portability: skip gzseek if not available (zlib-1.0.4).
- portability: skip personality if not available (linux).
- portability: always include arpa/inet.h (HP-UX).
- portability: don't use id -u (Brandon Allbery).
- portability: don't chown/chgrp -h w/o lchown.
- portability: splats in rpm.spec to find /usr/{share,local}/locale/*

CVS patchset: 3610
CVS date: 2000/03/09 18:13:02
2000-03-09 18:13:02 +00:00
jbj 18edb9da1a (solaris 2.6): portability requires setenv.c.
CVS patchset: 3587
CVS date: 2000/02/24 23:33:58
2000-02-24 23:33:58 +00:00
jbj db3213b057 lib/stubs.c: Add portability routines to rpmlib for portable shared rpmlib.
lib/rpmio.c: Internalize single use of inet_aton().
lib/rpmio.h: Include libio.h retrofit here rather than in system.h.
configure.in: Remove regex/glob tests.

CVS patchset: 3440
CVS date: 1999/11/27 00:15:07
1999-11-27 00:15:07 +00:00
jbj 907e305591 Build on solaris2.6 with gcc.
CVS patchset: 3362
CVS date: 1999/09/30 21:20:34
1999-09-30 21:20:34 +00:00
jbj aaf3ed92bc Add regex.c/regex.h.
CVS patchset: 3336
CVS date: 1999/09/26 23:46:42
1999-09-26 23:46:42 +00:00
jbj c7a6121706 Search /usr/include before misc.
CVS patchset: 3335
CVS date: 1999/09/26 23:44:36
1999-09-26 23:44:36 +00:00
jbj 78ce864c5e Add err.[ch] to portability checks (as yet unused).
get latest error.[ch] from glibc.

CVS patchset: 3310
CVS date: 1999/09/20 15:35:08
1999-09-20 15:35:08 +00:00
jbj ca9dc63de9 Fix newSpec in "rpm -q --specfile --specedit"
CVS patchset: 2892
CVS date: 1999/03/16 20:04:26
1999-03-16 20:04:26 +00:00
jbj 2daecca27b Eliminate generated files.
CVS patchset: 2750
CVS date: 1999/01/25 19:46:40
1999-01-25 19:46:40 +00:00
jbj b3ff088a22 Use libtool to build libraries, but force --disable-shared for now.
CVS patchset: 2745
CVS date: 1999/01/22 18:42:31
1999-01-22 18:42:31 +00:00
jbj 903b747e02 Released rpm-2.90 -- version is now 2.91
Use automake 1.4 and autoconf 2.13.

CVS patchset: 2726
CVS date: 1999/01/19 23:54:30
1999-01-19 23:54:30 +00:00
jbj df9b72c229 permit rpm to be built in a sub-directory (--srcdir=DIR).
CVS patchset: 2441
CVS date: 1998/10/11 15:19:55
1998-10-11 15:19:55 +00:00
jbj 025a69e0d7 rpmgettext on solaris.
CVS patchset: 2429
CVS date: 1998/10/08 18:49:59
1998-10-08 18:49:59 +00:00
jbj 1516f1d56c configure using automake.
CVS patchset: 2418
CVS date: 1998/10/08 10:40:27
1998-10-08 10:40:27 +00:00