public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Nasrat <pnasrat@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: fix build, context verification
Date: Mon, 23 Nov 2026 09:23:14 GMT	[thread overview]
Message-ID: <179542579446.1.9768297534205552817.rpms-rpm-6c603be5b5b6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 6c603be5b5b6c728a4e502d1c57ccc964b3cbe51
Author : Paul Nasrat <pnasrat@fedoraproject.org>
Date   : 2005-08-26T22:33:31+00:00
Stats  : +26/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/6c603be5b5b6c728a4e502d1c57ccc964b3cbe51?branch=pmatilai-v6

Log:
fix build, context verification

---
diff --git a/rpm-4.4.2-contextverify.patch b/rpm-4.4.2-contextverify.patch
new file mode 100644
index 0000000..8685c34
--- /dev/null
+++ b/rpm-4.4.2-contextverify.patch
@@ -0,0 +1,16 @@
+diff -u rpm-4.4.2/lib/verify.c rpm-4.4.2/lib/verify.c
+--- rpm-4.4.2/lib/verify.c	2005-07-21 16:47:11.000000000 -0400
++++ rpm-4.4.2/lib/verify.c	2005-08-26 12:23:35.000000000 -0400
+@@ -138,8 +138,10 @@
+ 
+ 	    if (fcontext == NULL || strcmp(fcontext, con))
+ 		*res |= RPMVERIFY_CONTEXTS;
+-	    freecon(con);
+-            freecon(fcontext); 
++            if (con != NULL)
++	        freecon(con);
++            if (fcontext != NULL)
++                freecon(fcontext); 
+ 
+ 	}
+     }

diff --git a/rpm.spec b/rpm.spec
index 08f71d0..4f59673 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -20,7 +20,7 @@ Name: rpm
 %define version 4.4.2
 Version: %{version}
 %{expand: %%define rpm_version %{version}}
-Release: 3
+Release: 4
 Group: System Environment/Base
 Source: ftp://wraptastic.org/pub/rpm-4.4.x/rpm-%{rpm_version}.tar.gz
 Patch0: rpm-4.4.1-hkp-disable.patch
@@ -31,6 +31,8 @@ Patch4: rpm-4.4.1-prepostun.patch
 Patch5: rpm-4.4.1-ordererase.patch
 Patch6: rpm-4.4.2-matchpathcon.patch
 Patch7: rpm-4.4.2-perlreq.patch
+Patch8: rpm-4.4.2-db3-param.patch
+Patch9: rpm-4.4.2-contextverify.patch
 License: GPL
 Conflicts: patch < 2.5
 %ifos linux
@@ -149,6 +151,8 @@ shell-like rules.
 %patch5 -p1  -b .ordererase
 %patch6 -p1  -b .matchpathcon
 %patch7 -p1  -b .perlreq
+%patch8 -p1  -b .param
+%patch9 -p1  -b .contextverify
 
 
 %build
@@ -540,7 +544,11 @@ exit 0
 %{__includedir}/popt.h
 
 %changelog
-* Wed Jul 27 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-2
+* Fri Aug 26 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-4
+- Fix build with CFLAGS having --param
+- Fix for context verification in /tmp (#162037)
+
+* Wed Jul 27 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-3
 - popt minor version requires
 
 * Tue Jul 26 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-2

                 reply	other threads:[~2026-11-23  9:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542579446.1.9768297534205552817.rpms-rpm-6c603be5b5b6@fedoraproject.org \
    --to=pnasrat@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox