Panu Matilainen
bb61fa21e8
Remove bogus const from rpmInstallSource*() parameters
...
- spec and cookie are malloced and need to be freed by caller
- unconst various other rpmQVK arguments & friends, no api exists to
free them so caller needs to handle anyway
2007-12-18 11:56:54 +02:00
Panu Matilainen
9ce13e09ef
Switch to <rpm/foo.h> style for public headers
...
- adjust include paths accordingly
2007-12-08 14:02:32 +02:00
Panu Matilainen
89527785bb
Move logging related macros rpmlog, adjust includes
2007-11-30 23:08:38 +02:00
Ralf Corsépius
c78e4767c2
Expand private include file names to be relative to $(top_srcdir)
2007-11-23 11:48:18 +01:00
Ralf Corsépius
abeea80a38
Use #include <x.h> syntax to include public headers.
2007-11-23 06:46:19 +01:00
Panu Matilainen
b6a1ee9bb7
Make "rpmbuild -bb --quiet" quiet as should be
...
(without this patch, the option is simply ignored in rpmcliAllPoptTable)
Also rhbz#124300
Patch from Pascal Rigaux
2007-11-13 13:09:01 +02:00
Ralf Corsépius
14d434925b
Include "rpmbuild.h" instead of <rpmbuild.h>.
2007-10-28 06:49:54 +01:00
Ralf Corsépius
cff3ba0882
Include "rpmcli.h" instead of <rpmcli.h>.
2007-10-28 06:47:14 +01:00
Ralf Corsépius
519977112e
Stop messing around with triple-arg'ed main.
2007-10-27 06:19:26 +02:00
Panu Matilainen
56366e3890
Replace all uses of RPMMESS_NORMAL with RPMLOG_NOTICE
2007-10-09 14:50:42 +03:00
Panu Matilainen
cd5956633e
Silence compiler whining from bad popt argv definition
2007-09-21 13:09:18 +03:00
Panu Matilainen
a6e75c7595
Rename freeFilesystems() to rpmFreeFilesystems() for namespacing
2007-09-20 15:22:59 +03:00
Ralf Corsépius
90688278db
Change main() to using char *argv[].
2007-09-18 05:53:37 +02:00
Panu Matilainen
66dcee4a67
Hide db index handling and rpmdb details from the API to internal header
2007-09-17 13:17:07 +03:00
Ralf Corsépius
7484efff8e
Apply poptReadDefaultConfig iff RPM_USES_POPTREADDEFAULTCONFIG is set.
2007-09-17 11:28:27 +02:00
Panu Matilainen
cc68353128
Remove url caching, don't need it...
2007-09-17 10:31:18 +03:00
Ralf Corsépius
a5a65af57e
Remove splint tags.
2007-09-11 19:04:11 +02:00
Panu Matilainen
1535dc8bb7
Remove a couple remaing LCLINT ifdefs
2007-09-03 21:55:26 +03:00
Panu Matilainen
9b91c4a2fc
Fix permissions
2007-08-08 15:18:52 +03:00
Paul Nasrat
e71dd23825
Check rpmtsInitDB return value. Also patches rpm.c, which
...
actually is not used anymore.
Patch from OpenSuSE
2007-04-16 13:21:22 +01:00
Paul Nasrat
332cb7d273
Allow "--ignoresize" for erase operations.
...
Patch from OpenSuSE
2007-04-16 13:15:10 +01:00
jbj
1a42537124
- permit RSA/{sha1,sha256,sha384,sha512} signature verification.
...
CVS patchset: 7805
CVS date: 2005/03/13 01:56:50
2005-03-13 01:56:50 +00:00
jbj
217c588baa
Build on macosx.
...
CVS patchset: 7701
CVS date: 2005/01/17 23:58:09
2005-01-17 23:58:09 +00:00
jbj
910c42099e
- add --delsign to purge packages of digital signatures.
...
CVS patchset: 7569
CVS date: 2004/11/10 00:50:41
2004-11-10 00:50:41 +00:00
jbj
0f86e55aa4
Wire ftsOpts globally.
...
CVS patchset: 7510
CVS date: 2004/10/25 15:26:51
2004-10-25 15:26:51 +00:00
jbj
7c25d1ffae
Add undocumented --hdlist and --ftswalk query/verify sources.
...
Bugs:
* @todo hdlist should use argv to open system hdlist path.
CVS patchset: 7508
CVS date: 2004/10/25 01:10:13
2004-10-25 01:10:13 +00:00
jbj
07444608bc
- bump rpm and popt versions to insure "newer".
...
- change default behavior to resolve file conflicts as LIFO.
- add --fileconflicts to recover rpm traditional behavior.
- prefer elf64 over elf32 files, everywhere and always (#126853 ).
CVS patchset: 7354
CVS date: 2004/07/05 15:24:17
2004-07-05 15:24:17 +00:00
jbj
9c5529608e
- don't use error string after gzclose (Dmitry V. Levin).
...
Spliddles for rpmio, drill h_errno all the way through.
CVS patchset: 6826
CVS date: 2003/05/08 20:39:29
2003-05-08 20:39:29 +00:00
jbj
c63f257a7e
- fix: clean relocation path for --prefix=/.
...
- python: permit stdout/stderr to be remapped to install.log.
CVS patchset: 6031
CVS date: 2003/01/28 17:17:26
2003-01-28 17:17:26 +00:00
jbj
de2448bccd
Exit non-zero with bogus args.
...
CVS patchset: 6021
CVS date: 2003/01/22 12:28:41
2003-01-22 12:28:41 +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
1f6cdca2d5
- add --enable-posixmutexes when configuring on linux.
...
- add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities.
- include srpm pkgid in binary headers (#71460 ).
- add %check scriptlet to run after %install (#64137 ).
CVS patchset: 5957
CVS date: 2002/12/21 20:37:37
2002-12-21 20:37:37 +00:00
jbj
e7f55c20f5
- add -I/usr/include/nptl, Conflicts: kernel <= 2.4.19.
...
CVS patchset: 5950
CVS date: 2002/12/19 23:41:52
2002-12-19 23:41:52 +00:00
jbj
fc990ef48b
- build with external elfutils (preferred), if available.
...
CVS patchset: 5900
CVS date: 2002/11/29 21:35:53
2002-11-29 21:35:53 +00:00
jbj
a489262365
- fix: option conflict error message ( #77373 ).
...
CVS patchset: 5872
CVS date: 2002/11/16 15:06:17
2002-11-16 15:06:17 +00:00
jbj
e99358b753
- fix: permit build with --disable-nls ( #76258 ).
...
- add error message on glob failure (#76012 ).
CVS patchset: 5821
CVS date: 2002/10/26 14:43:43
2002-10-26 14:43:43 +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
00375ca2bf
Remove dbi_tear_down, now that rpmdb's are closed on signals.
...
lclint fiddles.
CVS patchset: 5596
CVS date: 2002/08/03 22:31:39
2002-08-03 22:31:39 +00:00
jbj
8ab4727f8c
- make --querytags a common option, fix errant regex ( #70135 ).
...
- db3: increase mpool and cachesize, compile w/o --enable-debug.
CVS patchset: 5584
CVS date: 2002/07/31 13:11:25
2002-07-31 13:11:25 +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
670ab1c845
- popt: display sub-table options only once on --usage.
...
- wire --nosignatures et al as common options, rework CLI options.
CVS patchset: 5575
CVS date: 2002/07/28 00:41:15
2002-07-28 00:41:15 +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
e5fb770e7d
Add boundsread annotations throughout, enable +bounds checking.
...
Start narrowing the scope of bounds annotations by adding more annotations.
CVS patchset: 5537
CVS date: 2002/07/02 23:54:35
2002-07-02 23:54:35 +00:00
jbj
77076c7c8d
add (disabled for now) dependency check to rpmgraph.
...
splint and gettext fiddles.
CVS patchset: 5536
CVS date: 2002/07/02 13:16:50
2002-07-02 13:16:50 +00:00
jbj
8c4991e9d5
- warn only once for each NOKEY/UNTRUSTED key id.
...
- factor common options into table, add rpmcliInit() and rpmcliFini().
- add preliminary rpmgraph(8) and rpmcache(8) executables to rpm-devel.
CVS patchset: 5535
CVS date: 2002/06/30 22:47:32
2002-06-30 22:47:32 +00:00
jbj
ef1b1d0d2f
- fix: multiple relocations ( #67596 ).
...
- add --build/--program-prefix, delete libtoolize, from %configure.
CVS patchset: 5529
CVS date: 2002/06/28 13:04:38
2002-06-28 13:04:38 +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
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
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
721d88ed7f
Sanity.
...
CVS patchset: 5382
CVS date: 2002/04/08 22:52:45
2002-04-08 22:52:45 +00:00
jbj
976cf8dec7
Pass ts and args to rpmInstall() and rpmErase().
...
CVS patchset: 5355
CVS date: 2002/03/13 15:06:07
2002-03-13 15:06:07 +00:00
jbj
865ec50f94
- permit --dbpath and --root with signature (i.e. --import) modes.
...
CVS patchset: 5353
CVS date: 2002/03/12 20:28:30
2002-03-12 20:28:30 +00:00
jbj
c6449e9c44
- add header DSA signature.
...
CVS patchset: 5345
CVS date: 2002/03/06 23:17:31
2002-03-06 23:17:31 +00:00
jbj
d83891c743
Sync with 4.0.4, splint clean.
...
CVS patchset: 5309
CVS date: 2002/02/09 22:39:29
2002-02-09 22:39:29 +00:00
jbj
696c5d9d67
rollback changes from 4.0.4.
...
CVS patchset: 5297
CVS date: 2002/02/04 16:53:51
2002-02-04 16:53:51 +00:00
jbj
81d60b4706
Sync with rpm-4.0.4 rollbacks.
...
CVS patchset: 5293
CVS date: 2002/02/02 22:45:41
2002-02-02 22:45:41 +00:00
jbj
64e5b924aa
popt PAIN, sigh.
...
CVS patchset: 5283
CVS date: 2002/01/28 16:16:27
2002-01-28 16:16:27 +00:00
jbj
6ab5541324
Avoid accidental collisions with POPT_BIT_SET for flags in popt tables.
...
CVS patchset: 5277
CVS date: 2002/01/28 15:18:18
2002-01-28 15:18:18 +00:00
jbj
358848088d
- depends.c: rpmDepSet is (almost) opaque, move to rpmds.[ch].
...
CVS patchset: 5152
CVS date: 2001/11/03 02:34:15
2001-11-03 02:34:15 +00:00
jbj
c1d367a094
- transaction sets cerated in cli main.
...
- no-brainer refcounts for ts object.
CVS patchset: 5136
CVS date: 2001/10/27 22:31:10
2001-10-27 22:31:10 +00:00
jbj
7402ce1546
- legacy signatures always checked where possible on package read.
...
- wire transactions through rpmcli build modes.
- lazy rpmdb open/close through transaction methods (mostly anyways).
- no-brainer refcounts for rpmdb object.
- check added header against transaction set, replace if newer.
CVS patchset: 5135
CVS date: 2001/10/27 20:09:20
2001-10-27 20:09:20 +00:00
jbj
4a1a5e8148
- wire transactions through rpmcli install/erase modes.
...
- legacy signatures always checked on package read.
CVS patchset: 5134
CVS date: 2001/10/26 04:16:19
2001-10-26 04:16:19 +00:00
jbj
f03b462b1e
- legacy signatures always checked on -qp and -Vp.
...
CVS patchset: 5133
CVS date: 2001/10/25 01:36:32
2001-10-25 01:36:32 +00:00
jbj
cdeb78fb1a
- wire transactions through rpmcli query/verify modes.
...
CVS patchset: 5132
CVS date: 2001/10/24 13:48:55
2001-10-24 13:48:55 +00:00
jbj
72f92dd744
- wire transactions through rpmcli signature modes.
...
CVS patchset: 5131
CVS date: 2001/10/23 20:52:51
2001-10-23 20:52:51 +00:00
jbj
3b820b2d53
- generate an rpm header on the fly for imported pubkeys.
...
CVS patchset: 5130
CVS date: 2001/10/23 16:48:20
2001-10-23 16:48:20 +00:00
jbj
d57a29baac
Converging on lclint-3.0.17 strict level.
...
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
2001-10-17 16:43:36 +00:00
jbj
96a3f7a55d
Factor -type problems into explicit code annotations.
...
CVS patchset: 5117
CVS date: 2001/10/16 17:42:18
2001-10-16 17:42:18 +00:00
jbj
72471f2e54
Explicit branchstate annotations.
...
CVS patchset: 5113
CVS date: 2001/10/15 17:53:34
2001-10-15 17:53:34 +00:00
jbj
d8dc44f363
lclint fiddles to annotate globals.
...
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
2001-10-15 03:22:10 +00:00
jbj
4b67d7621c
More lclint annotations.
...
CVS patchset: 5105
CVS date: 2001/10/13 22:01:38
2001-10-13 22:01:38 +00:00
jbj
525f4cb8b1
- ratchet up to lclint "strict" level.
...
CVS patchset: 5104
CVS date: 2001/10/13 19:35:58
2001-10-13 19:35:58 +00:00
jbj
9d555b6216
Move to lclint-3.0.0.15, revisit and clean up annotations.
...
intl/: Add gettext orphans.
popt/intl/: Add gettext orphans.
beecrypt: Add beecrypt repository.
rpmio/tdigest.c: Add beecrypt digest checks.
CVS patchset: 5077
CVS date: 2001/09/24 21:53:14
2001-09-24 21:53:14 +00:00
jbj
1eef0782f6
- lclint-3.0.0.15 fiddles.
...
CVS patchset: 5067
CVS date: 2001/09/21 15:07:11
2001-09-21 15:07:11 +00:00
jbj
c6fba63aca
- fix: --noscripts is another multimode option.
...
- add tmpdir to configure db3 tmpdir into chroot tree.
- permit lazy db opens within chroot.
- fix: diddle dbenv path to accomodate backing store reopen in chroot.
CVS patchset: 4990
CVS date: 2001/07/28 00:33:07
2001-07-28 00:33:07 +00:00
jbj
3a2ddf1551
- fix: 4 memory leaks eliminated.
...
CVS patchset: 4960
CVS date: 2001/07/19 21:14:05
2001-07-19 21:14:05 +00:00
jbj
bad8c7a9b2
- fix: _smp_flags macro broken.
...
- python: bind rhnUnload differently.
- fix: rescusitate --querytags.
- fix: short aliases broken (#49213 ).
CVS patchset: 4949
CVS date: 2001/07/17 03:03:14
2001-07-17 03:03:14 +00:00
jbj
cfa46ad5cb
- fix: scope multi-mode options like --nodeps correctly ( #48825 ).
...
CVS patchset: 4940
CVS date: 2001/07/13 13:44:26
2001-07-13 13:44:26 +00:00
jbj
3bbe7a7fc4
- unlink all __db.nnn files before 1st db open.
...
CVS patchset: 4932
CVS date: 2001/07/11 00:07:46
2001-07-11 00:07:46 +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
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
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
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
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
7bf9296288
- default to dbenv with mpool, --rebuilddb with nofsync is much faster.
...
CVS patchset: 4849
CVS date: 2001/06/06 19:57:12
2001-06-06 19:57:12 +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
2a4452a1f9
- fix: popt exec doesn't add '--', --target et al no longer need '='.
...
- fix: popt consume-next-arg "!#:+" w/o side effect (#41956 ).
CVS patchset: 4817
CVS date: 2001/05/29 20:01:28
2001-05-29 20:01:28 +00:00
jbj
61cd63ab8e
- eliminate db-1.85 and db-2.x configuration.
...
- fix: popt arg sanity checks broken, optarg != optArg.
- fix: popt range checks on floats/doubles broken.
- popt: return POPT_ERROR_ERRNO on config open/read/close failure.
CVS patchset: 4815
CVS date: 2001/05/29 15:03:35
2001-05-29 15:03:35 +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
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