Commit Graph

270 Commits

Author SHA1 Message Date
ewt b7d6861f74 popt is it's own library
CVS patchset: 1834
CVS date: 1997/09/19 14:08:10
1997-09-19 14:08:10 +00:00
ewt 6aa825730d added --noorder
CVS patchset: 1788
CVS date: 1997/08/21 01:23:14
1997-08-21 01:23:14 +00:00
marc ccc21cb726 Modify to allow BuildArchitectures:
CVS patchset: 1773
CVS date: 1997/07/25 13:09:05
1997-07-25 13:09:05 +00:00
ewt 53cfcda67d Added --justdb
CVS patchset: 1771
CVS date: 1997/07/24 15:15:48
1997-07-24 15:15:48 +00:00
ewt 9932bf2f0d Placed include of <sys/wait.h> after <sys/resource.h> for AIX
CVS patchset: 1699
CVS date: 1997/06/19 13:17:45
1997-06-19 13:17:45 +00:00
ewt d224a783f1 1) added 's', 'm', 'n' to fflags type tag
2) implemented missingok
3) added --allfiles

CVS patchset: 1691
CVS date: 1997/06/17 15:37:28
1997-06-17 15:37:28 +00:00
ewt 8cef38026e dded --changelog to help, usage, and rpm.8
CVS patchset: 1689
CVS date: 1997/06/16 18:24:50
1997-06-16 18:24:50 +00:00
ewt fccf9d0249 Use pclose() w/ popen(), not fclose()
CVS patchset: 1677
CVS date: 1997/06/02 14:01:29
1997-06-02 14:01:29 +00:00
ewt 2aff0769da Fixed some missing >] in usage message
CVS patchset: 1665
CVS date: 1997/05/28 14:21:27
1997-05-28 14:21:27 +00:00
ewt 171e55b751 added info on --build{arch|os} to --help and usage messages
CVS patchset: 1660
CVS date: 1997/05/27 14:01:14
1997-05-27 14:01:14 +00:00
ewt c81e8aefaa Must include <sys/tiome.h> before <sys/resource.h> for SunOS
CVS patchset: 1653
CVS date: 1997/05/20 17:43:34
1997-05-20 17:43:34 +00:00
ewt aeb65017bb Added more includes of <sys/time.h> and <sys/resource.h> for AIX
CVS patchset: 1646
CVS date: 1997/05/20 15:42:27
1997-05-20 15:42:27 +00:00
ewt 7ce7d42fb6 Include "miscfn.h" in a few more places.
CVS patchset: 1629
CVS date: 1997/05/15 14:04:39
1997-05-15 14:04:39 +00:00
ewt 9b93a43a01 Allow --dbpath during --rebuildbdb
CVS patchset: 1625
CVS date: 1997/05/15 14:00:14
1997-05-15 14:00:14 +00:00
ewt 7df2d5037e Added includes of miscfn.h
CVS patchset: 1618
CVS date: 1997/05/12 13:28:15
1997-05-12 13:28:15 +00:00
ewt 39422acd79 Fixed broken brackets in help document.
CVS patchset: 1616
CVS date: 1997/05/07 20:08:11
1997-05-07 20:08:11 +00:00
ewt a5681a3d0c Minor cleanups.
CVS patchset: 1600
CVS date: 1997/05/07 14:56:06
1997-05-07 14:56:06 +00:00
ewt 5c6641eb47 Fixed some typos in strings.
CVS patchset: 1585
CVS date: 1997/05/02 00:49:42
1997-05-02 00:49:42 +00:00
ewt 84de5ba32e - changed LIBRPMRC_FILENAME, LIBRPMALIAS_FILENAME, RPMNLSDIR
directories to @sysconfdir@, @sysconfdir@, and @datadir@ to
  better conform with autoconf
- set RPM_INSTALL_PREFIX environment variable when running
  verify scripts
- beginnings of SCO support (though I suspect it will take one
  or two more iterations to get it right)
- switched to CVS and updated some Makefile rules
- look for gethostbyname() instead of gethostname() in -nsl
  (this could break some things)
- added check for strcasecmp() in -lucb on systems which don't
  have strcasecmp() in libc
- don't build -static on hpux10
- don't try and NLS empty strings
- changed index() call to strchr() in macro code
- include <time.h> in build/spec.c for various platforms
- added update-po rule to po/Makefile.in
- updated de.po (thanks to Karl Eichwalder)

CVS patchset: 1554
CVS date: 1997/04/28 20:45:05
1997-04-28 20:45:05 +00:00
ewt fca4fd3051 added --allmatches
CVS patchset: 1516
CVS date: 1997/03/31 20:15:31
1997-03-31 20:15:31 +00:00
ewt 88cf717a10 1) added typecast around getpid() to let us printf it on all platforms
2) fixed spelling of deprecated

CVS patchset: 1492
CVS date: 1997/03/20 15:19:00
1997-03-20 15:19:00 +00:00
ewt 441fceb55b -ta didn't handle absolute paths to tar files properly
CVS patchset: 1482
CVS date: 1997/03/11 17:10:04
1997-03-11 17:10:04 +00:00
ewt 0f0e56f165 added include of <sys/types.h>
CVS patchset: 1469
CVS date: 1997/03/04 02:18:55
1997-03-04 02:18:55 +00:00
ewt 8181256a83 added -t? functionality
CVS patchset: 1458
CVS date: 1997/02/25 23:17:38
1997-02-25 23:17:38 +00:00
ewt ef69473766 be a bit more carefull about checking --rcfiles argument
CVS patchset: 1436
CVS date: 1997/02/17 20:28:50
1997-02-17 20:28:50 +00:00
ewt 65199afb22 redid -i parsing, moved --info and --requires to popt aliases
CVS patchset: 1428
CVS date: 1997/02/17 20:18:36
1997-02-17 20:18:36 +00:00
ewt d58a17d1bd --ftp* arguments should work with -Vp as well
CVS patchset: 1425
CVS date: 1997/02/17 16:52:45
1997-02-17 16:52:45 +00:00
ewt a5cd69b3db restored include of <locale.h>
CVS patchset: 1410
CVS date: 1997/02/14 02:04:04
1997-02-14 02:04:04 +00:00
ewt 5a761a0522 fixed -r, --root processing
CVS patchset: 1402
CVS date: 1997/02/12 04:48:37
1997-02-12 04:48:37 +00:00
ewt 62ccc79f90 fixed sigcheck w/ always failed with a made up error
CVS patchset: 1394
CVS date: 1997/01/30 21:27:10
1997-01-30 21:27:10 +00:00
ewt ca89c7dd06 changed fixperms to setperms
CVS patchset: 1390
CVS date: 1997/01/30 20:14:22
1997-01-30 20:14:22 +00:00
ewt 647b233511 1) removed --provides, --scripts (moved to rpmpopt)
2) concatenates multiple query formats
3) doesn't support stdin query/verify modes (thank god)

CVS patchset: 1384
CVS date: 1997/01/30 19:59:14
1997-01-30 19:59:14 +00:00
ewt 2c83a713fd use RPMNLS* rather then NLS*
CVS patchset: 1356
CVS date: 1997/01/24 19:04:14
1997-01-24 19:04:14 +00:00
ewt fa4a7a11bb added --nomd5
CVS patchset: 1347
CVS date: 1997/01/23 20:56:16
1997-01-23 20:56:16 +00:00
ewt 22d5f14f15 1) sanity check --timecheck
2) print usefull errors during argument processing

CVS patchset: 1325
CVS date: 1997/01/20 22:16:01
1997-01-20 22:16:01 +00:00
ewt adcc39df50 1) added --pipe
2) read popt config files
3) takes advantage of some popt shortcuts

CVS patchset: 1322
CVS date: 1997/01/17 21:58:00
1997-01-17 21:58:00 +00:00
ewt f9f5e0cd4b switched from getopt to popt
CVS patchset: 1304
CVS date: 1997/01/16 23:26:42
1997-01-16 23:26:42 +00:00
ewt 44dfc187e1 changes to be more i18n friendly
CVS patchset: 1266
CVS date: 1997/01/02 17:48:56
1997-01-02 17:48:56 +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
root 968063fbab if spec check fails, fail.
CVS patchset: 1213
CVS date: 1996/12/06 16:51:52
1996-12-06 16:51:52 +00:00
ewt ba2f38194d 1) changed some "uninstall" references to "erase" references
CVS patchset: 1192
CVS date: 1996/11/22 17:19:45
1996-11-22 17:19:45 +00:00
root d382745d17 The Great Renaming
CVS patchset: 1171
CVS date: 1996/11/18 18:02:36
1996-11-18 18:02:36 +00:00
ewt 26e07c47b4 --root should work with --initdb
CVS patchset: 1140
CVS date: 1996/10/31 21:06:20
1996-10-31 21:06:20 +00:00
ewt ff01a9b53b return rc from doUninstall()
CVS patchset: 1111
CVS date: 1996/10/20 19:29:57
1996-10-20 19:29:57 +00:00
ewt 76f9720b89 added --ftpproxy, --ftpport
CVS patchset: 1107
CVS date: 1996/10/20 18:24:42
1996-10-20 18:24:42 +00:00
ewt 7d94c81443 removed definition of _() which gets set by configure
CVS patchset: 1062
CVS date: 1996/09/29 02:22:07
1996-09-29 02:22:07 +00:00
ewt 3c1ab2d340 --rebuilddb supports --root, say so in --help
CVS patchset: 1028
CVS date: 1996/09/16 22:41:25
1996-09-16 22:41:25 +00:00
ewt 03361daed9 added --rebuild
CVS patchset: 1024
CVS date: 1996/09/16 22:31:05
1996-09-16 22:31:05 +00:00
root c3b5842464 --test for building
CVS patchset: 1015
CVS date: 1996/09/02 01:58:13
1996-09-02 01:58:13 +00:00
ewt ac5a232084 added --qf as an alias to --queryformat, but didn't document it as it
is easily confused with "-qf"

CVS patchset: 1012
CVS date: 1996/09/01 16:54:16
1996-09-01 16:54:16 +00:00
root f574c657ec complain if spec file is not a regular file
CVS patchset: 970
CVS date: 1996/08/20 14:29:41
1996-08-20 14:29:41 +00:00
ewt d5d07197fc fixed --group query specifier
CVS patchset: 940
CVS date: 1996/08/07 15:45:38
1996-08-07 15:45:38 +00:00
marc d5d1054690 change sleep(1) to sleep(5) so yo can read the spec file warnings
CVS patchset: 924
CVS date: 1996/07/23 14:54:46
1996-07-23 14:54:46 +00:00
marc 113be81304 implement --timecheck (used to be --time-check)
CVS patchset: 916
CVS date: 1996/07/23 02:51:48
1996-07-23 02:51:48 +00:00
ewt 314715470b added --nofiles
added --nodpes to useage messages

CVS patchset: 909
CVS date: 1996/07/20 23:20:45
1996-07-20 23:20:45 +00:00
ewt aed3be5ee5 minor spelling/spacing fixes
CVS patchset: 873
CVS date: 1996/07/17 20:00:21
1996-07-17 20:00:21 +00:00
ewt c54a7cf086 added --ignoreos
CVS patchset: 851
CVS date: 1996/07/16 03:46:20
1996-07-16 03:46:20 +00:00
ewt 46eed9fc1e changed showRc() to rpmShowRC()
made -u option exit with an error

CVS patchset: 844
CVS date: 1996/07/16 03:35:29
1996-07-16 03:35:29 +00:00
marc c5e21975d4 change --arch and --os to --build and --buildos
add --showrc

CVS patchset: 833
CVS date: 1996/07/15 01:52:08
1996-07-15 01:52:08 +00:00
ewt b67317e599 made -R work as a shortcut for --requires
CVS patchset: 819
CVS date: 1996/07/14 16:14:24
1996-07-14 16:14:24 +00:00
root 19dbeeece0 buildprefix -> buildroot
CVS patchset: 816
CVS date: 1996/07/14 16:06:35
1996-07-14 16:06:35 +00:00
root 3afd2294dc clean up message for release
CVS patchset: 768
CVS date: 1996/07/10 15:47:33
1996-07-10 15:47:33 +00:00
ewt b49226a7ed 1) reworked long arguments to eliminate strcmp()'s
2) added --prefix option
3) added --rpmdb option

CVS patchset: 763
CVS date: 1996/07/10 02:35:31
1996-07-10 02:35:31 +00:00
root 71ee0f2b24 handle --buildprefix
CVS patchset: 751
CVS date: 1996/07/09 22:28:43
1996-07-09 22:28:43 +00:00
root 95419b5790 --addsign
CVS patchset: 742
CVS date: 1996/07/08 03:26:34
1996-07-08 03:26:34 +00:00
root e0878672e3 mods for new Header-style signatures
CVS patchset: 729
CVS date: 1996/07/07 22:11:13
1996-07-07 22:11:13 +00:00
ewt ece66fbc5c added --ignorearch
CVS patchset: 722
CVS date: 1996/07/03 02:54:53
1996-07-03 02:54:53 +00:00
root f69df4da50 temp hack to warn on spec file check errors
CVS patchset: 720
CVS date: 1996/07/02 21:45:16
1996-07-02 21:45:16 +00:00
root 3fc67229c0 added stuff to handle --arch and --os and
wacky new arch handling stuff

CVS patchset: 707
CVS date: 1996/07/01 21:36:36
1996-07-01 21:36:36 +00:00
ewt 1fa24fb7cf added --initdb
CVS patchset: 678
CVS date: 1996/06/27 17:19:43
1996-06-27 17:19:43 +00:00
ewt 5e700ad271 got --whatrequires, --whatprovides, --requires, --provides, --dump
implemented

CVS patchset: 665
CVS date: 1996/06/20 22:28:02
1996-06-20 22:28:02 +00:00
root 612f9a2e2e added --nopgp
CVS patchset: 662
CVS date: 1996/06/20 15:55:14
1996-06-20 15:55:14 +00:00
root 92d0e6456c only ask for passphrase for MD5_PGP sig types
CVS patchset: 656
CVS date: 1996/06/20 03:09:11
1996-06-20 03:09:11 +00:00
ewt e573369c0e 1) added --nodeps for installs and uninstalls
2) changed doInstall() and doUninstall() calls to pass all of the arguments
   at once
3) added --requiredby and --provides queries

CVS patchset: 630
CVS date: 1996/06/10 17:40:40
1996-06-10 17:40:40 +00:00
root cb255f199f fix --root --verify
CVS patchset: 604
CVS date: 1996/06/04 19:34:50
1996-06-04 19:34:50 +00:00
root 870b1ea849 add --querybynumber
CVS patchset: 597
CVS date: 1996/06/02 18:04:36
1996-06-02 18:04:36 +00:00
root 647d0794e1 call verifySpec()
CVS patchset: 574
CVS date: 1996/05/17 18:37:46
1996-05-17 18:37:46 +00:00
ewt fe38562dec 1) undocumented --keep-temps, --search, and --where which aren't
implemented anyway
2) added --rcfile option

CVS patchset: 564
CVS date: 1996/05/07 03:26:53
1996-05-07 03:26:53 +00:00
root 267fcf65d6 *** empty log message ***
CVS patchset: 554
CVS date: 1996/05/01 21:14:53
1996-05-01 21:14:53 +00:00
ewt d9c99fc4ef 1) added --scripts query option
2) added --noscripts option for installs and uninstalls
3) changed uninstall code for new uninstall call

CVS patchset: 542
CVS date: 1996/04/15 22:20:01
1996-04-15 22:20:01 +00:00
ewt a6e28f246f added --querytags, updated help/useage messages
made install and queries return better error codes
changed all exit(-1) to exit(1)

CVS patchset: 521
CVS date: 1996/04/03 03:44:38
1996-04-03 03:44:38 +00:00
ewt 7ac93a6cfb added support for user specified query formats
CVS patchset: 516
CVS date: 1996/04/02 03:36:00
1996-04-02 03:36:00 +00:00
root 4d98255dea added --short-circuit
CVS patchset: 514
CVS date: 1996/03/30 19:44:29
1996-03-30 19:44:29 +00:00
ewt 04bf634ef0 handles --excludedocs
CVS patchset: 504
CVS date: 1996/03/29 20:50:47
1996-03-29 20:50:47 +00:00
root a1a51786da added --recompile
CVS patchset: 487
CVS date: 1996/03/29 00:52:29
1996-03-29 00:52:29 +00:00
root 8d9e9fbe8c added --resign
CVS patchset: 486
CVS date: 1996/03/28 23:57:37
1996-03-28 23:57:37 +00:00
root 39711f383a Added NLS support
CVS patchset: 471
CVS date: 1996/03/14 16:54:08
1996-03-14 16:54:08 +00:00
ewt 51ace98887 exits when bad options are given
CVS patchset: 452
CVS date: 1996/03/02 17:19:52
1996-03-02 17:19:52 +00:00
root e5d1cfe5e4 add new -e and --erase options
warn about -u and --uninstall

CVS patchset: 449
CVS date: 1996/03/01 15:29:04
1996-03-01 15:29:04 +00:00
ewt ba70204bbf changed --check-sig to --checksig for consistency
CVS patchset: 424
CVS date: 1996/02/25 22:23:01
1996-02-25 22:23:01 +00:00
ewt b0d4b33c92 added support for --oldpackage
CVS patchset: 422
CVS date: 1996/02/25 22:11:24
1996-02-25 22:11:24 +00:00
ewt e7b8fd79a4 long_index needs to be set to 0 before calling getopt
CVS patchset: 411
CVS date: 1996/02/23 19:32:29
1996-02-23 19:32:29 +00:00
root 9599f0fa43 stop builds on error
CVS patchset: 400
CVS date: 1996/02/22 19:33:08
1996-02-22 19:33:08 +00:00
root 4e60315c92 add help for --sign and --check-sig
add --check0sig handling

CVS patchset: 397
CVS date: 1996/02/22 18:51:25
1996-02-22 18:51:25 +00:00
root 16ea7d2b25 change message() call to fprintf(stderr, ...)
CVS patchset: 393
CVS date: 1996/02/22 02:50:56
1996-02-22 02:50:56 +00:00
root 694c6a3c8e add pass phrase sucess message
CVS patchset: 391
CVS date: 1996/02/22 02:29:38
1996-02-22 02:29:38 +00:00
root 81e9d511e7 better pass phrase handling, check for bad pass phrase
CVS patchset: 387
CVS date: 1996/02/22 01:34:20
1996-02-22 01:34:20 +00:00
ewt cffbf3f1d0 1) added upgrade arg handling
2) fixed verify of stdin handling

CVS patchset: 368
CVS date: 1996/02/20 21:54:19
1996-02-20 21:54:19 +00:00
root b3769faaa3 add passPhrase stuff and --sign
CVS patchset: 354
CVS date: 1996/02/20 15:59:10
1996-02-20 15:59:10 +00:00
ewt 6a0b1e775e added parsing and calling for verification
CVS patchset: 346
CVS date: 1996/02/20 03:54:01
1996-02-20 03:54:01 +00:00
root d0040747b0 changed error handling in build()
CVS patchset: 298
CVS date: 1996/02/16 17:26:05
1996-02-16 17:26:05 +00:00
root f974adb86c set verbosity properly for building
CVS patchset: 295
CVS date: 1996/02/16 05:35:53
1996-02-16 05:35:53 +00:00
root 7d7fc550f7 fixed freSpec() call
CVS patchset: 283
CVS date: 1996/02/15 19:32:03
1996-02-15 19:32:03 +00:00
root 2b4e37a993 fixed dereference problem
CVS patchset: 282
CVS date: 1996/02/15 19:21:01
1996-02-15 19:21:01 +00:00
root 4ffe1c9369 free the spec file when done
CVS patchset: 280
CVS date: 1996/02/15 16:21:48
1996-02-15 16:21:48 +00:00
ewt 0bf5f03d1d added --rebuild
CVS patchset: 270
CVS date: 1996/02/14 20:10:42
1996-02-14 20:10:42 +00:00
ewt 881145f547 reads in rpm rc files at startup
CVS patchset: 251
CVS date: 1996/01/30 03:50:28
1996-01-30 03:50:28 +00:00
ewt 41f2831923 fixed check of --root
CVS patchset: 242
CVS date: 1996/01/29 23:26:45
1996-01-29 23:26:45 +00:00
marc 71bad57b4d use RPMBUILD_SWEEP
CVS patchset: 230
CVS date: 1996/01/29 19:14:31
1996-01-29 19:14:31 +00:00
ewt 8d2dea9acc added building options to RPM, tightened error checking during argument
parsing a bit

CVS patchset: 223
CVS date: 1996/01/28 21:38:43
1996-01-28 21:38:43 +00:00
ewt 769a70fab5 implemented --hash, --percent
CVS patchset: 222
CVS date: 1996/01/28 19:42:04
1996-01-28 19:42:04 +00:00
ewt c33544a8ef changed to take VERSION field from the Makefile
CVS patchset: 210
CVS date: 1996/01/15 00:01:31
1996-01-15 00:01:31 +00:00
ewt 29928e4570 changed --force for installs, added --replacepkgs --replacefiles
CVS patchset: 202
CVS date: 1996/01/13 22:00:11
1996-01-13 22:00:11 +00:00
ewt 32a5b3bbc3 changed default prefix to / rather then empty
added prefix to doInstall

CVS patchset: 174
CVS date: 1996/01/08 19:21:11
1996-01-08 19:21:11 +00:00
ewt 8555fba7bc added install, uninstall, and query by group
CVS patchset: 133
CVS date: 1996/01/05 18:13:25
1996-01-05 18:13:25 +00:00
ewt 89b8b299c6 basic querying works now, but building is broken
CVS patchset: 107
CVS date: 1995/12/27 20:08:11
1995-12-27 20:08:11 +00:00
root d099d941b5 moved to rpm.c from rpmq to get basic command line handling
CVS patchset: 79
CVS date: 1995/12/26 23:07:41
1995-12-26 23:07:41 +00:00
marc cb5270ad36 use doBuild() instead of packageBinaries()
CVS patchset: 75
CVS date: 1995/12/20 23:31:16
1995-12-20 23:31:16 +00:00
marc f067ec7bae added error callback, call binary packaging
CVS patchset: 67
CVS date: 1995/12/19 21:05:39
1995-12-19 21:05:39 +00:00
root 33bc84283e Initial revision
CVS patchset: 35
CVS date: 1995/12/14 15:46:09
1995-12-14 15:46:09 +00:00