Commit Graph

130 Commits

Author SHA1 Message Date
Panu Matilainen ad43e72d70 Bury FTS inside librpmbuild and eliminate from public ABI 2010-03-19 18:23:52 +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 7a2395941e Bump soname for all our libraries
- while the "really public" API of librpmio has only been enhanced,
  librpm and librpmbuild use some supposedly internal bits which *have*
  changed considerably, so just to prevent anybody thinking they can
  combine librpmio from rpm 4.7 and librpm from this...
- librpmbuild hasn't seen much real change but some (unfortunately)
  exposed struct members have changed so...
- librpm is mostly compatible but as rpmal has become internal API,
  we need to bump (annoyingly, as nothing actually uses rpmal ... sigh)
2009-12-07 13:35:53 +02:00
Panu Matilainen 03e36789b6 Include from src, not build dir 2009-05-22 09:56:43 +03:00
Panu Matilainen 1df4d34fb9 librpmio doesn't need libmagic for anything 2009-03-19 14:41:43 +02:00
Panu Matilainen caf759f8ca Switch to libtool versioning, starting at 0:0:0 2009-02-26 16:09:51 +02: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 9e7cfa4d5b Stuff rpmio/ugid.[ch] contents to lib/misc.[ch]
- no uses outside librpm itself, and there they can be hidden away from
  exported ABI whereas in librpmio they cant
2008-07-04 16:09:47 +03:00
Panu Matilainen 710750ebff Make rpmkeyring.h public header 2008-07-02 14:23:30 +03:00
Panu Matilainen 685877f2a0 Beginnings of an abstract keyring
- in librpmio to avoid dependencies on higher level stuff
- for now it's just an in-memory structure that needs to be populated
  by someone simply by feeding in GPG public keys
2008-07-01 17:52:40 +03:00
Panu Matilainen 84b29174e6 Rip old, bit-rotten librpmio test programs 2008-05-12 10:44:07 +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 d07bcfece1 Bump up sonames, we're not exactly ABI compatible with 4.4 anymore.. 2008-03-18 10:28:57 +02:00
Panu Matilainen 9df54a8622 More xstr[n]casecmp to rpmstring along the other string-stuff... 2008-03-18 08:55:05 +02:00
Panu Matilainen f1f6510cee Remove rpmio internal copy of poptParseArgvString() & friends
- the old included version segfaults with funky input and whatnot...
- link rpmio to real popt instead
2008-03-12 15:34:49 +02:00
Panu Matilainen 9ce13e09ef Switch to <rpm/foo.h> style for public headers
- adjust include paths accordingly
2007-12-08 14:02:32 +02:00
Panu Matilainen 882f390585 base64.h missing from librpmio sources 2007-12-05 11:27:50 +02:00
Panu Matilainen 9cbf0349b8 Use regular POSIX functions instead of "RPC" clones
- we only care about local files
2007-12-03 16:33:18 +02:00
Ralf Corsépius b1c0f900aa Reflect changes to include files. 2007-11-23 11:41:38 +01:00
Panu Matilainen c10e5da8a0 librpmio needs elf include+lib now, librpmdb doesn't 2007-11-23 10:32:10 +02:00
Panu Matilainen d10acc7c2a Move makeTempFile() from misc.h to rpmfileutil.h
- probably not very useful outside rpm but used all over the tree,
- rename to rpmMkTempFile() for namespacing since we're exporting it now
2007-11-22 16:28:30 +02:00
Panu Matilainen e063854e11 Calculating file checksums aint legacy activity
- move the checksumming into librpmio
- rename domd5() to rpmDoDigest() with future expansion for specifying
  digest algorithm type (ignored for now)
- rearrange parameters to leave return types last
- one less rpmio_internal outside rpmio/, whee...
- used all over the rpm tree, and it knows about handling prelinked files
  so potentially useful for outside users, might as well export it
- new public header rpmfilutil.h for collecting this sort of stuff
2007-11-22 16:06:11 +02:00
Panu Matilainen d6990c3ab1 Move stringbuf into librpmio, rename header
- rename header to more generic rpmstring.h for collecting misc string
  helper functions
2007-11-23 08:11:42 +02:00
Ralf Corsépius 94d2343931 Add -I$(top_builddir)/include/rpm to AM_CPPFLAGS. 2007-11-22 16:17:20 +01:00
Panu Matilainen 17ef8a3082 Lose rpmerr.h for good 2007-11-19 16:32:15 +02:00
Panu Matilainen db4e34966e Split digest-stuff out of rpmio_internal to separate header 2007-11-16 17:37:54 +02:00
Panu Matilainen 4471d9c371 Move tufdio under rpmio/ where it belongs.. 2007-11-07 11:41:06 +02:00
Panu Matilainen 1a32f9959e Remove tinv 2007-11-02 10:18:23 +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 41d0a9fd3e Don't build stubs.c.
Link against ../misc/libmisc.la.
2007-10-30 12:16:21 +01:00
Ralf Corsépius ea2968b6b3 Cleanup CPPFLAGS. 2007-10-17 16:41:59 +02:00
Ralf Corsépius 8a4f770435 Expand AM_CPPFLAGS. 2007-10-17 15:08:01 +02:00
Ralf Corsépius 0f681e6625 Add tput. 2007-10-17 14:31:06 +02:00
Ralf Corsépius 5dd1a5baa5 Move pkginc_HEADERS to toplevel Makefile.am 2007-10-10 10:08:26 +02:00
Panu Matilainen 01d5c13a42 Make rpmerr.h private, include directly where needed. 2007-10-09 15:33:49 +03:00
Ralf Corsépius 7871bb4547 Add dependency on libbz2. 2007-09-20 06:53:59 +02:00
Panu Matilainen a002ceebac Make fts.h a private header 2007-09-17 17:20:11 +03:00
Panu Matilainen adbab38737 ugid.h is private header really 2007-09-17 14:50:25 +03:00
Panu Matilainen d36716c25c Remove NEON and related hacks 2007-09-12 10:55:55 +03:00
Ralf Corsépius eb33fb5100 Use _LDADD instead of _LDFLAGS.
Remove unused *_LDFLAGS.
2007-09-11 01:00:04 +02:00
Ralf Corsépius b977d7aa31 Remove lint-support. 2007-09-03 10:17:40 +02:00
Ralf Corsépius 9e3809e36e Eliminate clean-local: 2007-08-31 16:27:10 +02:00
Ralf Corsépius 8b28fa70cc Add RPMCONFIGDIR to CPPFLAGS. 2007-08-31 14:38:41 +02:00
Ralf Corsépius 3a35a549e5 Use check_PROGRAMS instead of EXTRA_PROGRAMS for t*programs. 2007-08-27 16:06:05 +02:00
Ralf Corsépius 1cfcb427ff Eliminate noinst_HEADERS. 2007-08-27 12:26:21 +02:00
Ralf Corsépius e68817bd47 Remove tdigest. 2007-08-27 08:17:43 +02:00
Ralf Corsépius 75ae38e37c Remove INCPATH. 2007-08-22 11:54:31 +02:00
Ralf Corsépius 18ca377003 Remove LDFLAGS from librpmio_la_LDFLAGS. 2007-08-20 05:07:55 +02:00
Ralf Corsépius b9f223228f Remove RPM_BUILD_ROOT. 2007-08-19 18:40:18 +02:00