summaryrefslogtreecommitdiff
path: root/rpmpopt.in
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression in "--sign" option of rpmbuild command (rhbz:#1239039)Lubos Kardos2015-07-141-1/+1
| | | | Regression from 0bce5fcf270711a2e077fba0fb7c5979ea007eb5
* Add deprecation warning to description of "--addsign"Lubos Kardos2015-03-271-1/+1
|
* Fix --last sorting with non-en localesDenis Ollier2015-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some locales (e.g: french), sort interprets the space character as a thousands separator. As a result, digit(s) at the beginning of package names (e.g: '0' for 0ad), are merged with package installation timestamp and the output of rpm -qa --last is wrong. For instance, the following list: 1398777401 0ad-0.0.15-3.fc20.x86_64 1397901236 kernel-3.13.10-200.fc20.x86_64 1399198174 kernel-3.14.2-200.fc20.x86_64 is sorted like this: 1398777401 0ad-0.0.15-3.fc20.x86_64 1399198174 kernel-3.14.2-200.fc20.x86_64 1397901236 kernel-3.13.10-200.fc20.x86_64 instead of: 1399198174 kernel-3.14.2-200.fc20.x86_64 1398777401 0ad-0.0.15-3.fc20.x86_64 1397901236 kernel-3.13.10-200.fc20.x86_64 This patch ensures that the space character is not interpreted as a thousands separator anymore by setting the environment variable LC_NUMERIC to C locale for numeric sorts.
* Add --recommends, --suggests, --supplements and --enhances aliases to rpm -qFlorian Festi2014-02-191-0/+13
|
* Unbreak --setperms (RhBug:881835)Panu Matilainen2012-11-301-1/+1
| | | | | | | | | - Fixes a regression introduced in rpm >= 4.10 caused by query format simplification (loss of zero padding support), in commit 1f1e5e88a1f6c60cf2d11014d809000e97a63aad. - 'chmod' command doesn't need zero padding, just remove the formatting. In fact we shouldn't be passing the entire mode to it but just the permission bits, but fortunately chmod isn't too picky here.
* Don't call "rpm --addsign" if rpmbuild didn't create RPMs.Tim Landscheidt2012-11-011-1/+1
| | | | Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
* Show arch in --last output too (RhBug:768516)Panu Matilainen2012-01-121-1/+1
|
* Show all interpreter arguments on --scripts query (ticket #847)Panu Matilainen2011-09-121-14/+14
| | | | | | | | | | | | - Previously any arguments to interpreter were invisible unless you happened to know that RPMTAG_FOOPROG are actually string arrays despite their type showing plain string, and queried as arrays. This makes all the arguments for all scriptlets supporting interpreter arguments visible on --scripts query and also serves as an example on how to properly query them.i - Perhaps worth noting is the exact formatting of the query: "(using[ %{PRETRANSPROG}]" instead of the more typical style of "(using [%{PRETRANSPROG} ]" to avoid extra trailing blanks.
* Show possible %verifyscript interpreter similarly to other scriptletsPanu Matilainen2011-09-121-1/+3
|
* Use the new FOO_NEVRS extensions for --requires etc popt aliasesPanu Matilainen2011-09-061-8/+8
| | | | | - Makes the popt foobar somewhat saner and fixes RhBug:717534 and RhBug:735801 while at it.
* Fix rpmsign --key-id popt alias typoPanu Matilainen2011-01-101-1/+1
|
* Remove absolute paths from our popt exec aliases now that we canPanu Matilainen2010-11-151-10/+10
| | | | | | - poptExecPath() pointing to meaningful place allows removal of these. - Make test-suite rely on the --initdb exec alias so we catch out if anything here breaks
* Kill broken --rebuilddbpath popt aliasPanu Matilainen2010-11-091-2/+0
| | | | | - It's been broken because of a typo for the last ten years and nobody noticed, doesn't seem like a particularly useful switch...
* Move --dbpath into common rpm popt options tablePanu Matilainen2010-11-091-5/+0
| | | | | | - This ensures its available in all our executables without adding umphteen copies into rpmpopt (after the cli splits, this was missing in eg rpmdb executable...)
* Lose the remaining dbapi references in code + configurationPanu Matilainen2010-11-041-11/+0
| | | | | | - Changing db_api to db_ver to force breakage on anything using the value, db_ver containing the BDB major version just to put something in the error messages where the dbapi version used to be.
* Add --requires etc popt aliases for rpmspec tooPanu Matilainen2010-10-121-0/+17
| | | | | | - In addition to the regular dependencies, add --buildrequires and --buildconflicts which are just --srpm --requires and --srpm --conflicts in reality
* Add cli switches to override signing key and digest algorithmPanu Matilainen2010-10-041-0/+7
|
* Lift specfile query out of main rpm(query) into separate binaryPanu Matilainen2010-10-041-0/+1
| | | | | | - Avoids having to link /bin/rpm with librpmbuild and everything it might bring in (eg libmagic) which are not needed for core operation. - Minimally preserve backwards compatibility with popt exec alias
* Rip IAM_RPMDB, ie --initdb, --rebuilddb etc modes out of rpmqv.c and librpmPanu Matilainen2010-09-031-0/+4
| | | | | | | - Add popt exec aliases to rpmdb for backwards compatibility - Change test-suite to use 'rpmdb --initdb' instead of 'rpm --initdb' as popt exec aliases with absolute paths dont play very well with the test-suite, duh...
* Rip IAM_RPMK, ie --import and --checksig modes out of rpmqv.c + librpmPanu Matilainen2010-09-031-0/+3
| | | | - Add popt exec aliases to rpmkeys for backwards compatibility
* Rrrriiip the addsign/resign/delsign bits out of rpmqv.c + friendsPanu Matilainen2010-09-031-0/+4
| | | | - Add popt exec aliases to rpmsign for backwards compatibility (dejavu...)
* Eliminate silly and unused timecheck feature from (lib)rpmbuildPanu Matilainen2010-09-011-1/+0
| | | | | | - This was broken for years without anybody complaining, should be safe to conclude nobody will miss it later either. And if somebody misses it, this is a job for rpmlint really.
* Remove signing support from (lib)rpmbuildPanu Matilainen2010-08-201-1/+4
| | | | | | | | | | | | | | | | - Signing is better done in an environment completely separated from the process of actually building packages. This is how its generally done anyway by distros, this change just forces the issue. - While signing on build seems handy and saves some io-churn, this is very insecure as your precious secret passphrase remains unencrypted in memory for the entire duration of the build where it's accessible to whatever happens to be building. This change doesn't affect fix the issue of unencrypted passphrase residing in memory and potentially getting swapped out, it only limits the exposure to the actual signing process which isn't subject to unknown scripts poking around. - Minimally preserve rpmbuild's --sign functionality via popt --pipe hack to call rpm --addsign when build completes
* Add Epoch, Architecture and BugURL to rpm -qi and fix alignment (RhBug:575499)Jindrich Novy2010-03-241-6/+16
|
* Make --httpproxy and friends work again (RhBug:529214)Panu Matilainen2009-10-221-4/+4
| | | | | | | | | - macro fiddling to pass the macros set by --httpproxy etc popt aliases to the url helper - ftp proxy and http proxy control the same thing (http proxy) now to keep things simple - while at it, add %__urlhelper_localopts for local customization needs without having to override the entire __urlhelperopts macro
* Output dependency type on --requires etc queries if verbose (RhBug:528342)Panu Matilainen2009-10-121-4/+4
|
* Use %{_rpmconfigdir} throughout configuration macros and suchPanu Matilainen2008-11-221-1/+1
|
* Add --filecaps popt alias for looking at file capabilitiesPanu Matilainen2008-10-291-0/+3
| | | | - doesn't need much as the capabilities are stored in human readable format
* Argh, the tag is LONGSIZE, not LARGESIZEPanu Matilainen2008-06-261-1/+1
|
* Make --info work on large packages tooPanu Matilainen2008-06-261-1/+1
|
* --buildpolicy is rpmbuild, not rpm, aliasPanu Matilainen2008-06-251-5/+5
|
* Kill the million duplicate aliases in rpmpoptPanu Matilainen2008-06-251-288/+0
|
* Eliminate build-related aliases on "rpm"Panu Matilainen2008-06-251-9/+0
| | | | | - "rpm" for building packages hasn't worked in ~six years, time to clean up the junk from rpmpopt
* Eliminate already commented out build mode aliases for rpmPanu Matilainen2008-06-241-23/+0
| | | | - these haven't been enabled in six years and not coming back...
* Eliminate rpmb aliases from rpmpoptPanu Matilainen2008-06-241-15/+0
|
* Remove ancient RH-commentPanu Matilainen2007-09-191-3/+1
|
* Remove --redhatprovides / --redhatrequires popt aliasesPanu Matilainen2007-09-191-6/+0
| | | | | - highly vendor specific - not even RH uses them anymore..
* Cleanup.Ralf Corsépius2007-09-051-3/+0
|
* Rip out unnecessary selinux babbage.Panu Matilainen2007-09-031-13/+6
| | | | | | - rpm doesn't manage selinux contexts so it doesn't need to know about them other than when creating files - implement --fscontext as popt alias since it's easy to do so...
* Rip out selinux file contexts from headers.Panu Matilainen2007-09-031-3/+0
| | | | | | | The SELinux file contexts can and do change, and local policies might be in place, the contexts on the build system at build time have zero relevance to anything and are just header bloat. Remove --filecontexts alias while at it, not useful for anything anyway.
* Show pre- and posttrans scripts in rpm -q --scripts query (susebz#253620)Panu Matilainen2007-08-281-0/+8
| | | | Patch from Michal Marek.
* Add --dupes popt alias for detecting duplicate packages in rpmdb from JBJ.Panu Matilainen2007-06-051-0/+6
|
* Deal with bad lines in --setperms and --setugids.Panu Matilainen2007-05-161-2/+2
| | | | | | Happens for example if a package is not installed (--pipe also captures stderr). Patch from OpenSuSE.
* - sqlite3: update encode/decode from sqlite-2.8.16.jbj2005-02-161-1/+10
| | | | | | | | | - add --xml popt alias for query modes. - remove _rpmdb now that python2.[34] are commonly available. CVS patchset: 7770 CVS date: 2005/02/16 19:05:36
* - build against external/internal neon.jbj2005-01-091-1/+4
| | | | | | CVS patchset: 7692 CVS date: 2005/01/09 17:48:19
* Remove pugly extra newline from --changelog.jbj2004-10-131-3/+3
| | | | | | CVS patchset: 7454 CVS date: 2004/10/13 05:47:55
* - spelling corrections (#112728).jbj2003-12-301-3/+3
| | | | | | CVS patchset: 7047 CVS date: 2003/12/30 13:14:49
* Add --filecontext, --fscontext, --recontext for 3 sources of security contexts.jbj2003-12-221-0/+27
| | | | | | CVS patchset: 6994 CVS date: 2003/12/22 07:47:45
* Add file to the splint sources too.jbj2003-01-241-15/+15
| | | | | | CVS patchset: 6026 CVS date: 2003/01/24 21:01:50
* 1st crack at colored installs.jbj2002-12-311-3/+3
| | | | | | CVS patchset: 5989 CVS date: 2002/12/31 01:23:03