Commit Graph

330 Commits

Author SHA1 Message Date
ewt 84b62fd459 fixed to installArchive()
1) detect dead child correctly
2) handle all files when read() from pipe returns many of them

CVS patchset: 274
CVS date: 1996/02/14 21:56:29
1996-02-14 21:56:29 +00:00
ewt 86e09a97bc handles reinstallation of a binary package
CVS patchset: 273
CVS date: 1996/02/14 21:26:21
1996-02-14 21:26:21 +00:00
ewt 9b940881d1 added ability to install a source package and find the spec file name
CVS patchset: 269
CVS date: 1996/02/14 20:09:14
1996-02-14 20:09:14 +00:00
root b9c9a12286 changed wayward SPEC to SPECS
CVS patchset: 266
CVS date: 1996/02/14 17:55:38
1996-02-14 17:55:38 +00:00
root ca4a7f8132 added support for old packages, lots of bug fixes
CVS patchset: 265
CVS date: 1996/02/14 17:55:28
1996-02-14 17:55:28 +00:00
root 2a9f4dea65 Understands source packages
CVS patchset: 264
CVS date: 1996/02/14 17:54:37
1996-02-14 17:54:37 +00:00
root 1ac992f934 installs rpmerr.h
CVS patchset: 263
CVS date: 1996/02/14 17:54:30
1996-02-14 17:54:30 +00:00
root 80bf2608f2 added install rule
CVS patchset: 259
CVS date: 1996/02/14 16:18:12
1996-02-14 16:18:12 +00:00
root 9da1bde9e6 fixed for packages w/o any groups
CVS patchset: 258
CVS date: 1996/02/14 16:12:32
1996-02-14 16:12:32 +00:00
ewt c1cc9bf1f2 won't leave 0.0 files around which are SUID if they're supposed to be
owned by someone else

CVS patchset: 256
CVS date: 1996/01/30 17:35:13
1996-01-30 17:35:13 +00:00
ewt d952a38c43 Initial revision
CVS patchset: 255
CVS date: 1996/01/30 16:19:22
1996-01-30 16:19:22 +00:00
ewt 00a51932b9 fixed alpha arch detection
CVS patchset: 253
CVS date: 1996/01/30 04:13:17
1996-01-30 04:13:17 +00:00
ewt 5764e29cdc fixed problem which could result in strdup(NULL)
CVS patchset: 252
CVS date: 1996/01/30 04:12:58
1996-01-30 04:12:58 +00:00
ewt de4eb379d8 added RPMVAR entries and prototypes
CVS patchset: 247
CVS date: 1996/01/30 03:47:30
1996-01-30 03:47:30 +00:00
ewt 403095d402 completely rewritten for performance, ease of use
CVS patchset: 246
CVS date: 1996/01/30 03:46:46
1996-01-30 03:46:46 +00:00
ewt a6b200db99 added rpmrc.o
CVS patchset: 245
CVS date: 1996/01/30 03:46:32
1996-01-30 03:46:32 +00:00
ewt 37ee0cf5e2 adjusted config file checking to adjust for the prefix
CVS patchset: 243
CVS date: 1996/01/29 23:27:12
1996-01-29 23:27:12 +00:00
marc f50ac27315 added RPMVAR_RPMDIR, RPMVAR_SRPMDIR
CVS patchset: 240
CVS date: 1996/01/29 19:48:54
1996-01-29 19:48:54 +00:00
ewt efcea4901c 1) should handle config files well
2) created directories should get umask independent permissions
3) fixed notification handling
4) creates file states list, install time

CVS patchset: 237
CVS date: 1996/01/29 19:37:59
1996-01-29 19:37:59 +00:00
ewt d000ba9b49 New packages have forward sorted file lists - uninstalls should traverse
such a list backwards to give rmdir() a fighting chance

CVS patchset: 236
CVS date: 1996/01/29 19:37:28
1996-01-29 19:37:28 +00:00
ewt e542d23715 reversed the order of the filelist during reading of old style packages
CVS patchset: 233
CVS date: 1996/01/29 19:31:05
1996-01-29 19:31:05 +00:00
marc 87fbb7842d removed -m486
CVS patchset: 229
CVS date: 1996/01/29 19:06:33
1996-01-29 19:06:33 +00:00
root a8900dfbd0 fixed some bad frees
CVS patchset: 221
CVS date: 1996/01/22 21:13:55
1996-01-22 21:13:55 +00:00
root ae492679ac changed parameters to install.c to allow for a notification function
CVS patchset: 220
CVS date: 1996/01/22 21:13:27
1996-01-22 21:13:27 +00:00
root e1922a0bb1 started work on file sharing, added --hash and --percent
CVS patchset: 219
CVS date: 1996/01/22 21:13:12
1996-01-22 21:13:12 +00:00
ewt 6d709dd98b removed "test" target, removed convertdb.c from librpm.a
CVS patchset: 213
CVS date: 1996/01/15 00:03:16
1996-01-15 00:03:16 +00:00
ewt 42ecff8eb9 1) checks for pacakges already installed, but doesn't handle overrides
correctly
2) sets file ownderships by symbolic name when they are available
3) creates directories when needed

CVS patchset: 207
CVS date: 1996/01/14 19:32:17
1996-01-14 19:32:17 +00:00
ewt 6447dde417 fixed error generated for bad magic
CVS patchset: 206
CVS date: 1996/01/14 19:31:50
1996-01-14 19:31:50 +00:00
ewt 749b978d8b removed <sys/mman.h> (mmapping isn't used anymore)
added strings for RPMTAG_FILEUSERNAME RPMTAG_FILEGROUPNAME RPMTAG_EXCLUDE
                  RPMTAG_EXCLUSIVE RPMTAG_ICON RPMTAG_SOURCERPM

CVS patchset: 205
CVS date: 1996/01/14 19:31:10
1996-01-14 19:31:10 +00:00
marc b18259e21d added RPMFILE_STATE_REPLACED
CVS patchset: 201
CVS date: 1996/01/13 00:48:51
1996-01-13 00:48:51 +00:00
ewt 1c02bb1d89 added installFlags to prototype of install function
CVS patchset: 200
CVS date: 1996/01/13 00:18:06
1996-01-13 00:18:06 +00:00
ewt 5a289cef0c removed extra error messages
CVS patchset: 188
CVS date: 1996/01/09 21:51:07
1996-01-09 21:51:07 +00:00
ewt c6dfde414f fixed detection of errors on open
CVS patchset: 186
CVS date: 1996/01/09 21:50:43
1996-01-09 21:50:43 +00:00
root db89d2cbfd fixed problems with --root
CVS patchset: 180
CVS date: 1996/01/08 21:28:20
1996-01-08 21:28:20 +00:00
ewt 735ce6fc99 handles config files, directories correctly
CVS patchset: 179
CVS date: 1996/01/08 20:21:22
1996-01-08 20:21:22 +00:00
ewt 6ca62ee7d0 Initial revision
CVS patchset: 177
CVS date: 1996/01/08 19:31:44
1996-01-08 19:31:44 +00:00
ewt 423c649c68 added install.o
CVS patchset: 173
CVS date: 1996/01/08 19:20:45
1996-01-08 19:20:45 +00:00
ewt c16c83dffc Initial revision
CVS patchset: 172
CVS date: 1996/01/08 19:20:17
1996-01-08 19:20:17 +00:00
ewt 077c3bb502 handles shared files - doesn't handle config files correctly yet
CVS patchset: 171
CVS date: 1996/01/08 19:19:53
1996-01-08 19:19:53 +00:00
ewt 35d9f6ca17 added rpmdbAdd()
CVS patchset: 170
CVS date: 1996/01/08 19:19:12
1996-01-08 19:19:12 +00:00
ewt 2717f7d979 added a line of documentation
CVS patchset: 169
CVS date: 1996/01/08 19:18:50
1996-01-08 19:18:50 +00:00
ewt 65377cb304 saves pre and post install and uninstall scripts from old style packages
CVS patchset: 167
CVS date: 1996/01/08 19:17:43
1996-01-08 19:17:43 +00:00
ewt 6175e290ec add isDebug() function
CVS patchset: 166
CVS date: 1996/01/08 19:17:22
1996-01-08 19:17:22 +00:00
ewt b696bb3093 added support for retrieving pre/post uninstalls from database
CVS patchset: 165
CVS date: 1996/01/08 19:16:46
1996-01-08 19:16:46 +00:00
ewt 5dbd3e85b0 added support for pre/post install and uninstall scripts, fixed
extraction of buildDate from spec

CVS patchset: 164
CVS date: 1996/01/08 19:15:54
1996-01-08 19:15:54 +00:00
ewt 89381ecafa If not error callback is registered, the error gets printed to stderr
CVS patchset: 163
CVS date: 1996/01/08 19:15:22
1996-01-08 19:15:22 +00:00
marc ab74a09ce5 added RPMTAG_EXCLUSIVE RPMTAG_EXCLUDE RPMTAG_ICON
CVS patchset: 162
CVS date: 1996/01/08 17:40:59
1996-01-08 17:40:59 +00:00
ewt 12908c65eb added rpmdbAdd()
CVS patchset: 161
CVS date: 1996/01/08 17:02:35
1996-01-08 17:02:35 +00:00
marc 97216a56c7 fix comment
CVS patchset: 160
CVS date: 1996/01/08 07:12:19
1996-01-08 07:12:19 +00:00
ewt 405a63ffff Initial revision
CVS patchset: 149
CVS date: 1996/01/06 18:54:50
1996-01-06 18:54:50 +00:00
ewt 02dfd12a92 creates header for old style packages
CVS patchset: 148
CVS date: 1996/01/06 00:07:50
1996-01-06 00:07:50 +00:00
ewt 874f4f9dba uses oldheader.[ch] instead of oldrpmfile.[ch] (which was removed)
CVS patchset: 147
CVS date: 1996/01/06 00:07:13
1996-01-06 00:07:13 +00:00
ewt e808a695a8 fixed traversal over freed spaces
CVS patchset: 146
CVS date: 1996/01/06 00:06:52
1996-01-06 00:06:52 +00:00
ewt 2f5bde67ea removed oldrpmfile.o, added oldheader.o, made programs depend on librpm.a
CVS patchset: 145
CVS date: 1996/01/06 00:06:19
1996-01-06 00:06:19 +00:00
ewt 31e9a1b7b6 fixed some messages
CVS patchset: 144
CVS date: 1996/01/06 00:06:09
1996-01-06 00:06:09 +00:00
ewt d9773ffe11 added uninstall.o
added package.o

CVS patchset: 140
CVS date: 1996/01/05 19:10:25
1996-01-05 19:10:25 +00:00
ewt 8d0f3b67e9 added search and removal functions
CVS patchset: 138
CVS date: 1996/01/05 18:19:48
1996-01-05 18:19:48 +00:00
ewt d2564d4aac changed magic and version numbers to unsigned
CVS patchset: 137
CVS date: 1996/01/05 18:18:39
1996-01-05 18:18:39 +00:00
ewt 51a5bd695d added searching by group, started work on package removal
CVS patchset: 136
CVS date: 1996/01/05 18:16:50
1996-01-05 18:16:50 +00:00
ewt 99a43e9240 began to add faFree(), though it doesn't work yet
CVS patchset: 135
CVS date: 1996/01/05 18:15:57
1996-01-05 18:15:57 +00:00
ewt 93b99ec96e fixed bugs, added deletion
CVS patchset: 134
CVS date: 1996/01/05 18:14:52
1996-01-05 18:14:52 +00:00
ewt fc3166e80d Initial revision
CVS patchset: 132
CVS date: 1996/01/05 18:12:55
1996-01-05 18:12:55 +00:00
marc e9293e8364 get rid of some warnings
CVS patchset: 129
CVS date: 1996/01/05 03:08:34
1996-01-05 03:08:34 +00:00
marc 3bee9f5109 add readLead() and writeLead()
CVS patchset: 128
CVS date: 1996/01/05 03:05:34
1996-01-05 03:05:34 +00:00
marc fbdcf3e2d6 Initial revision
CVS patchset: 127
CVS date: 1996/01/05 03:05:34
1996-01-05 03:05:34 +00:00
marc ceb04802f6 added rpmlead.o
CVS patchset: 126
CVS date: 1996/01/05 03:05:18
1996-01-05 03:05:18 +00:00
marc ce54f1b888 added RPMLEAD_SIGNONE RPMLEAD_SIZE
added signature_type to the lead structure
pad lead structure to 96 bytes, 8 byte aligned
   should be enough for just about forever.

CVS patchset: 124
CVS date: 1996/01/05 02:10:08
1996-01-05 02:10:08 +00:00
marc cfa399a5b9 added RPMTAG_FILEUSERNAME and RPMTAG_FILEGROUPNAME
CVS patchset: 120
CVS date: 1996/01/05 01:48:03
1996-01-05 01:48:03 +00:00
marc 300994017f cleaned up, moved most vars to top level Makefile
CVS patchset: 117
CVS date: 1996/01/05 01:42:43
1996-01-05 01:42:43 +00:00
marc 09eb6916f3 added alignment code to addEntry()
CVS patchset: 115
CVS date: 1995/12/27 21:55:33
1995-12-27 21:55:33 +00:00
marc ca7d7895d5 changed semantics so in-core data is in host order
and on-disk data is in network order

CVS patchset: 114
CVS date: 1995/12/27 21:08:05
1995-12-27 21:08:05 +00:00
ewt b5ec54fbfa Initial revision
CVS patchset: 110
CVS date: 1995/12/27 20:39:27
1995-12-27 20:39:27 +00:00
ewt fcf578890e changed to use oldrpmdb names insteaed of rpmdb ones
CVS patchset: 106
CVS date: 1995/12/27 20:05:14
1995-12-27 20:05:14 +00:00
ewt 574b4da356 made changes to allow include of "falloc.h" to be removed
CVS patchset: 105
CVS date: 1995/12/27 20:04:38
1995-12-27 20:04:38 +00:00
ewt a49f40af8c Initial revision
CVS patchset: 104
CVS date: 1995/12/27 19:50:38
1995-12-27 19:50:38 +00:00
marc c7ed768e79 added stringbuf.o
CVS patchset: 100
CVS date: 1995/12/27 19:22:42
1995-12-27 19:22:42 +00:00
marc 23ae3877ff added RPMTAG_ROOT
CVS patchset: 99
CVS date: 1995/12/27 19:21:25
1995-12-27 19:21:25 +00:00
ewt 92ebd71318 added types for database access
CVS patchset: 98
CVS date: 1995/12/27 19:19:13
1995-12-27 19:19:13 +00:00
ewt beecff0608 added "make depend", dbindex.o, rpmdb.o
CVS patchset: 97
CVS date: 1995/12/27 19:18:56
1995-12-27 19:18:56 +00:00
marc 9bba7f5a64 added modifyEntry()
CVS patchset: 95
CVS date: 1995/12/27 19:04:31
1995-12-27 19:04:31 +00:00
marc e44542c280 sort indexes on write, use bsearch to find tags
CVS patchset: 94
CVS date: 1995/12/27 18:05:01
1995-12-27 18:05:01 +00:00
root c0ca0abdc7 fixed bug in faAlloc()
CVS patchset: 92
CVS date: 1995/12/27 17:04:12
1995-12-27 17:04:12 +00:00
marc 02d2b3068b added setVar(), ROOT var
CVS patchset: 85
CVS date: 1995/12/27 16:32:19
1995-12-27 16:32:19 +00:00
marc d5addaa30b fixed isVerbose()
CVS patchset: 84
CVS date: 1995/12/27 16:31:14
1995-12-27 16:31:14 +00:00
marc 761d71df82 added get{Arch,Os}{Name,Num}()
CVS patchset: 83
CVS date: 1995/12/27 16:29:55
1995-12-27 16:29:55 +00:00
ewt 61797fb220 Initial revision
CVS patchset: 82
CVS date: 1995/12/27 03:41:22
1995-12-27 03:41:22 +00:00
ewt a80f6e7436 fixed formatting
CVS patchset: 81
CVS date: 1995/12/27 03:40:36
1995-12-27 03:40:36 +00:00
marc b4147692a5 added STRING_ARRAY_TYPE
CVS patchset: 73
CVS date: 1995/12/20 23:27:15
1995-12-20 23:27:15 +00:00
marc 849b058ec0 added freeIterator() copyHeader() isEntry()
CVS patchset: 71
CVS date: 1995/12/20 22:48:08
1995-12-20 22:48:08 +00:00
marc 78d1f4bc4d added isEntry() freeIterator() and copyHeader()
CVS patchset: 70
CVS date: 1995/12/20 22:47:19
1995-12-20 22:47:19 +00:00
root 1efdf0b345 md5 bits were signed, which caused bad expansion
CVS patchset: 66
CVS date: 1995/12/19 20:57:18
1995-12-19 20:57:18 +00:00
marc 80a3c6d773 added md5.o and md5sum.o
CVS patchset: 65
CVS date: 1995/12/19 20:35:49
1995-12-19 20:35:49 +00:00
marc 3cbd6cbe9c Initial revision
CVS patchset: 64
CVS date: 1995/12/19 20:33:51
1995-12-19 20:33:51 +00:00
marc 12226f6441 fixed bug in string array stuff in getEntry()
CVS patchset: 62
CVS date: 1995/12/19 17:17:37
1995-12-19 17:17:37 +00:00
ewt fcc49648fd Added routines for traversal
CVS patchset: 60
CVS date: 1995/12/19 16:17:39
1995-12-19 16:17:39 +00:00
ewt fa82a7b7ba Added routines for retrieving GIFs
CVS patchset: 59
CVS date: 1995/12/19 16:17:21
1995-12-19 16:17:21 +00:00
marc 20679dba82 fixed previous edit
,

CVS patchset: 54
CVS date: 1995/12/18 18:13:41
1995-12-18 18:13:41 +00:00
marc 304e100833 allow type to be NULL in getEntry()
CVS patchset: 53
CVS date: 1995/12/18 18:08:30
1995-12-18 18:08:30 +00:00
marc ba10e3d22e allow NULL to be passed for count in getEntry()
CVS patchset: 52
CVS date: 1995/12/18 18:00:28
1995-12-18 18:00:28 +00:00
marc 8a0ef9fe18 made global error structure, and functions to read/write it
,.

CVS patchset: 47
CVS date: 1995/12/18 14:48:03
1995-12-18 14:48:03 +00:00
marc 033609ea2d added var.o
CVS patchset: 46
CVS date: 1995/12/14 16:44:32
1995-12-14 16:44:32 +00:00
marc 1b6a9c9375 Initial revision
CVS patchset: 45
CVS date: 1995/12/14 16:42:39
1995-12-14 16:42:39 +00:00
ewt 9780fddd5e fixed make clean rule
CVS patchset: 44
CVS date: 1995/12/14 16:38:52
1995-12-14 16:38:52 +00:00
marc d39f2ac827 fixed prototype warning
CVS patchset: 43
CVS date: 1995/12/14 16:17:51
1995-12-14 16:17:51 +00:00
marc 160f9371a8 added isVerbose()
CVS patchset: 42
CVS date: 1995/12/14 16:16:21
1995-12-14 16:16:21 +00:00
marc 473c373109 added iterator stuff
CVS patchset: 41
CVS date: 1995/12/14 16:03:08
1995-12-14 16:03:08 +00:00
ewt e09146763c Added BIN_TYPE
CVS patchset: 34
CVS date: 1995/12/13 22:38:23
1995-12-13 22:38:23 +00:00
marc 934076d1c1 changed error() to use varargs/vfprintf()
CVS patchset: 33
CVS date: 1995/12/13 21:40:59
1995-12-13 21:40:59 +00:00
ewt 75ab7b91d4 Initial revision
CVS patchset: 31
CVS date: 1995/12/13 20:13:49
1995-12-13 20:13:49 +00:00
ewt b1df00c561 tests converDB() now
CVS patchset: 30
CVS date: 1995/12/13 20:13:17
1995-12-13 20:13:17 +00:00
ewt 84f1a03dc1 added sizeofHeader
CVS patchset: 29
CVS date: 1995/12/13 20:13:06
1995-12-13 20:13:06 +00:00
ewt 3f1ada2398 1) made dumpHeader use symbolic names
2) fixed allocation loop
3) changed indentation
4) added sizeofHeader

CVS patchset: 28
CVS date: 1995/12/13 20:12:35
1995-12-13 20:12:35 +00:00
ewt 58269e9aae 1) added falloc.o convertdb.o oldrpmfile.o to librpm.a
2) builds dumpdb

CVS patchset: 27
CVS date: 1995/12/13 20:11:46
1995-12-13 20:11:46 +00:00
ewt 958dc058a4 added exists() function
CVS patchset: 26
CVS date: 1995/12/13 20:11:31
1995-12-13 20:11:31 +00:00
ewt 85cff2274e added copyright field for packages
CVS patchset: 24
CVS date: 1995/12/13 20:10:25
1995-12-13 20:10:25 +00:00
ewt f9c02bf8cd Added more RPMTAG's and the first RPMFILE class contants
CVS patchset: 22
CVS date: 1995/12/13 20:08:33
1995-12-13 20:08:33 +00:00
marc e70eb906e5 fixed dumb buffer extension bug
CVS patchset: 21
CVS date: 1995/12/13 17:47:15
1995-12-13 17:47:15 +00:00
root 604a38ed5c added tags for pre/post in/out
CVS patchset: 20
CVS date: 1995/12/13 16:04:49
1995-12-13 16:04:49 +00:00
root bef5fd6745 Initial revision
CVS patchset: 19
CVS date: 1995/12/13 16:01:36
1995-12-13 16:01:36 +00:00
ewt 2239fa559c Changed to use file descriptors instead of stdio
CVS patchset: 15
CVS date: 1995/12/12 23:25:31
1995-12-12 23:25:31 +00:00
ewt e55cb95954 Added error number to messages
CVS patchset: 14
CVS date: 1995/12/12 23:23:37
1995-12-12 23:23:37 +00:00
ewt 26efeda3f3 added include of string.h to get rid of warning message
CVS patchset: 13
CVS date: 1995/12/12 22:35:42
1995-12-12 22:35:42 +00:00
root c0fce339bf added rpmerr.o to LIBOBJECTS
CVS patchset: 10
CVS date: 1995/12/12 17:51:07
1995-12-12 17:51:07 +00:00
root 173314bce5 removed tag definitions (moved to rpmlib.h)
CVS patchset: 9
CVS date: 1995/12/12 17:49:04
1995-12-12 17:49:04 +00:00
root 63b7e447d4 include rpmlib.h
CVS patchset: 8
CVS date: 1995/12/12 17:49:04
1995-12-12 17:49:04 +00:00
root d1f254f84b added some tags
CVS patchset: 7
CVS date: 1995/12/12 17:49:04
1995-12-12 17:49:04 +00:00
ewt 8b02e113ec added include of <string.h>
CVS patchset: 6
CVS date: 1995/12/12 17:40:49
1995-12-12 17:40:49 +00:00
ewt 1f6a186980 Initial revision
CVS patchset: 5
CVS date: 1995/12/11 23:42:31
1995-12-11 23:42:31 +00:00
ewt 61514fde94 Get DEBUG, WARNING, and EFENCE stuff from children
CVS patchset: 4
CVS date: 1995/12/11 22:53:09
1995-12-11 22:53:09 +00:00
root 7153c16096 Initial revision
CVS patchset: 1
CVS date: 1995/11/27 22:31:21
1995-11-27 22:31:21 +00:00