Commit Graph

49 Commits

Author SHA1 Message Date
Panu Matilainen 472167d7a8 Remove ancient RH-comment 2007-09-19 16:51:32 +03:00
Panu Matilainen a9d59cc2ad Remove --redhatprovides / --redhatrequires popt aliases
- highly vendor specific
- not even RH uses them anymore..
2007-09-19 16:49:41 +03:00
Ralf Corsépius f544c1b12b Cleanup. 2007-09-05 11:47:40 +02:00
Panu Matilainen c0bd72b026 Rip out unnecessary selinux babbage.
- 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...
2007-09-03 15:15:50 +03:00
Panu Matilainen 408d3df3f1 Rip out selinux file contexts from headers.
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.
2007-09-03 10:20:10 +03:00
Panu Matilainen 4772050149 Show pre- and posttrans scripts in rpm -q --scripts query (susebz#253620)
Patch from Michal Marek.
2007-08-28 10:11:06 +03:00
Panu Matilainen 086dac456e Add --dupes popt alias for detecting duplicate packages in rpmdb from JBJ. 2007-06-05 09:45:58 +03:00
Panu Matilainen 9358ce594f Deal with bad lines in --setperms and --setugids.
Happens for example if a package is not installed (--pipe also captures stderr).

Patch from OpenSuSE.
2007-05-16 16:19:18 +03:00
jbj c94624a03c - sqlite3: update encode/decode from sqlite-2.8.16.
- 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
2005-02-16 19:05:36 +00:00
jbj 5732d3daae - build against external/internal neon.
CVS patchset: 7692
CVS date: 2005/01/09 17:48:19
2005-01-09 17:48:19 +00:00
jbj 8ebeba6979 Remove pugly extra newline from --changelog.
CVS patchset: 7454
CVS date: 2004/10/13 05:47:55
2004-10-13 05:47:55 +00:00
jbj b106986999 - spelling corrections (#112728).
CVS patchset: 7047
CVS date: 2003/12/30 13:14:49
2003-12-30 13:14:49 +00:00
jbj bea918bb77 Add --filecontext, --fscontext, --recontext for 3 sources of security contexts.
CVS patchset: 6994
CVS date: 2003/12/22 07:47:45
2003-12-22 07:47:45 +00:00
jbj 79365b0a0d Add file to the splint sources too.
CVS patchset: 6026
CVS date: 2003/01/24 21:01:50
2003-01-24 21:01:50 +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 cb4b0b8ce1 - fix :armor query extension, tgpg mktmp handling (#80684).
- use rpmfiClass underneath --fileclass.

CVS patchset: 5985
CVS date: 2002/12/29 22:31:00
2002-12-29 22:31:00 +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 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 b3bc3cb19d - add --file{class,provide,require} popt aliases and header extensions
CVS patchset: 5947
CVS date: 2002/12/18 22:54:00
2002-12-18 22:54:00 +00:00
jbj c10d7179bb - popt aliases for -U et al to achieve dynamic link with nptl.
CVS patchset: 5946
CVS date: 2002/12/18 16:18:33
2002-12-18 16:18:33 +00:00
sopwith ad8350c149 Add --dwim
CVS patchset: 5945
CVS date: 2002/12/18 01:46:25
2002-12-18 01:46: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 d132234000 - display signature details using rpm -qi
CVS patchset: 5547
CVS date: 2002/07/12 19:09:09
2002-07-12 19:09:09 +00:00
jbj db4e72211e Sanity.
CVS patchset: 5477
CVS date: 2002/06/09 22:15:16
2002-06-09 22:15:16 +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 81de17180f - fix: adjust arg count for --POPTdesc/--POPTargs deletion.
- add linux per-platform macro %_smp_mflags <sopwith@redhat.com>.
- document more popt aliases for --help usage.
- remove --tarbuild from man page(s), use -t[abpcils] instead (#48666).

CVS patchset: 4936
CVS date: 2001/07/11 14:23:01
2001-07-11 14:23:01 +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 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 16d8c9e229 - document build modes in rpmbuild.8, rpmbuild is born.
CVS patchset: 4846
CVS date: 2001/06/06 16:18:03
2001-06-06 16:18:03 +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 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 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 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 54704b3b83 - add --with/--without popt glue for conditional builds(Tomasz Kloczko).
CVS patchset: 4639
CVS date: 2001/03/16 20:23:49
2001-03-16 20:23:49 +00:00
jbj db3190176b - prefix payload paths with "./", otherwise "/" can't be represented.
- fix: compressFilelist broke when fed '/'.
- fix: typo in --last popt alias (#12690).
- fix: clean file paths before performing -qf (#12493).

CVS patchset: 3930
CVS date: 2000/07/09 23:10:25
2000-07-09 23:10:25 +00:00
jbj 4d88809296 - python: initdb binding (Dan Burcaw <dburcaw@terraplex.com>).
- internalize --freshen (Gordon Messmer <yinyang@eburg.com>).

CVS patchset: 3905
CVS date: 2000/06/23 00:49:43
2000-06-23 00:49:43 +00:00
jbj 8e0b5929ee Duplicate query aliases onto rpmq.
CVS patchset: 3782
CVS date: 2000/05/31 17:39:01
2000-05-31 17:39:01 +00:00
msw 0a5dc40698 add --short-circuit
CVS patchset: 3773
CVS date: 2000/05/31 05:30:15
2000-05-31 05:30:15 +00:00
msw 1ea450eb3a pass --target
CVS patchset: 3771
CVS date: 2000/05/31 04:53:53
2000-05-31 04:53:53 +00:00
jbj 0afc1fa3c9 Add popt glue for --clean, --rmsource, --rmspec.
Teach rpmb about --nodeps.

CVS patchset: 3768
CVS date: 2000/05/30 23:04:09
2000-05-30 23:04:09 +00:00
jbj 5807d4262e Remove build modes from rpm, use rpmb and/or popt glue instead.
CVS patchset: 3754
CVS date: 2000/05/26 18:51:11
2000-05-26 18:51:11 +00:00
jbj 9f3668324f Sanity (make dist).
CVS patchset: 3751
CVS date: 2000/05/24 18:09:06
2000-05-24 18:09:06 +00:00
jbj c7273eb0bc - change popt exec alias in oreder to exec rpm children.
- split rpm into 5 pieces along major mode fault lines with popt glue.

CVS patchset: 3750
CVS date: 2000/05/24 17:53:35
2000-05-24 17:53:35 +00:00
jbj 4a4704f98f - include RPM-GPG-KEY in file manifest.
- simplify --last popt alias, date like -qi (bjerrick@easystreet.com).
- fix: alloca'd memory used outside of scope (alpha segfault).

CVS patchset: 3723
CVS date: 2000/05/10 15:36:29
2000-05-10 15:36:29 +00:00
jbj 764e820f16 Repair rebuilddb lossage, removing debug messages and final copy on user msgs.
Initialize dbN vector from dbNopen.
Use db3 return convention for dbNopen.
Always save tag index in join key.
Rename rpmdbAppendIteratorMatches -> rpmdbAppendIterator.
Remove tolerant from rpmdbRemove API.
Use hdrNum rather than offset, tagNum rather than fileNumber most everywhere.
rpmdb.c: Create rpmdbPruneIterator to exclude items from set.
rpmdb.c: Remove legacy code from rpmdbAdd/rpmdbRemove.
rpmdb.c: Rename (shorten) many routines.
tagName.c: prepare for ADDED/REMOVED/AVAILABLE temorary databases.
depends.c: use rpmdbPruneIterator.
depends.c: don't check ranges unless provides names match.
depends.c: Depends now works (watch out for data values of 0).
rpmpopt.in: Add --dbapi and --rebuilddbapi options.

CVS patchset: 3720
CVS date: 2000/05/07 00:53:11
2000-05-07 00:53:11 +00:00
jbj c89b7ff341 Hi!
I'd like to start building sparc64 packages (eventhough the install rule
details are yet to be designed - IMHO if 64bit SPARC userland is going into
7.0 we should rebuild all packages into 64bit in the next months or so to
have time to chase bugs etc.), and this is about what I need.
Basically I'd like to have %{_lib} to stand for the last part (normally
"lib") of dirname for directories like /lib, /usr/lib, /usr/X11R6/lib
because on sparc64-linux they are /lib64, /usr/lib64, /usr/X11R6/lib64 (and
on Solaris /lib/sparcv9, /usr/lib/sparcv9 etc.), so that one can use things
like
/usr/%{_lib} in the spec files.
Another thing which I need is an arch specific build root policy.
This patch does a few things:
1) add installplatform into EXTRA_DIST files, so that it is actually invoked
   during rpm build not from CVS
2) Define %_lib lib and let target specific macros override it
3) Split __spec_install_post into __arch_install_post and __os_install_post,
   --buildpolicy now specifies the __os_install_post part only. spec files
   can still override the __arch_install_post if the want to.
   brp-sparc64-linux is used to move 64bit libraries to */lib64 directories
   from */lib directories if make install of some package left them there.
4) Change installplatform so that on sparc* it creates both sparc and
   sparc64 target macro dirs (/usr/lib/rpm/sparc{,64}-redhat-linux in
   sparc*-redhat-linux case).

CVS patchset: 3685
CVS date: 2000/04/19 16:03:49
2000-04-19 16:03:49 +00:00
jbj 00914dd961 Mostly functional db2 interface, db3 still has problems.
CVS patchset: 3645
CVS date: 2000/03/30 19:22:46
2000-03-30 19:22:46 +00:00
jbj ace35961e8 Add %_i18ndomains configuration.
CVS patchset: 3583
CVS date: 2000/02/23 22:40:53
2000-02-23 22:40:53 +00:00
jbj c39e2a9ea0 macro expansion (and absolute path) in %files -f arg (#9508,#9091).
CVS patchset: 3573
CVS date: 2000/02/22 03:09:53
2000-02-22 03:09:53 +00:00