Commit Graph

88 Commits

Author SHA1 Message Date
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 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 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 d2c56c404c Use correct size type for getpeername() 2007-07-10 11:19:12 +03:00
Panu Matilainen f49c8bc304 IPv4/6 and EPSV support by Arkadiusz Miskiewicz 2007-06-25 10:40:14 +03: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 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 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 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 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 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 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 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 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 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 8faa61c020 Doxygen fiddles.
CVS patchset: 7495
CVS date: 2004/10/20 10:19:34
2004-10-20 10:19:34 +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 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 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 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 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 cec67caee6 Splint fiddles.
CVS patchset: 6724
CVS date: 2003/04/01 22:20:45
2003-04-01 22:20:45 +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 2c26d43b98 Sanity.
CVS patchset: 6040
CVS date: 2003/02/20 17:51:23
2003-02-20 17:51:23 +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 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
jbj 241fad1287 Propagate splint-3.0.1.7 close(2) internalState annotation throughout.
CVS patchset: 5542
CVS date: 2002/07/08 14:21:26
2002-07-08 14:21:26 +00:00
jbj e5fb770e7d Add boundsread annotations throughout, enable +bounds checking.
Start narrowing the scope of bounds annotations by adding more annotations.

CVS patchset: 5537
CVS date: 2002/07/02 23:54:35
2002-07-02 23:54:35 +00:00
jbj 13d177beb2 Add boundswrite annotations everywhere.
CVS patchset: 5522
CVS date: 2002/06/23 19:47:08
2002-06-23 19:47:08 +00:00
jbj f9f1064dc0 Eliminate bogus strerror message for manifests.
CVS patchset: 5433
CVS date: 2002/05/13 22:34:25
2002-05-13 22:34:25 +00:00
jbj b463db44dc - use build time to choose one of multiple alternative suggestions.
- add --nosuggests to disable suggested resolutions.
- splint fiddles.

CVS patchset: 5406
CVS date: 2002/04/14 21:48:44
2002-04-14 21:48:44 +00:00
jbj 380b21d69e Sync with rpm-4.0.4.
CVS patchset: 5303
CVS date: 2002/02/07 16:55:01
2002-02-07 16:55:01 +00:00
jbj 85f676ed66 - lclint-3.0.0.19 fiddles.
CVS patchset: 5217
CVS date: 2001/12/08 17:21:36
2001-12-08 17:21:36 +00:00
jbj 5a0508d51f - 3 madvise calls and a 16Mb mmapped buffer == ~5% install speedup. Wow.
- use db-4.0.14 final internally.

CVS patchset: 5215
CVS date: 2001/12/06 18:34:49
2001-12-06 18:34:49 +00:00
jbj 21a35690b3 - commit to using rpmDepSet and TFI_t, not header.
- lclint rpmio fiddles.

CVS patchset: 5177
CVS date: 2001/11/12 20:51:05
2001-11-12 20:51:05 +00:00
jbj 1ad22a0bc4 - all symbols but hdrVec are now forward references in linkage.
CVS patchset: 5128
CVS date: 2001/10/21 21:43:32
2001-10-21 21:43:32 +00:00