jbj
be9867aa18
- python bindings should not segfault when fed bad data.
...
CVS patchset: 4934
CVS date: 2001/07/11 02:16:16
2001-07-11 02:16:16 +00:00
jbj
e15b4593eb
- package version now configureable, default v3.
...
- rename rpm libraries to have version with libtool -release.
- fix: -i CLI context broken Yet Again.
CVS patchset: 4930
CVS date: 2001/07/10 17:59:11
2001-07-10 17:59:11 +00:00
jbj
f440f450d9
- python: rhnLoad/rhnUnload to check header digest.
...
CVS patchset: 4928
CVS date: 2001/07/08 21:30:35
2001-07-08 21:30:35 +00:00
jbj
134a8a85c2
- popthelp.c: don't use stpcpy to avoid portability grief ( #47500 ).
...
- permit alias/exec description/arg text to be set from popt config.
- use rpmqv.c, not rpm.c, as rpm's main() routine.
CVS patchset: 4923
CVS date: 2001/07/07 19:15:17
2001-07-07 19:15:17 +00:00
jbj
9df3fc957f
- expose rpmShowProgress() and rpmVerifyDigest() in rpmcli.h.
...
- portability: avoid st_mtime, gendiff uses basename, etc (#47497 ).
- glibc-2.0.x has not __va_copy().
- popthelp.c: static copy of stpcpy/stpncpy for the deprived (#47500 ).
CVS patchset: 4921
CVS date: 2001/07/06 20:37:42
2001-07-06 20:37:42 +00:00
jbj
20c2a42d4f
- fix: redundant entries in file manifests handled correctly ( #46914 ).
...
- map uid/gid from metadata into payload headers.
CVS patchset: 4915
CVS date: 2001/07/03 19:26:58
2001-07-03 19:26:58 +00:00
jbj
c33e408649
- update intl dirs to gettext-0.10.38.
...
- fix: sanity check for header size added in headerCopyLoad() (#46469 ).
CVS patchset: 4913
CVS date: 2001/06/30 18:32:28
2001-06-30 18:32:28 +00:00
jbj
3e219ad91a
- fix: sanity checks on #tags (<65K) and offset (<16Mb) in header.
...
- fix: add -r to useradd to prevent /etc/skel glop (#46215 ).
- fix: disambiguate typedef and struct name(s) for kpackage.
CVS patchset: 4908
CVS date: 2001/06/28 22:19:08
2001-06-28 22:19:08 +00:00
jbj
b533de2b27
Yet another patial harlink set fix.
...
CVS patchset: 4903
CVS date: 2001/06/25 20:01:42
2001-06-25 20:01:42 +00:00
jbj
60977b6c27
- fix: rpm -qlv link count for directories dinna include '..'.
...
- fix: rpm -qlv size for directories should be zero.
- add --noghost to filter non-payload files from rpm -qlv output.
CVS patchset: 4897
CVS date: 2001/06/20 21:20:16
2001-06-20 21:20:16 +00:00
jbj
512b5ce682
- fix: partial sets of hardlinked files permitted in payload (yes, changed).
...
- work around a (possible) compiler problem on ia64.
CVS patchset: 4893
CVS date: 2001/06/20 16:42:19
2001-06-20 16:42:19 +00:00
jbj
5f2d9ab25b
- fix: partial sets of hardlinked files forbidden in payload.
...
- fix: mark rpmdb files with %config to prevent erasure on downgrade.
CVS patchset: 4891
CVS date: 2001/06/20 06:29:20
2001-06-20 06:29:20 +00:00
jbj
8cd30c7190
- make package ordering loop messages debug, not warning.
...
CVS patchset: 4883
CVS date: 2001/06/19 20:03:13
2001-06-19 20:03:13 +00:00
jbj
eb8db3316d
- finalize per-header methods, accessing headerFoo through vector.
...
CVS patchset: 4880
CVS date: 2001/06/19 16:59:23
2001-06-19 16:59:23 +00:00
jbj
c6bd3de937
- preliminary abstraction to support per-header methods.
...
CVS patchset: 4878
CVS date: 2001/06/19 11:38:51
2001-06-19 11:38:51 +00:00
jbj
29ea1567e7
Sync with rpm-4_0 branch.
...
CVS patchset: 4876
CVS date: 2001/06/17 22:18:03
2001-06-17 22:18:03 +00:00
jbj
c32276cdf5
- popt: add POPT_CONTEXT_ARG_OPTS for all opts to return 1 ( #30912 ).
...
- fix: fsm reads/writes now return error on partial I/O.
- fix: Ferror returned spurious error for gzdio/bzdio.
CVS patchset: 4874
CVS date: 2001/06/17 15:19:26
2001-06-17 15:19:26 +00:00
jbj
6f3943da6c
- popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values ( #32558 ).
...
CVS patchset: 4872
CVS date: 2001/06/17 00:36:01
2001-06-17 00:36:01 +00:00
jbj
1ed6bde25a
linux.req now verified functional on ia64-linux.
...
CVS patchset: 4870
CVS date: 2001/06/16 01:49:10
2001-06-16 01:49:10 +00:00
jbj
6afa016e86
- ia64/sparc: <arch>.{req,prov} identical to linux.{req,prov}.
...
- add "rpmlib(ScriptletInterpreterArgs)" to track
%post -p "/sbin/ldconfig -n /usr/lib"
incompatibilities.
CVS patchset: 4866
CVS date: 2001/06/15 18:53:06
2001-06-15 18:53:06 +00:00
jbj
f0d2abd2bc
- fix: db1 end-of-file not detected in legacy compatible way.
...
- fix: remove (harmless) chown error message from %post.
- add --target/--host to %configure, add example cross-build/config.site
scripts to /usr/lib/rpm <arjanv@redhat.com> (#44581 ).
- rpmdb iterator selectors permit default/strcmp/regex/glob matching.
- rpmdb iterator selectors permit negative matches.
CVS patchset: 4861
CVS date: 2001/06/15 04:56:33
2001-06-15 04:56:33 +00:00
jbj
22b9de5f33
- add rpmdbSetIteratorRE() for regex matching in database iterators.
...
- permit rpm -qa to take RE args applied to name tag.
- permit dbiFindMatches() to use version/release patterns.
- eliminate all uses of rpmdbSetIterator{Version,Release}.
CVS patchset: 4859
CVS date: 2001/06/13 20:57:06
2001-06-13 20:57:06 +00:00
jbj
7233e3ad73
- remove rpmrc Provides: Yet Again, use virtual packages.
...
- dump cursor debugging wrappers.
- rpm --verify can disable rpmFileAttr checks.
CVS patchset: 4856
CVS date: 2001/06/12 17:06:47
2001-06-12 17:06:47 +00:00
jbj
1b87bd9ef7
- remove dead code frpm popt table reorg.
...
- more CLI typedefs/prototypes moved from rpmlib.h to rpmcli.h.
- rpm --verify skips files in non-installed states.
- rpm --verify skips content checks for %ghost files.
- rpm --verify displays config/doc/gnost/license/readme atrrs for files.
- rpm --verify checks immutable header region digest if available.
- rpmbuild adds header region digest (SHA1 as string).
- use rpmTag* typedefs in new hge/hae/hme/hre header vectors.
CVS patchset: 4854
CVS date: 2001/06/12 04:10:21
2001-06-12 04:10:21 +00:00
jbj
03f5273901
- fix: QUERY_FOR_LIST file count clobbered.
...
- create top level rpmcli API, factor top level modes into popt tables.
- popt: add POPT_BIT_SET/POPT_BIT_CLR to API.
- autogen.sh checks for latest libtool-1.4 and automake-1.4-p2.
- rpm --verify reports failure(s) if corresponding tag is not in header.
- rpm --verify honors %config(missingok), add -v for legacy behavior.
CVS patchset: 4852
CVS date: 2001/06/08 20:45:59
2001-06-08 20:45:59 +00:00
jbj
f0a67ca8b0
- permit duplicates for btree indices.
...
CVS patchset: 4843
CVS date: 2001/06/06 12:36:31
2001-06-06 12:36:31 +00:00
jbj
c635bbf0ae
fix: increment pointer in funky header ext while loop.
...
CVS patchset: 4841
CVS date: 2001/06/05 22:01:13
2001-06-05 22:01:13 +00:00
jbj
4ae69250a2
- fix typos in linux.{req,prov}.
...
CVS patchset: 4834
CVS date: 2001/06/05 19:26:22
2001-06-05 19:26:22 +00:00
jbj
750d54d8a3
lclint fiddles.
...
CVS patchset: 4833
CVS date: 2001/06/04 13:55:58
2001-06-04 13:55:58 +00:00
jbj
f5ebe3fb42
- return multiple suggested packages (Pawel Kolodziej <pawelk@pld.org.pl>).
...
- fix: return suggested packages when using Depends cache.
CVS patchset: 4823
CVS date: 2001/05/31 22:31:14
2001-05-31 22:31:14 +00:00
jbj
cc54f00167
- fix: for busted db1, attempt chain reconnection to following record.
...
CVS patchset: 4819
CVS date: 2001/05/30 22:42:43
2001-05-30 22:42:43 +00:00
jbj
e6c22123bc
- perform db->verify when closing db files.
...
CVS patchset: 4813
CVS date: 2001/05/25 19:51:53
2001-05-25 19:51:53 +00:00
jbj
4d76eb6dee
RPMTAG_BUILDROOT is internal tag.
...
CVS patchset: 4810
CVS date: 2001/05/23 17:53:30
2001-05-23 17:53:30 +00:00
jbj
23783af227
- remove all header region assertion failures, return NULL instead.
...
CVS patchset: 4809
CVS date: 2001/05/23 16:38:52
2001-05-23 16:38:52 +00:00
jbj
71f818828e
- headerFree() returns NULL, _free is C++ safe.
...
CVS patchset: 4807
CVS date: 2001/05/23 14:25:19
2001-05-23 14:25:19 +00:00
jbj
aed337b31d
- fix: skip %ghost files when building packages ( #38218 ).
...
CVS patchset: 4801
CVS date: 2001/05/21 16:00:45
2001-05-21 16:00:45 +00:00
jbj
8cc9d509e4
- fix: i18n strings need 1 on sucess return code ( #41313 ).
...
CVS patchset: 4799
CVS date: 2001/05/20 18:33:23
2001-05-20 18:33:23 +00:00
jbj
2622029162
fix: rpmtransAddPackage assumed removed packages were sorted ( #35827 ).
...
CVS patchset: 4797
CVS date: 2001/05/16 20:02:08
2001-05-16 20:02:08 +00:00
jbj
cec2fe637a
- fix: filter duplicate package removals ( #35828 ).
...
- add armv3l arch.
CVS patchset: 4795
CVS date: 2001/05/16 19:19:15
2001-05-16 19:19:15 +00:00
jbj
3c563d2118
- upgrade to db-3.3.4.
...
CVS patchset: 4787
CVS date: 2001/05/14 20:12:10
2001-05-14 20:12:10 +00:00
jbj
87c15895a0
- add cron/logrotate scripts to save installed package filenames.
...
CVS patchset: 4777
CVS date: 2001/05/13 17:55:58
2001-05-13 17:55:58 +00:00
jbj
27009dd00b
- harden rpmdb iterators from damaged header instance segfaults.
...
CVS patchset: 4774
CVS date: 2001/05/11 23:25:46
2001-05-11 23:25:46 +00:00
jbj
c7ee573367
- rpm database has rpm.rpm g+w permissions to share db3 mutexes.
...
- expose more db3 macro configuration tokens.
- move fprint.[ch] and hash.[ch] to rpmdb directory.
- detect and fiddle incompatible mixtures of db3 env/open flags.
- add DBI_WRITECURSOR to map to db3 flags with CDB database model.
- add rpmdbSetIteratorRewrite to warn of pending lazy (re-)writes.
CVS patchset: 4765
CVS date: 2001/05/11 04:01:04
2001-05-11 04:01:04 +00:00
jbj
d026618b6b
- rpm executables now setuid rpm to share write locks.
...
- expose more db3 macro configuration tokens.
CVS patchset: 4756
CVS date: 2001/05/09 22:58:56
2001-05-09 22:58:56 +00:00
jbj
9c636fed5b
- create rpmdb.la so that linkage against rpm's db-3.2.9 is possible.
...
CVS patchset: 4752
CVS date: 2001/05/08 00:03:14
2001-05-08 00:03:14 +00:00
jbj
d9e5d40dd5
- use internal db-3.2.9 sources to build by default.
...
- don't build db1 by default.
CVS patchset: 4750
CVS date: 2001/05/07 19:21:16
2001-05-07 19:21:16 +00:00
jbj
cb55d5c6cd
- fix: debugging message displays header keys ( #38454 ).
...
CVS patchset: 4747
CVS date: 2001/05/07 01:54:56
2001-05-07 01:54:56 +00:00
jbj
c3835f5ca0
- fix: specfile queries with BuildArch: ( #27589 ).
...
CVS patchset: 4746
CVS date: 2001/05/06 19:17:14
2001-05-06 19:17:14 +00:00
jbj
8f75bbc17d
- enough lclint annotations and fiddles already.
...
CVS patchset: 4741
CVS date: 2001/05/05 19:28:32
2001-05-05 19:28:32 +00:00
jbj
d78e027808
- still more boring lclint annotations and fiddles.
...
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
2001-05-03 21:00:18 +00:00
jbj
0ecdbba935
- yet more boring lclint annotations and fiddles.
...
CVS patchset: 4732
CVS date: 2001/04/30 22:32:22
2001-04-30 22:32:22 +00:00
jbj
81ac89f4e6
- more boring lclint annotations and fiddles.
...
CVS patchset: 4725
CVS date: 2001/04/29 22:43:01
2001-04-29 22:43:01 +00:00
jbj
c83cfd5ed5
- transaction iterator(s) need to run in reverse order on pure erasures.
...
- erasures not yet strict, warn & chug on unlink(2)/rmdir(2) failure.
CVS patchset: 4723
CVS date: 2001/04/29 16:08:55
2001-04-29 16:08:55 +00:00
jbj
3b5820c420
- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
...
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.
CVS patchset: 4721
CVS date: 2001/04/29 01:05:43
2001-04-29 01:05:43 +00:00
jbj
a9a1fd866c
- fix: ineeded count wrong for overlapped, created files.
...
CVS patchset: 4709
CVS date: 2001/04/26 20:39:52
2001-04-26 20:39:52 +00:00
jbj
bab8d207ce
- fix: readlink return value clobbered by header write.
...
CVS patchset: 4707
CVS date: 2001/04/25 15:07:53
2001-04-25 15:07:53 +00:00
jbj
a71985e5be
- regenerate rpm.8 man page from docbook glop (in max-rpm).
...
- lib/depends.c: diddle debugging messages.
CVS patchset: 4703
CVS date: 2001/04/23 20:56:59
2001-04-23 20:56:59 +00:00
jbj
389d253e62
Sync with rpm-4_0 branch.
...
CVS patchset: 4700
CVS date: 2001/04/21 06:02:09
2001-04-21 06:02:09 +00:00
jbj
8b20f15fbf
- portability: vsnprintf/snprintf wrappers for those without ( #34657 ).
...
CVS patchset: 4686
CVS date: 2001/04/17 19:29:12
2001-04-17 19:29:12 +00:00
jbj
63db127701
- fix: Fwrite's are optimized out by aggressive compiler(irix) ( #34711 ).
...
CVS patchset: 4684
CVS date: 2001/04/17 18:30:23
2001-04-17 18:30:23 +00:00
jbj
c360a8907b
- fix: s390 (and ppc?) could return CPIOERR_BAD_HEADER ( #28645 ).
...
CVS patchset: 4682
CVS date: 2001/04/17 18:23:58
2001-04-17 18:23:58 +00:00
jbj
f75a3f71ab
Doxygen annotations for config files.
...
Doxygen annotations for rpmdep section.
Add manifests for install modes.
CVS patchset: 4675
CVS date: 2001/04/10 12:36:45
2001-04-10 12:36:45 +00:00
jbj
999f9b1654
- fix: %_netsharedpath needs to look at basenames ( #26561 ).
...
- fix: --excludepath was broken (#24434 ).
CVS patchset: 4669
CVS date: 2001/04/03 20:41:09
2001-04-03 20:41:09 +00:00
jbj
3ee7efc408
casts to keep picky compilers happy ( #29992 ).
...
CVS patchset: 4665
CVS date: 2001/04/03 14:22:52
2001-04-03 14:22:52 +00:00
jbj
9e6924a604
- fix: --relocate missing trailing slash (#28874,#25876).
...
- fix: --excludedoc shouldn't create empty doc dir (#14531 ).
CVS patchset: 4663
CVS date: 2001/04/03 13:41:56
2001-04-03 13:41:56 +00:00
jbj
9f7e40a27c
- fix: AIX has sizeof(uint_16) != sizeof(mode_t) verify cast needed.
...
CVS patchset: 4657
CVS date: 2001/03/28 16:00:11
2001-03-28 16:00:11 +00:00
jbj
879d15a954
- fix: i18n tags in rpm-2.5.x had wrong offset/length ( #33478 ).
...
CVS patchset: 4655
CVS date: 2001/03/28 14:59:23
2001-03-28 14:59:23 +00:00
jbj
075607676d
- fix: parameterized macro segfault (Jakub Bogusz <qboosh@pld.org.pl>).
...
fix: off by 1 with rpmGlob when presented with multiple non-globbed items.
fix: rpmReadPackageManifest actually works now.
CVS patchset: 4653
CVS date: 2001/03/23 20:27:48
2001-03-23 20:27:48 +00:00
jbj
1975b49aa7
- python: strip header regions during unload.
...
- add -g to optflags in per-platform config.
- permit confgure/compile with db3-3.2.9.
- permit manifest files as args to query/verify modes.
CVS patchset: 4649
CVS date: 2001/03/22 23:39:01
2001-03-22 23:39:01 +00:00
jbj
84705dbb76
- add %exclude support (i.e. "everything but") to %files.
...
(Michael (Micksa) Slade" <micksa@knobbits.org>)
CVS patchset: 4637
CVS date: 2001/03/16 16:33:25
2001-03-16 16:33:25 +00:00
jbj
b787b64393
- add cpuid asm voodoo to detect athlon processors.
...
CVS patchset: 4634
CVS date: 2001/03/15 18:55:06
2001-03-15 18:55:06 +00:00
jbj
99b6c6fa03
Bump version to 4.1.
...
Invert logic for db1, don't build by default.
CVS patchset: 4629
CVS date: 2001/03/15 17:54:55
2001-03-15 17:54:55 +00:00
jbj
c19f683677
Fix rpmvercmp for case (should return +1, #21392 )
...
rpmvercmp("1.a", "1.")
CVS patchset: 4626
CVS date: 2001/03/15 14:14:22
2001-03-15 14:14:22 +00:00
jbj
fc920e3ac3
Update to doxygen-1.2.6 configuration.
...
Add manual files to Doxfile.in.
lclint annotations.
CVS patchset: 4624
CVS date: 2001/03/14 23:09:09
2001-03-14 23:09:09 +00:00
jbj
59b4f98dc5
Sync with rpm-4.0.2 final.
...
CVS patchset: 4621
CVS date: 2001/03/14 18:07:47
2001-03-14 18:07:47 +00:00
jbj
302144c26c
Re-yacc getdate.c.
...
CVS patchset: 4608
CVS date: 2001/03/04 17:31:48
2001-03-04 17:31:48 +00:00
jbj
918ec7bea0
Swipe from cvs sources.
...
CVS patchset: 4607
CVS date: 2001/03/04 17:26:37
2001-03-04 17:26:37 +00:00
jbj
2ad94143e2
Eliminate setFileOwners() and installSources().
...
Resurrect source installs.
CVS patchset: 4606
CVS date: 2001/03/04 17:15:56
2001-03-04 17:15:56 +00:00
jbj
a77bec0d7e
- Add btree indexes for Dirnames, Requireversion, Provideversion, Insttaltid,
...
and Removetid.
- Add per-script and per-trigger control options and flags.
- Add --apply option and flags.
CVS patchset: 4605
CVS date: 2001/03/04 15:34:53
2001-03-04 15:34:53 +00:00
jbj
1a93da4acc
Implement PSM_NOTIFY.
...
CVS patchset: 4604
CVS date: 2001/03/03 21:35:41
2001-03-03 21:35:41 +00:00
jbj
df79f7143e
Remove dead code.
...
CVS patchset: 4603
CVS date: 2001/03/03 20:45:47
2001-03-03 20:45:47 +00:00
jbj
acbbbb19f7
Move fileActionString to fsm.c where it belongs.
...
Open repackage output fd in PSM_INIT, not PSM_PROCESS.
Factor common chroot calls to beginning of PSM_PRE and end of PSM_POST.
Factor common rpmdbCountPackages to top of PSM_INIT.
CVS patchset: 4602
CVS date: 2001/03/03 20:41:37
2001-03-03 20:41:37 +00:00
jbj
665c365a12
Add top level, external enties to psmStage().
...
CVS patchset: 4596
CVS date: 2001/03/02 19:47:45
2001-03-02 19:47:45 +00:00
jbj
e403840dba
Still more functionality into psmStage().
...
CVS patchset: 4595
CVS date: 2001/03/02 17:27:30
2001-03-02 17:27:30 +00:00
jbj
9e4608369a
More functionality into psmStage.
...
CVS patchset: 4594
CVS date: 2001/03/02 16:17:03
2001-03-02 16:17:03 +00:00
jbj
b7bbb4018a
More functionality in psmStage.
...
CVS patchset: 4593
CVS date: 2001/03/02 15:03:29
2001-03-02 15:03:29 +00:00
jbj
3e63d3b768
Flesh out init/pre/process/post/fini PSM stages.
...
CVS patchset: 4592
CVS date: 2001/03/02 08:28:18
2001-03-02 08:28:18 +00:00
jbj
d955c25e48
More functionality in psmStage.
...
CVS patchset: 4591
CVS date: 2001/03/01 18:28:11
2001-03-01 18:28:11 +00:00
jbj
d69ac19b05
Move more functionality into psmStage.
...
CVS patchset: 4590
CVS date: 2001/03/01 17:04:27
2001-03-01 17:04:27 +00:00
jbj
83cb34ccab
More data merged into PSM_t.
...
CVS patchset: 4589
CVS date: 2001/03/01 16:01:16
2001-03-01 16:01:16 +00:00
jbj
6b5f9032a4
Add trigggers to psm.
...
CVS patchset: 4588
CVS date: 2001/02/28 16:41:19
2001-02-28 16:41:19 +00:00
jbj
cc646a80a1
Merge scriptlet handling into psm.c, remove from API.
...
CVS patchset: 4587
CVS date: 2001/02/28 15:49:23
2001-02-28 15:49:23 +00:00
jbj
15941e5fea
Move more args into PSM_t.
...
CVS patchset: 4586
CVS date: 2001/02/28 13:59:29
2001-02-28 13:59:29 +00:00
jbj
770f01d2d4
Start wiring PSM_t throughout.
...
CVS patchset: 4585
CVS date: 2001/02/27 23:12:30
2001-02-27 23:12:30 +00:00
jbj
56bea19bfc
Sketch out PSM_t for package state machine.
...
CVS patchset: 4584
CVS date: 2001/02/27 22:08:53
2001-02-27 22:08:53 +00:00
jbj
74f16c53a3
Handle non-string tag indices correctly.
...
Sync with rpm-4.0.2.
CVS patchset: 4583
CVS date: 2001/02/27 21:30:27
2001-02-27 21:30:27 +00:00
jbj
f64f273405
Add fflush ( #24319 ).
...
CVS patchset: 4565
CVS date: 2001/02/21 19:14:35
2001-02-21 19:14:35 +00:00
jbj
c56c829d28
1st crack at --repackage.
...
CVS patchset: 4557
CVS date: 2001/02/19 17:12:21
2001-02-19 17:12:21 +00:00
jbj
8f99e61fc7
Merge changes from rpm-4.0.2.
...
Add iterators and reverse flag so that erase transactions can run backwards.
CVS patchset: 4556
CVS date: 2001/02/17 17:53:21
2001-02-17 17:53:21 +00:00
jbj
85a84a6826
Add rpmRC return code type for the usual 0/1/2 codes.
...
Add RPMRC_BADSIZE to deal with packages changing size after repackaging.
CVS patchset: 4550
CVS date: 2001/02/12 19:02:15
2001-02-12 19:02:15 +00:00
jbj
bc348ac49c
Rename RPMSIG_* signature types to RPMSIGTYPE_* to avoid confusion.
...
Remove dead code.
CVS patchset: 4549
CVS date: 2001/02/12 16:33:08
2001-02-12 16:33:08 +00:00
jbj
2be9ecf0eb
1st stab at --repackage.
...
CVS patchset: 4545
CVS date: 2001/02/11 22:02:29
2001-02-11 22:02:29 +00:00
jbj
eccb6f66fc
Reorganize sources before implementing --repackage.
...
CVS patchset: 4543
CVS date: 2001/02/10 16:47:40
2001-02-10 16:47:40 +00:00
jbj
d304bac9be
- fix: diddle exit code for attempted installs of non-packages ( #26850 ).
...
- python binding diddles to reduce installer memory footprint by
delayed loading of file info.
CVS patchset: 4542
CVS date: 2001/02/10 14:35:55
2001-02-10 14:35:55 +00:00
jbj
c7cbf952ab
Orphans.
...
CVS patchset: 4538
CVS date: 2001/02/09 20:59:08
2001-02-09 20:59:08 +00:00
jbj
d991f23281
fix: make a copy of retrieved header before loading.
...
handle out-of-sync hardlinks as sub-state, don't save the file name.
fix: on build, was broke, add --fsmdebug as well.
CVS patchset: 4537
CVS date: 2001/02/09 20:58:37
2001-02-09 20:58:37 +00:00
jbj
2f9fa168c8
Remove DEAD code.
...
CVS patchset: 4531
CVS date: 2001/02/08 23:05:05
2001-02-08 23:05:05 +00:00
jbj
cc3e5fd3db
Move state machine drivers into fsmStage.
...
Off to fix build's yet again.
CVS patchset: 4530
CVS date: 2001/02/08 21:50:38
2001-02-08 21:50:38 +00:00
jbj
2f2295bf07
Asynchronous commit of installed files.
...
fix: set file mtimes from package.
fix: insure that notify is not called at start of commit.
CVS patchset: 4523
CVS date: 2001/02/06 22:39:56
2001-02-06 22:39:56 +00:00
jbj
29045caf73
fix: links weren't renamed correctly.
...
Use hge/hfd vectors most everywhere.
CVS patchset: 4522
CVS date: 2001/02/05 22:22:43
2001-02-05 22:22:43 +00:00
jbj
62ff3348fd
Remove XFA_SKIPPING from iterator.
...
Make sure that external stages are properly postponed.
CVS patchset: 4521
CVS date: 2001/02/05 17:55:34
2001-02-05 17:55:34 +00:00
jbj
1b9cbfcc5e
revert speedup on commit if same perms, there's more to do.
...
lclint annotations.
CVS patchset: 4520
CVS date: 2001/02/04 22:15:30
2001-02-04 22:15:30 +00:00
jbj
a0a2c1d83c
Rip out remnants of cpio file mapping.
...
CVS patchset: 4519
CVS date: 2001/02/04 18:15:21
2001-02-04 18:15:21 +00:00
jbj
b9726c19b2
Merged build/install in file state machine.
...
CVS patchset: 4518
CVS date: 2001/02/04 02:04:09
2001-02-04 02:04:09 +00:00
jbj
53279c4ac3
fix: db1 dbopen() check found in libc not auto-configuring forrectly.
...
Add fsm->goal to start unifying install/erase/build state machines.
Use rpmio syscall rpc where available.
FSM_BUILD has explicit init/fini stages.
FSM_LSTAT done once in init.
FSM_MKDIRS done in init.
CVS patchset: 4517
CVS date: 2001/02/03 20:07:39
2001-02-03 20:07:39 +00:00
jbj
2816871692
Add I/O to file state machine.
...
CVS patchset: 4516
CVS date: 2001/02/03 14:30:57
2001-02-03 14:30:57 +00:00
jbj
e3d5247174
Use fsm for building.
...
CVS patchset: 4514
CVS date: 2001/02/02 15:04:44
2001-02-02 15:04:44 +00:00
jbj
1363a3339d
fix: grrr, post increment off by 1 iterator.
...
CVS patchset: 4513
CVS date: 2001/02/02 00:07:49
2001-02-02 00:07:49 +00:00
jbj
ac1a303d16
Handle links correctly, wotta PITA. Now to clean up and find the double free ...
...
CVS patchset: 4512
CVS date: 2001/02/01 20:19:17
2001-02-01 20:19:17 +00:00
jbj
618184c4bf
Simple install file state machine.
...
CVS patchset: 4510
CVS date: 2001/01/30 23:38:39
2001-01-30 23:38:39 +00:00
jbj
d8b44a5d65
Commit to install file state machine.
...
CVS patchset: 4509
CVS date: 2001/01/29 22:53:48
2001-01-29 22:53:48 +00:00
jbj
f684f63a72
Apply suffixes only to files.
...
Bundle dev/symlink/fifo/sock into hdr state machine.
CVS patchset: 4505
CVS date: 2001/01/28 19:12:04
2001-01-28 19:12:04 +00:00
jbj
c225a48edf
Orphan.
...
CVS patchset: 4504
CVS date: 2001/01/28 02:14:29
2001-01-28 02:14:29 +00:00
jbj
3aeae6be32
Payload state machine, with commit and undo.
...
CVS patchset: 4503
CVS date: 2001/01/28 02:13:48
2001-01-28 02:13:48 +00:00
jbj
971e0ea6fc
1st crack at a payload unpack state machine.
...
CVS patchset: 4502
CVS date: 2001/01/27 17:42:24
2001-01-27 17:42:24 +00:00
jbj
c825d02369
lclint annotations.
...
CVS patchset: 4500
CVS date: 2001/01/26 17:06:09
2001-01-26 17:06:09 +00:00
jbj
dd94329f0c
- remove support for v1 src rpm's.
...
- reposition callbacks with ts/fi in cpio payload layer.
CVS patchset: 4498
CVS date: 2001/01/25 20:26:35
2001-01-25 20:26:35 +00:00
jbj
5ae2e10e9e
Isolate install/erase actions.
...
Start wrapping src rpm installs in a transaction.
CVS patchset: 4497
CVS date: 2001/01/25 12:58:03
2001-01-25 12:58:03 +00:00
jbj
f0853f6843
Add rollback.h, 1st attempt to rationalize TFI_t.
...
CVS patchset: 4496
CVS date: 2001/01/24 21:35:52
2001-01-24 21:35:52 +00:00
jbj
de35e20bf1
Rip XFI_t from install.
...
CVS patchset: 4495
CVS date: 2001/01/24 15:58:35
2001-01-24 15:58:35 +00:00
jbj
8b7b911a17
Rip out cpioFileMap.
...
CVS patchset: 4493
CVS date: 2001/01/23 23:03:28
2001-01-23 23:03:28 +00:00
jbj
7eb91a5152
Expose loadFi/freeFi.
...
Add elements to TFI_t that will be needed by install/remove.
CVS patchset: 4489
CVS date: 2001/01/23 16:07:28
2001-01-23 16:07:28 +00:00
jbj
15439b46c0
Make cpio maps totally opaque.
...
CVS patchset: 4487
CVS date: 2001/01/22 19:11:19
2001-01-22 19:11:19 +00:00
jbj
4a0c7b16a8
Create.
...
CVS patchset: 4480
CVS date: 2001/01/21 23:48:56
2001-01-21 23:48:56 +00:00
jbj
ccdf2e17d8
Make cpio mappings opaque.
...
CVS patchset: 4479
CVS date: 2001/01/21 23:48:09
2001-01-21 23:48:09 +00:00
jbj
d07437babb
- cpio mappings carry dirname/basename, not absolute path.
...
CVS patchset: 4474
CVS date: 2001/01/21 15:43:32
2001-01-21 15:43:32 +00:00
jbj
b8694daf7c
ewt's cpio hack reverted.
...
CVS patchset: 4470
CVS date: 2001/01/19 19:31:11
2001-01-19 19:31:11 +00:00
jbj
ab794ac6f7
Typo.
...
CVS patchset: 4469
CVS date: 2001/01/19 17:21:55
2001-01-19 17:21:55 +00:00
jbj
8b64adc812
ewt's cpio hack.
...
CVS patchset: 4468
CVS date: 2001/01/19 16:49:14
2001-01-19 16:49:14 +00:00
jbj
1f44236f64
- fix: insure that %lang scopes over hard links correctly.
...
- fix: rpmCleanPath was nibbling at .. in macrofiles incorrectly.
CVS patchset: 4464
CVS date: 2001/01/19 01:38:55
2001-01-19 01:38:55 +00:00
jbj
bfa1698ec3
- 1st crack at Mandrake specific per-platform macros.
...
CVS patchset: 4459
CVS date: 2001/01/17 16:00:36
2001-01-17 16:00:36 +00:00
jbj
45f7994691
Re-add successor line.
...
CVS patchset: 4457
CVS date: 2001/01/16 21:54:59
2001-01-16 21:54:59 +00:00
jbj
0eb282dc4e
- tsort prefers presentation order.
...
CVS patchset: 4456
CVS date: 2001/01/16 17:33:59
2001-01-16 17:33:59 +00:00
jbj
888f65b07d
fix: segfault through python bindings with fd to non-package ( #24089 ).
...
CVS patchset: 4453
CVS date: 2001/01/16 14:10:21
2001-01-16 14:10:21 +00:00
jbj
c74cc1df1c
- fix: extra newline in many error messages ( #23947 ).
...
- fix: rpm -Va with db1 needs per-iterator, not per-index, offset.
- add install/remove transaction id tags.
CVS patchset: 4441
CVS date: 2001/01/15 23:09:42
2001-01-15 23:09:42 +00:00
jbj
d229ea2db0
- fix the hack.
...
CVS patchset: 4436
CVS date: 2001/01/13 17:39:54
2001-01-13 17:39:54 +00:00
jbj
5b06c479a5
- hack: permit installer to determine package ordering using 1000003 tag.
...
CVS patchset: 4435
CVS date: 2001/01/12 21:47:49
2001-01-12 21:47:49 +00:00
jbj
67aa235565
- fix: find-requires.perl needed update ( #23450 ).
...
CVS patchset: 4424
CVS date: 2001/01/10 22:19:55
2001-01-10 22:19:55 +00:00
jbj
dcbf7492f2
- successors from tsort are processed in presentation order.
...
CVS patchset: 4423
CVS date: 2001/01/10 20:42:32
2001-01-10 20:42:32 +00:00
jbj
903a070e8d
- fix: digests on input FD_t dinna work.
...
- fix: remove rebuilddb debugging leakage.
CVS patchset: 4421
CVS date: 2001/01/09 21:46:11
2001-01-09 21:46:11 +00:00
jbj
424793073c
- tsorted packages processed in successor count order.
...
- fix: resurrect --excludepath (#19666 ).
CVS patchset: 4418
CVS date: 2001/01/09 04:07:49
2001-01-09 04:07:49 +00:00
jbj
8f18329bf9
- fix: 3 packages from Red Hat 5.2 had bogus %verifyscript tag.
...
CVS patchset: 4413
CVS date: 2001/01/05 21:04:45
2001-01-05 21:04:45 +00:00
jbj
e8d4139949
solaris awk hase not (foo ? ... : ...) construct.
...
CVS patchset: 4407
CVS date: 2001/01/03 20:28:29
2001-01-03 20:28:29 +00:00
jbj
23fcf67cb5
- fix: avoid locale issues with strcasecmp/strncasecmp ( #23199 ).
...
- remove almost all explicit uses of stderr in rpmlib using rpmError().
CVS patchset: 4406
CVS date: 2001/01/03 20:19:27
2001-01-03 20:19:27 +00:00
jbj
6aafc439da
doxygen annotations for popt.
...
CVS patchset: 4401
CVS date: 2001/01/02 17:19:34
2001-01-02 17:19:34 +00:00
jbj
836b60f018
fix: qva->qva_sourceCnt check now 2 rather than 1 with nested tables.
...
CVS patchset: 4398
CVS date: 2001/01/02 00:10:45
2001-01-02 00:10:45 +00:00
jbj
fa3e119a83
- use popt autohelp for rpm helper binaries.
...
CVS patchset: 4396
CVS date: 2001/01/01 23:14:47
2001-01-01 23:14:47 +00:00
jbj
e5899585ad
- (non-linux): move stubs.c to rpmio ( #21132 ).
...
- (python): bind initdb (#20988 ).
CVS patchset: 4389
CVS date: 2000/12/30 19:01:23
2000-12-30 19:01:23 +00:00
jbj
06e45e2923
- fix: avoid FAT and other brain-dead file systems that have not inodes.
...
- fix: hack around alpha mis-compilation signature problems.
- rpmmodule.c(handleDbResult): return empty list when nothing matches.
CVS patchset: 4385
CVS date: 2000/12/29 21:44:37
2000-12-29 21:44:37 +00:00
jbj
f84fd1900d
- use malloc'ed buffer for large queries.
...
CVS patchset: 4377
CVS date: 2000/12/27 21:19:53
2000-12-27 21:19:53 +00:00
jbj
6fca2e5c39
Fix --queryformat.
...
CVS patchset: 4374
CVS date: 2000/12/26 19:06:54
2000-12-26 19:06:54 +00:00
jbj
190b5df369
- send query/verify output through rpmlog().
...
- resurrect rpmErrorSetCallback() and rpmErrorString().
CVS patchset: 4372
CVS date: 2000/12/26 13:10:18
2000-12-26 13:10:18 +00:00
jbj
fdd2f17c56
- fix: removed headers from db need a headerCopy().
...
CVS patchset: 4368
CVS date: 2000/12/21 21:07:41
2000-12-21 21:07:41 +00:00
jbj
c339c239b9
- immutable headers, once installed by rpm3, need to lose immutablity.
...
CVS patchset: 4365
CVS date: 2000/12/21 17:14:53
2000-12-21 17:14:53 +00:00
jbj
b874299aab
- whiteout mozilla loop for 7.1.
...
fix the auto %_tmppath creation.
CVS patchset: 4363
CVS date: 2000/12/20 21:08:18
2000-12-20 21:08:18 +00:00
jbj
e6161a7cb3
Sync with rpm-4_0 branch.
...
CVS patchset: 4361
CVS date: 2000/12/19 23:22:00
2000-12-19 23:22:00 +00:00
jbj
22be517f73
- identify install scriptlet failures with the name of the scriptlet.
...
- handle install chroot's identically throughout the install process.
- add rpmlib(HeaderLoadSortsTags) for tracking header regions "just in case".
- create _tmppath on the fly if not present.
CVS patchset: 4355
CVS date: 2000/12/19 17:43:56
2000-12-19 17:43:56 +00:00
jbj
73ee3b2e86
Move assertion to avoid false failure.
...
CVS patchset: 4352
CVS date: 2000/12/17 19:55:31
2000-12-17 19:55:31 +00:00
jbj
c52fc1329b
Spelling correction.
...
CVS patchset: 4349
CVS date: 2000/12/17 01:16:14
2000-12-17 01:16:14 +00:00
jbj
92c9e1fc77
- fix: segfault on build path, ignore deleted drips.
...
- fix: synthesized callbacks for removed packages have not a pkgkey.
CVS patchset: 4346
CVS date: 2000/12/14 22:14:29
2000-12-14 22:14:29 +00:00
jbj
66671b9701
- fix: (transaction.c) assume file state normal if tag is missing.
...
- fix: failed signature read headerFree segfault.
- fix: revert ALPHA_LOSSAGE, breaks 6.2/i386.
CVS patchset: 4343
CVS date: 2000/12/13 22:00:33
2000-12-13 22:00:33 +00:00
jbj
db32ab6bea
Sync with rpm-4_0 branch.
...
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
2000-12-12 20:03:45 +00:00
jbj
0d5ea21985
Sync with rpm-4_0 branch.
...
CVS patchset: 4315
CVS date: 2000/12/04 00:55:17
2000-12-04 00:55:17 +00:00
jbj
2885f536b6
Bring header reggions mods back to top of stack.
...
CVS patchset: 4305
CVS date: 2000/12/02 21:53:44
2000-12-02 21:53:44 +00:00
jbj
339e76efe0
- md5 sums are little endian (no swap) so big endian needs the swap.
...
CVS patchset: 4285
CVS date: 2000/11/16 22:55:10
2000-11-16 22:55:10 +00:00
jbj
2d09e6c9da
Sanity.
...
CVS patchset: 4276
CVS date: 2000/11/15 20:38:58
2000-11-15 20:38:58 +00:00
jbj
5a3203d485
- fix: segfault on exit of "rpm -qp --qf '%{#fsnames}' pkg" ( #20595 ).
...
CVS patchset: 4268
CVS date: 2000/11/15 15:28:46
2000-11-15 15:28:46 +00:00
jbj
0f33f87d1c
- fix: duplicate headerFree() on installBinaryPackage() error return.
...
CVS patchset: 4263
CVS date: 2000/11/12 19:33:07
2000-11-12 19:33:07 +00:00
jbj
44e5913dae
- fine-grained Requires, remove install PreReq's from Requires db.
...
CVS patchset: 4258
CVS date: 2000/11/12 11:11:49
2000-11-12 11:11:49 +00:00
jbj
97e479677f
Sanity.
...
CVS patchset: 4257
CVS date: 2000/11/12 10:02:54
2000-11-12 10:02:54 +00:00
jbj
38b66577e6
- add region marker as RPM_BIN_TYPE in packages and database.
...
- fix: don't headerCopy() relocateable packages if not relocating.
CVS patchset: 4246
CVS date: 2000/11/08 17:07:01
2000-11-08 17:07:01 +00:00
jbj
636e4b3771
- load headers as single contiguous region.
...
CVS patchset: 4244
CVS date: 2000/11/07 13:16:43
2000-11-07 13:16:43 +00:00
jbj
6a0534e5d9
Return unsatisfied immediately if "rpmlib(" dependency fails to match.
...
CVS patchset: 4241
CVS date: 2000/10/31 18:24:05
2000-10-31 18:24:05 +00:00
jbj
865ba80f1e
- add rpmGetRpmlibProvides() to retrieve rpmlib(...) provides
...
"Pawel A. Gajda" <mis@k2.net.pl>.
CVS patchset: 4236
CVS date: 2000/10/31 16:53:14
2000-10-31 16:53:14 +00:00
jbj
95acf8ebaf
- better item/task progress bars <rodrigob@conectiva.com.br>.
...
CVS patchset: 4232
CVS date: 2000/10/28 18:45:58
2000-10-28 18:45:58 +00:00
jbj
3ad99fcba5
- add cscope/ctags (Rodrigo Barbosa<rodrigob@conectiva.com.br>).
...
- remove getMacroBody() from rpmio API.
- hide libio lossage in prototype, not API.
lclint annotations.
CVS patchset: 4230
CVS date: 2000/10/28 17:16:25
2000-10-28 17:16:25 +00:00
jbj
b8f90f10cb
- fix: runTriggers was not adding countCorrection.
...
CVS patchset: 4229
CVS date: 2000/10/27 21:45:14
2000-10-27 21:45:14 +00:00
jbj
3e1e23bf06
- verify MD5 sums of payload files when unpacking archive.
...
CVS patchset: 4225
CVS date: 2000/10/24 13:46:51
2000-10-24 13:46:51 +00:00
jbj
03efb685f1
- pass rpmTransactionSet, not elements, to installBinaryPackage et al.
...
CVS patchset: 4221
CVS date: 2000/10/20 22:04:27
2000-10-20 22:04:27 +00:00
jbj
8699b8a123
- detect rdonly linux file systems.
...
- check available inodes as well as blocks on mounted file systems.
CVS patchset: 4220
CVS date: 2000/10/20 16:47:00
2000-10-20 16:47:00 +00:00
jbj
68ff87361d
doxygen annotations.
...
- fix: more (possible) xstrdup side effects.
CVS patchset: 4186
CVS date: 2000/09/29 19:50:29
2000-09-29 19:50:29 +00:00
jbj
39b81b5174
- order packages using tsort, clipping PreReq:'s in dependency loops.
...
CVS patchset: 4177
CVS date: 2000/09/26 18:04:12
2000-09-26 18:04:12 +00:00
jbj
750614f58f
doxygen annotations.
...
CVS patchset: 4173
CVS date: 2000/09/26 17:21:51
2000-09-26 17:21:51 +00:00
jbj
6a2f555121
rpmdb.c: Mark dead code, replaced with per-iterator cursors.
...
CVS patchset: 4172
CVS date: 2000/09/26 17:21:12
2000-09-26 17:21:12 +00:00
jbj
2108d886ba
Revert rpmrc excision for now.
...
rpmio: add rpmlog.c/rpmlog.h.
CVS patchset: 4163
CVS date: 2000/09/14 11:42:48
2000-09-14 11:42:48 +00:00
jbj
f2efc7263e
- unify rpmError and rpmMessge interfaces through rpmlog.
...
- collect and display rpm build error messages at end of build.
CVS patchset: 4149
CVS date: 2000/09/01 21:15:40
2000-09-01 21:15:40 +00:00
jbj
679aca04c8
Doxygen annotations.
...
CVS patchset: 4147
CVS date: 2000/08/30 17:47:53
2000-08-30 17:47:53 +00:00
jbj
c7b24dad58
- translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).
...
Doxygen annotations.
CVS patchset: 4146
CVS date: 2000/08/29 22:04:33
2000-08-29 22:04:33 +00:00
jbj
c0424122dd
- rip out rpm{get,put}text, use getpo.sh and specspo instead.
...
CVS patchset: 4139
CVS date: 2000/08/28 01:50:45
2000-08-28 01:50:45 +00:00
jbj
8c10883fdd
Doxygen annotations.
...
CVS patchset: 4138
CVS date: 2000/08/28 01:08:57
2000-08-28 01:08:57 +00:00