summaryrefslogtreecommitdiff
path: root/lib/rpmfi.c
AgeCommit message (Collapse)AuthorFilesLines
2007-09-11Remove splint tags.Ralf Corsépius1-151/+35
2007-09-03RIP rpmsx and all its usesPanu Matilainen1-2/+0
2007-09-03Rip out unnecessary selinux babbage.Panu Matilainen1-203/+0
- 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-03Kill remaining uses of selinux filecontexts in headers..Panu Matilainen1-1/+0
2007-08-28Avoid .rpmnew when the file hasn't changed in package (rhbz#194246)Panu Matilainen1-6/+10
The current behavior of %config(noreplace) creates a .rpmnewfile iff the type of the current file has been changed wrto what was originally installed. The patch changes this behavior so when old and new (in db and in package) is identical -> not changed, the function returns FA_SKIP -> it won't clobber anything, it simply skips installation of the file from the package. This patch handles also the opposite case when old and new packages contain %config symlink and we have regular file on disk. Patch from Tomas Mraz.
2007-08-09Avoid unnecessary .rpmnew and .rpmsave files (rhbz#128622)Panu Matilainen1-0/+44
Don't create .rpmnew and .rpmsave files when file/symlink on disk differs just by timestamp. Patch by Tomas Mraz.
2007-07-12Pull in rpmfi int_32 -> uint_32 changes from rpm5.org.Panu Matilainen1-5/+5
TODO reminder to audit all uses of those, plenty of places where signed doesn't make much sense, inconsistent use etc.
2007-07-12Use uint_32 for dirindexes everywherePanu Matilainen1-2/+2
2007-07-11One more domd5() buffer signedness fix.Panu Matilainen1-1/+1
2007-07-11Missing include for domd5Panu Matilainen1-0/+1
2007-07-10Remove const type-qualifiers from function return types everywhere.Panu Matilainen1-2/+2
They're meaningless in C and cause tonne of build warnings.
2007-06-25Nuke ugly /var/log/lastlog kludgery.Panu Matilainen1-2/+0
2007-06-21Backed out changeset 99c5bd19ffc4bfbfa5601767cbc1338b5fa570e9Paul Nasrat1-1/+0
2007-06-21Initialise replaced on rpmfiNewPaul Nasrat1-0/+1
2005-02-10- perform callbacks as always (#147537).jbj1-0/+17
CVS patchset: 7757 CVS date: 2005/02/10 09:04:05
2005-01-04Splint fiddles.jbj1-1/+1
CVS patchset: 7669 CVS date: 2005/01/04 17:11:00
2004-12-07avoid md5 on sparse /var/log/lastlog filejbj1-0/+2
CVS patchset: 7633 CVS date: 2004/12/07 00:06:36
2004-10-09Splint fiddles.jbj1-2/+3
CVS patchset: 7437 CVS date: 2004/10/09 18:07:24
2004-07-05- ia64: auto-relocate entire, not partial, directory contents (#126905).jbj1-3/+10
CVS patchset: 7357 CVS date: 2004/07/05 19:21:18
2004-04-07- fix: segfault on --recontext if file_contexts unreadable (#117374).jbj1-2/+1
- fix: /etc/security/selinux/file_contexts is default path. CVS patchset: 7220 CVS date: 2004/04/07 23:26:00
2004-03-28- scareMem = 0 everywhere, document deprecation phase out.jbj1-5/+5
CVS patchset: 7203 CVS date: 2004/03/28 16:07:26
2004-01-09Map "<<none>>" expressions to "".jbj1-1/+1
CVS patchset: 7071 CVS date: 2004/01/09 23:17:33
2004-01-09Use "", not NULL, for missing file contexts.jbj1-1/+1
CVS patchset: 7070 CVS date: 2004/01/09 23:14:00
2004-01-05add --with-selinux, move selinux stubs to system.h.jbj1-2/+3
CVS patchset: 7063 CVS date: 2004/01/05 14:09:47
2003-12-27- fix: wrong package count for trigger scriptlet 1st arg (#100509).jbj1-4/+0
- fix: don't break header SHA1 if non-existent user/group (#97727). - remove fuids/fgids from rpmfi, easier to lookup fuser/fgroup instead. - merge sensible parts of openpkg rpm.patch.bugfix (#104780). CVS patchset: 7024 CVS date: 2003/12/27 01:37:56
2003-12-25Add lsetfilecon to install modes.jbj1-1/+1
CVS patchset: 7006 CVS date: 2003/12/25 23:00:44
2003-12-23Add filecontexts tags to header if %_build_file_contexts_path is configured.jbj1-56/+14
CVS patchset: 7002 CVS date: 2003/12/23 07:51:10
2003-12-23- fix some small memory leaks (valgrind).jbj1-0/+1
CVS patchset: 6998 CVS date: 2003/12/23 06:25:04
2003-12-22Add --filecontext, --fscontext, --recontext for 3 sources of security contexts.jbj1-0/+262
CVS patchset: 6994 CVS date: 2003/12/22 07:47:45
2003-12-01splint fiddles, no warnings.jbj1-0/+2
CVS patchset: 6961 CVS date: 2003/12/01 19:15:38
2003-11-23Merge changes from rpm-4.2.1 development.jbj1-28/+46
CVS patchset: 6959 CVS date: 2003/11/23 19:50:52
2003-07-09- resolve elf32/elf64 file conflicts to prefer elf64.jbj1-0/+114
CVS patchset: 6931 CVS date: 2003/07/09 20:18:54
2003-07-02- don't attempt to remove dbenv on --rebuilddb.jbj1-1/+55
- autorelocate ix86 package file paths on ia64. CVS patchset: 6925 CVS date: 2003/07/02 19:26:04
2003-04-02Splint clean.jbj1-0/+7
CVS patchset: 6729 CVS date: 2003/04/02 21:16:26
2003-01-29Functional upgrade glibc*i386 on x86_64 platformjbj1-0/+1
CVS patchset: 6032 CVS date: 2003/01/29 18:53:01
2003-01-28- fix: clean relocation path for --prefix=/.jbj1-0/+8
- python: permit stdout/stderr to be remapped to install.log. CVS patchset: 6031 CVS date: 2003/01/28 17:17:26
2003-01-01fix: file dependency dictionary has size other than #files.jbj1-1/+5
CVS patchset: 5992 CVS date: 2003/01/01 17:26:46
2002-12-31Dump multilib code, colored depndencies instead.jbj1-15/+0
CVS patchset: 5990 CVS date: 2002/12/31 02:12:02
2002-12-311st crack at colored installs.jbj1-2/+5
CVS patchset: 5989 CVS date: 2002/12/31 01:23:03
2002-12-30- use rpmfiFDepends() underneath --fileprovide/--filerequire.jbj1-73/+60
CVS patchset: 5986 CVS date: 2002/12/30 00:03:53
2002-12-29- fix :armor query extension, tgpg mktmp handling (#80684).jbj1-36/+27
- use rpmfiClass underneath --fileclass. CVS patchset: 5985 CVS date: 2002/12/29 22:31:00
2002-12-29- add rpmfi methods to access color, class, and dependencies.jbj1-1/+76
CVS patchset: 5981 CVS date: 2002/12/29 01:06:58
2002-12-28splint fiddles.jbj1-0/+1
CVS patchset: 5980 CVS date: 2002/12/28 23:17:06
2002-12-28- fix builddir relative inclusion, add %%pubkeys to rpm header.jbj1-2/+3
- fix: package relocations were broken (#75057). CVS patchset: 5978 CVS date: 2002/12/28 00:24:14
2002-12-21splint fiddles.jbj1-5/+6
CVS patchset: 5956 CVS date: 2002/12/21 01:31:24
2002-12-18Correct typo.jbj1-2/+2
CVS patchset: 5948 CVS date: 2002/12/18 22:59:03
2002-12-18- add --file{class,provide,require} popt aliases and header extensionsjbj1-0/+178
CVS patchset: 5947 CVS date: 2002/12/18 22:54:00
2002-10-23- resurrect genhdlist "greased lightning" pathway for now.jbj1-13/+17
CVS patchset: 5811 CVS date: 2002/10/23 20:34:52
2002-08-20- check for interrupt during iteration.jbj1-0/+2
- python: add ts.setProbFilter() method, remove ts.run() argument. CVS patchset: 5652 CVS date: 2002/08/20 22:05:18
2002-08-19- add --with-efence to configure, check install/upgrade with efence.jbj1-41/+20
- 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