public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/gridsite] epel10: Redhat #61209, includes.
Date: Thu, 19 Nov 2026 09:01:30 GMT [thread overview]
Message-ID: <179507889072.1.10780015650552563619.rpms-gridsite-5a238c99f54a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gridsite
Branch : epel10
Commit : 5a238c99f54a2694b4f9d7337208369c72151baa
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2010-09-22T01:12:07+02:00
Stats : +77/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gridsite/c/5a238c99f54a2694b4f9d7337208369c72151baa?branch=epel10
Log:
Redhat #61209, includes.
---
diff --git a/gridsite-include.patch b/gridsite-include.patch
new file mode 100644
index 0000000..1c7cc98
--- /dev/null
+++ b/gridsite-include.patch
@@ -0,0 +1,60 @@
+diff -uNr org.gridsite.core.ORIG/interface/gridsite-gacl.h org.gridsite.core/interface/gridsite-gacl.h
+--- org.gridsite.core.ORIG/interface/gridsite-gacl.h 2010-09-22 01:00:09.976742554 +0200
++++ org.gridsite.core/interface/gridsite-gacl.h 2010-09-22 01:01:04.304742031 +0200
+@@ -35,6 +35,9 @@
+
+ #ifndef HEADER_GACL_H
+ #define HEADER_GACL_H
++
++#ifdef __cplusplus
++extern "C" {
+ #endif
+
+ #ifndef GACL_LIB_VERSION
+@@ -186,3 +189,9 @@
+
+ GACLentry *GRSTgaclEntryParse(xmlNodePtr cur);
+ /* special function for legacy EDG LB service */
++
++#ifdef __cplusplus
++} // extern "C"
++#endif
++
++#endif // HEADER_GACL_H
+diff -uNr org.gridsite.core.ORIG/interface/gridsite.h org.gridsite.core/interface/gridsite.h
+--- org.gridsite.core.ORIG/interface/gridsite.h 2010-09-22 01:00:09.976742554 +0200
++++ org.gridsite.core/interface/gridsite.h 2010-09-22 01:01:04.331492564 +0200
+@@ -35,6 +35,9 @@
+
+ #ifndef GRST_VERSION
+ #define GRST_VERSION 010500
++
++#ifdef __cplusplus
++extern "C" {
+ #endif
+
+ #ifndef HEADER_SSL_H
+@@ -419,3 +422,9 @@
+ int GRSThtcpTSTrequestMake(char **, int *, unsigned int, char *, char *, char *);
+ int GRSThtcpTSTresponseMake(char **, int *, unsigned int, char *, char *, char *);
+ int GRSThtcpMessageParse(GRSThtcpMessage *, char *, int);
++
++#ifdef __cplusplus
++} // extern "C"
++#endif
++
++#endif // GRST_VERSION
+diff -uNr org.gridsite.core.ORIG/src/Makefile org.gridsite.core/src/Makefile
+--- org.gridsite.core.ORIG/src/Makefile 2010-09-22 01:00:09.988740935 +0200
++++ org.gridsite.core/src/Makefile 2010-09-22 01:04:20.963490070 +0200
+@@ -350,8 +350,8 @@
+ $(prefix)/$(libdir)/httpd/modules \
+ $(prefix)/share/doc/gridsite-$(MINOR_VERSION) \
+ $(prefix)/libexec/gridsite/cgi-bin
+- echo '#define' GRST_VERSION $(DEFVERSION) > $(prefix)/include/gridsite.h
+- cat ../interface/gridsite.h >>$(prefix)/include/gridsite.h
++ sed 's/^\(#define GRST_VERSION\).*$$/\1 $(DEFVERSION)/' \
++ ../interface/gridsite.h > $(prefix)/include/gridsite.h
+ cp -f ../interface/gridsite-gacl.h $(prefix)/include
+ cp -f urlencode $(prefix)/bin
+ cp -f findproxyfile $(prefix)/bin
diff --git a/gridsite.spec b/gridsite.spec
index 0320ffa..58af1bf 100644
--- a/gridsite.spec
+++ b/gridsite.spec
@@ -5,9 +5,9 @@
%endif
Name: gridsite
-Version: 1.5.18
+Version: 1.5.19
-Release: 4%{?dist}
+Release: 1%{?dist}
Summary: Grid Security for the Web, Web platforms for Grids
Group: System Environment/Daemons
@@ -25,7 +25,12 @@ Source2: gridsitehead.txt
Source3: gridsitefoot.txt
Source4: root-level.gacl
Source5: gridsitelogo.png
+
Patch1: cgi-bin-location.patch
+# Includes are wrong.
+#https://bugzilla.redhat.com/show_bug.cgi?id=612109
+#https://savannah.cern.ch/bugs/index.php?69632
+Patch2: gridsite-include.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -129,6 +134,10 @@ cp -p %{SOURCE5} .
## Change installed path of cgi-bins.
%patch1 -p1
+# Includes are wrong.
+#https://bugzilla.redhat.com/show_bug.cgi?id=612109
+#https://savannah.cern.ch/bugs/index.php?69632
+%patch2 -p1
%build
(cd src && MYCFLAGS="%{optflags} -DLINUX=2 -D_REENTRANT -D_LARGEFILE64_SOURCE -I../interface -I%{_includedir}/httpd -I%{_includedir}/apr-%{aprversion} -fPIC " make )
@@ -241,6 +250,12 @@ rm -rf $RPM_BUILD_ROOT
%doc src/doxygen
%changelog
+* Tue Sep 21 2010 Steve Traylen <steve.traylen@cern.ch> - 1.5.19-1
+- Upstream to 1.5.19.
+- Add gridsite-include.patch
+ https://savannah.cern.ch/bugs/index.php?69632
+ https://bugzilla.redhat.com/show_bug.cgi?id=612109
+
* Thu May 20 2010 Steve Traylen <steve.traylen@cern.ch> - 1.5.18-4
- For .el4 use /usr/include/apr-0 rather than apr-1
reply other threads:[~2026-11-19 9:01 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=179507889072.1.10780015650552563619.rpms-gridsite-5a238c99f54a@fedoraproject.org \
--to=steve.traylen@cern.ch \
--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