public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpkg] 1.70-1: Patch: Allow using gssapi for lookaside caches
Date: Mon, 10 Aug 2026 21:43:34 GMT	[thread overview]
Message-ID: <178639821416.1.14513715235460883233.rpms-rpkg-8471222afafa@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpkg
            Branch : 1.70-1
            Commit : 8471222afafa1053c495b74523934919b55bd4c1
            Author : Lubomír Sedlář <lsedlar@redhat.com>
            Date   : 2016-10-25T14:00:09+02:00
            Stats  : +45/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpkg/c/8471222afafa1053c495b74523934919b55bd4c1?branch=1.70-1

            Log:
            Patch: Allow using gssapi for lookaside caches

The patch is merged in master, but we want to make it available as soon
as possible.

This requires a temporary revert of previous commit: in the existing
tarball the man page script is still in original location.

---
diff --git a/0001-Allow-using-gssapi-for-lookaside-caches.patch b/0001-Allow-using-gssapi-for-lookaside-caches.patch
new file mode 100644
index 0000000..a5bba3d
--- /dev/null
+++ b/0001-Allow-using-gssapi-for-lookaside-caches.patch
@@ -0,0 +1,37 @@
+From 3f9b6951a805f62b04b74f44d5e0b4d4ac1b096d Mon Sep 17 00:00:00 2001
+From: Patrick Uiterwijk <puiterwijk@redhat.com>
+Date: Fri, 14 Oct 2016 21:11:12 +0000
+Subject: [PATCH] Allow using gssapi for lookaside caches
+
+Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
+---
+ src/pyrpkg/lookaside.py | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/src/pyrpkg/lookaside.py b/src/pyrpkg/lookaside.py
+index f46da65..7aa1ae0 100644
+--- a/src/pyrpkg/lookaside.py
++++ b/src/pyrpkg/lookaside.py
+@@ -214,6 +214,9 @@ class CGILookasideCache(object):
+                 else:
+                     self.log.warning("Missing certificate: %s" % self.ca_cert)
+ 
++            c.setopt(pycurl.HTTPAUTH, pycurl.HTTPAUTH_GSSNEGOTIATE)
++            c.setopt(pycurl.USERPWD, ':')
++
+             try:
+                 c.perform()
+                 status = c.getinfo(pycurl.RESPONSE_CODE)
+@@ -282,6 +285,9 @@ class CGILookasideCache(object):
+                 else:
+                     self.log.warning("Missing certificate: %s" % self.ca_cert)
+ 
++            c.setopt(pycurl.HTTPAUTH, pycurl.HTTPAUTH_GSSNEGOTIATE)
++            c.setopt(pycurl.USERPWD, ':')
++
+             try:
+                 c.perform()
+                 status = c.getinfo(pycurl.RESPONSE_CODE)
+-- 
+2.7.4
+

diff --git a/rpkg.spec b/rpkg.spec
index d82f341..43fea5b 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -3,13 +3,15 @@
 
 Name:           rpkg
 Version:        1.46
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Utility for interacting with rpm+git packaging systems
 
 Group:          Applications/System
 License:        GPLv2+ and LGPLv2
 URL:            https://pagure.io/rpkg
 Source0:        https://pagure.io/releases/rpkg/rpkg-%{version}.tar.gz
+# Merged in master, but included here so that it reaches people faster
+Patch0:         0001-Allow-using-gssapi-for-lookaside-caches.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:       pyrpkg >= %{version}-%{release}
@@ -56,11 +58,12 @@ A python library for managing RPM package sources in a git repository.
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
 %{__python} setup.py build
-%{__python} doc/rpkg_man_page.py > rpkg.1
+%{__python} src/rpkg_man_page.py > rpkg.1
 
 
 %install
@@ -90,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Oct 25 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.46-5
+- Allow using gssapi for lookaside caches
+
 * Tue Sep 06 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.46-4
 - Update dependencies for python-argparse and python-hashlib
 

                 reply	other threads:[~2026-08-10 21:43 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=178639821416.1.14513715235460883233.rpms-rpkg-8471222afafa@fedoraproject.org \
    --to=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