public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/radcli] epel10: Update to 2.0.0 upstream release
Date: Sun, 13 Sep 2026 15:23:01 GMT [thread overview]
Message-ID: <178931298194.1.6624810899535181140.rpms-radcli-f4026c3a1a5e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/radcli
Branch : epel10
Commit : f4026c3a1a5eca67620c7382866f7dcfc34867f5
Author : Packit <hello@packit.dev>
Date : 2026-09-13T10:05:42+00:00
Stats : +50/-18 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/radcli/c/f4026c3a1a5eca67620c7382866f7dcfc34867f5?branch=epel10
Log:
Update to 2.0.0 upstream release
Upstream tag: 2.0.0
Upstream commit: 4574a1cf
Commit authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index c7d3ce6..8d2ae27 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,5 @@
/radcli-1.5.2.tar.gz.sig
/radcli-1.5.3.tar.xz
/radcli-1.5.3.tar.xz.sig
+/radcli-2.0.0.tar.xz
+/radcli-2.0.0.tar.xz.sig
diff --git a/README.packit b/README.packit
index 09d231a..41ba8b3 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 1.16.2.post1.dev12+g819bb7962.
+The file was generated using packit 1.16.3.
diff --git a/radcli.spec b/radcli.spec
index 31aa4dc..29ee00c 100644
--- a/radcli.spec
+++ b/radcli.spec
@@ -1,6 +1,6 @@
Summary: RADIUS protocol client library
Name: radcli
-Version: 1.5.3
+Version: 2.0.0
Release: %autorelease
#Breakdown of licenses. Under MIT license:
@@ -8,7 +8,7 @@ Release: %autorelease
# lib/env.c, lib/ip_util.c, lib/log.c, lib/sendserver.c, lib/util.c,
# src/local.c, src/radacct.c, src/radexample.c, src/radius.c, src/radlogin.c,
# src/radstatus.c, include/messages.h, include/pathnames.h, lib/options.h
-# Under BSD license: lib/util.c, src/radiusclient.c, lib/rc-md5.c, lib/tls.c,
+# Under BSD license: lib/util.c, src/radiusclient.c, lib/rc-crypto.c, lib/tls.c,
# lib/tls.h
License: BSD-2-Clause AND UMich-Merit AND HPND-Fenneberg-Livingston
@@ -25,8 +25,9 @@ BuildRequires: gnutls-devel
%description
The radcli library is a library for writing RADIUS Clients. The library's
approach is to allow writing RADIUS-aware application in less than 50 lines
-of C code. It was based originally on freeradius-client and is source compatible
-with it.
+of C code. It provides radcli2.h, a new, self-sufficient API, and radcli.h,
+a legacy API kept source compatible with freeradius-client (see the
+%{name}-compat subpackage).
%package devel
Summary: Development files for radcli
@@ -34,24 +35,35 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains libraries and header files for developing applications
-that use %{name}.
+against radcli2.h, %{name}'s new, self-sufficient API.
+
+%package compat
+Summary: Legacy radcli client library, source compatible with freeradius-client
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description compat
+This package contains the legacy radcli client library (radcli.h, the
+rc_*/RC_* API), kept for applications not yet migrated to radcli2.h. New
+applications should use %{name}-devel/radcli2.h instead -- see
+https://radcli.github.io/radcli/ for the new API's documentation.
%package compat-devel
-Summary: Development files for compatibility with radiusclient-ng and freeradius-client
+Summary: Development files for the legacy radcli API, and compatibility with radiusclient-ng and freeradius-client
+Requires: %{name}-compat%{?_isa} = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release}
# We provide compatible headers with it
Conflicts: freeradius-client-devel, radiusclient-ng-devel
%description compat-devel
-This package contains the compatibility headers and libraries for freeradius-client
-and radiusclient-ng.
+This package contains the headers and libraries for developing applications
+against the legacy radcli.h API, and the compatibility headers and library
+symlinks for freeradius-client and radiusclient-ng.
%prep
%autosetup -p1
-rm -f lib/md5.c
%build
-%meson -Dnettle=enabled -Dtls=enabled -Dlegacy-compat=true -Ddocs=disabled
+%meson -Dtls=enabled -Dlegacy-compat=true -Ddocs=disabled
%meson_build
%check
@@ -66,6 +78,7 @@ mkdir -p %{buildroot}%{_datadir}/%{name}
cp -p %{buildroot}%{_datadir}/%{name}/dictionary %{buildroot}%{_sysconfdir}/%{name}/dictionary
%ldconfig_scriptlets
+%ldconfig_scriptlets compat
%files
%doc README.md NEWS
@@ -78,24 +91,41 @@ cp -p %{buildroot}%{_datadir}/%{name}/dictionary %{buildroot}%{_sysconfdir}/%{na
%config(noreplace) %{_sysconfdir}/%{name}/servers-tls
%config(noreplace) %{_sysconfdir}/%{name}/dictionary
-%{_libdir}/libradcli.so.*
+%{_libdir}/libradcli2.so.*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/dictionary
+# radcli2.h man pages -- the new API ships with the base package, alongside
+# libradcli2.so.*
+%exclude %{_mandir}/man3/rc_*.3*
+%exclude %{_mandir}/man3/radcli.h.3*
+%{_mandir}/man3/*
+
%files devel
-%{_includedir}/%{name}
-%{_libdir}/libradcli.so
-%{_mandir}/man3/*
-%{_libdir}/pkgconfig/*.pc
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/radcli2.h
+%{_includedir}/%{name}/radcli-defs.h
+%{_includedir}/%{name}/version.h
+%{_libdir}/libradcli2.so
+%{_libdir}/pkgconfig/radcli2.pc
+
+%files compat
+
+%{_libdir}/libradcli.so.*
%files compat-devel
+%{_includedir}/%{name}/radcli.h
%{_includedir}/freeradius-client.h
%{_includedir}/radiusclient-ng.h
+%{_libdir}/libradcli.so
%{_libdir}/libfreeradius-client.so
%{_libdir}/libradiusclient-ng.so
+%{_libdir}/pkgconfig/radcli.pc
+%{_mandir}/man3/rc_*.3*
+%{_mandir}/man3/radcli.h.3*
%changelog
%autochangelog
diff --git a/sources b/sources
index 28fa968..52c5c23 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (radcli-1.5.3.tar.xz) = 12f44dacf81d8d6f28fbbb93f7d6bc67ed36f63bbce293800c82bc3dc556336ebd3b4e18d8e37687ca128b0c806d5cb1bef647b06453a750f9290f24f14838d5
-SHA512 (radcli-1.5.3.tar.xz.sig) = 6e0827c6c37405e49068942534e50fa5c73e109cfe093c0580c0642317cb10725d2b23cc95d021cd0d1d075def2b9eb66ac5568020ee981296d42bf5345a7e96
+SHA512 (radcli-2.0.0.tar.xz) = 6830e04cd7d48fc3c323c5a9faa4f637d7ee9e7689c235aa72057b8f49aaf6c1c4cdcbd89d39520671746313b05845dc6830b3da345600be96cb39fc685af210
+SHA512 (radcli-2.0.0.tar.xz.sig) = 9b26c23e77098d81a7897fb7c6ab106fc802b6887dd761bbe72a59a1d48cbb4a16702653147c21a11fcf803cca7f753a68abbe56fa9eb88fe4e9480dbfe9d24e
reply other threads:[~2026-09-13 15: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=178931298194.1.6624810899535181140.rpms-radcli-f4026c3a1a5e@fedoraproject.org \
--to=hello@packit.dev \
--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