Commit Graph

490 Commits

Author SHA1 Message Date
ewt be0b90359b does some basic sanity checks on headers read from the database
CVS patchset: 1375
CVS date: 1997/01/29 17:39:46
1997-01-29 17:39:46 +00:00
ewt 364db20c19 1) made faNextOffset(), faFirstOffset() return signed ints
2) both return -1 on error
3) faNextOffset() detects loops and returns -1

CVS patchset: 1374
CVS date: 1997/01/29 17:39:11
1997-01-29 17:39:11 +00:00
ewt bc1cb8cc9f made rpmdbFirstRecNum() and rpmdbNextRecNum() return signed ints
CVS patchset: 1373
CVS date: 1997/01/29 17:38:47
1997-01-29 17:38:47 +00:00
root b161ffd5c8 added RPMTAG_CHANGELOGTIME RPMTAG_CHANGELOGNAME RPMTAG_CHANGELOGTEXT
CVS patchset: 1368
CVS date: 1997/01/25 04:47:27
1997-01-25 04:47:27 +00:00
ewt 3d51574396 don't mkdir anything -- toplevel Makefile handles that
CVS patchset: 1360
CVS date: 1997/01/24 19:05:39
1997-01-24 19:05:39 +00:00
ewt bfd57b7a22 1) added copyData()
2) changed grabData() to use copyData()
3) made headerAppendEntry() use copyData() so it will actually work

CVS patchset: 1352
CVS date: 1997/01/23 21:17:25
1997-01-23 21:17:25 +00:00
ewt 21620b1414 increment count in headerAppendEntry()
CVS patchset: 1351
CVS date: 1997/01/23 21:12:26
1997-01-23 21:12:26 +00:00
ewt d3f7e48be9 added omitFlags to rpmVerifyFile()
CVS patchset: 1345
CVS date: 1997/01/23 20:55:33
1997-01-23 20:55:33 +00:00
ewt 8aefc02908 only check rdev w/ appropriate, include device type (block vs char) in
D bit

CVS patchset: 1340
CVS date: 1997/01/23 20:23:35
1997-01-23 20:23:35 +00:00
root df5f2c4367 some tmpPath's were being alloceted w/o paying attention to the length
of RPMVAR_TMPPATH

CVS patchset: 1338
CVS date: 1997/01/23 19:17:35
1997-01-23 19:17:35 +00:00
ewt 11eb37a7a2 moved struct rpmTagTableEntry to header.h (and renamed it)
CVS patchset: 1337
CVS date: 1997/01/22 20:42:36
1997-01-22 20:42:36 +00:00
ewt 0264e478d8 1) struct rpmTagTableEntry now struct headerTagTableEntry
CVS patchset: 1336
CVS date: 1997/01/22 20:42:10
1997-01-22 20:42:10 +00:00
ewt c212907847 1) made headerDump() take tag table
2) removed rpmlib.h, messages.h dependencies

CVS patchset: 1330
CVS date: 1997/01/21 18:09:16
1997-01-21 18:09:16 +00:00
ewt 15e5bfc3ce 1) use config.h if available
2) use if not ifdef
3) use <signal.h> instead of <sys/signal.h>

CVS patchset: 1317
CVS date: 1997/01/17 16:22:57
1997-01-17 16:22:57 +00:00
ewt 9c23e2a5a9 1) use config.h if available
2) use if not ifdef
3) include <string.h>

CVS patchset: 1316
CVS date: 1997/01/17 16:22:45
1997-01-17 16:22:45 +00:00
ewt e95e75d71d use if not ifdef
include "misc.h" and "config.h"

CVS patchset: 1315
CVS date: 1997/01/17 16:22:08
1997-01-17 16:22:08 +00:00
ewt 0a5763e9d1 1) use config.h if available
2) use if not ifdef
3) typevase getpid() to int for printf()

CVS patchset: 1314
CVS date: 1997/01/17 16:21:51
1997-01-17 16:21:51 +00:00
ewt 9a3d108249 include <string.h>
CVS patchset: 1313
CVS date: 1997/01/17 16:21:38
1997-01-17 16:21:38 +00:00
ewt c1ba928954 1) use config.h if available
2) use if not ifdef

CVS patchset: 1312
CVS date: 1997/01/17 16:20:18
1997-01-17 16:20:18 +00:00
ewt 5142d09724 added RPMVAR_FIXPERMS
CVS patchset: 1296
CVS date: 1997/01/16 17:24:51
1997-01-16 17:24:51 +00:00
ewt fc92e27c20 use <string.h> not <strings.h>
CVS patchset: 1291
CVS date: 1997/01/16 17:22:20
1997-01-16 17:22:20 +00:00
ewt 45bcb0704e Reimplemented header internals
CVS patchset: 1289
CVS date: 1997/01/16 16:46:37
1997-01-16 16:46:37 +00:00
ewt 80aca08235 1) fixed bug in rpmVersionCompare() with segv'd
2) fixed silly type

CVS patchset: 1285
CVS date: 1997/01/16 16:18:48
1997-01-16 16:18:48 +00:00
ewt 9c82f20f12 use H_OLDHEADER not H_HEADER
CVS patchset: 1283
CVS date: 1997/01/16 04:12:29
1997-01-16 04:12:29 +00:00
ewt 5c221d638b relocating packages didn't work when the package contained a directory
equivalent to the prefix

CVS patchset: 1281
CVS date: 1997/01/15 22:45:36
1997-01-15 22:45:36 +00:00
ewt e5b9e4adb3 1) don't export rpmEnsureOlder()
2) added rpmVersionCompare()

CVS patchset: 1278
CVS date: 1997/01/15 16:26:57
1997-01-15 16:26:57 +00:00
ewt 59ac149c8e don't close std[err,out] after a verify script
CVS patchset: 1277
CVS date: 1997/01/15 16:26:42
1997-01-15 16:26:42 +00:00
ewt ba4290acd3 1) made rpmEnsureOlder() static and user a header instead of strings
2) use rpmvercmp() instead of vercmp()
3) added rpmVersionCompare()

CVS patchset: 1276
CVS date: 1997/01/15 16:24:14
1997-01-15 16:24:14 +00:00
ewt 0c7b02c1ef changed vercmp() to rpmvercmp()
CVS patchset: 1275
CVS date: 1997/01/15 16:23:50
1997-01-15 16:23:50 +00:00
jbj 052ae10749 Sanity (make dist).
CVS patchset: 1271
CVS date: 1997/01/04 02:48:55
1997-01-04 02:48:55 +00:00
jbj 8eacd2250a Add ufdSeek.
CVS patchset: 1269
CVS date: 1997/01/04 02:17:22
1997-01-04 02:17:22 +00:00
ewt c3caab7f1f use doputenv() and dosetenv()
CVS patchset: 1252
CVS date: 1996/12/24 14:02:21
1996-12-24 14:02:21 +00:00
ewt 02650a7185 added doputenv(), dosetenv()
CVS patchset: 1251
CVS date: 1996/12/24 14:01:56
1996-12-24 14:01:56 +00:00
ewt e03fdd3874 1) don't chmod() directories that already exist
2) stamp new directories which mtime
3) set umask() to 0

CVS patchset: 1250
CVS date: 1996/12/24 14:00:52
1996-12-24 14:00:52 +00:00
ewt 74ff0bac2b fixed silly include file ordering problems on FreeBSD
CVS patchset: 1244
CVS date: 1996/12/16 03:29:41
1996-12-16 03:29:41 +00:00
ewt c7e3a36683 fixed silly ifdef logic
CVS patchset: 1243
CVS date: 1996/12/16 03:29:13
1996-12-16 03:29:13 +00:00
ewt 34e7fe6283 changed order of include files for broken FreeBSD
CVS patchset: 1242
CVS date: 1996/12/16 03:28:52
1996-12-16 03:28:52 +00:00
ewt 215e5c00f9 changed "struct option" to "struct rpmoption" to avoid conflicts with some
broken header files

CVS patchset: 1239
CVS date: 1996/12/12 16:37:22
1996-12-12 16:37:22 +00:00
ewt dec77c92e8 use _exit instead of exit in forks
CVS patchset: 1233
CVS date: 1996/12/12 03:35:01
1996-12-12 03:35:01 +00:00
ewt 82b53b60a1 added include of sys/types.h
CVS patchset: 1232
CVS date: 1996/12/12 03:34:18
1996-12-12 03:34:18 +00:00
ewt 329e94d98e made include of alloca.h conditional
CVS patchset: 1227
CVS date: 1996/12/12 03:32:22
1996-12-12 03:32:22 +00:00
ewt 86e019bab8 actually fixed core dump this time
CVS patchset: 1221
CVS date: 1996/12/11 15:53:58
1996-12-11 15:53:58 +00:00
ewt 211c385ead fixed the fix from memory leak plugging <sigh>
CVS patchset: 1220
CVS date: 1996/12/11 15:39:57
1996-12-11 15:39:57 +00:00
root cb0d3c339c fixed dbiFreeIndex() in rpmInstallPackage() to be called only when it
was needed

CVS patchset: 1216
CVS date: 1996/12/06 20:25:36
1996-12-06 20:25:36 +00:00
ewt 550e8442c3 plugged memory leaks in upgrade
CVS patchset: 1210
CVS date: 1996/12/06 04:07:28
1996-12-06 04:07:28 +00:00
ewt 1bcc465f19 dependency checking didn't work with a NULL database (conflicts broke this)
CVS patchset: 1209
CVS date: 1996/12/05 22:13:46
1996-12-05 22:13:46 +00:00
ewt ebecf60346 don't let cpio create *any* directories
CVS patchset: 1206
CVS date: 1996/12/05 22:04:44
1996-12-05 22:04:44 +00:00
ewt 2690f0eeca 1) netsharedpath had unhappy realtions with prefix's
CVS patchset: 1205
CVS date: 1996/12/05 21:11:17
1996-12-05 21:11:17 +00:00
ewt c43e1a299c *** empty log message ***
CVS patchset: 1198
CVS date: 1996/11/22 22:24:59
1996-11-22 22:24:59 +00:00
ewt 0ac124afc2 added rpmVerifyScript()
CVS patchset: 1193
CVS date: 1996/11/22 17:20:00
1996-11-22 17:20:00 +00:00