summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-07-24 16:21:23 +0000
committerjbj <devnull@localhost>2002-07-24 16:21:23 +0000
commitede1f445e09895daee8bce8a2ddc9200839ee5de (patch)
tree66738dfcfd86d2c355b5f2ead53fb556999c2e71 /tools
parent6540da425629bf45020047214b81e156c62c7d7b (diff)
downloadrpm-ede1f445e09895daee8bce8a2ddc9200839ee5de.tar.gz
rpm-ede1f445e09895daee8bce8a2ddc9200839ee5de.tar.bz2
rpm-ede1f445e09895daee8bce8a2ddc9200839ee5de.zip
- verify signatures/digests retrieved through rpmdbNextIterator().
- imbue %ghost with missingok attribute with --verify (#68933). CVS patchset: 5568 CVS date: 2002/07/24 16:21:23
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am9
-rw-r--r--tools/rpmcache.c2
2 files changed, 7 insertions, 4 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 4c2ae75b0..9c62bcf85 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -15,7 +15,7 @@ INCLUDES = -I. \
EXTRA_DIST = rpminject.c rpmsort.c
-EXTRA_PROGRAMS = rpminject rpmsort
+EXTRA_PROGRAMS = rpminject rpmsort tblob
LDADD = \
$(top_builddir)/build/librpmbuild.la \
@@ -42,10 +42,13 @@ rpmcache_SOURCES = rpmcache.c
rpmgraph_SOURCES = rpmgraph.c
#rpmgraph_LDFLAGS = @LDFLAGS_STATIC@
+rpminject_SOURCES = rpminject.c
+rpminject_LDFLAGS = @LDFLAGS_STATIC@
+
rpmsort_SOURCES = rpmsort.c
rpmsort_LDFLAGS = @LDFLAGS_STATIC@
-rpminject_SOURCES = rpminject.c
-rpminject_LDFLAGS = @LDFLAGS_STATIC@
+tblob_SOURCES = tblob.c
+tblob_LDFLAGS = @LDFLAGS_STATIC@
$(PROGRAMS): $(LDADD)
diff --git a/tools/rpmcache.c b/tools/rpmcache.c
index 7f95bfbe0..637ca5591 100644
--- a/tools/rpmcache.c
+++ b/tools/rpmcache.c
@@ -153,7 +153,7 @@ static int ftsCacheUpdate(rpmts ts)
if (rc != 1) break;
/* --- Add new cache header to database. */
- rc = rpmdbAdd(rpmtsGetRdb(ts), tid, ip->h);
+ rc = rpmdbAdd(rpmtsGetRdb(ts), tid, ip->h, NULL, NULL);
if (rc) break;
}