summaryrefslogtreecommitdiff
path: root/packaging/nodigest.patch
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-02-01 15:39:42 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-02-01 15:39:42 +0900
commit5a15df531fad1f4a8a29665c7087ef4b0afb49a2 (patch)
tree5c5abbf08f519384899e3582e671ddae90c498fe /packaging/nodigest.patch
parent50d58ada4b3e2ddbe64fd2be5af2a015d7d7cea6 (diff)
downloadrpm-tizen_2.3.tar.gz
rpm-tizen_2.3.tar.bz2
rpm-tizen_2.3.zip
Diffstat (limited to 'packaging/nodigest.patch')
-rw-r--r--packaging/nodigest.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packaging/nodigest.patch b/packaging/nodigest.patch
new file mode 100644
index 0000000..1eb101b
--- /dev/null
+++ b/packaging/nodigest.patch
@@ -0,0 +1,20 @@
+diff -urNp rpm-4.9.1.orig/rpmqv.c rpm-4.9.1/rpmqv.c
+--- rpm-4.9.1.orig/rpmqv.c 2014-03-04 11:19:08.000000000 +0900
++++ rpm-4.9.1/rpmqv.c 2014-05-26 10:26:25.183992358 +0900
+@@ -76,12 +76,16 @@ int main(int argc, char *argv[])
+
+ #if defined(IAM_RPMQV)
+ QVA_t qva = &rpmQVKArgs;
++ qva->qva_flags |= VERIFY_FILEDIGEST;
+ #endif
+
+ #ifdef IAM_RPMEIU
+ struct rpmInstallArguments_s * ia = &rpmIArgs;
++ ia->transFlags |= RPMTRANS_FLAG_NOFILEDIGEST;
+ #endif
+
++ rpmcliQueryFlags |= VERIFY_DIGEST;
++
+ poptContext optCon;
+ int ec = 0;
+ #ifdef IAM_RPMEIU