niemeyer
73260d956c
- Implemented support for internal Lua scripts.
...
- Implemented %pretrans and %posttrans script slots.
Changed files:
Makefile.am configure.ac build/pack.c build/parseScript.c
build/parseSpec.c build/rpmbuild.h build/rpmspec.h
lib/Makefile.am lib/psm.c lib/rpmlib.h lib/rpmlibprov.c
lib/rpmts.c lib/rpmts.h lib/transaction.c
Added files:
lib/rpmlua.c lib/rpmlua.h lua/*
CVS patchset: 7175
CVS date: 2004/03/16 21:58:25
2004-03-16 21:58:25 +00:00
jbj
11507f2cf4
- add sparcv8 and enable elf32/elf64 Zon sparc64 ( #117302 ).
...
- fix: --querybynumber looped.
CVS patchset: 7161
CVS date: 2004/03/10 23:01:46
2004-03-10 23:01:46 +00:00
joden
d7db215d7f
initial autorollback feature.
...
CVS patchset: 7149
CVS date: 2004/03/05 18:22:25
2004-03-05 18:22:25 +00:00
niemeyer
0f828b95fc
Creating transaction locking scheme based on fcntl file locking
...
during writing operations. For now, this system will wait forever
for the lock to be released. This will ensure that current
applications will get the necessary protection without breaking
unexpectedly.
Modified Files:
lib/Makefile.am lib/rpmts.c lib/transaction.c
Added Files:
lib/rpmlock.c lib/rpmlock.h
CVS patchset: 7130
CVS date: 2004/02/25 19:54:58
2004-02-25 19:54:58 +00:00
jbj
cf60d72565
add --with-selinux, move selinux stubs to system.h.
...
CVS patchset: 7063
CVS date: 2004/01/05 14:09:47
2004-01-05 14:09:47 +00:00
jbj
210183cc69
Add lsetfilecon to install modes.
...
CVS patchset: 7006
CVS date: 2003/12/25 23:00:44
2003-12-25 23:00:44 +00:00
jbj
f09888fc1a
Verify file contexts from file security context patterns.
...
CVS patchset: 7005
CVS date: 2003/12/25 19:02:01
2003-12-25 19:02:01 +00:00
jbj
5e20d90422
splint fiddles, no warnings.
...
CVS patchset: 6961
CVS date: 2003/12/01 19:15:38
2003-12-01 19:15:38 +00:00
jbj
3dcfeb3f9a
Merge changes from rpm-4.2.1 development.
...
CVS patchset: 6959
CVS date: 2003/11/23 19:50:52
2003-11-23 19:50:52 +00:00
jbj
85a5a1cfe3
Sanity.
...
CVS patchset: 6918
CVS date: 2003/06/24 19:29:36
2003-06-24 19:29:36 +00:00
jbj
783219a832
fix: prevent segfault if malicious server sends 1 GB of data through ftpNLST.
...
fix: rpmal could segfault under obscure conditions.
Use array, not individual structures, for rpmsw{Enter,Exit} timestamps.
CVS patchset: 6735
CVS date: 2003/04/08 21:42:55
2003-04-08 21:42:55 +00:00
jbj
f60ec855de
Calibrated stopwatch using rdtsc.
...
Probes for digest/signature and rpmdb.
CVS patchset: 6734
CVS date: 2003/04/07 12:05:35
2003-04-07 12:05:35 +00:00
jbj
0bb715a528
Accumulate compress/uncompress times.
...
CVS patchset: 6733
CVS date: 2003/04/04 22:15:58
2003-04-04 22:15:58 +00:00
jbj
5984579078
Use rpmswEnter/rpmswExit throughout.
...
CVS patchset: 6730
CVS date: 2003/04/02 23:26:06
2003-04-02 23:26:06 +00:00
jbj
fc0a8f7bc9
Add transaction stop watch points.
...
CVS patchset: 6718
CVS date: 2003/03/25 23:51:24
2003-03-25 23:51:24 +00:00
jbj
51e7f7a5e9
- fix: memory leak (85522).
...
CVS patchset: 6656
CVS date: 2003/03/06 22:50:04
2003-03-06 22:50:04 +00:00
jbj
e8cf6cbb05
Sanity.
...
CVS patchset: 6652
CVS date: 2003/03/05 00:13:11
2003-03-05 00:13:11 +00:00
jbj
8441baccd2
Display statfs(2) returns for debugging.
...
CVS patchset: 6027
CVS date: 2003/01/25 18:10:30
2003-01-25 18:10:30 +00:00
jbj
7e716b70fb
splint fiddles.
...
CVS patchset: 6023
CVS date: 2003/01/23 20:23:24
2003-01-23 20:23:24 +00:00
jbj
d6ea2fbf22
Splint fiddles.
...
CVS patchset: 6018
CVS date: 2003/01/20 23:52:04
2003-01-20 23:52:04 +00:00
jbj
f49f99df00
- duplicate package checks with arch/os checks if colored.
...
- file conflict checks with colors.
CVS patchset: 6013
CVS date: 2003/01/17 17:43:04
2003-01-17 17:43:04 +00:00
jbj
39cbc98d69
1st crack at colored installs.
...
CVS patchset: 5989
CVS date: 2002/12/31 01:23:03
2002-12-31 01:23:03 +00:00
jbj
2119e50b90
- fix builddir relative inclusion, add %%pubkeys to rpm header.
...
- fix: package relocations were broken (#75057 ).
CVS patchset: 5978
CVS date: 2002/12/28 00:24:14
2002-12-28 00:24:14 +00:00
jbj
b7129ca898
splint fiddles.
...
CVS patchset: 5962
CVS date: 2002/12/24 04:04:20
2002-12-24 04:04:20 +00:00
jbj
b63b4a5d12
- simplify specfile query linkage loop.
...
- drill rpmts into parseSpec(), carrying Spec along.
CVS patchset: 5958
CVS date: 2002/12/22 02:11:05
2002-12-22 02:11:05 +00:00
jbj
02f9006732
- fix: segfault with --checksig, plug memory leak ( #72455 ).
...
- rpm-4.1 release candidate.
CVS patchset: 5684
CVS date: 2002/08/27 20:50:21
2002-08-27 20:50:21 +00:00
jbj
f5a546f580
- merge signature returns into rpmRC.
...
- python: exceptions on NOKEY/NOTTRUSTED.
CVS patchset: 5667
CVS date: 2002/08/23 21:01:59
2002-08-23 21:01:59 +00:00
jbj
46d1fa7527
- fix: add epoch to "already installed" check.
...
CVS patchset: 5650
CVS date: 2002/08/20 14:56:37
2002-08-20 14:56:37 +00:00
jbj
ae8428475c
- add --with-efence to configure, check install/upgrade with efence.
...
- beecrypt: short hex string conversion overflows target buffer.
- mark "successors only" packages in transaction.
- reap scriptlets with SIGCHLD handler.
- rename PSM_t to rpmpsm, add methods and refcounts to manage.
- remove %%configure/%%makeinstall from arch-os/macros, default is OK.
- don't export MALLOC_CHECK_ to scriptlets.
- squeaky clean memory leak checking.
- always malloc rpmfi structure, refcounts are correct in rpmtsRun().
- skip redundant /sbin/ldconfig scripts on upgrade (if possible).
CVS patchset: 5645
CVS date: 2002/08/19 22:27:44
2002-08-19 22:27:44 +00:00
jbj
c7881d8017
- python: explicit method to set transFlags.
...
- python: stuff package name into a string for repackage callbacks.
- rollback: re-create empty transaction set for multiple rollbacks.
- fix: %%basename typo (Dmitry V. Levin<ldv@altlinux.org>).
- fix: queryformat segfaults (Dmitry V. Levin<ldv@altlinux.org>).
CVS patchset: 5639
CVS date: 2002/08/15 18:50:46
2002-08-15 18:50:46 +00:00
jbj
9b29055f42
- supply transitive closure for CLI packages from rpmdb-redhat database.
...
CVS patchset: 5624
CVS date: 2002/08/13 16:36:44
2002-08-13 16:36:44 +00:00
jbj
7937158c01
- python: add (optional) ts.check() callback.
...
CVS patchset: 5619
CVS date: 2002/08/09 22:25:04
2002-08-09 22:25:04 +00:00
jbj
035cf961d5
- add bitmask for precise control of signature/digest verification.
...
CVS patchset: 5604
CVS date: 2002/08/06 01:41:44
2002-08-06 01:41:44 +00:00
jbj
c8502fbab5
- update trpm.
...
- factor all mode-specific options into mode-specific tables.
- treat an unspecified epoch as Epoch: 0 everywhere.
CVS patchset: 5578
CVS date: 2002/07/29 23:06:06
2002-07-29 23:06:06 +00:00
jbj
5a1ebaccd5
- python: don't segfault in ts.GetKeys() on erased packages.
...
resurrect build modes.
add undocumented debugging options.
CVS patchset: 5577
CVS date: 2002/07/28 14:52:33
2002-07-28 14:52:33 +00:00
jbj
ede1f445e0
- verify signatures/digests retrieved through rpmdbNextIterator().
...
- imbue %ghost with missingok attribute with --verify (#68933 ).
CVS patchset: 5568
CVS date: 2002/07/24 16:21:23
2002-07-24 16:21:23 +00:00
jbj
6af194ed8e
- add methods to make signature handling opaque wrto rpmts.
...
CVS patchset: 5566
CVS date: 2002/07/21 22:06:19
2002-07-21 22:06:19 +00:00
jbj
6c4025a55b
up2date functional on rpm-python-4.1 bindings.
...
CVS patchset: 5558
CVS date: 2002/07/18 21:42:18
2002-07-18 21:42:18 +00:00
jbj
261b4a2ecb
- install rpmal.h and rpmhash.h, implicit rpmps.hinclude, for now.
...
- revert headerFree/headerLink/headerUnlink debugging.
CVS patchset: 5550
CVS date: 2002/07/13 19:08:51
2002-07-13 19:08:51 +00:00
jbj
241fad1287
Propagate splint-3.0.1.7 close(2) internalState annotation throughout.
...
CVS patchset: 5542
CVS date: 2002/07/08 14:21:26
2002-07-08 14:21:26 +00:00
jbj
68b42bb762
- update rpmcache.8.
...
CVS patchset: 5540
CVS date: 2002/07/05 16:51:57
2002-07-05 16:51:57 +00:00
jbj
37a10dd3bc
- use rpmdb-redhat for suggestions if/when configured ( #67430 ).
...
CVS patchset: 5526
CVS date: 2002/06/27 16:37:15
2002-06-27 16:37:15 +00:00
jbj
05cb73a7ee
Factor bounds checking annotations into source code.
...
CVS patchset: 5521
CVS date: 2002/06/22 18:51:56
2002-06-22 18:51:56 +00:00
jbj
49658e0fff
Annotate incondefs in source code.
...
CVS patchset: 5509
CVS date: 2002/06/19 18:52:46
2002-06-19 18:52:46 +00:00
jbj
93ae345321
- fix: separate existence and number checks for problems found.
...
CVS patchset: 5481
CVS date: 2002/06/12 14:52:59
2002-06-12 14:52:59 +00:00
jbj
8d1ff9feac
Lclint fiddles.
...
CVS patchset: 5468
CVS date: 2002/06/05 22:07:55
2002-06-05 22:07:55 +00:00
jbj
2395582ab0
- python: portability fiddles ( #54350 ).
...
- check inodes (but not blocks) on FAT file systems (#64256 ).
CVS patchset: 5465
CVS date: 2002/06/05 20:26:57
2002-06-05 20:26:57 +00:00
jbj
23bbe266cc
Add bindings for rpmte and FD_t.
...
CVS patchset: 5451
CVS date: 2002/05/27 21:40:08
2002-05-27 21:40:08 +00:00
jbj
259bb824cc
Add rpmal bindings, Grand Renaming to rpmalFoo().
...
CVS patchset: 5450
CVS date: 2002/05/27 18:12:12
2002-05-27 18:12:12 +00:00
jbj
aeb8ed2318
Create rpmts-py.c.
...
CVS patchset: 5446
CVS date: 2002/05/23 19:42:23
2002-05-23 19:42:23 +00:00
jbj
386882db7a
- fix: synthesize unpacking progress callbacks for packages w/o files.
...
CVS patchset: 5440
CVS date: 2002/05/19 23:37:24
2002-05-19 23:37:24 +00:00
jbj
2126e4ad09
- Grand Renaming of rpm data types.
...
CVS patchset: 5439
CVS date: 2002/05/19 18:42:25
2002-05-19 18:42:25 +00:00
jbj
38385c8d63
Transactions made increasingly opaque.
...
CVS patchset: 5438
CVS date: 2002/05/17 21:08:39
2002-05-17 21:08:39 +00:00
jbj
076a6e29c5
- opaque (well mostly) rpmTransactionSet using methods.
...
CVS patchset: 5437
CVS date: 2002/05/16 16:55:21
2002-05-16 16:55:21 +00:00
jbj
b4c604e75c
- plug most install mode leaks.
...
CVS patchset: 5424
CVS date: 2002/05/07 01:07:41
2002-05-07 01:07:41 +00:00
jbj
2b83d36c08
- eliminate db1 support.
...
- fix: rpmdb iterator memory leak in python bindings.
- fix: include <sys/time.h> for 6.2 python modules.
- remove vestiges of mipseb arch (#62408 ).
CVS patchset: 5414
CVS date: 2002/05/02 22:16:30
2002-05-02 22:16:30 +00:00
jbj
b463db44dc
- use build time to choose one of multiple alternative suggestions.
...
- add --nosuggests to disable suggested resolutions.
- splint fiddles.
CVS patchset: 5406
CVS date: 2002/04/14 21:48:44
2002-04-14 21:48:44 +00:00
jbj
e3c57cf71e
- merge conflicts into problems, handle as transaction set variable.
...
CVS patchset: 5402
CVS date: 2002/04/13 18:52:18
2002-04-13 18:52:18 +00:00
jbj
46bbc20b32
- use rpmdb-redhat to suggest dependency resolution(s).
...
CVS patchset: 5401
CVS date: 2002/04/13 01:28:20
2002-04-13 01:28:20 +00:00
jbj
2404e8d918
- rescusitate --rebuild.
...
CVS patchset: 5389
CVS date: 2002/04/11 16:55:19
2002-04-11 16:55:19 +00:00
jbj
c1d98e55b2
- *really* dump signature header immutable region.
...
CVS patchset: 5362
CVS date: 2002/03/17 15:49:09
2002-03-17 15:49:09 +00:00
jbj
54945a10c1
Factor notify callback function/arg onto per-ts method.
...
CVS patchset: 5357
CVS date: 2002/03/13 20:01:50
2002-03-13 20:01:50 +00:00
jbj
fb845b7ee7
Split transaction set handling into separate file, prepatory to
...
devising some toy access methods.
CVS patchset: 5356
CVS date: 2002/03/13 17:59:49
2002-03-13 17:59:49 +00:00