Commit Graph

490 Commits

Author SHA1 Message Date
ewt 0ee6477a89 changed arch tag to build_arch
added arch_compat handling

CVS patchset: 725
CVS date: 1996/07/03 02:55:56
1996-07-03 02:55:56 +00:00
ewt 47a43c1150 changed RPMVAR_ARCH ro RPMVAR_BUILDARCH
added INSTALL_NOARCH flag
renamed readConfigFiles rpmReadConfigFiles
added rpmArchScore()

CVS patchset: 724
CVS date: 1996/07/03 02:55:32
1996-07-03 02:55:32 +00:00
ewt 30b58fb9bd added handling for arch strings, INSTALL_NOARCH flag
CVS patchset: 723
CVS date: 1996/07/03 02:55:03
1996-07-03 02:55:03 +00:00
root c8d10250d2 added stripTrailingBlanksStringBuf()
CVS patchset: 717
CVS date: 1996/07/02 19:16:06
1996-07-02 19:16:06 +00:00
root b7fc7d8bf5 add proto for initArchOs
CVS patchset: 712
CVS date: 1996/07/01 21:39:34
1996-07-01 21:39:34 +00:00
root 6c3baf2407 stuff for new style arch and os handling
CVS patchset: 711
CVS date: 1996/07/01 21:39:17
1996-07-01 21:39:17 +00:00
root f8933d7aa5 added stuff to parse config files arch specific and
non-arch specific
.,

CVS patchset: 710
CVS date: 1996/07/01 21:38:34
1996-07-01 21:38:34 +00:00
root 891c24c444 add ARCH and OS vars
pass arch and os to readConfigFiles

CVS patchset: 709
CVS date: 1996/07/01 21:38:06
1996-07-01 21:38:06 +00:00
root 1e9ee9f5d5 added stuff for "size" signature
CVS patchset: 703
CVS date: 1996/06/28 18:48:34
1996-06-28 18:48:34 +00:00
ewt 484ad05247 runScripts() doesn't take generic "upgrade" argument, but numeric one
instead

CVS patchset: 702
CVS date: 1996/06/28 14:38:23
1996-06-28 14:38:23 +00:00
ewt 30fb564859 added code to pass numeric arg to scripts
CVS patchset: 701
CVS date: 1996/06/28 14:38:12
1996-06-28 14:38:12 +00:00
ewt 0a6c517b8b 1) removed "upgrade" arg hack
2) added code to uninstall to pass numeric arg
3) handled numeric arg in runScripts()

CVS patchset: 700
CVS date: 1996/06/28 14:37:45
1996-06-28 14:37:45 +00:00
ewt fb860c41c5 removed upgrade flag from rpmRemovePackage()
CVS patchset: 699
CVS date: 1996/06/28 14:37:30
1996-06-28 14:37:30 +00:00
ewt a6681aebd2 oops
CVS patchset: 697
CVS date: 1996/06/27 20:52:29
1996-06-27 20:52:29 +00:00
root 6795c09522 added REQUIRE_CONFLICTS REQUIRE_SENSEMASK for conflicts:
CVS patchset: 694
CVS date: 1996/06/27 20:16:40
1996-06-27 20:16:40 +00:00
root b211bddc8d add CONFLICT* tags
CVS patchset: 687
CVS date: 1996/06/27 18:53:46
1996-06-27 18:53:46 +00:00
ewt 13b145e64b supports version 3 packages
CVS patchset: 683
CVS date: 1996/06/27 18:18:15
1996-06-27 18:18:15 +00:00
ewt 09522d7d04 when installs are done with a --root, the getpwent() stuff needs to
happen in a chroot(). RPM forks itself to do so.

CVS patchset: 675
CVS date: 1996/06/27 17:18:07
1996-06-27 17:18:07 +00:00
ewt 3b2aada6e2 added rpmdbInit() call
CVS patchset: 674
CVS date: 1996/06/27 17:17:32
1996-06-27 17:17:32 +00:00
root 90fb1d3e71 added RPMTAG_NOSOURCE RPMTAG_NOPATCH
CVS patchset: 673
CVS date: 1996/06/27 16:45:09
1996-06-27 16:45:09 +00:00
ewt 358b8181c2 added uint_16 type
CVS patchset: 666
CVS date: 1996/06/21 01:47:18
1996-06-21 01:47:18 +00:00
root a30d9b77a4 handle new signature types
CVS patchset: 664
CVS date: 1996/06/20 15:56:43
1996-06-20 15:56:43 +00:00
root dc2a236ff4 handle new sig types
always do at least a MD5

CVS patchset: 658
CVS date: 1996/06/20 03:10:44
1996-06-20 03:10:44 +00:00
root 4969fb4549 new sig types
CVS patchset: 657
CVS date: 1996/06/20 03:10:17
1996-06-20 03:10:17 +00:00
root ee8093c3d2 add mdbinfile() which is like mdfile() but it returns a binary MD5
CVS patchset: 655
CVS date: 1996/06/20 03:08:31
1996-06-20 03:08:31 +00:00
root 6f435ae131 comment
CVS patchset: 652
CVS date: 1996/06/19 18:18:04
1996-06-19 18:18:04 +00:00
root 7d2880e5fb remove pub/sec ring stuff, set defaults properly
CVS patchset: 649
CVS date: 1996/06/19 14:30:19
1996-06-19 14:30:19 +00:00
root eb5cf89443 remove pu/sec ring stuff, and use PGPPATH properly
CVS patchset: 648
CVS date: 1996/06/19 14:29:48
1996-06-19 14:29:48 +00:00
root b79de33f1c misc headers
CVS patchset: 644
CVS date: 1996/06/18 18:39:58
1996-06-18 18:39:58 +00:00
ewt 571888e3a2 merged rpmlib.h and package.h
CVS patchset: 641
CVS date: 1996/06/17 19:43:55
1996-06-17 19:43:55 +00:00
ewt 83203543e5 added interface for dependency checking
CVS patchset: 636
CVS date: 1996/06/10 17:43:11
1996-06-10 17:43:11 +00:00
ewt fa630a02d5 fixed bugs, added dependency checks for removed packages
CVS patchset: 635
CVS date: 1996/06/10 17:42:57
1996-06-10 17:42:57 +00:00
ewt 20c3b8d652 added depends.c
CVS patchset: 634
CVS date: 1996/06/10 17:42:51
1996-06-10 17:42:51 +00:00
ewt a34ffc0e7d Initial revision
CVS patchset: 628
CVS date: 1996/06/10 02:36:07
1996-06-10 02:36:07 +00:00
ewt e1ef49377f handles providesIndex and requiredbyIndex
CVS patchset: 626
CVS date: 1996/06/09 21:51:13
1996-06-09 21:51:13 +00:00
ewt 967ef34a05 added rpmdbFindByProvides(), rpmdbFindByRequiredBy()
CVS patchset: 625
CVS date: 1996/06/09 21:50:44
1996-06-09 21:50:44 +00:00
root 94e26c5b59 use the new tagtable to dump the header
CVS patchset: 613
CVS date: 1996/06/07 18:25:24
1996-06-07 18:25:24 +00:00
root 50f8edaeb3 added REQUIRE_ANY (for no version dep)
CVS patchset: 612
CVS date: 1996/06/07 15:22:15
1996-06-07 15:22:15 +00:00
root 05d93b0ba0 use on-disk file type to determine what tests to use
CVS patchset: 611
CVS date: 1996/06/05 18:30:51
1996-06-05 18:30:51 +00:00
root 2c31a7a901 fixed chmod(symlink) bug
CVS patchset: 605
CVS date: 1996/06/04 22:53:56
1996-06-04 22:53:56 +00:00
root 6e459f8002 make arch_sensitive the default
CVS patchset: 598
CVS date: 1996/06/02 18:05:11
1996-06-02 18:05:11 +00:00
root 196951db61 set the mode always when installing (for %attr() support)
CVS patchset: 592
CVS date: 1996/05/23 02:42:51
1996-05-23 02:42:51 +00:00
root a22ba6af4a added sun4, mips, 68k, sgi, sunos, solaris
CVS patchset: 588
CVS date: 1996/05/22 20:39:47
1996-05-22 20:39:47 +00:00
root a6b6d18e5c use PATH to find cpio
CVS patchset: 586
CVS date: 1996/05/22 19:39:24
1996-05-22 19:39:24 +00:00
root 4768c9cca2 pass "upgrade" arg to pre/post when upgrading
CVS patchset: 585
CVS date: 1996/05/22 19:30:48
1996-05-22 19:30:48 +00:00
root 43c3d744d5 pass "upgrade" arg to pre/post scripts when upgrading
remove BASH-ism

CVS patchset: 584
CVS date: 1996/05/22 19:30:04
1996-05-22 19:30:04 +00:00
root 71f749f517 small oops
CVS patchset: 582
CVS date: 1996/05/22 17:42:35
1996-05-22 17:42:35 +00:00
ewt 67b9dec668 1) fixed bug in reading $HOME/.rpmrc
2) allows rpmrc file to be overridden

CVS patchset: 561
CVS date: 1996/05/07 03:22:31
1996-05-07 03:22:31 +00:00
ewt b64d6eeecb updated prototype of readConfigFiles()
CVS patchset: 560
CVS date: 1996/05/07 03:22:16
1996-05-07 03:22:16 +00:00
ewt c1b755b881 uses a temp file to pass big file lists to cpio
CVS patchset: 559
CVS date: 1996/05/07 03:21:44
1996-05-07 03:21:44 +00:00
ewt fc92f87211 the norunScripts parameter to runScript() was implemented backwards :-(
CVS patchset: 558
CVS date: 1996/05/07 01:49:06
1996-05-07 01:49:06 +00:00
root 015375b576 add PROVIDES define
CVS patchset: 557
CVS date: 1996/05/06 19:57:41
1996-05-06 19:57:41 +00:00
root f0156ac74c turn off any default armor
CVS patchset: 552
CVS date: 1996/04/29 14:26:01
1996-04-29 14:26:01 +00:00
ewt 4d6d411489 added support for INSTALL_NOSCRIPTS, UNINSTALL_NOSCRIPTS
changed test to use UNINSTALL_TEST flag

CVS patchset: 549
CVS date: 1996/04/15 22:23:46
1996-04-15 22:23:46 +00:00
ewt 35cd57b457 added INSTALL_NOSCRIPTS, UNINSTALL_TEST, UNINSTALL_NOSCRIPTS
CVS patchset: 548
CVS date: 1996/04/15 22:23:34
1996-04-15 22:23:34 +00:00
ewt 9624dafc69 packages with no group get added to "Unknown" group
CVS patchset: 547
CVS date: 1996/04/15 22:23:19
1996-04-15 22:23:19 +00:00
ewt e6b5229f06 runScript() runs scripts conditionally
CVS patchset: 546
CVS date: 1996/04/15 22:23:05
1996-04-15 22:23:05 +00:00
ewt 6156911e0f added INSTALL_NOSCRIPTS
CVS patchset: 545
CVS date: 1996/04/15 22:22:50
1996-04-15 22:22:50 +00:00
root b9fef275b7 added REQUIRE/PROVIDE tags
added version dependency constants

CVS patchset: 538
CVS date: 1996/04/15 21:29:01
1996-04-15 21:29:01 +00:00
ewt 434d04c5d7 fixed return codes
CVS patchset: 537
CVS date: 1996/04/15 21:09:40
1996-04-15 21:09:40 +00:00
ewt c1eae68958 fixed new awk code which generated tagtable.c
CVS patchset: 536
CVS date: 1996/04/15 21:08:12
1996-04-15 21:08:12 +00:00
ewt f6c4f0538e use awk instead of perl to make tagtable.c
CVS patchset: 534
CVS date: 1996/04/12 16:51:38
1996-04-12 16:51:38 +00:00
root a82bae4fa4 packages with bad headers shouldn't cause an error, just a differnet return
code

CVS patchset: 529
CVS date: 1996/04/05 17:36:11
1996-04-05 17:36:11 +00:00
ewt 762cb127aa added declarations for tag table
CVS patchset: 519
CVS date: 1996/04/02 03:37:03
1996-04-02 03:37:03 +00:00
ewt bd9d21bd8c clean removes tagtable.c
CVS patchset: 518
CVS date: 1996/04/02 03:36:54
1996-04-02 03:36:54 +00:00
ewt 4f94ee363c creates tagtable.c now
CVS patchset: 517
CVS date: 1996/04/02 03:36:30
1996-04-02 03:36:30 +00:00
ewt 2db2a25a6d added support for excluded documentation files
CVS patchset: 510
CVS date: 1996/03/29 20:52:03
1996-03-29 20:52:03 +00:00
ewt ebcd159917 added excludedocs line to /etc/rpmrc
CVS patchset: 509
CVS date: 1996/03/29 20:51:54
1996-03-29 20:51:54 +00:00
ewt 80037ff601 added RPMFILE_STATE_NOTINSTALLED, INSTALL_NODOCS, RPMVAR_EXCLUDEDOCS
CVS patchset: 508
CVS date: 1996/03/29 20:51:40
1996-03-29 20:51:40 +00:00
ewt c17b5493c1 doesn't remove files that were never installed (RPMFILE_STATE_NOTINSTALLED)
CVS patchset: 507
CVS date: 1996/03/29 20:51:20
1996-03-29 20:51:20 +00:00
ewt 78b1ae4232 added getBooleanVar
CVS patchset: 506
CVS date: 1996/03/29 20:51:12
1996-03-29 20:51:12 +00:00
root 6f8bc1da13 fixed missing paren
CVS patchset: 502
CVS date: 1996/03/29 20:05:40
1996-03-29 20:05:40 +00:00
root 1e344457e5 fix mklinux stuff
CVS patchset: 501
CVS date: 1996/03/29 19:57:19
1996-03-29 19:57:19 +00:00
ewt c179616796 frees source package headers (when available)
CVS patchset: 500
CVS date: 1996/03/29 19:40:08
1996-03-29 19:40:08 +00:00
ewt db3e2a06f8 returns a null header for old style source packages
CVS patchset: 499
CVS date: 1996/03/29 19:39:56
1996-03-29 19:39:56 +00:00
ewt 96e602e3ba fixed bug where a header was freed when it shouldn't have been
CVS patchset: 497
CVS date: 1996/03/29 19:25:17
1996-03-29 19:25:17 +00:00
root d4a59f62c7 use /var/tmp
CVS patchset: 492
CVS date: 1996/03/29 01:26:20
1996-03-29 01:26:20 +00:00
root 5e3b53f7af added a few osfmach* archs
fail immediately on unknown arch/os

CVS patchset: 484
CVS date: 1996/03/28 22:52:06
1996-03-28 22:52:06 +00:00
root df2dfc15be add support for 786, 886, 986
CVS patchset: 482
CVS date: 1996/03/22 16:14:25
1996-03-22 16:14:25 +00:00
root fcce3a625f added i686 (Pentium Pro)
CVS patchset: 481
CVS date: 1996/03/22 15:10:41
1996-03-22 15:10:41 +00:00
root 05a40f129f added mdfile prototype
CVS patchset: 464
CVS date: 1996/03/11 15:48:22
1996-03-11 15:48:22 +00:00
root 5203f9c5df fixed old lead struct for Alpha
CVS patchset: 463
CVS date: 1996/03/07 16:48:12
1996-03-07 16:48:12 +00:00
root c8e2fe70aa added some debug messages
CVS patchset: 462
CVS date: 1996/03/07 16:48:06
1996-03-07 16:48:06 +00:00
ewt f255f857aa numerous bug fixes
CVS patchset: 451
CVS date: 1996/03/01 17:44:02
1996-03-01 17:44:02 +00:00
ewt 55134cf737 adds freed blocks to the free list
CVS patchset: 447
CVS date: 1996/03/01 03:28:55
1996-03-01 03:28:55 +00:00
ewt 00377d6ae5 don't back up directories marked as config files, even if they already
exist

CVS patchset: 446
CVS date: 1996/03/01 03:28:33
1996-03-01 03:28:33 +00:00
ewt cd07a9b057 switched the ordering in the decision process for how config files are
upgraded

CVS patchset: 445
CVS date: 1996/03/01 01:59:26
1996-03-01 01:59:26 +00:00
ewt c0dae8e3cf creates a default path which is used for running scripts
CVS patchset: 444
CVS date: 1996/03/01 01:59:03
1996-03-01 01:59:03 +00:00
ewt 32495fc761 vercmp() returnd backwards results when one of the strings ran out
before the other

CVS patchset: 443
CVS date: 1996/03/01 01:58:27
1996-03-01 01:58:27 +00:00
root 8d334d7ec6 made logic that for handling config files during installs much smarter
CVS patchset: 439
CVS date: 1996/02/29 03:38:33
1996-02-29 03:38:33 +00:00
root 4cf0beea9f added basic checking of user and groups. this does it by [GU]ID only
CVS patchset: 438
CVS date: 1996/02/29 02:07:47
1996-02-29 02:07:47 +00:00
root 6fade5096a added SPARC architecture
CVS patchset: 434
CVS date: 1996/02/27 23:18:11
1996-02-27 23:18:11 +00:00
ewt 6bada7decf fixed bug
CVS patchset: 432
CVS date: 1996/02/27 17:40:59
1996-02-27 17:40:59 +00:00
ewt fbb56975fb fixes for some silly bugs
CVS patchset: 428
CVS date: 1996/02/26 22:53:35
1996-02-26 22:53:35 +00:00
ewt fe37f884f1 checks the architecure before installing binary packages
CVS patchset: 427
CVS date: 1996/02/26 22:45:24
1996-02-26 22:45:24 +00:00
ewt 88b48eddb1 Adds RPMTAG_ARCH to header for old packages
CVS patchset: 426
CVS date: 1996/02/26 22:45:10
1996-02-26 22:45:10 +00:00
ewt 45061be267 checks for upgrades to old versions of packages and gives an appropriate
error

CVS patchset: 421
CVS date: 1996/02/25 22:11:00
1996-02-25 22:11:00 +00:00
ewt d91b0512d0 added INSTALL_UPGRADETOOLD
CVS patchset: 420
CVS date: 1996/02/25 22:10:50
1996-02-25 22:10:50 +00:00
ewt faa8bd69ac added vercmp()
CVS patchset: 419
CVS date: 1996/02/25 22:10:25
1996-02-25 22:10:25 +00:00
root 8ecf043b19 check for 151 byte sig and try again
CVS patchset: 418
CVS date: 1996/02/25 05:05:52
1996-02-25 05:05:52 +00:00
ewt 0c8dc8f29e got rid of INSTALL_PRINTLABEL, added labelFormat to rpmInstallPackage
CVS patchset: 416
CVS date: 1996/02/24 23:46:36
1996-02-24 23:46:36 +00:00
ewt a923c3297f made --percent look like it did in RPM 1.x
CVS patchset: 415
CVS date: 1996/02/24 23:46:09
1996-02-24 23:46:09 +00:00
root 7d1e36e5f7 fix return codes
CVS patchset: 414
CVS date: 1996/02/23 22:28:59
1996-02-23 22:28:59 +00:00
root 68425333a0 add a few return codes
CVS patchset: 413
CVS date: 1996/02/23 22:28:40
1996-02-23 22:28:40 +00:00
root 42a026ec22 files with the same md5 shouldn't cause conflicts
CVS patchset: 410
CVS date: 1996/02/23 16:21:06
1996-02-23 16:21:06 +00:00
root 115bc0e288 add debug message
CVS patchset: 409
CVS date: 1996/02/23 05:15:13
1996-02-23 05:15:13 +00:00
root dfb5ed188b fix return codes for makeSignature()
CVS patchset: 390
CVS date: 1996/02/22 01:59:29
1996-02-22 01:59:29 +00:00
root 391abf9b93 check for bad pass phrases
CVS patchset: 388
CVS date: 1996/02/22 01:35:00
1996-02-22 01:35:00 +00:00
root 177488cb3b read the signature
CVS patchset: 385
CVS date: 1996/02/21 22:20:51
1996-02-21 22:20:51 +00:00
root d90c22d3e9 check for bad read in readSignature()
CVS patchset: 384
CVS date: 1996/02/21 22:20:37
1996-02-21 22:20:37 +00:00
ewt d7bd6eaa4d variable was initialized wrong - fixed
CVS patchset: 382
CVS date: 1996/02/21 18:09:31
1996-02-21 18:09:31 +00:00
root 31963f7978 fix off by one error (to agree with comment, no less)
CVS patchset: 370
CVS date: 1996/02/20 22:25:21
1996-02-20 22:25:21 +00:00
ewt 7f9577ed2d added INSTALL_UPGRADE flag
CVS patchset: 367
CVS date: 1996/02/20 21:54:07
1996-02-20 21:54:07 +00:00
ewt dc21c59ee6 added upgrading
CVS patchset: 366
CVS date: 1996/02/20 21:54:02
1996-02-20 21:54:02 +00:00
ewt 822ff53ec9 fixed symlink verification
CVS patchset: 365
CVS date: 1996/02/20 21:53:44
1996-02-20 21:53:44 +00:00
ewt 697c3e6d39 removed dump, dumpdb
CVS patchset: 364
CVS date: 1996/02/20 20:56:26
1996-02-20 20:56:26 +00:00
ewt 4ae33f74b2 finished
CVS patchset: 359
CVS date: 1996/02/20 17:58:41
1996-02-20 17:58:41 +00:00
ewt 4b525901c1 fixed to return correct sum :-)
CVS patchset: 358
CVS date: 1996/02/20 17:58:31
1996-02-20 17:58:31 +00:00
root 46a977012a add simple getPassPhrase()
CVS patchset: 353
CVS date: 1996/02/20 15:07:02
1996-02-20 15:07:02 +00:00
root 7ac23c2d72 add getPassPhrase()
CVS patchset: 352
CVS date: 1996/02/20 15:06:47
1996-02-20 15:06:47 +00:00
root db1590def9 passPhrase is passed as arg
start writing getPassPhrase()

CVS patchset: 351
CVS date: 1996/02/20 06:02:32
1996-02-20 06:02:32 +00:00
root 68e87d3653 passPhrase is arg to makeSignature()
CVS patchset: 350
CVS date: 1996/02/20 06:01:30
1996-02-20 06:01:30 +00:00
marc 09ba912bd2 Initial revision
CVS patchset: 348
CVS date: 1996/02/20 04:40:53
1996-02-20 04:40:53 +00:00
ewt e8a560988d added prototypes for verification, changed VERIFY flags
CVS patchset: 345
CVS date: 1996/02/20 03:52:58
1996-02-20 03:52:58 +00:00
ewt 7bd32a18d1 added verify.c
CVS patchset: 344
CVS date: 1996/02/20 03:52:37
1996-02-20 03:52:37 +00:00
ewt 96493b6e68 should flush after handling INSTALL_PRINTLABEL
CVS patchset: 339
CVS date: 1996/02/20 00:24:43
1996-02-20 00:24:43 +00:00
ewt c1adebc3e7 added INSTALL_PRINTLABEL support
CVS patchset: 337
CVS date: 1996/02/20 00:18:23
1996-02-20 00:18:23 +00:00
ewt 76dc38a451 1) added INSTALL_PRINTLABEL support
2) shouldn't update header's we've freed

CVS patchset: 336
CVS date: 1996/02/20 00:17:51
1996-02-20 00:17:51 +00:00
ewt d46f2806ee marks free blocks, though faFree() still isn't quite right
CVS patchset: 335
CVS date: 1996/02/20 00:17:35
1996-02-20 00:17:35 +00:00
ewt ad341d23a3 fixed sorting of the shared file list
CVS patchset: 334
CVS date: 1996/02/20 00:12:50
1996-02-20 00:12:50 +00:00
ewt 6ff596b90a 11) removed silly debug message
2) fixed problem with unarchiving files containing shell globbing characters

CVS patchset: 332
CVS date: 1996/02/19 23:34:25
1996-02-19 23:34:25 +00:00
ewt 89a31f02cd 1) added signal blocking and db syncing to help insure integrity
2) added db locking

CVS patchset: 331
CVS date: 1996/02/19 23:34:02
1996-02-19 23:34:02 +00:00
ewt 32b8c34d63 added sync function
CVS patchset: 330
CVS date: 1996/02/19 23:33:56
1996-02-19 23:33:56 +00:00
root b1d827e8d1 added RPMTAG_ARCHIVESIZE
CVS patchset: 328
CVS date: 1996/02/19 22:52:39
1996-02-19 22:52:39 +00:00
root dfc6cc33d2 shouldn't reference variables pointing into a header after the header has
been freed

CVS patchset: 326
CVS date: 1996/02/19 22:15:38
1996-02-19 22:15:38 +00:00
root 7147d0518c added database locking
CVS patchset: 325
CVS date: 1996/02/19 22:01:40
1996-02-19 22:01:40 +00:00
root d34604145c added signature.o
CVS patchset: 320
CVS date: 1996/02/19 15:13:37
1996-02-19 15:13:37 +00:00
ewt e3761e244d changed sense of a bunch of the functions to fit the rest of rpm
CVS patchset: 319
CVS date: 1996/02/19 04:52:09
1996-02-19 04:52:09 +00:00
ewt c8c0165386 started rewrite to allow fragment collection, free space reclamation. It
isn't done yet though, and this version is pretty broken

CVS patchset: 318
CVS date: 1996/02/19 04:51:12
1996-02-19 04:51:12 +00:00
ewt 652efd5545 changed faFree() to return void
CVS patchset: 317
CVS date: 1996/02/19 04:51:12
1996-02-19 04:51:12 +00:00
ewt 6e136fedd0 no comment :-(
CVS patchset: 314
CVS date: 1996/02/19 04:29:39
1996-02-19 04:29:39 +00:00
ewt 149130ecc1 1) silly bug left over from getting rid of mutable flag
2) getEntry should set pointer to NULL when it returns 0

CVS patchset: 313
CVS date: 1996/02/19 04:28:31
1996-02-19 04:28:31 +00:00
marc 3a4c95f8d6 removed signature type macros
CVS patchset: 312
CVS date: 1996/02/19 02:37:21
1996-02-19 02:37:21 +00:00
marc 6d602a76b2 added pgp signature stuff
CVS patchset: 311
CVS date: 1996/02/19 02:35:29
1996-02-19 02:35:29 +00:00
marc bcfe51b978 added verify flags
added pgp vars

CVS patchset: 310
CVS date: 1996/02/19 02:34:06
1996-02-19 02:34:06 +00:00
marc 06cfb94633 Initial revision
CVS patchset: 309
CVS date: 1996/02/19 02:32:11
1996-02-19 02:32:11 +00:00
ewt c7c8b5d0b3 tried to help header.c recover from Marc's recent mutilation of it :-)
CVS patchset: 301
CVS date: 1996/02/19 01:40:55
1996-02-19 01:40:55 +00:00
root b6c44dc284 removed mmapHeader()
CVS patchset: 296
CVS date: 1996/02/16 05:37:08
1996-02-16 05:37:08 +00:00
root 3f7ef2aa1f added getVerbosity()
CVS patchset: 294
CVS date: 1996/02/16 05:34:22
1996-02-16 05:34:22 +00:00
root 4dbff32aec fixed the sizeofHeader()
fixed unloadHeader()

CVS patchset: 293
CVS date: 1996/02/15 23:22:49
1996-02-15 23:22:49 +00:00
root d520eb7905 fixed return from unloadHeader()
CVS patchset: 292
CVS date: 1996/02/15 23:15:51
1996-02-15 23:15:51 +00:00
root 3e32f9e73a make load/unload sort like read/write
fix type correction in getEntry()

CVS patchset: 291
CVS date: 1996/02/15 23:13:08
1996-02-15 23:13:08 +00:00
root d396a858d1 do not allow STRING_TYPE with count != 1
move index/data sorting into copyHeader()
cause sizeofHeader() tp call copyHeader() to sort index/data
have writeHeader() call sizeofHeader() to sort index/data
The net effect is that if you call writeHeader() or sizeofHeader()
your Header is actually sorted and replaced with a new copy.

CVS patchset: 289
CVS date: 1996/02/15 22:44:46
1996-02-15 22:44:46 +00:00
root 1efa980d28 change to test new copyHeader code
CVS patchset: 288
CVS date: 1996/02/15 22:44:04
1996-02-15 22:44:04 +00:00
ewt c3f2ff1740 marks replaced files during installs
CVS patchset: 287
CVS date: 1996/02/15 21:08:48
1996-02-15 21:08:48 +00:00
ewt 77c2db950c added rpmdbUpdateRecord()
CVS patchset: 286
CVS date: 1996/02/15 21:08:41
1996-02-15 21:08:41 +00:00
ewt 512d9fb694 1) added rpmdbUpdate()
2) changed sense of rpmdbRemove()

CVS patchset: 285
CVS date: 1996/02/15 21:08:23
1996-02-15 21:08:23 +00:00
ewt 878cebe947 fixed bug which resulted in shared files getting backed up
CVS patchset: 284
CVS date: 1996/02/15 21:08:09
1996-02-15 21:08:09 +00:00
ewt 030a88838a don't open the database O_EXCL - we need to use locking instead!
CVS patchset: 279
CVS date: 1996/02/15 00:10:29
1996-02-15 00:10:29 +00:00
ewt 90f8252951 checks for directory existence before trying to create one
CVS patchset: 275
CVS date: 1996/02/14 22:20:08
1996-02-14 22:20:08 +00:00
ewt 84b62fd459 fixed to installArchive()
1) detect dead child correctly
2) handle all files when read() from pipe returns many of them

CVS patchset: 274
CVS date: 1996/02/14 21:56:29
1996-02-14 21:56:29 +00:00
ewt 86e09a97bc handles reinstallation of a binary package
CVS patchset: 273
CVS date: 1996/02/14 21:26:21
1996-02-14 21:26:21 +00:00
ewt 9b940881d1 added ability to install a source package and find the spec file name
CVS patchset: 269
CVS date: 1996/02/14 20:09:14
1996-02-14 20:09:14 +00:00
root b9c9a12286 changed wayward SPEC to SPECS
CVS patchset: 266
CVS date: 1996/02/14 17:55:38
1996-02-14 17:55:38 +00:00
root ca4a7f8132 added support for old packages, lots of bug fixes
CVS patchset: 265
CVS date: 1996/02/14 17:55:28
1996-02-14 17:55:28 +00:00
root 2a9f4dea65 Understands source packages
CVS patchset: 264
CVS date: 1996/02/14 17:54:37
1996-02-14 17:54:37 +00:00
root 1ac992f934 installs rpmerr.h
CVS patchset: 263
CVS date: 1996/02/14 17:54:30
1996-02-14 17:54:30 +00:00
root 80bf2608f2 added install rule
CVS patchset: 259
CVS date: 1996/02/14 16:18:12
1996-02-14 16:18:12 +00:00
root 9da1bde9e6 fixed for packages w/o any groups
CVS patchset: 258
CVS date: 1996/02/14 16:12:32
1996-02-14 16:12:32 +00:00
ewt c1cc9bf1f2 won't leave 0.0 files around which are SUID if they're supposed to be
owned by someone else

CVS patchset: 256
CVS date: 1996/01/30 17:35:13
1996-01-30 17:35:13 +00:00
ewt d952a38c43 Initial revision
CVS patchset: 255
CVS date: 1996/01/30 16:19:22
1996-01-30 16:19:22 +00:00
ewt 00a51932b9 fixed alpha arch detection
CVS patchset: 253
CVS date: 1996/01/30 04:13:17
1996-01-30 04:13:17 +00:00
ewt 5764e29cdc fixed problem which could result in strdup(NULL)
CVS patchset: 252
CVS date: 1996/01/30 04:12:58
1996-01-30 04:12:58 +00:00
ewt de4eb379d8 added RPMVAR entries and prototypes
CVS patchset: 247
CVS date: 1996/01/30 03:47:30
1996-01-30 03:47:30 +00:00
ewt 403095d402 completely rewritten for performance, ease of use
CVS patchset: 246
CVS date: 1996/01/30 03:46:46
1996-01-30 03:46:46 +00:00
ewt a6b200db99 added rpmrc.o
CVS patchset: 245
CVS date: 1996/01/30 03:46:32
1996-01-30 03:46:32 +00:00
ewt 37ee0cf5e2 adjusted config file checking to adjust for the prefix
CVS patchset: 243
CVS date: 1996/01/29 23:27:12
1996-01-29 23:27:12 +00:00
marc f50ac27315 added RPMVAR_RPMDIR, RPMVAR_SRPMDIR
CVS patchset: 240
CVS date: 1996/01/29 19:48:54
1996-01-29 19:48:54 +00:00
ewt efcea4901c 1) should handle config files well
2) created directories should get umask independent permissions
3) fixed notification handling
4) creates file states list, install time

CVS patchset: 237
CVS date: 1996/01/29 19:37:59
1996-01-29 19:37:59 +00:00
ewt d000ba9b49 New packages have forward sorted file lists - uninstalls should traverse
such a list backwards to give rmdir() a fighting chance

CVS patchset: 236
CVS date: 1996/01/29 19:37:28
1996-01-29 19:37:28 +00:00
ewt e542d23715 reversed the order of the filelist during reading of old style packages
CVS patchset: 233
CVS date: 1996/01/29 19:31:05
1996-01-29 19:31:05 +00:00
marc 87fbb7842d removed -m486
CVS patchset: 229
CVS date: 1996/01/29 19:06:33
1996-01-29 19:06:33 +00:00
root a8900dfbd0 fixed some bad frees
CVS patchset: 221
CVS date: 1996/01/22 21:13:55
1996-01-22 21:13:55 +00:00
root ae492679ac changed parameters to install.c to allow for a notification function
CVS patchset: 220
CVS date: 1996/01/22 21:13:27
1996-01-22 21:13:27 +00:00
root e1922a0bb1 started work on file sharing, added --hash and --percent
CVS patchset: 219
CVS date: 1996/01/22 21:13:12
1996-01-22 21:13:12 +00:00
ewt 6d709dd98b removed "test" target, removed convertdb.c from librpm.a
CVS patchset: 213
CVS date: 1996/01/15 00:03:16
1996-01-15 00:03:16 +00:00
ewt 42ecff8eb9 1) checks for pacakges already installed, but doesn't handle overrides
correctly
2) sets file ownderships by symbolic name when they are available
3) creates directories when needed

CVS patchset: 207
CVS date: 1996/01/14 19:32:17
1996-01-14 19:32:17 +00:00
ewt 6447dde417 fixed error generated for bad magic
CVS patchset: 206
CVS date: 1996/01/14 19:31:50
1996-01-14 19:31:50 +00:00
ewt 749b978d8b removed <sys/mman.h> (mmapping isn't used anymore)
added strings for RPMTAG_FILEUSERNAME RPMTAG_FILEGROUPNAME RPMTAG_EXCLUDE
                  RPMTAG_EXCLUSIVE RPMTAG_ICON RPMTAG_SOURCERPM

CVS patchset: 205
CVS date: 1996/01/14 19:31:10
1996-01-14 19:31:10 +00:00
marc b18259e21d added RPMFILE_STATE_REPLACED
CVS patchset: 201
CVS date: 1996/01/13 00:48:51
1996-01-13 00:48:51 +00:00
ewt 1c02bb1d89 added installFlags to prototype of install function
CVS patchset: 200
CVS date: 1996/01/13 00:18:06
1996-01-13 00:18:06 +00:00
ewt 5a289cef0c removed extra error messages
CVS patchset: 188
CVS date: 1996/01/09 21:51:07
1996-01-09 21:51:07 +00:00
ewt c6dfde414f fixed detection of errors on open
CVS patchset: 186
CVS date: 1996/01/09 21:50:43
1996-01-09 21:50:43 +00:00
root db89d2cbfd fixed problems with --root
CVS patchset: 180
CVS date: 1996/01/08 21:28:20
1996-01-08 21:28:20 +00:00
ewt 735ce6fc99 handles config files, directories correctly
CVS patchset: 179
CVS date: 1996/01/08 20:21:22
1996-01-08 20:21:22 +00:00
ewt 6ca62ee7d0 Initial revision
CVS patchset: 177
CVS date: 1996/01/08 19:31:44
1996-01-08 19:31:44 +00:00
ewt 423c649c68 added install.o
CVS patchset: 173
CVS date: 1996/01/08 19:20:45
1996-01-08 19:20:45 +00:00
ewt c16c83dffc Initial revision
CVS patchset: 172
CVS date: 1996/01/08 19:20:17
1996-01-08 19:20:17 +00:00
ewt 077c3bb502 handles shared files - doesn't handle config files correctly yet
CVS patchset: 171
CVS date: 1996/01/08 19:19:53
1996-01-08 19:19:53 +00:00
ewt 35d9f6ca17 added rpmdbAdd()
CVS patchset: 170
CVS date: 1996/01/08 19:19:12
1996-01-08 19:19:12 +00:00
ewt 2717f7d979 added a line of documentation
CVS patchset: 169
CVS date: 1996/01/08 19:18:50
1996-01-08 19:18:50 +00:00
ewt 65377cb304 saves pre and post install and uninstall scripts from old style packages
CVS patchset: 167
CVS date: 1996/01/08 19:17:43
1996-01-08 19:17:43 +00:00
ewt 6175e290ec add isDebug() function
CVS patchset: 166
CVS date: 1996/01/08 19:17:22
1996-01-08 19:17:22 +00:00
ewt b696bb3093 added support for retrieving pre/post uninstalls from database
CVS patchset: 165
CVS date: 1996/01/08 19:16:46
1996-01-08 19:16:46 +00:00
ewt 5dbd3e85b0 added support for pre/post install and uninstall scripts, fixed
extraction of buildDate from spec

CVS patchset: 164
CVS date: 1996/01/08 19:15:54
1996-01-08 19:15:54 +00:00
ewt 89381ecafa If not error callback is registered, the error gets printed to stderr
CVS patchset: 163
CVS date: 1996/01/08 19:15:22
1996-01-08 19:15:22 +00:00
marc ab74a09ce5 added RPMTAG_EXCLUSIVE RPMTAG_EXCLUDE RPMTAG_ICON
CVS patchset: 162
CVS date: 1996/01/08 17:40:59
1996-01-08 17:40:59 +00:00
ewt 12908c65eb added rpmdbAdd()
CVS patchset: 161
CVS date: 1996/01/08 17:02:35
1996-01-08 17:02:35 +00:00
marc 97216a56c7 fix comment
CVS patchset: 160
CVS date: 1996/01/08 07:12:19
1996-01-08 07:12:19 +00:00
ewt 405a63ffff Initial revision
CVS patchset: 149
CVS date: 1996/01/06 18:54:50
1996-01-06 18:54:50 +00:00
ewt 02dfd12a92 creates header for old style packages
CVS patchset: 148
CVS date: 1996/01/06 00:07:50
1996-01-06 00:07:50 +00:00
ewt 874f4f9dba uses oldheader.[ch] instead of oldrpmfile.[ch] (which was removed)
CVS patchset: 147
CVS date: 1996/01/06 00:07:13
1996-01-06 00:07:13 +00:00
ewt e808a695a8 fixed traversal over freed spaces
CVS patchset: 146
CVS date: 1996/01/06 00:06:52
1996-01-06 00:06:52 +00:00
ewt 2f5bde67ea removed oldrpmfile.o, added oldheader.o, made programs depend on librpm.a
CVS patchset: 145
CVS date: 1996/01/06 00:06:19
1996-01-06 00:06:19 +00:00
ewt 31e9a1b7b6 fixed some messages
CVS patchset: 144
CVS date: 1996/01/06 00:06:09
1996-01-06 00:06:09 +00:00
ewt d9773ffe11 added uninstall.o
added package.o

CVS patchset: 140
CVS date: 1996/01/05 19:10:25
1996-01-05 19:10:25 +00:00
ewt 8d0f3b67e9 added search and removal functions
CVS patchset: 138
CVS date: 1996/01/05 18:19:48
1996-01-05 18:19:48 +00:00
ewt d2564d4aac changed magic and version numbers to unsigned
CVS patchset: 137
CVS date: 1996/01/05 18:18:39
1996-01-05 18:18:39 +00:00
ewt 51a5bd695d added searching by group, started work on package removal
CVS patchset: 136
CVS date: 1996/01/05 18:16:50
1996-01-05 18:16:50 +00:00
ewt 99a43e9240 began to add faFree(), though it doesn't work yet
CVS patchset: 135
CVS date: 1996/01/05 18:15:57
1996-01-05 18:15:57 +00:00
ewt 93b99ec96e fixed bugs, added deletion
CVS patchset: 134
CVS date: 1996/01/05 18:14:52
1996-01-05 18:14:52 +00:00
ewt fc3166e80d Initial revision
CVS patchset: 132
CVS date: 1996/01/05 18:12:55
1996-01-05 18:12:55 +00:00
marc e9293e8364 get rid of some warnings
CVS patchset: 129
CVS date: 1996/01/05 03:08:34
1996-01-05 03:08:34 +00:00
marc 3bee9f5109 add readLead() and writeLead()
CVS patchset: 128
CVS date: 1996/01/05 03:05:34
1996-01-05 03:05:34 +00:00
marc fbdcf3e2d6 Initial revision
CVS patchset: 127
CVS date: 1996/01/05 03:05:34
1996-01-05 03:05:34 +00:00
marc ceb04802f6 added rpmlead.o
CVS patchset: 126
CVS date: 1996/01/05 03:05:18
1996-01-05 03:05:18 +00:00
marc ce54f1b888 added RPMLEAD_SIGNONE RPMLEAD_SIZE
added signature_type to the lead structure
pad lead structure to 96 bytes, 8 byte aligned
   should be enough for just about forever.

CVS patchset: 124
CVS date: 1996/01/05 02:10:08
1996-01-05 02:10:08 +00:00
marc cfa399a5b9 added RPMTAG_FILEUSERNAME and RPMTAG_FILEGROUPNAME
CVS patchset: 120
CVS date: 1996/01/05 01:48:03
1996-01-05 01:48:03 +00:00
marc 300994017f cleaned up, moved most vars to top level Makefile
CVS patchset: 117
CVS date: 1996/01/05 01:42:43
1996-01-05 01:42:43 +00:00
marc 09eb6916f3 added alignment code to addEntry()
CVS patchset: 115
CVS date: 1995/12/27 21:55:33
1995-12-27 21:55:33 +00:00
marc ca7d7895d5 changed semantics so in-core data is in host order
and on-disk data is in network order

CVS patchset: 114
CVS date: 1995/12/27 21:08:05
1995-12-27 21:08:05 +00:00
ewt b5ec54fbfa Initial revision
CVS patchset: 110
CVS date: 1995/12/27 20:39:27
1995-12-27 20:39:27 +00:00
ewt fcf578890e changed to use oldrpmdb names insteaed of rpmdb ones
CVS patchset: 106
CVS date: 1995/12/27 20:05:14
1995-12-27 20:05:14 +00:00
ewt 574b4da356 made changes to allow include of "falloc.h" to be removed
CVS patchset: 105
CVS date: 1995/12/27 20:04:38
1995-12-27 20:04:38 +00:00
ewt a49f40af8c Initial revision
CVS patchset: 104
CVS date: 1995/12/27 19:50:38
1995-12-27 19:50:38 +00:00
marc c7ed768e79 added stringbuf.o
CVS patchset: 100
CVS date: 1995/12/27 19:22:42
1995-12-27 19:22:42 +00:00
marc 23ae3877ff added RPMTAG_ROOT
CVS patchset: 99
CVS date: 1995/12/27 19:21:25
1995-12-27 19:21:25 +00:00
ewt 92ebd71318 added types for database access
CVS patchset: 98
CVS date: 1995/12/27 19:19:13
1995-12-27 19:19:13 +00:00
ewt beecff0608 added "make depend", dbindex.o, rpmdb.o
CVS patchset: 97
CVS date: 1995/12/27 19:18:56
1995-12-27 19:18:56 +00:00
marc 9bba7f5a64 added modifyEntry()
CVS patchset: 95
CVS date: 1995/12/27 19:04:31
1995-12-27 19:04:31 +00:00
marc e44542c280 sort indexes on write, use bsearch to find tags
CVS patchset: 94
CVS date: 1995/12/27 18:05:01
1995-12-27 18:05:01 +00:00
root c0ca0abdc7 fixed bug in faAlloc()
CVS patchset: 92
CVS date: 1995/12/27 17:04:12
1995-12-27 17:04:12 +00:00
marc 02d2b3068b added setVar(), ROOT var
CVS patchset: 85
CVS date: 1995/12/27 16:32:19
1995-12-27 16:32:19 +00:00
marc d5addaa30b fixed isVerbose()
CVS patchset: 84
CVS date: 1995/12/27 16:31:14
1995-12-27 16:31:14 +00:00
marc 761d71df82 added get{Arch,Os}{Name,Num}()
CVS patchset: 83
CVS date: 1995/12/27 16:29:55
1995-12-27 16:29:55 +00:00
ewt 61797fb220 Initial revision
CVS patchset: 82
CVS date: 1995/12/27 03:41:22
1995-12-27 03:41:22 +00:00
ewt a80f6e7436 fixed formatting
CVS patchset: 81
CVS date: 1995/12/27 03:40:36
1995-12-27 03:40:36 +00:00
marc b4147692a5 added STRING_ARRAY_TYPE
CVS patchset: 73
CVS date: 1995/12/20 23:27:15
1995-12-20 23:27:15 +00:00
marc 849b058ec0 added freeIterator() copyHeader() isEntry()
CVS patchset: 71
CVS date: 1995/12/20 22:48:08
1995-12-20 22:48:08 +00:00
marc 78d1f4bc4d added isEntry() freeIterator() and copyHeader()
CVS patchset: 70
CVS date: 1995/12/20 22:47:19
1995-12-20 22:47:19 +00:00