Commit Graph

711 Commits

Author SHA1 Message Date
Ralf Corsépius 14a28ee82d Eliminate fdWrite/__fdWrite preprocessor games. 2007-09-21 16:20:52 +02:00
Ralf Corsépius 9b929ba294 Eliminate fdRead/__fdRead preprocessor games. 2007-09-21 16:10:32 +02:00
Ralf Corsépius 9ed70bbbc0 Eliminate fdOpen/__fdOpen preprocessor games. 2007-09-21 16:08:39 +02:00
Ralf Corsépius 97f6e790bb Add another HAVE_ZLIB_H conditional. 2007-09-21 05:59:26 +02:00
Panu Matilainen 83f0947586 Rename MacroContext and -Entry to rpmMacro* for namespacing 2007-09-20 15:52:03 +03:00
Panu Matilainen 154a7f7603 Move _free() into system.h for now
- get rid of dozen _free() definitions
- get _free() out of public headers
2007-09-20 15:37:48 +03:00
Ralf Corsépius 7cd1cf9941 Conditionalize zlib conditional pieces of code on HAVE_ZLIB_H. 2007-09-20 10:37:48 +02:00
Ralf Corsépius 8fa3c5becf Remove splint remnants. 2007-09-20 07:36:41 +02:00
Ralf Corsépius 7871bb4547 Add dependency on libbz2. 2007-09-20 06:53:59 +02:00
Ralf Corsépius 19f8c80d56 Adjust pktlen to pgpReadPkt's expectations. 2007-09-19 15:03:39 +02:00
Ralf Corsépius 90688278db Change main() to using char *argv[]. 2007-09-18 05:53:37 +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 53d8adadd3 Oops, unbreak file opens.. 2007-09-17 11:59:45 +03:00
Panu Matilainen b2517d9967 Remove unneeded socket/inet includes 2007-09-17 10:45:42 +03:00
Panu Matilainen cc68353128 Remove url caching, don't need it... 2007-09-17 10:31:18 +03:00
Panu Matilainen c07bda47cf Remove url/transport items from rpmio file handle structs and uses 2007-09-17 09:48:08 +03:00
Panu Matilainen 94e953382d Remove transport-related items from urlinfo and uses 2007-09-17 09:32:25 +03:00
Ralf Corsépius af12132150 Kick unused defines. 2007-09-14 13:14:43 +02:00
Panu Matilainen 9f325855d7 Rip out internal http and ftp transports. 2007-09-12 12:23:55 +03:00
Panu Matilainen 65012c4253 Use configurable helper application to deal with urls.
- hijack ufdOpen() operation to call an external helper (if configured)
  to fetch any remote url's, return fd to local temporary file
2007-09-12 11:51:52 +03:00
Panu Matilainen d36716c25c Remove NEON and related hacks 2007-09-12 10:55:55 +03:00
Panu Matilainen 56fc5ee340 Remove now unused DAV RPC code. 2007-09-12 10:11:06 +03:00
Panu Matilainen d7c9ba4425 Remove now unused FTP RPC code. 2007-09-12 09:45:11 +03:00
Panu Matilainen cf9d90aedb Only deal with local files in "rpc" 2007-09-12 09:38:04 +03:00
Ralf Corsépius e9f3a5c89d Remove splint tags. 2007-09-11 19:23:32 +02:00
Ralf Corsépius f982bbaa79 Remove splint tags. 2007-09-11 16:48:54 +02:00
Ralf Corsépius eb33fb5100 Use _LDADD instead of _LDFLAGS.
Remove unused *_LDFLAGS.
2007-09-11 01:00:04 +02:00
Ralf Corsépius a079d14651 #include <popt.h> instead of "popt.h". 2007-09-04 14:30:01 +02:00
Panu Matilainen 2dfdf33eef Fix build and a few compiler warnings with --with-neon 2007-09-04 13:58:11 +03:00
Ralf Corsépius 7d9e2c4f30 Add httpTimeoutSecs for WITH_NEON. 2007-09-04 12:03:18 +02:00
Ralf Corsépius bc5bbd543f Remove __LCLINT__-ifdef'ed blocks. 2007-09-03 13:29:05 +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
Panu Matilainen 8d0ad625b9 Don't read *.rpmnew etc macro files 2007-08-30 13:02:12 +03: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 6749666f61 Comment out Glob_error. 2007-08-27 16:03:46 +02:00
Ralf Corsépius 2cb8ee9acc Adjust paths to beecrypt headers. 2007-08-27 15:59:39 +02:00
Ralf Corsépius 767742d634 Adjust paths to beecrypt headers. 2007-08-27 15:55:48 +02:00
Ralf Corsépius 1cfcb427ff Eliminate noinst_HEADERS. 2007-08-27 12:26:21 +02:00
Panu Matilainen de9061b214 Fix monday morning thinkos wrt macro buffer changes.
The expanded size is of course not known beforehand.. check for size
before copying instead.
2007-08-27 11:01:39 +03:00
Panu Matilainen fbf52996b8 Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm 2007-08-27 09:56:38 +03:00
Panu Matilainen 40d25ee3ea Fix potential buffer overflow in macro primitive execution
Use dynamic buffer, we know the needed size here...
2007-08-27 09:55:42 +03:00
Panu Matilainen ad7c8e98c9 Fix potential buffer overflow in macro findEntry()
Avoid static buffer, we know the size...
2007-08-27 09:51:52 +03:00
Panu Matilainen 0e74bc98be Fix potential buffer overflow by using dynamic buffer size. 2007-08-27 09:48:00 +03:00
Panu Matilainen ca7b28eb35 Fix buffer overflow in macro shell escaping (#253971)
We know the required buffer size here, no point in using static buffer.
2007-08-27 09:45:53 +03:00
Ralf Corsépius e68817bd47 Remove tdigest. 2007-08-27 08:17:43 +02:00
Ralf Corsépius 02fe593950 Remove (Unused junk). 2007-08-27 08:17:10 +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
Ralf Corsépius aa5826ea67 Use size_t for pktlen to reflect pgpReadPkts() parameters. 2007-08-13 12:34:24 +02:00
Ralf Corsépius bff16e3474 Reformat.
Comment out static ldflags.
Replace refs to $(top_builddir)/popt/libpopt.la with @WITH_POPT_LIB@.
2007-08-13 12:30:58 +02:00
packman@mccallum.corsepiu.local c7e5193b21 Remove BEECRYPTLOBJS, .created. 2007-08-08 13:35:00 +02:00
Panu Matilainen 37c6a80fd9 Remove dead tficl code.. 2007-08-06 13:31:23 +03:00
Panu Matilainen c823d84c72 Minor bug fixes to test programs to make them buildable again.
Patch from Ralf Corsepius.
2007-08-06 12:01:31 +03: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
Panu Matilainen 4bcd08549d Set libdir /usr/lib vs lib64 directly, drop MARK64 stuff 2007-07-25 17:10:57 +03:00
Panu Matilainen ffa3122d58 Expect neon headers to live in neon/ directory in include path 2007-07-24 10:13:28 +03:00
Panu Matilainen 70e1c373d1 Expect beecrypt headers to live in beecrypt/ directory in include path 2007-07-24 10:07:23 +03:00
Panu Matilainen cce81e1fa0 rpmioSlurp() related cleanups.
Derived from rpm5.org / Ralf S. Engelschall
2007-07-12 11:55:45 +03:00
Panu Matilainen d52a645802 Fread() and Fwrite() can return negative values, change type to reflect that 2007-07-12 11:06:16 +03:00
Panu Matilainen ba63d405ae Turn rpmioSlurp() length argument to unsigned size_t, fix up uses.
Derived from rpm5.org / Ralf S. Engelschall, I do agree length can't really
be negative...
2007-07-11 15:39:51 +03:00
Panu Matilainen 62f1ed90b8 Ifdef unused http timeout setting to future.. 2007-07-11 14:02:12 +03:00
Panu Matilainen 8b76976f6c Cast assignment to destination type to fix warnings. 2007-07-11 12:44:45 +03:00
Panu Matilainen c8b871d549 Ifdef out currently unused rpm logging facility stuff. 2007-07-11 12:34:46 +03:00
Panu Matilainen e1508eff86 Shut up fdUpdateDigest() differing signedness compiler warnings.
Derived from rpm5.org.
2007-07-11 12:32:17 +03:00
Panu Matilainen 0fdfaed857 Bunch of variable initializations to avoid compiler warnings. 2007-07-10 13:43:46 +03:00
Panu Matilainen 2f340d4dee Cast glob_t *dir methods to void* to fix compiler warnings. 2007-07-10 13:35:50 +03:00
Panu Matilainen 31592ebc7f Cast signal handler pointers to void* to avoid compiler warnings. 2007-07-10 13:34:17 +03:00
Panu Matilainen 049674696d Remove const type-qualifiers from function return types everywhere.
They're meaningless in C and cause tonne of build warnings.
2007-07-10 12:15:43 +03:00
Panu Matilainen f64a1a327b Cast to strlen expected type to avoid warning. 2007-07-10 11:39:40 +03:00
Panu Matilainen d2c56c404c Use correct size type for getpeername() 2007-07-10 11:19:12 +03:00
Panu Matilainen c9ce3241df Remove / #ifdef out unused variables as appropriate. 2007-07-10 11:00:04 +03:00
Panu Matilainen fbf324936b #ifdef out unused pgpSecret* definitions to shut up compiler warnings. 2007-07-10 10:47:35 +03:00
Panu Matilainen 03d95de7a0 Fix include of misc.h, rpmpgp.h and rpmsq.h in C++. 2007-07-09 11:01:33 +03:00
Panu Matilainen d7d8c35e67 Fix segfault on errors if neon transport is used (rhbz#220392)
Patch from rpm5.org / JBJ.
2007-07-03 14:27:08 +03:00
Panu Matilainen de50397c71 Plug some memory leaks.
Patches from rpm5.org / JBJ.
2007-07-02 15:02:15 +03:00
Panu Matilainen f49c8bc304 IPv4/6 and EPSV support by Arkadiusz Miskiewicz 2007-06-25 10:40:14 +03:00
Panu Matilainen 932673b787 Remove hardcoded RH GPG-keys from the source. 2007-05-23 12:12:07 +03:00
Paul Nasrat af236859a0 Fix off-by-one error in glob call.
Fix from OpenSuSE
2007-04-16 13:20:30 +01:00
Paul Nasrat 3c102d6404 Return an error if Fileno is called with NULL instead of segfaulting.
Patch from OpenSuSE
2007-04-16 13:17:19 +01:00
Paul Nasrat 5521d15370 Fork failure patch from OpenSuSE 2007-04-16 12:49:38 +01:00
Paul Nasrat 3397c5ef53 Cleanup: Remove dumpasn1 util 2007-03-14 15:46:35 +00:00
Paul Nasrat 9621964a56 Remove unused library 2007-02-22 17:20:23 +00:00
Paul Nasrat 69927942b1 Fix from James Olin Oden for a scriptlet deadlock (#146549). 2007-02-22 12:26:56 +00:00
Paul Nasrat a13bfd1be5 Allow build without the neon library.
Resurrects old httpOpen code from rpm-4.1.1.
Building without neon means no webdav file uploads, though.
Michael Schroeder <mls@suse.de>
2007-02-16 16:27:54 +00:00
jbj 51b32ae130 Add porting sanity check (#159024).
CVS patchset: 7879
CVS date: 2005/07/13 10:47:56
2005-07-13 10:47:56 +00:00
jbj 6aed9338a6 - fix: % at end-of-line overflow (#161091).
CVS patchset: 7874
CVS date: 2005/07/13 09:52:45
2005-07-13 09:52:45 +00:00
jbj 0b42a940c1 GCC fidgets, add parentheses around timedRead vector.
CVS patchset: 7864
CVS date: 2005/07/02 18:54:08
2005-07-02 18:54:08 +00:00
jbj 48972a87c8 Add support for sha256/sha384/sha512 (if available.).
Update beecrypt version.

CVS patchset: 7803
CVS date: 2005/03/13 01:15:37
2005-03-13 01:15:37 +00:00
jbj 094e57ce71 - rework configure.ac et al to lose internal library baggage flexibly.
CVS patchset: 7775
CVS date: 2005/02/17 02:36:37
2005-02-17 02:36:37 +00:00
jbj 6bb128c5f4 - don't build with sqlite3 if <sqlite3.h> is missing.
CVS patchset: 7764
CVS date: 2005/02/14 01:34:12
2005-02-14 01:34:12 +00:00
jbj d0615e9641 - macosx: change to --prefix=/usr rather than /opt/local.
- use waitpid rather than SIGCHLD reaper.
- rip out DB_PRIVATE revert if not NPTL, it's not the right thing to do.

CVS patchset: 7761
CVS date: 2005/02/13 03:01:09
2005-02-13 03:01:09 +00:00
jbj 85bdd0ae7c Update bytesRemain iff R/W operation.
CVS patchset: 7746
CVS date: 2005/02/08 17:15:10
2005-02-08 17:15:10 +00:00
jbj 0935020492 - fix: length of gpg V4 hash seed was incorrect (#146896).
- add support for V4 rfc-2440 signatures.

CVS patchset: 7737
CVS date: 2005/02/02 18:47:42
2005-02-02 18:47:42 +00:00
jbj fadd9c8edb Revert glob/fnmatch/alloca uniqify on macosx for now.
CVS patchset: 7717
CVS date: 2005/01/28 06:36:29
2005-01-28 06:36:29 +00:00
jbj 84d6a9cac5 macosx/opendarwin hackery, take 1.
CVS patchset: 7710
CVS date: 2005/01/25 05:24:40
2005-01-25 05:24:40 +00: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 15d076fc8f Orphan.
CVS patchset: 7705
CVS date: 2005/01/23 20:30:39
2005-01-23 20:30:39 +00:00
jbj 217c588baa Build on macosx.
CVS patchset: 7701
CVS date: 2005/01/17 23:58:09
2005-01-17 23:58:09 +00:00
jbj 5732d3daae - build against external/internal neon.
CVS patchset: 7692
CVS date: 2005/01/09 17:48:19
2005-01-09 17:48:19 +00:00
jbj 84ec406c35 - mac os x patches (#133611, #133612, #134637).
CVS patchset: 7673
CVS date: 2005/01/04 19:31:31
2005-01-04 19:31:31 +00:00
jbj 6da6f7fc0a - mac os x patches (#131943,#131944,#132924,#132926).
CVS patchset: 7671
CVS date: 2005/01/04 17:46:10
2005-01-04 17:46:10 +00:00
jbj 228d0e350a Splint fiddles.
CVS patchset: 7669
CVS date: 2005/01/04 17:11:00
2005-01-04 17:11:00 +00:00
jbj d49ad2ca27 Deal with \r\n after "-----END PGP PBLIC KEY BLOCK-----" from hkp://sks.keyserver.penguin.de
Add parser failure error codes.

CVS patchset: 7622
CVS date: 2004/12/01 17:52:31
2004-12-01 17:52:31 +00:00
jbj 15204958aa - detect and return errors from neon through Ferror.
CVS patchset: 7619
CVS date: 2004/11/29 14:29:22
2004-11-29 14:29:22 +00:00
jbj f5203aea8b - add support for automagic pubkey retrieval using HKP.
CVS patchset: 7617
CVS date: 2004/11/28 21:14:41
2004-11-28 21:14:41 +00:00
jbj 6a18dcbdf0 - fix: chunked davRead returns 0 is EOF.
CVS patchset: 7600
CVS date: 2004/11/25 04:45:10
2004-11-25 04:45:10 +00:00
jbj 3ffb936701 - bump soname into libfoo-4.4.so everywhere.
CVS patchset: 7590
CVS date: 2004/11/19 17:41:09
2004-11-19 17:41:09 +00:00
jbj aba69f4963 - remove noNeon runtime switch, http through neon only.
- remove http put to be able to build against upstream neon.

CVS patchset: 7589
CVS date: 2004/11/19 17:26:22
2004-11-19 17:26:22 +00:00
jbj 13b145b6af Functional http remote globbing through WebDAV.
BUG: Something goofy with Keepalive On still.

CVS patchset: 7573
CVS date: 2004/11/11 02:29:51
2004-11-11 02:29:51 +00:00
jbj b1ac9a5146 Create.
CVS patchset: 7572
CVS date: 2004/11/11 01:04:59
2004-11-11 01:04:59 +00:00
jbj 103a5c0e48 Wire HTTP PUT through libneon.
CVS patchset: 7570
CVS date: 2004/11/11 00:13:38
2004-11-11 00:13:38 +00:00
jbj 20ed322067 Sanity.
CVS patchset: 7568
CVS date: 2004/11/10 00:49:04
2004-11-10 00:49:04 +00:00
jbj e5e4a65519 Stub in rpmrpc primitives.
CVS patchset: 7561
CVS date: 2004/11/08 22:49:00
2004-11-08 22:49:00 +00:00
jbj 2cecae5394 Splint fiddles.
CVS patchset: 7560
CVS date: 2004/11/08 21:12:45
2004-11-08 21:12:45 +00:00
jbj f38adb1404 Splint clean.
CVS patchset: 7559
CVS date: 2004/11/08 20:56:18
2004-11-08 20:56:18 +00:00
jbj 1727acd62d - use external libneon for http/https transport.
CVS patchset: 7555
CVS date: 2004/11/08 18:00:00
2004-11-08 18:00:00 +00:00
jbj 04a779db72 Functional https:// with Keepalive on.
CVS patchset: 7554
CVS date: 2004/11/08 17:10:36
2004-11-08 17:10:36 +00:00
jbj 42554d5d08 Rebalance refcounts with keepalive.
CVS patchset: 7553
CVS date: 2004/11/08 01:54:12
2004-11-08 01:54:12 +00:00
jbj e5370f96a4 Drill many neon hooks.
CVS patchset: 7552
CVS date: 2004/11/07 18:49:08
2004-11-07 18:49:08 +00:00
jbj 351af63e8c Orphan.
CVS patchset: 7551
CVS date: 2004/11/06 21:02:15
2004-11-06 21:02:15 +00:00
jbj d2d8ce7910 Remove dead code.
CVS patchset: 7550
CVS date: 2004/11/06 21:01:03
2004-11-06 21:01:03 +00:00
jbj f790586b45 Add handlers for Content-Length: et al HTTP tags used by rpmio.
CVS patchset: 7549
CVS date: 2004/11/06 20:57:30
2004-11-06 20:57:30 +00:00
jbj 7e731dd8ce Balance fd refcounts like http://. Much subtle hackery, sigh.
CVS patchset: 7548
CVS date: 2004/11/06 19:26:52
2004-11-06 19:26:52 +00:00
jbj fa16f9dc94 Implement davReq/davResp instead.
CVS patchset: 7547
CVS date: 2004/11/06 17:59:19
2004-11-06 17:59:19 +00:00
jbj 945b4f65ef w00t! rpm -q -W https://wellfleet.jbj.org/rawhide/test milestone!
CVS patchset: 7545
CVS date: 2004/11/05 20:43:10
2004-11-05 20:43:10 +00:00
jbj 50596fe84b Stub in libio routines.
CVS patchset: 7544
CVS date: 2004/11/05 16:20:42
2004-11-05 16:20:42 +00:00
jbj 368da1cf26 Store server capabilities and lockstore in urlinfo.
Attach urlinfo to fetch context prior to ripping ne_parse_uri.
Substitute /u->service/u->scheme/ everywhere to conform with modern usage.
Splint clean.

CVS patchset: 7543
CVS date: 2004/11/05 16:00:31
2004-11-05 16:00:31 +00:00
jbj 04724d83c3 Eliminate global session and neon uri parsing, use the urlcache instead.
CVS patchset: 7542
CVS date: 2004/11/05 03:09:00
2004-11-05 03:09:00 +00:00
jbj 8e7cbc84da Implement davStat (and clone davLstat), sufficient for fts walk.
CVS patchset: 7541
CVS date: 2004/11/05 00:45:02
2004-11-05 00:45:02 +00:00
jbj 9865db5f7e Link librpmio with -lneon.
Implement Opendir et al across https:// using neon.

CVS patchset: 7540
CVS date: 2004/11/04 20:15:17
2004-11-04 20:15:17 +00:00
jbj 80c888e0c7 Typos.
CVS patchset: 7538
CVS date: 2004/11/04 14:19:47
2004-11-04 14:19:47 +00:00
jbj f02d2a3449 Split out avOpendir/avReaddir/avClosedir to rpmdav.c.
Stub in davOpen.

CVS patchset: 7537
CVS date: 2004/11/04 14:16:30
2004-11-04 14:16:30 +00:00
jbj afeddbf68d Stub in URL_IS_HTTPS everywhere.
CVS patchset: 7536
CVS date: 2004/11/04 13:29:11
2004-11-04 13:29:11 +00:00
jbj b7f251ae16 - port to internal file-4.10 libmagic rather than libfmagic.
CVS patchset: 7500
CVS date: 2004/10/21 18:40:56
2004-10-21 18:40:56 +00:00
jbj 8faa61c020 Doxygen fiddles.
CVS patchset: 7495
CVS date: 2004/10/20 10:19:34
2004-10-20 10:19:34 +00:00
jbj 9e30825226 - fix: don't set handler if SIG_IGN is already set (#134474).
CVS patchset: 7462
CVS date: 2004/10/14 15:09:07
2004-10-14 15:09:07 +00:00
jbj fa313c61b0 Typo.
CVS patchset: 7444
CVS date: 2004/10/10 01:24:16
2004-10-10 01:24:16 +00:00
jbj a36aa761ec More changes from rpm-4_3 branch.
CVS patchset: 7441
CVS date: 2004/10/09 20:22:01
2004-10-09 20:22:01 +00:00
jbj 9016817552 Splint fiddles.
CVS patchset: 7439
CVS date: 2004/10/09 18:32:24
2004-10-09 18:32:24 +00:00
jbj b831315e41 Splint fiddles.
CVS patchset: 7435
CVS date: 2004/10/09 17:29:22
2004-10-09 17:29:22 +00:00
jbj dd17e87985 - ia64: auto-relocate entire, not partial, directory contents (#126905).
- ia64: auto-relocate glibc.ix86 interpreter path (#100563).
- shared libraries in separate rpm-libs package.
- fix: defattr for rpm-libs (#130461).
- fix: static glibc/libgcc helpers always installed (#127522).
- ia64: make sure that autorelocated file dependencies are satisfied.
- ia64: relocate all scriptlet interpreters.
- ia64: don't bother trying to preload autorelocated modules.
- fix: filesystem package needs mail/lock w/o getgrnam.
- fix: do getpwnam/getgrnam to load correct modules before chroot.

CVS patchset: 7415
CVS date: 2004/08/31 15:39:37
2004-08-31 15:39:37 +00:00
jbj 66250307ba Add support for beecrypt-4.0.0.
CVS patchset: 7367
CVS date: 2004/07/31 17:48:11
2004-07-31 17:48:11 +00:00
jbj 9f035a4d8a - fix: "/path/foo.../bar" was losing a dot (#123844).
CVS patchset: 7287
CVS date: 2004/06/01 13:58:57
2004-06-01 13:58:57 +00:00
jbj 42386beb8b - use poll(2) if available, avoid borked aurora/sparc select (#124574).
CVS patchset: 7276
CVS date: 2004/05/29 15:56:01
2004-05-29 15:56:01 +00:00
jbj 1d7dfb26c7 More cleanup, remove compile warnings.
CVS patchset: 7270
CVS date: 2004/05/28 04:47:42
2004-05-28 04:47:42 +00:00
jbj 84aef46ba3 Code cleanup.
CVS patchset: 7269
CVS date: 2004/05/28 04:34:21
2004-05-28 04:34:21 +00:00
jbj d0df223d83 Sanity clean-up.
CVS patchset: 7268
CVS date: 2004/05/28 03:12:43
2004-05-28 03:12:43 +00:00
jbj 10dcc28d51 Make sexpOutputStream entirely opaque.
CVS patchset: 7267
CVS date: 2004/05/28 03:02:02
2004-05-28 03:02:02 +00:00
jbj 48a7ecb978 Make input stream entirely opaque.
CVS patchset: 7266
CVS date: 2004/05/28 02:41:00
2004-05-28 02:41:00 +00:00
jbj beb0021a4c Make sexpString and sexpList opaque and abstract.
CVS patchset: 7265
CVS date: 2004/05/28 01:48:49
2004-05-28 01:48:49 +00:00
jbj b45401eaff Make sexpSimpleString and sexpObject opaque and abstract.
CVS patchset: 7264
CVS date: 2004/05/28 01:18:36
2004-05-28 01:18:36 +00:00
jbj 75e1e268c3 Continue making structures abstarct and opaque.
CVS patchset: 7263
CVS date: 2004/05/28 00:55:56
2004-05-28 00:55:56 +00:00
jbj d95c3f7fa5 Splint fiddles.
CVS patchset: 7262
CVS date: 2004/05/27 23:53:43
2004-05-27 23:53:43 +00:00
jbj 38f19a18df Use popt instead.
CVS patchset: 7261
CVS date: 2004/05/27 23:07:01
2004-05-27 23:07:01 +00:00
jbj bde534de89 Add no-brainer make check.
CVS patchset: 7260
CVS date: 2004/05/27 21:35:37
2004-05-27 21:35:37 +00:00
jbj e2f84dd308 Splint fiddles.
CVS patchset: 7259
CVS date: 2004/05/27 20:57:47
2004-05-27 20:57:47 +00:00
jbj a70db07ead Zap trialing white space.
CVS patchset: 7258
CVS date: 2004/05/27 20:20:23
2004-05-27 20:20:23 +00:00
jbj b1dc346f8a Zap ^M everywhere.
CVS patchset: 7257
CVS date: 2004/05/27 20:19:13
2004-05-27 20:19:13 +00:00
jbj 8ef74a5983 Splint fiddles.
CVS patchset: 7256
CVS date: 2004/05/27 20:16:55
2004-05-27 20:16:55 +00:00
jbj 6aed2fa8ac ANSI C prototypes, no-brainer splint annotations.
CVS patchset: 7255
CVS date: 2004/05/27 19:00:51
2004-05-27 19:00:51 +00:00
jbj 26371c10a6 No-brainer autocrap wrapper.
CVS patchset: 7254
CVS date: 2004/05/27 18:10:44
2004-05-27 18:10:44 +00:00
jbj 0023779c86 Creat from Rivest's sexp distribution.
CVS patchset: 7253
CVS date: 2004/05/27 17:55:01
2004-05-27 17:55:01 +00:00
jbj f748bc43d9 Splint fiddles.
CVS patchset: 7242
CVS date: 2004/04/19 12:12:12
2004-04-19 12:12:12 +00:00
niemeyer a018c6e59c Implemented Lua support for the hooking system.
CVS patchset: 7239
CVS date: 2004/04/18 20:47:29
2004-04-18 20:47:29 +00:00
niemeyer a19d5569cd Implemented external interface for the hooking system, and
included in rpm context.

CVS patchset: 7238
CVS date: 2004/04/18 18:30:21
2004-04-18 18:30:21 +00:00
niemeyer e0c6886a54 Adding in-development hooking system into the repository.
CVS patchset: 7237
CVS date: 2004/04/18 03:23:39
2004-04-18 03:23:39 +00:00
niemeyer 70905ee4c6 Implemented multiline macro support.
CVS patchset: 7231
CVS date: 2004/04/08 20:27:53
2004-04-08 20:27:53 +00:00
jbj 84573a3571 Splint fiddles.
CVS patchset: 7219
CVS date: 2004/04/07 18:07:08
2004-04-07 18:07:08 +00:00
arekm f1dab7350d Make rpmGlob() locale independent to get stable behaviour whatever locale is used when building (Artur Frysiak <wiget/at/pld-linux.org>).
Modified Files: rpmio/macro.c

CVS patchset: 7207
CVS date: 2004/03/30 00:40:26
2004-03-30 00:40:26 +00:00
jbj 94c663d938 Sanity.
CVS patchset: 7200
CVS date: 2004/03/28 13:49:19
2004-03-28 13:49:19 +00:00
joden a8b1e86048 Made it so %* does not evaluate with a leading space. For instance:
%define xxx() "%{*}"
	%xxx 1 2 3
would evaluate to:
	" 1 2 3"
and now evaluates to:
   "1 2 3"

CVS patchset: 7196
CVS date: 2004/03/27 11:34:14
2004-03-27 11:34:14 +00:00
jbj 60057a2de1 Splint fiddles.
CVS patchset: 7195
CVS date: 2004/03/26 17:27:57
2004-03-26 17:27:57 +00:00
jbj 18fe40be2d Typo.
CVS patchset: 7194
CVS date: 2004/03/26 15:44:18
2004-03-26 15:44:18 +00:00
jbj f3fb31edbb splint fiddles.
CVS patchset: 7193
CVS date: 2004/03/26 15:42:45
2004-03-26 15:42:45 +00:00
niemeyer c096a690b8 - Now Lua interface is using a global state.
- /usr/lib/rpm/init.lua is called during intialization.

CVS patchset: 7188
CVS date: 2004/03/24 19:47:11
2004-03-24 19:47:11 +00:00
niemeyer 47d16168ca Removing unwanted "static" attribute in "luaL_reg *lib". Using it
removes the prectability of initalization order in relation to
lualibs.

CVS patchset: 7187
CVS date: 2004/03/23 23:52:45
2004-03-23 23:52:45 +00:00
jbj 58c9db0b19 Spint fiddles.
CVS patchset: 7184
CVS date: 2004/03/23 07:18:55
2004-03-23 07:18:55 +00:00
jbj bc35b858d6 Splint fiddles.
CVS patchset: 7183
CVS date: 2004/03/23 05:52:59
2004-03-23 05:52:59 +00:00
niemeyer 635edd9523 - New internal Lua support scheme, laying under rpmio.
- New API abstracting access to Lua state (rpmlua is
  abstract to everyone but rpmlua.c).
- New %{lua: ... } macro.
Modified Files:
	lib/Makefile.am lib/psm.c lib/rpmts.c lua/local/linit.lch
	lua/local/linit.lua rpmio/Makefile.am rpmio/macro.c
Added Files:
	rpmio/rpmlua.c rpmio/rpmlua.h
Removed Files:
	lib/rpmlua.c lib/rpmlua.h

CVS patchset: 7178
CVS date: 2004/03/19 20:08:20
2004-03-19 20:08:20 +00:00
jbj 25e004f33d Add comments, minor performance improvement.
CVS patchset: 7154
CVS date: 2004/03/07 21:11:27
2004-03-07 21:11:27 +00:00
jbj ccc7bf2fd9 Protect sq->reaped with sighold and sigrelease.
CVS patchset: 7153
CVS date: 2004/03/07 12:50:36
2004-03-07 12:50:36 +00:00
jbj 0e3c5edc64 Typo.
CVS patchset: 7145
CVS date: 2004/03/03 01:58:36
2004-03-03 01:58:36 +00:00
jbj 5ef0bf77c2 - permit globs in macrofiles: directive (#117217).
CVS patchset: 7139
CVS date: 2004/03/02 01:31:01
2004-03-02 01:31:01 +00:00
jbj a3bf9b96f9 - use -fPIC -DPIC on all platforms, not just mandatory (#112713).
CVS patchset: 7051
CVS date: 2003/12/30 15:12:50
2003-12-30 15:12:50 +00:00
jbj 59f6e1d78f - fix: wrong package count for trigger scriptlet 1st arg (#100509).
- fix: don't break header SHA1 if non-existent user/group (#97727).
- remove fuids/fgids from rpmfi, easier to lookup fuser/fgroup instead.
- merge sensible parts of openpkg rpm.patch.bugfix (#104780).

CVS patchset: 7024
CVS date: 2003/12/27 01:37:56
2003-12-27 01:37:56 +00:00
jbj 5e20d90422 splint fiddles, no warnings.
CVS patchset: 6961
CVS date: 2003/12/01 19:15:38
2003-12-01 19:15:38 +00:00
jbj 3dcfeb3f9a Merge changes from rpm-4.2.1 development.
CVS patchset: 6959
CVS date: 2003/11/23 19:50:52
2003-11-23 19:50:52 +00:00
jbj d0594e1ce0 Update to 4.0.31.
CVS patchset: 6919
CVS date: 2003/06/26 18:19:26
2003-06-26 18:19:26 +00:00
jbj 85a5a1cfe3 Sanity.
CVS patchset: 6918
CVS date: 2003/06/24 19:29:36
2003-06-24 19:29:36 +00:00
jbj f5c14e57bc Consolidate external beecrypt changes.
CVS patchset: 6880
CVS date: 2003/05/30 16:58:13
2003-05-30 16:58:13 +00:00
jbj dac695e290 Prepare to build with external beecrypt-3.0.0.
CVS patchset: 6871
CVS date: 2003/05/22 21:21:43
2003-05-22 21:21:43 +00:00
jbj 1283382043 - use beecrypt-3.0.0 API with beecrypt.api.h et al, not types.h.
CVS patchset: 6859
CVS date: 2003/05/18 15:37:51
2003-05-18 15:37:51 +00:00
jbj bf8cae09c8 - fix: nested %if handling, optind initialization posix vs. gloibc.
CVS patchset: 6839
CVS date: 2003/05/15 13:44:18
2003-05-15 13:44:18 +00:00
jbj 9c5529608e - don't use error string after gzclose (Dmitry V. Levin).
Spliddles for rpmio, drill h_errno all the way through.

CVS patchset: 6826
CVS date: 2003/05/08 20:39:29
2003-05-08 20:39:29 +00:00
jbj db7ab2f447 - don't use error string after gzclose (Dmitry V. Levin).
CVS patchset: 6825
CVS date: 2003/05/08 15:52:36
2003-05-08 15:52:36 +00:00
jbj c7b7ca5bbd Use new mpfpruntf now in beecrypt-3.0.0 API.
CVS patchset: 6814
CVS date: 2003/05/05 16:07:50
2003-05-05 16:07:50 +00:00
jbj 366f697b66 Intergate beecrypt spliddles.
CVS patchset: 6802
CVS date: 2003/05/01 23:28:46
2003-05-01 23:28:46 +00:00
jbj dc60eb0074 beecrypt-3.0.0 merge: doxygen pass.
CVS patchset: 6792
CVS date: 2003/04/30 01:03:33
2003-04-30 01:03:33 +00:00
jbj d4538f2d0d beecrypt-3.0.0 merge: DSA/SHA1 functional in rpm.
CVS patchset: 6786
CVS date: 2003/04/28 21:10:07
2003-04-28 21:10:07 +00:00
jbj a7467cba85 beecrypt-3.0.0 merge: grand renaming, mp32barrett et al.
CVS patchset: 6780
CVS date: 2003/04/25 20:46:38
2003-04-25 20:46:38 +00:00
jbj 6718ac9b84 beecrypt-3.0.0 merge: grand renaming, mp32number et al.
CVS patchset: 6778
CVS date: 2003/04/25 19:45:10
2003-04-25 19:45:10 +00:00
jbj f589bf944e beecrypt-3.0.0 merge: file renaming.
Sanity.

CVS patchset: 6777
CVS date: 2003/04/25 19:22:20
2003-04-25 19:22:20 +00:00
jbj c243ab099b - resurrect manifests, RPMRC_NOTFOUND returned by readLead().
CVS patchset: 6752
CVS date: 2003/04/16 17:48:04
2003-04-16 17:48:04 +00:00
jbj 552d691608 Splint fiddles.
CVS patchset: 6736
CVS date: 2003/04/09 21:46:31
2003-04-09 21:46:31 +00:00
jbj 783219a832 fix: prevent segfault if malicious server sends 1 GB of data through ftpNLST.
fix: rpmal could segfault under obscure conditions.
Use array, not individual structures, for rpmsw{Enter,Exit} timestamps.

CVS patchset: 6735
CVS date: 2003/04/08 21:42:55
2003-04-08 21:42:55 +00:00
jbj f60ec855de Calibrated stopwatch using rdtsc.
Probes for digest/signature and rpmdb.

CVS patchset: 6734
CVS date: 2003/04/07 12:05:35
2003-04-07 12:05:35 +00:00
jbj 0bb715a528 Accumulate compress/uncompress times.
CVS patchset: 6733
CVS date: 2003/04/04 22:15:58
2003-04-04 22:15:58 +00:00
jbj 5984579078 Use rpmswEnter/rpmswExit throughout.
CVS patchset: 6730
CVS date: 2003/04/02 23:26:06
2003-04-02 23:26:06 +00:00
jbj 95f01d39a5 Splint clean.
CVS patchset: 6729
CVS date: 2003/04/02 21:16:26
2003-04-02 21:16:26 +00:00
jbj d96a081626 Splint fiddles.
CVS patchset: 6727
CVS date: 2003/04/01 22:30:04
2003-04-01 22:30:04 +00:00
jbj b0ca58af8e Splint fiddles.
Create struct rpmop_s from OPSTAT_t.

CVS patchset: 6726
CVS date: 2003/04/01 22:27:39
2003-04-01 22:27:39 +00:00
jbj 4eb5fa7dc5 Splint fiddles.
Move OPSTAT_t to rpmsw.h.

CVS patchset: 6725
CVS date: 2003/04/01 22:26:09
2003-04-01 22:26:09 +00:00
jbj cec67caee6 Splint fiddles.
CVS patchset: 6724
CVS date: 2003/04/01 22:20:45
2003-04-01 22:20:45 +00:00
jbj 02bb493292 fix: Pass FIPS-C character by character, not strlen(ifn).
CVS patchset: 6723
CVS date: 2003/03/28 22:47:18
2003-03-28 22:47:18 +00:00
jbj 485f497e21 Add gcrypt to tdigest.
CVS patchset: 6722
CVS date: 2003/03/28 22:11:06
2003-03-28 22:11:06 +00:00
jbj d79b053df3 Repair rdtsc stopwatch, use gettimeofday(3) for now.
CVS patchset: 6716
CVS date: 2003/03/25 00:22:23
2003-03-25 00:22:23 +00:00
jbj 0b8c3f8319 Add benchmark stopwatch, change precision from milli- to micro-secs.
CVS patchset: 6715
CVS date: 2003/03/24 17:25:42
2003-03-24 17:25:42 +00:00
jbj 96cd0c2e28 Make sure that $(RPM_BUILD_ROOT}/usr/lib is 1st libarry searched.
Bump popt version.

CVS patchset: 6710
CVS date: 2003/03/20 23:42:05
2003-03-20 23:42:05 +00:00
jbj 099e6cd1ae Sanity, take 2.
CVS patchset: 6706
CVS date: 2003/03/19 03:36:13
2003-03-19 03:36:13 +00:00
jbj 6cb657b9d2 Sanity.
CVS patchset: 6705
CVS date: 2003/03/19 03:00:02
2003-03-19 03:00:02 +00:00
jbj 5fe1914a15 Proof of concept scriptlet queue, single or multi threaded.
CVS patchset: 6699
CVS date: 2003/03/18 02:41:33
2003-03-18 02:41:33 +00:00
jbj 77b724ec99 Create rpmsq, combining rpmdb/psm signal handlers.
CVS patchset: 6694
CVS date: 2003/03/16 22:36:52
2003-03-16 22:36:52 +00:00
jbj 51e7f7a5e9 - fix: memory leak (85522).
CVS patchset: 6656
CVS date: 2003/03/06 22:50:04
2003-03-06 22:50:04 +00:00
jbj 2c26d43b98 Sanity.
CVS patchset: 6040
CVS date: 2003/02/20 17:51:23
2003-02-20 17:51:23 +00:00
jbj c63f257a7e - fix: clean relocation path for --prefix=/.
- python: permit stdout/stderr to be remapped to install.log.

CVS patchset: 6031
CVS date: 2003/01/28 17:17:26
2003-01-28 17:17:26 +00:00
jbj c4e0fdbf21 - portabilitly: solaris fixes.
CVS patchset: 5997
CVS date: 2003/01/06 19:47:33
2003-01-06 19:47:33 +00:00
jbj 6b0679df90 - add %%pubkey attribute to read armored pubkey files into header.
CVS patchset: 5969
CVS date: 2002/12/24 19:49:06
2002-12-24 19:49:06 +00:00
jbj 268376a208 Rescusitate doxygen file manifest.
CVS patchset: 5968
CVS date: 2002/12/24 17:06:35
2002-12-24 17:06:35 +00:00
jbj 96f4a259b5 - fix: make sure each library has DT_NEEDED for all unresolved syms.
CVS patchset: 5941
CVS date: 2002/12/14 21:39:19
2002-12-14 21:39:19 +00:00
jbj 80b23366e7 - use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead.
CVS patchset: 5911
CVS date: 2002/12/01 21:34:06
2002-12-01 21:34:06 +00:00
jbj 0efbbada0f - link rpm libraries together, use shared helpers with external -lelf.
- move libfmagic to librpmio.
- use libtool-1.4.3, autoconf-2.56.
- add explicit -L/lib64 -L/usr/lib64 for libtool mode=relink on x86_64.

CVS patchset: 5910
CVS date: 2002/12/01 18:03:22
2002-12-01 18:03:22 +00:00
jbj 760d3a0c8b More splint fiddles.
CVS patchset: 5908
CVS date: 2002/11/30 22:15:29
2002-11-30 22:15:29 +00:00
jbj 22389abbd4 - add AC_SYS_LARGFILE throughout.
- statically link rpmdeps against (internal) libfmagic.

CVS patchset: 5876
CVS date: 2002/11/19 18:40:21
2002-11-19 18:40:21 +00:00
jbj 1c023424d7 Correct doxygen-1.2.18 warnings.
CVS patchset: 5875
CVS date: 2002/11/19 15:07:08
2002-11-19 15:07:08 +00:00
jbj ada36102ab Replace libelf with elfutils.
CVS patchset: 5778
CVS date: 2002/10/15 18:44:16
2002-10-15 18:44:16 +00:00
jbj d0ccee051f - fix: use size_t consistently, avoid segfault on ia64.
CVS patchset: 5760
CVS date: 2002/10/09 19:07:43
2002-10-09 19:07:43 +00:00
jbj 868c27220d lclint annotations.
CVS patchset: 5756
CVS date: 2002/10/07 09:05:06
2002-10-07 09:05:06 +00:00
jbj 56b4e83a2e Add va_end to match va_copy (#74251).
CVS patchset: 5729
CVS date: 2002/09/20 16:34:33
2002-09-20 16:34:33 +00:00
jbj 0ef682d77e - lclint clean.
CVS patchset: 5715
CVS date: 2002/09/17 15:21:03
2002-09-17 15:21:03 +00:00
jbj c1542ea207 Another pgp parser fix.
CVS patchset: 5713
CVS date: 2002/09/16 23:24:41
2002-09-16 23:24:41 +00:00
jbj 0c09564b83 - fix: parse header data more carefully.
CVS patchset: 5701
CVS date: 2002/09/04 01:52:26
2002-09-04 01:52:26 +00:00
jbj 56b3772145 - fix: parse pgp packets more carefully.
CVS patchset: 5699
CVS date: 2002/09/03 20:15:20
2002-09-03 20:15:20 +00:00
jbj cc5d229b0e Sync with rpm-4.1.
CVS patchset: 5695
CVS date: 2002/08/31 22:39:34
2002-08-31 22:39:34 +00:00
jbj ae8428475c - add --with-efence to configure, check install/upgrade with efence.
- beecrypt: short hex string conversion overflows target buffer.
- mark "successors only" packages in transaction.
- reap scriptlets with SIGCHLD handler.
- rename PSM_t to rpmpsm, add methods and refcounts to manage.
- remove %%configure/%%makeinstall from arch-os/macros, default is OK.
- don't export MALLOC_CHECK_ to scriptlets.
- squeaky clean memory leak checking.
- always malloc rpmfi structure, refcounts are correct in rpmtsRun().
- skip redundant /sbin/ldconfig scripts on upgrade (if possible).

CVS patchset: 5645
CVS date: 2002/08/19 22:27:44
2002-08-19 22:27:44 +00:00
jbj c7881d8017 - python: explicit method to set transFlags.
- python: stuff package name into a string for repackage callbacks.
- rollback: re-create empty transaction set for multiple rollbacks.
- fix: %%basename typo (Dmitry V. Levin<ldv@altlinux.org>).
- fix: queryformat segfaults (Dmitry V. Levin<ldv@altlinux.org>).

CVS patchset: 5639
CVS date: 2002/08/15 18:50:46
2002-08-15 18:50:46 +00:00
jbj 48a2529ce4 - fix: rebuilddb stat'ed target, not source, for rename sanity.
- create /var/lib/rpm if non-existent in, say, a chroot.
- erased packages are now repackaged into /var/spool/repackage.

CVS patchset: 5625
CVS date: 2002/08/13 20:40:32
2002-08-13 20:40:32 +00:00