Commit Graph

170 Commits

Author SHA1 Message Date
jbj 394f3cb1dd Eliminate Makefile.inc dependence in subdirs.
Change "Bad header" to "Bad/unreadable header" for most common cpio failure.

CVS patchset: 2728
CVS date: 1999/01/21 17:18:38
1999-01-21 17:18:38 +00:00
ewt aeee273549 added SAVENSTATE action
CVS patchset: 2718
CVS date: 1999/01/19 16:24:43
1999-01-19 16:24:43 +00:00
ewt 06a29f2dd5 handle RPMTAG_ORIGFILENAMES properly
CVS patchset: 2715
CVS date: 1999/01/19 03:02:45
1999-01-19 03:02:45 +00:00
ewt 33d610be38 I'm too lazy to put these in a third time.
CVS patchset: 2691
CVS date: 1999/01/12 03:11:25
1999-01-12 03:11:25 +00:00
ewt a12dc83141 make use of currentDirectory()
CVS patchset: 2679
CVS date: 1999/01/08 03:11:54
1999-01-08 03:11:54 +00:00
ewt b369006f28 replaced file list is passed in externally
CVS patchset: 2674
CVS date: 1999/01/07 17:05:02
1999-01-07 17:05:02 +00:00
ewt deff5aec38 try to use notify function properly (though hashing still doesn't work??)
CVS patchset: 2672
CVS date: 1999/01/07 04:07:31
1999-01-07 04:07:31 +00:00
jbj 72111f3e44 Re-implement the ability to install source rpms.
CVS patchset: 2668
CVS date: 1999/01/07 00:45:52
1999-01-07 00:45:52 +00:00
jbj bd626d134d propagate "const char *" into rpmlib prototypes.
CVS patchset: 2663
CVS date: 1999/01/06 17:33:50
1999-01-06 17:33:50 +00:00
jbj 8af5b5af87 Expand path macros with rpmGetPath(path, ...).
CVS patchset: 2652
CVS date: 1999/01/05 23:13:56
1999-01-05 23:13:56 +00:00
ewt fca3a181f4 1) moved root canonicalization to transaction set creation
2) removed KEEP state (SKIP had identical semantics)
3) added REMOVE state to fileActionString()
4) export fileActionString()

CVS patchset: 2642
CVS date: 1999/01/04 16:42:15
1999-01-04 16:42:15 +00:00
jbj 854d1760c0 Expand SPECDIR/SOURCEDIR using macros.
CVS patchset: 2641
CVS date: 1999/01/03 03:13:50
1999-01-03 03:13:50 +00:00
ewt 9102dc094c makes use of a passed in action list rather then generating our own
CVS patchset: 2637
CVS date: 1998/12/31 19:16:12
1998-12-31 19:16:12 +00:00
ewt 029e1deb65 enum instActions { UNKNOWN, CREATE, BACKUP, KEEP, SAVE, SKIP, ALTNAME };
enum fileTypes { XDIR, BDEV, CDEV, SOCK, PIPE, REG, LINK } ;

CVS patchset: 2634
CVS date: 1998/12/31 16:18:58
1998-12-31 16:18:58 +00:00
ewt b2c5f65efb updated relocateable package handling
CVS patchset: 2631
CVS date: 1998/12/30 23:03:18
1998-12-30 23:03:18 +00:00
ewt 29edbba1a8 1) initial cut at hash tables
2) initial cut at file list handling during transaction processing

CVS patchset: 2611
CVS date: 1998/12/26 16:33:51
1998-12-26 16:33:51 +00:00
ewt 10d3b6d5b6 first pass at new transaction api; basic installing/removing works
fine but I wouldn't push it much harder then that

CVS patchset: 2603
CVS date: 1998/12/16 21:58:53
1998-12-16 21:58:53 +00:00
jbj 9d8c68e32d translate cpio errors using cpioStrerror.
CVS patchset: 2592
CVS date: 1998/12/05 23:22:41
1998-12-05 23:22:41 +00:00
ewt 4dede4ad3c switched exists() to rpmfileexists()
CVS patchset: 2563
CVS date: 1998/11/30 17:48:03
1998-11-30 17:48:03 +00:00
jbj b2fd4c2d88 Add dup for the "other" gzdopen premature close.
CVS patchset: 2556
CVS date: 1998/11/25 00:42:36
1998-11-25 00:42:36 +00:00
jbj eb0436b4b2 Start abstracting compressed I/O.
CVS patchset: 2552
CVS date: 1998/11/22 19:48:48
1998-11-22 19:48:48 +00:00
jbj dc7ee4090d finish hiding rpmdb index record data ("matches").
CVS patchset: 2543
CVS date: 1998/11/19 18:10:28
1998-11-19 18:10:28 +00:00
jbj 2578b7fc84 implement abstract fd type almost everywhere.
CVS patchset: 2542
CVS date: 1998/11/18 21:41:05
1998-11-18 21:41:05 +00:00
jbj 28c4ae83a3 LCLINT pass 0.
CVS patchset: 2540
CVS date: 1998/11/16 21:40:28
1998-11-16 21:40:28 +00:00
jbj 482a553ada fix off-by-1 alloca that prevented relocating /.
CVS patchset: 2504
CVS date: 1998/10/27 19:54:08
1998-10-27 19:54:08 +00:00
jbj 1607fbe7a3 Consolidate i18n baggage into AM_GNU_GETTEXT and system.h.
CVS patchset: 2425
CVS date: 1998/10/08 14:59:17
1998-10-08 14:59:17 +00:00
jbj fd068345e6 add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>)
gettextify rpmMessage/rpmError/fprintf messages.

CVS patchset: 2368
CVS date: 1998/09/27 22:03:52
1998-09-27 22:03:52 +00:00
jbj 7c055ccee6 Typo.
CVS patchset: 2263
CVS date: 1998/08/20 19:12:30
1998-08-20 19:12:30 +00:00
ewt fddd1e7215 added epoch handling
CVS patchset: 2261
CVS date: 1998/08/19 02:30:02
1998-08-19 02:30:02 +00:00
jbj 85d8c81723 Fix infinite recursion on non-ERANGE return from getcwd() during install.
CVS patchset: 2245
CVS date: 1998/08/15 14:04:57
1998-08-15 14:04:57 +00:00
jbj f005d723a5 Macro handling in rpmlib -- rework include: tag with macro expansion.
CVS patchset: 2215
CVS date: 1998/07/31 20:11:49
1998-07-31 20:11:49 +00:00
jbj 5142bf78e6 Consolidated includes for librpmbuild API.
CVS patchset: 2213
CVS date: 1998/07/30 22:09:42
1998-07-30 22:09:42 +00:00
jbj e4151252f8 Aggregate system includes into system.h.
Rearrange functions to minimize exported routines in librpmbuild API.
VS: ----------------------------------------------------------------------

CVS patchset: 2183
CVS date: 1998/07/25 21:00:26
1998-07-25 21:00:26 +00:00
jbj c617a31606 Generalize cpio I/O to eliminate pipe to exec'd gzip on install.
CVS patchset: 2182
CVS date: 1998/07/25 15:33:15
1998-07-25 15:33:15 +00:00
ewt 5de4d92922 added --notriggers
CVS patchset: 2158
CVS date: 1998/06/30 18:51:44
1998-06-30 18:51:44 +00:00
ewt 10cc4878e9 --justdb should tag files as normal
CVS patchset: 2147
CVS date: 1998/06/11 20:02:29
1998-06-11 20:02:29 +00:00
ewt 1789870b35 - set file states to missing for --justdb packages
- handle missing file states properly in -e code
- install time wasn missing for --justdb packages

CVS patchset: 2135
CVS date: 1998/05/26 13:45:16
1998-05-26 13:45:16 +00:00
ewt 16e9eae0e1 shared files weren't handled properly in netsharedpaths
CVS patchset: 2111
CVS date: 1998/05/06 21:46:03
1998-05-06 21:46:03 +00:00
ewt fb90f503dd fixed misc memory leaks
CVS patchset: 2108
CVS date: 1998/05/05 23:12:17
1998-05-05 23:12:17 +00:00
ewt 7b8522b57e added trigger support
CVS patchset: 2049
CVS date: 1998/03/27 16:46:39
1998-03-27 16:46:39 +00:00
ewt fb1398490e check LINGUAS when installing i18n files
CVS patchset: 2043
CVS date: 1998/03/23 16:34:38
1998-03-23 16:34:38 +00:00
ewt 0994d93e13 added missing space
CVS patchset: 2008
CVS date: 1998/02/18 18:43:11
1998-02-18 18:43:11 +00:00
ewt 33b012193b 1) fixed memory leak w/ netsharedpaths
2) generates INSTPREFIXES tag for relocated packages

CVS patchset: 1998
CVS date: 1998/02/08 17:29:17
1998-02-08 17:29:17 +00:00
ewt ab907f8aac fixed various bugs in relocation code
CVS patchset: 1984
CVS date: 1998/02/03 15:21:47
1998-02-03 15:21:47 +00:00
ewt 6681ac1cee fixed problems in file relocation
CVS patchset: 1980
CVS date: 1998/01/29 19:39:12
1998-01-29 19:39:12 +00:00
ewt 2c223345d8 implemented most of generic package relocation
CVS patchset: 1979
CVS date: 1998/01/28 16:49:43
1998-01-28 16:49:43 +00:00
ewt b3a2b23fce set uid/gid of source files to the same as the process's
CVS patchset: 1879
CVS date: 1997/10/29 20:08:20
1997-10-29 20:08:20 +00:00
marc 3723ba4c06 oboslete code was using a wrong loop invariant
CVS patchset: 1874
CVS date: 1997/10/29 15:53:35
1997-10-29 15:53:35 +00:00
ewt fd2f4aa059 look for user/group name->id transitions after running preinstall
CVS patchset: 1872
CVS date: 1997/10/28 20:59:16
1997-10-28 20:59:16 +00:00
marc 93900131c3 Handle scripts where script prog in a string array.
Make verify script use runScript().
Always chdir("/") before running scripts.

CVS patchset: 1867
CVS date: 1997/10/17 18:35:53
1997-10-17 18:35:53 +00:00