public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpkg] 1.70-1: Patch: Allow using gssapi for lookaside caches
@ 2026-08-10 21:43 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-10 21:43 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 21:43 [rpms/rpkg] 1.70-1: Patch: Allow using gssapi for lookaside caches 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox