Commit Graph

585 Commits

Author SHA1 Message Date
jbj 8d0c528b59 fix: prevent return code wrap during packagage checking/resigning.
CVS patchset: 3063
CVS date: 1999/05/15 14:46:29
1999-05-15 14:46:29 +00:00
jbj 3dc8ed83ab another strtok bites the dust.
CVS patchset: 3061
CVS date: 1999/05/14 18:48:12
1999-05-14 18:48:12 +00:00
jbj 6e5c77a7be fix: conversion script left off leading underscores.
CVS patchset: 3060
CVS date: 1999/05/13 14:26:58
1999-05-13 14:26:58 +00:00
jbj 73fb1d7235 fix: shared file not skipped when removed.
CVS patchset: 3059
CVS date: 1999/05/12 20:24:00
1999-05-12 20:24:00 +00:00
jbj ac640010ef better cpio error message if package contains missing hard links.
CVS patchset: 3058
CVS date: 1999/05/11 20:05:43
1999-05-11 20:05:43 +00:00
jbj b638d1ef0e colesce query and verify modes.
CVS patchset: 3055
CVS date: 1999/05/10 23:41:04
1999-05-10 23:41:04 +00:00
jbj 92dc15f7ff fix: resurrect -Vp, -Vf and -Vg functionality.
CVS patchset: 3052
CVS date: 1999/05/07 18:33:35
1999-05-07 18:33:35 +00:00
jbj 8b7923f6bc add rpm prefix to MD5 routines to avoid name conflict on solaris.
CVS patchset: 3049
CVS date: 1999/05/05 13:25:25
1999-05-05 13:25:25 +00:00
jbj ab46aedd86 resurrect toplevel tar target.
spec file removal separate from source removal (Shing-Gene Yung).

CVS patchset: 3042
CVS date: 1999/04/30 15:55:45
1999-04-30 15:55:45 +00:00
jbj d28afe6e1e fix: %doc wrongly inherits lang from last entry in %files.
CVS patchset: 3041
CVS date: 1999/04/30 14:59:47
1999-04-30 14:59:47 +00:00
jbj 77317dc8f6 fix: non-apache servers need "GET ... HTTP/1.0" by the book.
CVS patchset: 3040
CVS date: 1999/04/30 14:56:32
1999-04-30 14:56:32 +00:00
jbj ee185b8ef3 Strip rpmgettext/rpmputtext.
CVS patchset: 3039
CVS date: 1999/04/29 21:48:24
1999-04-29 21:48:24 +00:00
jbj d26418617c fix: prefer pgp2.6.3 over pgp5 if both are installed.
CVS patchset: 3037
CVS date: 1999/04/29 19:18:22
1999-04-29 19:18:22 +00:00
jbj 7d84d9a070 fix: optflags not implicitly set to canonical arch value.
CVS patchset: 3032
CVS date: 1999/04/26 17:54:28
1999-04-26 17:54:28 +00:00
ewt 5e43be57bd s/querybypkg/filesbypkg/g
CVS patchset: 3031
CVS date: 1999/04/26 17:38:44
1999-04-26 17:38:44 +00:00
ewt b8a99b4444 *** empty log message ***
CVS patchset: 3029
CVS date: 1999/04/22 16:01:02
1999-04-22 16:01:02 +00:00
jbj 65cc651fc4 fix: noarch header gets initialized differently.
CVS patchset: 3025
CVS date: 1999/04/21 15:32:23
1999-04-21 15:32:23 +00:00
jbj 0cf9b0bdfe fix: % before non-alphabetic non-macro special now passed unscathed.
CVS patchset: 3023
CVS date: 1999/04/20 19:17:23
1999-04-20 19:17:23 +00:00
jbj c67e60d5e7 convert per-system configuration in /etc/rpmrc to macros.
CVS patchset: 3012
CVS date: 1999/04/18 19:01:46
1999-04-18 19:01:46 +00:00
jbj ba617e479d check build prerequisites before building from specfile.
CVS patchset: 3010
CVS date: 1999/04/17 14:23:42
1999-04-17 14:23:42 +00:00
jbj 527e1bc4e0 fix: last update transaction set segfault bug in installer.
improved checks for statfs (Tim Mooney).
remove inconsistent use of __P((...)) throughout.
non-static inline functions caused IRIX cc pain.
CPIOERR_CHECK_ERRNO masking caused AIX cc warnings.

CVS patchset: 2993
CVS date: 1999/04/14 11:28:31
1999-04-14 11:28:31 +00:00
jbj 8dfb93f84f non-linux, non-gcc portability fixes (Tim Mooney).
CVS patchset: 2973
CVS date: 1999/04/08 20:53:45
1999-04-08 20:53:45 +00:00
jbj 5ff51b4f86 fix: --prefix resurrected.
CVS patchset: 2954
CVS date: 1999/04/06 19:51:23
1999-04-06 19:51:23 +00:00
jbj c06d64a88c fix: os was not initialized with "--target i586".
CVS patchset: 2952
CVS date: 1999/04/06 16:54:55
1999-04-06 16:54:55 +00:00
jbj 7fb97e9a9a fix: segfault while parsing target string.
CVS patchset: 2949
CVS date: 1999/04/05 19:21:20
1999-04-05 19:21:20 +00:00
jbj f98ec6d75d permit 0x1b in specfile sanity check.
CVS patchset: 2945
CVS date: 1999/04/05 15:23:37
1999-04-05 15:23:37 +00:00
jbj 30fde13087 add name/version/release macros during src.rpm install.
attempt mkdir sourcedir/specdir during src.rpm install.

CVS patchset: 2938
CVS date: 1999/04/03 00:05:03
1999-04-03 00:05:03 +00:00
jbj 6266b08a66 add per-target macrofiles to search path.
take globalMacroContext out of macro api.
fix: flush all macros between builds.

CVS patchset: 2936
CVS date: 1999/04/01 22:26:44
1999-04-01 22:26:44 +00:00
jbj 5fbc0dd6c3 add explicit macrofiles path to rpmrc.
CVS patchset: 2933
CVS date: 1999/03/31 20:37:55
1999-03-31 20:37:55 +00:00
jbj f0a088596e expand twiddles in macrofiles list.
CVS patchset: 2931
CVS date: 1999/03/31 16:57:01
1999-03-31 16:57:01 +00:00
jbj 214f096003 (re-)enable fixowner/fixgroup macros.
fix: specfile BuildRoot was masking rpmrc macro.

CVS patchset: 2926
CVS date: 1999/03/31 13:07:20
1999-03-31 13:07:20 +00:00
jbj 9b94f186e6 fix: avoid segfault using --prefix until ewt fixes.
add --define "%foo %bar" option.
dump macros to same fd as --showrc uses.
add %GNUconfigure for full-blown package regeneration.
fix: RPM_ARCH/RPM_OS had wrong values.
fix: create ppc directories correctly.

CVS patchset: 2922
CVS date: 1999/03/28 00:47:40
1999-03-28 00:47:40 +00:00
jbj 7a9fe7272c autoReq/autoProv now per-package.
CVS patchset: 2915
CVS date: 1999/03/26 20:07:34
1999-03-26 20:07:34 +00:00
jbj e6d646a8c9 fix: segfault from unknown uid/gid -- use builder's uid/gid instead.
CVS patchset: 2913
CVS date: 1999/03/24 12:38:08
1999-03-24 12:38:08 +00:00
jbj a1058e3d9e more DU 4.0D fiddles (Shing-Gene Yung).
CVS patchset: 2910
CVS date: 1999/03/22 18:36:23
1999-03-22 18:36:23 +00:00
jbj bd3990b81c fix: don't add header if signature generation failed (Carlo Wood).
CVS patchset: 2909
CVS date: 1999/03/22 17:31:53
1999-03-22 17:31:53 +00:00
jbj 7944ca9ba3 fix: segfault from double close on ftpGetFileDesc ftpAbort path.
CVS patchset: 2908
CVS date: 1999/03/22 16:23:05
1999-03-22 16:23:05 +00:00
jbj 89e64b9785 pgp5 support (Carlo Wood <carlo@runaway.xs4all.nl>).
CVS patchset: 2906
CVS date: 1999/03/21 18:43:22
1999-03-21 18:43:22 +00:00
jbj bc76393a17 eliminate old rpmrc configuration syntax.
CVS patchset: 2905
CVS date: 1999/03/20 21:09:47
1999-03-20 21:09:47 +00:00
jbj 801b0c9b4b Bump version.
CVS patchset: 2904
CVS date: 1999/03/20 15:11:03
1999-03-20 15:11:03 +00:00
jbj 49926ed9f6 update with libtool-2.4f.
CVS patchset: 2903
CVS date: 1999/03/19 22:38:40
1999-03-19 22:38:40 +00:00
ewt ef1b0f4d69 *** empty log message ***
CVS patchset: 2902
CVS date: 1999/03/19 21:33:28
1999-03-19 21:33:28 +00:00
jbj 52f3a21929 DU 4.0D fiddles (Shing-Gene Yung<shing@cz3.nus.edu.sg>)
CVS patchset: 2899
CVS date: 1999/03/19 16:39:15
1999-03-19 16:39:15 +00:00
jbj d84c548c0b fix: recursive strtok's is a no-no.
CVS patchset: 2894
CVS date: 1999/03/17 18:11:01
1999-03-17 18:11:01 +00:00
jbj 776dc9c258 change support@redhat.com to rpm-list@redhat.com.
CVS patchset: 2891
CVS date: 1999/03/14 00:34:52
1999-03-14 00:34:52 +00:00
jbj a36b1b3871 fix: with --target=i686, pass macro %_arch=i386.
CVS patchset: 2889
CVS date: 1999/03/13 22:37:47
1999-03-13 22:37:47 +00:00
jbj aaaf86cfe1 fix: rpm -q --specfile --specedit now works even with BuildArch:.
CVS patchset: 2887
CVS date: 1999/03/12 18:20:06
1999-03-12 18:20:06 +00:00
jbj c50cdee669 fix: --target=arch works.
CVS patchset: 2886
CVS date: 1999/03/12 15:56:48
1999-03-12 15:56:48 +00:00
jbj c871d58f38 fix: memory leaks in rpmRunTransactions plugged.
CVS patchset: 2844
CVS date: 1999/02/28 18:36:19
1999-02-28 18:36:19 +00:00
jbj a3d1bd6662 increase timeout in tread from 5 to 30 secs for slow links.
CVS patchset: 2842
CVS date: 1999/02/28 14:18:56
1999-02-28 14:18:56 +00:00
jbj 0e54446b94 fix: build of packages w/o BuildRoot segfault.
CVS patchset: 2840
CVS date: 1999/02/26 21:47:33
1999-02-26 21:47:33 +00:00
jbj 6b9fe27f52 permit substitution of I18N strings from PO meta-catalogues.
CVS patchset: 2824
CVS date: 1999/02/22 17:44:57
1999-02-22 17:44:57 +00:00
jbj 6f35dcf84b rename file before unlinking to avoid EBUSY failures.
CVS patchset: 2810
CVS date: 1999/02/18 17:21:50
1999-02-18 17:21:50 +00:00
jbj c74948930d headerGetEntry now returns count=0 if tag not found (Chris Blizzard).
CVS patchset: 2808
CVS date: 1999/02/17 17:26:53
1999-02-17 17:26:53 +00:00
ewt c1959865f8 added checks for installation of old packages
CVS patchset: 2802
CVS date: 1999/02/17 04:32:55
1999-02-17 04:32:55 +00:00
ewt 784a8eeb8a fixed noreplace handling
CVS patchset: 2801
CVS date: 1999/02/17 04:04:53
1999-02-17 04:04:53 +00:00
ewt da45cac856 moved things to transaction flags from independent install/uninstall flags
CVS patchset: 2799
CVS date: 1999/02/17 03:42:57
1999-02-17 03:42:57 +00:00
jbj 1556aeb600 add callbacks for installer updates while doing URL xfers.
CVS patchset: 2796
CVS date: 1999/02/16 02:42:29
1999-02-16 02:42:29 +00:00
jbj 6d0e3c455d sub-packages should inheirit Prefixes tag (Ian Mortimer).
CVS patchset: 2794
CVS date: 1999/02/15 18:58:17
1999-02-15 18:58:17 +00:00
jbj b6eaf3aee4 resurrect osf1 as canonical os name (Time Mooney).
CVS patchset: 2793
CVS date: 1999/02/15 18:51:16
1999-02-15 18:51:16 +00:00
jbj 5336a6f5e4 augment linux provides/requires for glibc 2.1 backward compatibility.
CVS patchset: 2790
CVS date: 1999/02/15 18:26:09
1999-02-15 18:26:09 +00:00
ewt 7b20861ad6 *** empty log message ***
CVS patchset: 2785
CVS date: 1999/02/07 21:57:30
1999-02-07 21:57:30 +00:00
jbj 6e22dccb47 - add BuildPrereq: in spec file and src rpm.
CVS patchset: 2776
CVS date: 1999/02/05 18:32:06
1999-02-05 18:32:06 +00:00
ewt c7c870b0c5 added rpmdbOpenForTraversal()
CVS patchset: 2771
CVS date: 1999/02/04 05:03:16
1999-02-04 05:03:16 +00:00
ewt 35cb65b449 handle spec file which Provide filenames
CVS patchset: 2770
CVS date: 1999/02/02 19:43:35
1999-02-02 19:43:35 +00:00
jbj 5bb717be19 make '-' character illegal (again) in version/release.
Use auto-standard names for auto-package components.

CVS patchset: 2753
CVS date: 1999/01/26 18:08:14
1999-01-26 18:08:14 +00:00
jbj a72a5178af use portable #!/bin/sh (Tim Mooney).
CVS patchset: 2740
CVS date: 1999/01/22 00:40:53
1999-01-22 00:40:53 +00:00
jbj d09dddb1a6 don't erase failing build script (Tim Mooney).
CVS patchset: 2738
CVS date: 1999/01/22 00:38:10
1999-01-22 00:38:10 +00:00
jbj fc421d4a1f use portable mkinstalldirs (Tim Mooney).
CVS patchset: 2736
CVS date: 1999/01/22 00:34:30
1999-01-22 00:34:30 +00:00
jbj ba66f05796 irix6 autodeps were dup'd (Shing-Gene Yung <shing@cz3.nus.edu.sg>).
CVS patchset: 2733
CVS date: 1999/01/22 00:25:25
1999-01-22 00:25:25 +00:00
jbj 459dc6ef3e create rpmbzio.c to avoid implicit dependence on libbz2 for installer.
CVS patchset: 2727
CVS date: 1999/01/19 23:59:28
1999-01-19 23:59:28 +00:00
jbj 903b747e02 Released rpm-2.90 -- version is now 2.91
Use automake 1.4 and autoconf 2.13.

CVS patchset: 2726
CVS date: 1999/01/19 23:54:30
1999-01-19 23:54:30 +00:00
jbj 02f03358f6 getservbyname needed ntohs().
CVS patchset: 2721
CVS date: 1999/01/19 16:52:25
1999-01-19 16:52:25 +00:00
ewt a0f1da436b added --excludepath
CVS patchset: 2720
CVS date: 1999/01/19 16:25:10
1999-01-19 16:25:10 +00:00
jbj 71171a5c04 identify missing keys by type (Toshio Kuratomi)
CVS patchset: 2710
CVS date: 1999/01/18 00:13:45
1999-01-18 00:13:45 +00:00
ewt 33d610be38 I'm too lazy to put these in a third time.
CVS patchset: 2691
CVS date: 1999/01/12 03:11:25
1999-01-12 03:11:25 +00:00
jbj 8e4b5d19fc 1998 8 Jan Toshio Kuratomi <badger@prtr-13.ucsc.edu>
* rpm.c: An error message for --nomd5 incorrectly  read "--nopgp can only
      be used during...."... Changed the --nopgp to --nomd5
1998 7 Jan  Toshio Kuratomi <bagder@prtr-13.ucsc.edu>
    * lib/rpmlib.h: Add a RPMSIGTAG_GPG define for gnupg.
    * lib/rpmlib.h: Add RPMVAR_GPG_PATH and RPMVAR_GPG_NAME variables.
    * lib/rpmrc.c: (optionTable) Add gpg_path and gpg_name to the optionTable
      (same stats as pgp_name and pgp_path.)
    * lib/signature.c: (rpmLookupSignatureType) Add RPMSIGTAG_GPG as one of the
      recognized types.
    * lib/signature.c: (rpmAddSignature) Add ability to create gnupg signature.
    * lib/signature.c: (makeGPGSignature) Routine to create a gnupg signature
      (based on makePGPSignature.)
    * lib/signature.c: (rpmVerifySignature) Add ability to verify gnupg
      signatures.
    * lib/signature.c: (verifyGPGSignature) Routine to verify a gnupg signature
      (based on verifyPGPSignature.)
    * lib/signature.c: (rpmGetPassPhrase) When getting pass phrase for gnupg,
      use RPMVAR_GPG_NAME instead of RPMVAR_PGP_NAME if we are signing with
      GPG isntead of PGP.
    * lib/signature.c: (checkPassPhrase) Need to allow for GPG when we check
      the PassPhrase's correctness.
    * rpm.c: Add equivalent GPG lines everywhere we find a PGP line.
    * rpm.c: Add equivalent gpg stanzas wherever we find a pgp stanza.
    * checksig.h: define CHECKSIG_GPG (1 << 2)  [Is this correct?]
    * checksig.c: (doCheckSig) Check for GPG signatures.  [A lot could be
      wrong/left out here.]
    * rpm.c: change the call to rpmGetPassPhrase to throw in the sigType as
      well.
    * signature.h: change rpmGetPassPhrase declaration to:
      rpmGetPassPhrase(const char * prompt, const int sigTag);
    * signature.c: (rpmGetPassPhrase) change the function to accept the
      signature type as its second argument.

CVS patchset: 2686
CVS date: 1999/01/09 00:24:02
1999-01-09 00:24:02 +00:00
jbj bd626d134d propagate "const char *" into rpmlib prototypes.
CVS patchset: 2663
CVS date: 1999/01/06 17:33:50
1999-01-06 17:33:50 +00:00
jbj e8d006c635 use "original db-1.85" if available (Raw Hide glibc 2.1).
CVS patchset: 2640
CVS date: 1998/12/31 22:09:43
1998-12-31 22:09:43 +00:00
ewt 42edfe1749 make sure files to sign exist before asking for the pass phrase
CVS patchset: 2625
CVS date: 1998/12/30 20:22:18
1998-12-30 20:22:18 +00:00
jbj 0c25412902 ultrapenguin 1.1.9 sparc64 changes.
CVS patchset: 2605
CVS date: 1998/12/17 16:45:22
1998-12-17 16:45:22 +00:00
ewt 2bbb5a8f93 *** empty log message ***
CVS patchset: 2601
CVS date: 1998/12/15 05:46:58
1998-12-15 05:46:58 +00:00
jbj ce37ae3d9d permit http:// and file:// url's as well as ftp://.
attempt ftp ABOR on query/verify url's.
cache open ftp control descriptor with password.
verify needed same realpath semantics as query.
plug fd leak in urlGetFile().

CVS patchset: 2598
CVS date: 1998/12/14 21:34:11
1998-12-14 21:34:11 +00:00
jbj 9d8c68e32d translate cpio errors using cpioStrerror.
CVS patchset: 2592
CVS date: 1998/12/05 23:22:41
1998-12-05 23:22:41 +00:00
jbj 3fae42117d display "..?....." rather than "..5....." for unreadable files.
run time (rather than compile time) host endian check.

CVS patchset: 2589
CVS date: 1998/12/05 19:38:29
1998-12-05 19:38:29 +00:00
jbj c76756479e caldera patches (ray@Caldera.DE)
CVS patchset: 2584
CVS date: 1998/12/03 19:36:01
1998-12-03 19:36:01 +00:00
jbj d92ce3f635 added ARM patches.
CVS patchset: 2583
CVS date: 1998/12/03 19:30:32
1998-12-03 19:30:32 +00:00
jbj d923921296 change --rcfile to permit colon separated file list.
compile in defaults from rpmrc/macros.

CVS patchset: 2573
CVS date: 1998/12/02 17:59:32
1998-12-02 17:59:32 +00:00
jbj 2940357e3d fix incorrect directory permissions using %attr/%defattr.
CVS patchset: 2562
CVS date: 1998/11/25 20:23:32
1998-11-25 20:23:32 +00:00
jbj 2b44c3a5c3 permit "rpm -q --specfile ... file.spec" queries.
CVS patchset: 2547
CVS date: 1998/11/20 00:29:46
1998-11-20 00:29:46 +00:00
jbj dc7ee4090d finish hiding rpmdb index record data ("matches").
CVS patchset: 2543
CVS date: 1998/11/19 18:10:28
1998-11-19 18:10:28 +00:00
jbj 2578b7fc84 implement abstract fd type almost everywhere.
CVS patchset: 2542
CVS date: 1998/11/18 21:41:05
1998-11-18 21:41:05 +00:00
jbj 3b5593c7e0 strncasecmp on spec file separators (KDE has %Description).
CVS patchset: 2537
CVS date: 1998/11/15 17:00:24
1998-11-15 17:00:24 +00:00
jbj 468597524d remove redundant md5 computation on uninstall.
CVS patchset: 2534
CVS date: 1998/11/08 18:23:16
1998-11-08 18:23:16 +00:00
jbj 2d83820336 permit --rmsource --force even if sources/patches are missing.
CVS patchset: 2532
CVS date: 1998/11/08 00:15:33
1998-11-08 00:15:33 +00:00
jbj bb2f68c510 don't compute md5sum on non-file %config objects. (from Jos Vos)
CVS patchset: 2529
CVS date: 1998/11/07 22:48:12
1998-11-07 22:48:12 +00:00
jbj 886d61a91e check arch only on RPMBUILD_{PREP,BUILD,INSTALL,PACKAGEBINARY}.
CVS patchset: 2527
CVS date: 1998/11/07 22:05:28
1998-11-07 22:05:28 +00:00
jbj d51ce05214 configure.in: set default value for RPM. (Tim Mooney)
CVS patchset: 2525
CVS date: 1998/11/06 22:55:30
1998-11-06 22:55:30 +00:00
jbj 03cffdb119 update and rename Czech (Pavel Makovec <pavelm@terminal.cz>)
CVS patchset: 2522
CVS date: 1998/11/06 22:41:10
1998-11-06 22:41:10 +00:00
jbj 9f08d63bfb update Russian translation w man pages.
CVS patchset: 2521
CVS date: 1998/11/06 22:16:17
1998-11-06 22:16:17 +00:00