summaryrefslogtreecommitdiff
path: root/lib/poptI.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-20Rip the remains of --aid and --nosuggest, except for the callbackPanu Matilainen1-8/+0
- Only thing ever using RPMTRANS_FLAG_ADDINDEPS and _NOSUGGEST was rpm itself, and we haven't had an in-rpm implementation for this since the broken "rpmdb as repo format" was ripped out in 4.6.0. We dont need these special flags to support the operation anyway, IF somebody sets the solve callback, it will be used and the one implementing the callback gets to deal with whether those bits should be added to transaction or not.
2010-12-20Rip the stillborn, broken apply/commit transaction gooPanu Matilainen1-5/+0
- This was beginnings of something ten years ago, and that something was long since abandoned. These never did anything useful that --justdb/--noscripts wouldn't do.
2010-11-15Hide obsolete --nomd5 switches from help outputPanu Matilainen1-1/+1
- We dont want new users to pick up using these old switches but preserving functionality for backwards compatibility for now
2010-11-09Hide --aid and --nosuggest switches for nowPanu Matilainen1-3/+4
- These have been no-ops since rpm 4.6, but might resurface one day so leaving them around but out of sight...
2010-11-09Lose useless --fileconflicts cli-switchPanu Matilainen1-3/+0
- We always detect file conflicts (duh!) unless forced, no need for this
2010-09-03Eliminate unused rootdir member from rpmInstallArgumentsPanu Matilainen1-1/+0
2010-09-03Use the common rpmcliQueryFlags for signature verify options in rpm cli tooPanu Matilainen1-20/+0
- Technically this changes the rpmcliQuery() and rpmcliVerify() API in the sense that we no longer honor the qva->qva_flags for the --nosignature and others, but we assume anybody using these (as if anybody was using the "cli" API) uses rpmcliInit() which takes care of these common bits... shrug. - Ditch ancient and hidden --nopgp --nogpg switches along with the dishwater which are simply alias to --nosignature. - Eliminate now unused qva_flags from rpmInstallArguments (along with a double vsflags goo from rpmgraph)
2010-06-22Add plugin calling supportSteve Lawrence1-0/+4
This patch adds a simple plugin system that makes simple problems easy to solve, and difficult problems, such as SELinux, possible. When the transaction gets to the point where a collection action should occur, it expands a macro of the form %__collection_<collection name> to get the path to a plugin and any additional options. The plugin is dlopen'ed, and the appropriate function is called in the plugin, with the additional arguments passed in. This also adds a --nocollections option to disable performing Collection actions.
2009-09-07Add noreturn annotations to argerror() helper functionsPanu Matilainen1-0/+1
2009-03-02Fix documentation and help for the md5 -> filedigest moveJindrich Novy1-2/+2
- add aliases for obsolete {RPM}VERIFY_MD5 flags to not to break API
2009-02-27Add md5->filedigest aliases (rhbz#487597)Jindrich Novy1-4/+6
- add %verify(nofiledigest) as %verify(nomd5) file attribute alias - reference digests as digests not checksums - make old md5 related symbols obsolete and use newer reference - update man page accordingly
2009-02-16-Use installInterfaceFlags in place of eraseInterfaceFlags. -Moved ↵Rakesh Pandit1-2/+1
transaction part from rpmInstall and rpmErase to rpmcliTransaction.
2008-03-17Remove repackage support to finish off with rollbackPanu Matilainen1-6/+0
The two main classes of rollback/repackage need are 1) Gimme back the previous version, this broke XYZ on my system. This is better handled by downgrading to the previous version of original package instead of repackaged garbage. We should maintain real package (version) history somewhere. 2) Upgrade messed up my configuration. Instead of repackaging everything we could be far more intelligent wrt config files, stick them into real version control or at least have hooks to do so. RPMCALLBACK_REPACKAGE_* and RPMTRANS_FLAG_REPACKAGE definitions left around to avoid needlessly breaking everybodys callbacks (for now)
2008-03-17Remove rollback supportPanu Matilainen1-19/+0
- not possible to do reliably within rpm - effort is better wasted on investigating fs-level snapshots, which is way beyond rpm scope except for hooks to interact with the snapshot mechanism to communicate beginning/end of transaction and such
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-1/+1
- adjust include paths accordingly
2007-11-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-1/+1
2007-10-28Include "rpmcli.h" instead of <rpmcli.h>.Ralf Corsépius1-1/+1
2007-09-20Rip out unused anaconda-related hacksPanu Matilainen1-4/+0
2007-09-11Remove splint tags.Ralf Corsépius1-30/+4
2007-02-22Re-enable fileconflictsPaul Nasrat1-2/+1
This patch re-enables fileconflicts by default (rh#151609).
2004-10-09Flush changes from rpm-4_3 branch.jbj1-1/+6
CVS patchset: 7440 CVS date: 2004/10/09 19:40:09
2004-07-05- bump rpm and popt versions to insure "newer".jbj1-2/+19
- 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
2003-12-30- spelling corrections (#112728).jbj1-1/+1
CVS patchset: 7047 CVS date: 2003/12/30 13:14:49
2003-12-25Add lsetfilecon to install modes.jbj1-0/+7
CVS patchset: 7006 CVS date: 2003/12/25 23:00:44
2003-01-25- permit anaconda to choose "presentation order".jbj1-0/+4
CVS patchset: 6028 CVS date: 2003/01/25 20:59:52
2002-12-24Rescusitate doxygen file manifest.jbj1-34/+11
CVS patchset: 5968 CVS date: 2002/12/24 17:06:35
2002-08-13- supply transitive closure for CLI packages from rpmdb-redhat database.jbj1-0/+4
CVS patchset: 5624 CVS date: 2002/08/13 16:36:44
2002-07-29- update trpm.jbj1-8/+24
- 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-28- popt: display sub-table options only once on --usage.jbj1-3/+64
- wire --nosignatures et al as common options, rework CLI options. CVS patchset: 5575 CVS date: 2002/07/28 00:41:15
2002-07-24- verify signatures/digests retrieved through rpmdbNextIterator().jbj1-0/+2
- imbue %ghost with missingok attribute with --verify (#68933). CVS patchset: 5568 CVS date: 2002/07/24 16:21:23
2002-07-02Add boundsread annotations throughout, enable +bounds checking.jbj1-2/+0
Start narrowing the scope of bounds annotations by adding more annotations. CVS patchset: 5537 CVS date: 2002/07/02 23:54:35
2002-07-02add (disabled for now) dependency check to rpmgraph.jbj1-6/+6
splint and gettext fiddles. CVS patchset: 5536 CVS date: 2002/07/02 13:16:50
2002-06-30- warn only once for each NOKEY/UNTRUSTED key id.jbj1-2/+2
- 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-28- fix: multiple relocations (#67596).jbj1-4/+7
- add --build/--program-prefix, delete libtoolize, from %configure. CVS patchset: 5529 CVS date: 2002/06/28 13:04:38
2002-06-22Factor bounds checking annotations into source code.jbj1-0/+2
CVS patchset: 5521 CVS date: 2002/06/22 18:51:56
2002-06-19Annotate incondefs in source code.jbj1-0/+2
CVS patchset: 5509 CVS date: 2002/06/19 18:52:46
2002-06-10Document file attribute opt outs in verify mode.jbj1-2/+2
Document --nodigest/--nosignature/--nosuggest. CVS patchset: 5479 CVS date: 2002/06/10 13:07:32
2002-05-01- attempt to make peace with automake-1.6.1, autoconf-2.53.jbj1-4/+0
- rip out two layers of dbN gook, internal Berkeley db is here to stay. CVS patchset: 5412 CVS date: 2002/05/01 22:13:00
2002-04-14- use build time to choose one of multiple alternative suggestions.jbj1-4/+8
- add --nosuggests to disable suggested resolutions. - splint fiddles. CVS patchset: 5406 CVS date: 2002/04/14 21:48:44
2002-03-13Pass ts and args to rpmInstall() and rpmErase().jbj1-0/+5
CVS patchset: 5355 CVS date: 2002/03/13 15:06:07
2002-01-28Avoid accidental collisions with POPT_BIT_SET for flags in popt tables.jbj1-6/+16
CVS patchset: 5277 CVS date: 2002/01/28 15:18:18
2001-10-16Factor -type problems into explicit code annotations.jbj1-2/+4
CVS patchset: 5117 CVS date: 2001/10/16 17:42:18
2001-10-15Explicit branchstate annotations.jbj1-0/+3
CVS patchset: 5113 CVS date: 2001/10/15 17:53:34
2001-10-15lclint fiddles to annotate globals.jbj1-2/+5
CVS patchset: 5106 CVS date: 2001/10/15 03:22:10
2001-10-13- ratchet up to lclint "strict" level.jbj1-0/+4
CVS patchset: 5104 CVS date: 2001/10/13 19:35:58
2001-07-10- package version now configureable, default v3.jbj1-4/+5
- 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-06- expose rpmShowProgress() and rpmVerifyDigest() in rpmcli.h.jbj1-0/+16
- 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-06-12- remove rpmrc Provides: Yet Again, use virtual packages.jbj1-1/+0
- dump cursor debugging wrappers. - rpm --verify can disable rpmFileAttr checks. CVS patchset: 4856 CVS date: 2001/06/12 17:06:47
2001-06-08- fix: QUERY_FOR_LIST file count clobbered.jbj1-0/+197
- 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