public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pam_url] epel10: Update to latest available snapshot
@ 2026-06-13 18:25 Mattia Verga
  0 siblings, 0 replies; only message in thread
From: Mattia Verga @ 2026-06-13 18:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pam_url
Branch : epel10
Commit : aab5bb7c39e951a40b737dd5571a05d27022ceb6
Author : Mattia Verga <mattia.verga@protonmail.com>
Date   : 2020-04-10T16:58:05+02:00
Stats  : +21/-6 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/pam_url/c/aab5bb7c39e951a40b737dd5571a05d27022ceb6?branch=epel10

Log:
Update to latest available snapshot

---
diff --git a/.gitignore b/.gitignore
index 3cc1586..0b7913c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /pam_url-0.3.1.tar.bz2
 /pam_url-0.3.2.tar.bz2
 /pam_url-0.3.3.tar.bz2
+/pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313.tar.gz

diff --git a/pam_url.spec b/pam_url.spec
index 9ff8c54..c80ae63 100644
--- a/pam_url.spec
+++ b/pam_url.spec
@@ -1,21 +1,31 @@
+%global forgeurl https://github.com/mricon/pam_url
+%global commit 58e33bfaed3064ddc93f352b8272d42c17a20313
+%forgemeta
+
 Summary:        PAM module to authenticate with HTTP servers
 Name:           pam_url
 Version:        0.3.3
-Release:        13%{?dist}
+Release:        14%{?dist}
 Epoch:          1
 License:        GPLv2
-URL:            https://fedorahosted.org/pam_url
-Source:         https://fedorahosted.org/releases/p/a/pam_url/%{name}-%{version}.tar.bz2
+URL:            %{forgeurl}
+Source:         %{forgesource}
+
 Requires:       pam
+
 BuildRequires:  gcc
-BuildRequires:  pam-devel, libcurl-devel, libconfig-devel
+BuildRequires:  pam-devel
+BuildRequires:  pkgconfig(libconfig)
+BuildRequires:  pkgconfig(libcurl)
 
 %description
 The pam_url module enables you to authenticate users against a Web application,
 such as totpcgi.
 
 %prep
-%setup -q
+%forgesetup
+
+sed -i 's/#ifndef __CURL_CURL_H/#ifndef CURLINC_CURL_H/g' pam_url.h
 
 %build
 CFLAGS="%{optflags} -std=c99" make %{?_smp_mflags} pamlib=%{_lib}/security all
@@ -30,6 +40,10 @@ make DESTDIR=%{buildroot} pamlib=%{_lib}/security install
 
 
 %changelog
+* Fri Apr 10 2020 Mattia Verga <mattia.verga@protonmail.com> - 1:0.3.3-14
+- Update to latest available snapshot
+- Fix libcurl headers detection
+
 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.3-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
 

diff --git a/sources b/sources
index 5ecdc2c..9a0014d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0fe6d16b4df479335082a11095194947  pam_url-0.3.3.tar.bz2
+SHA512 (pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313.tar.gz) = bc300da5bd04fd8005552c9dbd3e6fa565973180c0e6b8db30b0d7b051c6366f6111cfb52e65f5d308015e342bb75103e42066ca4ab0cf2fab076d0dacac0387

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

only message in thread, other threads:[~2026-06-13 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-13 18:25 [rpms/pam_url] epel10: Update to latest available snapshot Mattia Verga

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