4 Commits

Author SHA256 Message Date
ed31cbba47 Accepting request 1293106 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1293106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/voms?expand=0&rev=5
2025-07-15 14:43:49 +00:00
c59712e080 - version update to 2.1.2
* Make the build more robust against non-standard installations of some dependencies by @giacomini in #138
  * Fix compilation with GCC 15 (Fedora 42) by @ellert in #140
  * Remove an escaped slash during normalization of a DN by @giacomini in #144
  * Preserve the possible failure of AC verification in voms-proxy-info by @giacomini in #143
- deleted patches
  - voms-gcc14.patch (upstreamed)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/voms?expand=0&rev=11
2025-07-14 10:27:15 +00:00
adda5eae33 Accepting request 1221458 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1221458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/voms?expand=0&rev=4
2024-11-05 16:34:20 +00:00
14b976ee6d - Eliminate usage of update-alternatives: There is no actual
alternative provider available in openSUSE.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/voms?expand=0&rev=9
2024-11-05 14:17:40 +00:00
5 changed files with 30 additions and 154 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4908526865889b7e8af6ff0264cf7f05a42834d71dfd9b01c2318937e826229d
size 469817

3
voms-2.1.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:171cfa66b000422761b2a534a84ad88b646c675ff7910409b08b900775dbf035
size 482314

View File

@@ -1,73 +0,0 @@
Index: voms-2.1.0-rc3/src/sslutils/namespaces.y
===================================================================
--- voms-2.1.0-rc3.orig/src/sslutils/namespaces.y
+++ voms-2.1.0-rc3/src/sslutils/namespaces.y
@@ -33,6 +33,9 @@
char **parse_subjects(char *string);
void namespaceserror(void *policies, void *scanner, char const *msg);
+extern int namespaceslex(YYSTYPE * yylval_param ,yyscan_t yyscanner);
+
+#
%}
%error-verbose
Index: voms-2.1.0-rc3/src/sslutils/signing_policy.y
===================================================================
--- voms-2.1.0-rc3.orig/src/sslutils/signing_policy.y
+++ voms-2.1.0-rc3/src/sslutils/signing_policy.y
@@ -33,6 +33,8 @@
#include "parsertypes.h"
#include "listfunc.h"
+extern int signinglex (YYSTYPE * yylval_param ,yyscan_t yyscanner);
+
char **parse_subjects(char *string);
void signingerror(void *policies, void *scanner, char const *msg);
%}
Index: voms-2.1.0-rc3/src/sslutils/namespaces.c
===================================================================
--- voms-2.1.0-rc3.orig/src/sslutils/namespaces.c
+++ voms-2.1.0-rc3/src/sslutils/namespaces.c
@@ -176,6 +176,7 @@ typedef union YYSTYPE
# define YYSTYPE_IS_DECLARED 1
#endif
+extern int namespaceslex(YYSTYPE * yylval_param ,void* yyscanner);
/* Copy the second part of user declarations. */
Index: voms-2.1.0-rc3/src/sslutils/signing_policy.c
===================================================================
--- voms-2.1.0-rc3.orig/src/sslutils/signing_policy.c
+++ voms-2.1.0-rc3/src/sslutils/signing_policy.c
@@ -112,6 +112,7 @@
#include "parsertypes.h"
#include "listfunc.h"
+
char **parse_subjects(char *string);
void signingerror(void *policies, void *scanner, char const *msg);
@@ -181,6 +182,7 @@ typedef union YYSTYPE
# define YYSTYPE_IS_DECLARED 1
#endif
+extern int signinglex (YYSTYPE * yylval_param ,void* yyscanner);
/* Copy the second part of user declarations. */
Index: voms-2.1.0-rc3/src/utils/vomsparser.c
===================================================================
--- voms-2.1.0-rc3.orig/src/utils/vomsparser.c
+++ voms-2.1.0-rc3/src/utils/vomsparser.c
@@ -633,6 +633,9 @@ while (YYID (0))
# define YYLEX yylex ()
#endif
+extern int yylex(void);
+extern void yyerror(char const*);
+
/* Enable debugging if requested. */
#if YYDEBUG

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Jul 8 13:32:28 UTC 2025 - pgajdos@suse.com
- version update to 2.1.2
* Make the build more robust against non-standard installations of some dependencies by @giacomini in #138
* Fix compilation with GCC 15 (Fedora 42) by @ellert in #140
* Remove an escaped slash during normalization of a DN by @giacomini in #144
* Preserve the possible failure of AC verification in voms-proxy-info by @giacomini in #143
- deleted patches
- voms-gcc14.patch (upstreamed)
-------------------------------------------------------------------
Tue Nov 5 14:08:12 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Eliminate usage of update-alternatives: There is no actual
alternative provider available in openSUSE.
-------------------------------------------------------------------
Tue May 14 14:17:11 UTC 2024 - Marcus Meissner <meissner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package voms
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2015 mischa.salle@gmail.com
#
# All modifications and additions to the file contributed by third parties
@@ -18,14 +18,12 @@
Name: voms
Version: 2.1.0~rc3
%define upstream_version 2.1.0-rc3
Version: 2.1.2
Release: 0
Summary: The Virtual Organisation Membership Service
License: Apache-2.0
URL: https://wiki.italiangrid.it/VOMS
Source: https://github.com/italiangrid/voms/archive/v%{upstream_version}.tar.gz#/%{name}-%{upstream_version}.tar.gz
Patch0: voms-gcc14.patch
Source: https://github.com/italiangrid/voms/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
%description
The Virtual Organization Membership Service (VOMS) is an attribute authority
@@ -92,9 +90,6 @@ Summary: Virtual Organization Membership Service Clients
Group: Applications/Internet
Requires: libvomsapi1%{?_isa} = %{version}-%{release}
Requires(post): update-alternatives
Requires(postun):update-alternatives
%description clients
The Virtual Organization Membership Service (VOMS) is an attribute authority
which serves as central repository for VO user authorization information,
@@ -106,8 +101,7 @@ authorization purposes.
This package provides command line applications to access the VOMS services.
%prep
%autosetup -p1 -n voms-%{upstream_version}
%autosetup -p1
# Fix bad permissions (which otherwise end up in the debuginfo package)
find . '(' -name '*.h' -o -name '*.c' -o -name '*.cpp' -o \
-name '*.cc' -o -name '*.java' ')' -exec chmod a-x {} +
@@ -159,22 +153,10 @@ rm -f %{buildroot}%{_docdir}/%{name}-%{version}/VOMS_CC_API/html/installdox
# Handle duplicate files
%fdupes %{buildroot}%{_docdir}
# create a dummy target for /etc/alternatives/voms-proxy-*
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
%check
make check
## Rename client binaries and man pages and create symlinks
for b in voms-proxy-init voms-proxy-info voms-proxy-destroy; do
# rename existing ones
mv %{buildroot}%{_bindir}/${b} %{buildroot}%{_bindir}/${b}2
mv %{buildroot}%{_mandir}/man1/${b}.1 %{buildroot}%{_mandir}/man1/${b}2.1
# Create symlinks
ln -s -f %{_sysconfdir}/alternatives/${b} %{buildroot}/%{_bindir}/${b}
ln -s -f %{_sysconfdir}/alternatives/${b}.1.gz %{buildroot}/%{_mandir}/man1/${b}.1.gz
done
%post -n libvomsapi1 -p /sbin/ldconfig
%postun -n libvomsapi1 -p /sbin/ldconfig
%ldconfig_scriptlets -n libvomsapi1
%posttrans
# Recover /etc/vomses...
@@ -182,41 +164,6 @@ if [ -r %{_sysconfdir}/vomses.rpmsave -a ! -r %{_sysconfdir}/vomses ] ; then
mv %{_sysconfdir}/vomses.rpmsave %{_sysconfdir}/vomses
fi
%pre clients
if [ $1 -eq 2 ]; then
for c in voms-proxy-init voms-proxy-info voms-proxy-destroy; do
if [[ -x %{_bindir}/$c && ! -L %{_bindir}/$c ]]; then
rm -f %{_bindir}/$c
fi
done
fi
%post clients
%{_sbindir}/update-alternatives \
--install %{_bindir}/voms-proxy-init voms-proxy-init \
%{_bindir}/voms-proxy-init2 50 \
--slave %{_mandir}/man1/voms-proxy-init.1.gz voms-proxy-init-man \
%{_mandir}/man1/voms-proxy-init2.1.gz
%{_sbindir}/update-alternatives \
--install %{_bindir}/voms-proxy-info voms-proxy-info \
%{_bindir}/voms-proxy-info2 50 \
--slave %{_mandir}/man1/voms-proxy-info.1.gz voms-proxy-info-man \
%{_mandir}/man1/voms-proxy-info2.1.gz
%{_sbindir}/update-alternatives \
--install %{_bindir}/voms-proxy-destroy voms-proxy-destroy \
%{_bindir}/voms-proxy-destroy2 50 \
--slave %{_mandir}/man1/voms-proxy-destroy.1.gz voms-proxy-destroy-man \
%{_mandir}/man1/voms-proxy-destroy2.1.gz
%postun clients
if [ $1 -eq 0 ] ; then
%{_sbindir}/update-alternatives --remove voms-proxy-init %{_bindir}/voms-proxy-init2
%{_sbindir}/update-alternatives --remove voms-proxy-info %{_bindir}/voms-proxy-info2
%{_sbindir}/update-alternatives --remove voms-proxy-destroy %{_bindir}/voms-proxy-destroy2
fi
%files -n libvomsapi1
%{_libdir}/libvomsapi.so.1*
%dir %{_sysconfdir}/grid-security
@@ -239,31 +186,16 @@ fi
%files clients
%{_bindir}/voms-proxy-destroy
%{_bindir}/voms-proxy-fake
%{_bindir}/voms-proxy-info
%{_bindir}/voms-proxy-init
%{_bindir}/voms-proxy-list
%{_bindir}/voms-verify
%{_bindir}/voms-proxy-destroy2
%{_bindir}/voms-proxy-info2
%{_bindir}/voms-proxy-init2
%{_bindir}/voms-proxy-fake
%{_bindir}/voms-proxy-list
%{_mandir}/man1/voms-proxy-destroy.1.gz
%{_mandir}/man1/voms-proxy-fake.1.gz
%{_mandir}/man1/voms-proxy-info.1.gz
%{_mandir}/man1/voms-proxy-init.1.gz
%{_mandir}/man1/voms-proxy-destroy2.1.gz
%{_mandir}/man1/voms-proxy-info2.1.gz
%{_mandir}/man1/voms-proxy-init2.1.gz
%{_mandir}/man1/voms-proxy-fake.1.gz
%{_mandir}/man1/voms-proxy-list.1.gz
%ghost %{_sysconfdir}/alternatives/voms-proxy-destroy
%ghost %{_sysconfdir}/alternatives/voms-proxy-info
%ghost %{_sysconfdir}/alternatives/voms-proxy-init
%ghost %{_sysconfdir}/alternatives/voms-proxy-destroy.1.gz
%ghost %{_sysconfdir}/alternatives/voms-proxy-info.1.gz
%ghost %{_sysconfdir}/alternatives/voms-proxy-init.1.gz
%changelog