jbj
24a64f2739
- API: replace rpmdbUpdateRecord with rpmdbRemove/rpmdbAdd.
...
- API: replace rpmdbFindByLabel with RPMDBI_LABEL iteration.
- API: replace rpmdbGetRecord with iterators.
- API: replace findMatches with iterators.
CVS patchset: 3704
CVS date: 2000/04/27 00:10:28
2000-04-27 00:10:28 +00:00
jbj
f75d794af4
Change iterator interface to use RPMTAG_FOO rather than RPMDBI_FOO.
...
CVS patchset: 3687
CVS date: 2000/04/19 22:15:02
2000-04-19 22:15:02 +00:00
jbj
db11adf6e8
Remove DYING code.
...
CVS patchset: 3670
CVS date: 2000/04/12 16:30:46
2000-04-12 16:30:46 +00:00
jbj
f3571adf59
API: pass *SearchIndex() length of key (0 will use strlen(key)).
...
API: remove rpmdb{First,Next}RecNum routines.
db3.c: remove cursor DB_RMW implementation, something else is needed.
rpmdb.c: first crack at rpmdb match iterator.
query.c: ditto.
rebuilddb.c: ditto.
dumpdb.c: ditto.
CVS patchset: 3668
CVS date: 2000/04/12 13:42:57
2000-04-12 13:42:57 +00:00
jbj
a217056e70
Permit building w/o libbz2.a.
...
In popt, check for building within the rpm tree before requiring GNU gettext.
CVS patchset: 3595
CVS date: 2000/02/27 23:40:36
2000-02-27 23:40:36 +00:00
jbj
601d666d48
- fix: filter excluded paths before adding install prefixes ( #8709 ).
...
- add i18n lookaside to PO catalogue(s) for i18n strings.
- try for /etc/rpm/macros.specspo so that specspo autoconfigures rpm.
- per-platform configuration factored into /usr/lib/rpm subdir.
CVS patchset: 3588
CVS date: 2000/02/25 16:29:44
2000-02-25 16:29:44 +00:00
jbj
466f98a9fb
Automake portability diddles.
...
CVS patchset: 3586
CVS date: 2000/02/24 22:28:31
2000-02-24 22:28:31 +00:00
jbj
9db5309a45
updated perl scripts (Ken Estes).
...
CVS patchset: 3524
CVS date: 2000/01/17 18:58:36
2000-01-17 18:58:36 +00:00
jbj
bd928fc23c
partial implementation for ftp globbing.
...
CVS patchset: 3474
CVS date: 1999/12/11 17:53:25
1999-12-11 17:53:25 +00:00
jbj
4e56943831
lib/install.c: Check errno and mkdir specdir/sourcedir only for local fs.
...
lib/rpmio.c: Create ftpOpen/httpOpen from ufdOpen case's.
lib/rpmio.c: ftpStat et al uses ftpOpen and NLST w/o path.
lib/query.c: Don't Fclose(fd) if fd == NULL.
CVS patchset: 3442
CVS date: 1999/11/30 14:49:45
1999-11-30 14:49:45 +00:00
jbj
4e62a322a2
lib/rpmio.c: Implement per-fd layers as a stack, add fdPush/fdPop.
...
lib/rpmio.c: Add fd{Get,Set}{Io,Fp,Fdno} abstraction wrappers.
lib/rpmio.c: Start rationalizing debug output by using fdbg to display the
fd layer stack.
rpm.c: Add --nolibio to disable libio if desired.
rpm2cpio.c: Use Fdopen(..., gzdio) and ufdCopy().
build/build.c: Use Fdopen(..., fpio) rather than fdio.
build/files.c: Use Fdopen(..., fpio) rather than ufdio.
build/parseSpec.c: ditto.
lib/macro.c: ditto.
lib/rpmrc.c: ditto
lib/macro.c: Use Fopen(..., ufdio) in isCompressed() rather that fdOpen().
lib/misc.c: ditto.
lib/misc.c: Avoid fstat by using Stat.
build/pack.c: Add persist fdLink() and use fdFree() in package{Sources,Binaries}
build/pack.c: Try to remove the fdDup before cpioBuildArchive() call.
build/pack.c: Use rpmGenPath with %{_builddir}.
build/parsePreamble.c: Use fdSize rather than Stat to get icon file size.
lib/rpmrc.c: ditto
lib/ftp.c: start capturing ufdio layer syserrno/errcookie.
CVS patchset: 3424
CVS date: 1999/11/14 19:15:18
1999-11-14 19:15:18 +00:00
jbj
3363604c70
Use Fopen almost everywhere.
...
Rip out --enable-bzip2-payload, we'll use Fopen w macros instead.
Work out ref counting for ftpControl so that control channel is persistent.
build/build.c: Use fpio to write build stage script.
parseSpec.c: Rework include stack to use FD_t, not FILE *.
tread.c: Delete, use ufdio->read instead.
rpmio.c: Filter out fdio fd == NULL assertion failures.
rpmrc.c: Don't fail if HOME is not environment.
rpmrc.c: Rework ufdio FTP rcfile I/O to be more similar to stdio.
CVS patchset: 3417
CVS date: 1999/11/04 21:26:08
1999-11-04 21:26:08 +00:00
jbj
7fc3a97733
Add ref/deref/new/fileno/open vectors to FDIO_t.
...
Hide fdOpen/ufdOpen, use {fdio,ufdio}->open throughout.
url.c: Create ref counted abstract urlinfo type with debugging.
url.c: Rename functions to urlNew/urlFree/urlFreeCache for consistency.
rpmio.c: Create ref counted abstract FD_t type with debugging.
rpmio.c: Create private struct _FD_s type.
cpio.c: Create fd[GS]etCpioPos to preserve FD_t abstraction.
CVS patchset: 3414
CVS date: 1999/11/02 14:33:14
1999-11-02 14:33:14 +00:00
jbj
2b84d36c2e
Make fdFileno() static, use Fileno()/Ferror() analogues throughout.
...
Make ufdClose() static, use Fclose() with ufdio cookie throughout.
rpm.c: Clean urlinfoCache and rpmBuildArgs leaks.
url.c: urlIsURL() should be here, not in rpmio.c.
url.c: Preserve FD_t abstraction by creating ufdGetUrlinfo().
url.c: Create freeUrlinfoCache().
rpmio.c: Create ufdio cookie.
CVS patchset: 3407
CVS date: 1999/10/30 16:43:29
1999-10-30 16:43:29 +00:00
jbj
1e0138188b
check for memory leaks (almost all leaks are plugged).
...
CVS patchset: 3403
CVS date: 1999/10/29 16:06:01
1999-10-29 16:06:01 +00:00
jbj
0d0b405c20
use compressed filenames on install side.
...
start unifying FD types, CFD_t now gone.
CVS patchset: 3402
CVS date: 1999/10/27 23:18:10
1999-10-27 23:18:10 +00:00
jbj
574cad11f2
Tyo: RPMTAG_COMPFILENAMES is ...COMPFILELIST.
...
Remove compiler warnings.
CVS patchset: 3386
CVS date: 1999/10/20 18:38:37
1999-10-20 18:38:37 +00:00
jbj
22947b332e
perl from /usr/bin
...
CVS patchset: 3385
CVS date: 1999/10/20 16:48:10
1999-10-20 16:48:10 +00:00
jbj
b38f7bc532
Dependency code from Ken Estes.
...
CVS patchset: 3384
CVS date: 1999/10/20 16:46:54
1999-10-20 16:46:54 +00:00
jbj
f72d5eec3b
Sanity.
...
CVS patchset: 3363
CVS date: 1999/09/30 21:40:20
1999-09-30 21:40:20 +00:00
jbj
907e305591
Build on solaris2.6 with gcc.
...
CVS patchset: 3362
CVS date: 1999/09/30 21:20:34
1999-09-30 21:20:34 +00:00
jbj
1db2e3df7a
Sanity.
...
CVS patchset: 3359
CVS date: 1999/09/30 20:04:03
1999-09-30 20:04:03 +00:00
jbj
d7ba7d08d1
More HPUX cc fiddles.
...
CVS patchset: 3356
CVS date: 1999/09/30 17:45:42
1999-09-30 17:45:42 +00:00
jbj
1baa4101d6
Don't build rpmgettext/rpmputtext if USE_NLS=no.
...
CVS patchset: 3353
CVS date: 1999/09/30 16:03:43
1999-09-30 16:03:43 +00:00
jbj
07d68db900
Don't use err(3) for now.
...
CVS patchset: 3339
CVS date: 1999/09/29 15:59:55
1999-09-29 15:59:55 +00:00
jbj
c7a6121706
Search /usr/include before misc.
...
CVS patchset: 3335
CVS date: 1999/09/26 23:44:36
1999-09-26 23:44:36 +00:00
jbj
bc0955ad3c
Solaris compilation.
...
CVS patchset: 3332
CVS date: 1999/09/26 17:28:00
1999-09-26 17:28:00 +00:00
jbj
d6f997e62d
Drill msgid at same time as msgstrs.
...
CVS patchset: 3331
CVS date: 1999/09/26 17:09:46
1999-09-26 17:09:46 +00:00
jbj
e60094b302
Retrofit glibc __progname.
...
CVS patchset: 3330
CVS date: 1999/09/26 15:04:03
1999-09-26 15:04:03 +00:00
jbj
25132a985a
Add rpminject.
...
CVS patchset: 3320
CVS date: 1999/09/23 21:46:48
1999-09-23 21:46:48 +00:00
jbj
20d78e939a
fix: command line install had header memory leak.
...
check for NULL on all memory allocations.
free rpmrc mallocs on exit.
permit run time leak detection.
CVS patchset: 3311
CVS date: 1999/09/21 03:22:53
1999-09-21 03:22:53 +00:00
jbj
29c1a3598a
do versioned provides/conflicts resolution correctly.
...
rpmpopt: display versioned provides/obsoletes.
revert to shared libbz2.so now that bzip2 is in base install.
CVS patchset: 3304
CVS date: 1999/09/19 00:29:44
1999-09-19 00:29:44 +00:00
jbj
582808bce3
link libbz2.a statically to avoid rpm->bzip2 dependence for now.
...
CVS patchset: 3264
CVS date: 1999/09/07 19:47:53
1999-09-07 19:47:53 +00:00
jbj
438d40966e
add headerWrite return code and check for errors.
...
CVS patchset: 3250
CVS date: 1999/08/24 15:18:43
1999-08-24 15:18:43 +00:00
jbj
dfb29dcf5b
Force static library linkage.
...
CVS patchset: 3172
CVS date: 1999/07/15 23:08:18
1999-07-15 23:08:18 +00:00
jbj
d70b2a5496
Begin rpm-3.0.3.
...
CVS patchset: 3133
CVS date: 1999/07/07 19:25:34
1999-07-07 19:25:34 +00:00
jbj
d64cb1c78c
Reorder. Ignore javadeps.
...
CVS patchset: 3125
CVS date: 1999/07/03 23:21:36
1999-07-03 23:21:36 +00:00
jbj
2cc65c7fb7
Ugly hack to get query dependencies right.
...
CVS patchset: 3118
CVS date: 1999/06/30 21:18:43
1999-06-30 21:18:43 +00:00
jbj
bafb62fbb0
MiNT port (Guido Flohr <gufl0000@stud.uni-sb.de>).
...
CVS patchset: 3096
CVS date: 1999/06/17 21:35:34
1999-06-17 21:35:34 +00:00
jbj
07a258e329
Remove compiler warnings.
...
CVS patchset: 3085
CVS date: 1999/06/05 21:00:53
1999-06-05 21:00:53 +00:00
jbj
b7a61f5b88
Add javadeps and perl provides/requires scripts (Ken Estes).
...
CVS patchset: 3084
CVS date: 1999/06/05 20:52:30
1999-06-05 20:52:30 +00:00
jbj
331076d9a1
Add argument to specedit to choose between specs and powertools packages.
...
CVS patchset: 3051
CVS date: 1999/05/06 23:21:08
1999-05-06 23:21:08 +00:00
jbj
a918f8f9c0
New flags to integrate rpmputtext with build system.
...
CVS patchset: 3044
CVS date: 1999/05/03 23:20:08
1999-05-03 23:20:08 +00:00
jbj
ee185b8ef3
Strip rpmgettext/rpmputtext.
...
CVS patchset: 3039
CVS date: 1999/04/29 21:48:24
1999-04-29 21:48:24 +00:00
jbj
9c6e100351
basename prototype.
...
CVS patchset: 2994
CVS date: 1999/04/14 11:42:35
1999-04-14 11:42:35 +00:00
jbj
527e1bc4e0
fix: last update transaction set segfault bug in installer.
...
improved checks for statfs (Tim Mooney).
remove inconsistent use of __P((...)) throughout.
non-static inline functions caused IRIX cc pain.
CPIOERR_CHECK_ERRNO masking caused AIX cc warnings.
CVS patchset: 2993
CVS date: 1999/04/14 11:28:31
1999-04-14 11:28:31 +00:00
jbj
e9e7a32d24
Add popt to include path.
...
CVS patchset: 2975
CVS date: 1999/04/09 14:15:28
1999-04-09 14:15:28 +00:00
jbj
8dfb93f84f
non-linux, non-gcc portability fixes (Tim Mooney).
...
CVS patchset: 2973
CVS date: 1999/04/08 20:53:45
1999-04-08 20:53:45 +00:00
jbj
6266b08a66
add per-target macrofiles to search path.
...
take globalMacroContext out of macro api.
fix: flush all macros between builds.
CVS patchset: 2936
CVS date: 1999/04/01 22:26:44
1999-04-01 22:26:44 +00:00
jbj
bc76393a17
eliminate old rpmrc configuration syntax.
...
CVS patchset: 2905
CVS date: 1999/03/20 21:09:47
1999-03-20 21:09:47 +00:00