public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gridsite] epel10: Upstream 1.7.15, drop gridsite-include-1.7.9.patch since upstream,
@ 2026-11-19  9:01 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-11-19  9:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gridsite
            Branch : epel10
            Commit : fdd2339d0cc9c68b16cec1db17d02c9ac9956094
            Author : Steve Traylen <steve.traylen@cern.ch>
            Date   : 2011-06-30T19:52:36+02:00
            Stats  : +42/-106 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/gridsite/c/fdd2339d0cc9c68b16cec1db17d02c9ac9956094?branch=epel10

            Log:
            Upstream 1.7.15, drop gridsite-include-1.7.9.patch since upstream,
redo cgi-location patch.

---
diff --git a/.gitignore b/.gitignore
index 6f4708f..330fb75 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ gridsite-1.5.18.src.tar.gz
 /gridsite-1.7.9.src.tar.gz
 /gridsite-1.7.12.src.tar.gz
 /gridsite-1.7.13.src.tar.gz
+/gridsite-1.7.15.src.tar.gz

diff --git a/cgi-bin-location-1.7.15.patch b/cgi-bin-location-1.7.15.patch
new file mode 100644
index 0000000..fe2a2ef
--- /dev/null
+++ b/cgi-bin-location-1.7.15.patch
@@ -0,0 +1,34 @@
+diff -uNr org.gridsite.core.ORIG/src/Makefile org.gridsite.core/src/Makefile
+--- org.gridsite.core.ORIG/src/Makefile	2011-06-27 18:07:42.000000000 +0200
++++ org.gridsite.core/src/Makefile	2011-06-30 19:50:07.960436142 +0200
+@@ -405,15 +405,17 @@
+                  $(prefix)/share/man/man1 \
+                  $(prefix)/share/man/man8 \
+                  $(prefix)/$(libdir)/httpd/modules \
+-                 $(prefix)/share/doc/gridsite-$(MINOR_VERSION)
++                 $(prefix)/share/doc/gridsite-$(MINOR_VERSION) \
++                 $(prefix)/libexec/gridsite/cgi-bin
+ 	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
+-	cp -f real-gridsite-admin.cgi $(prefix)/sbin
+-	cp -f gridsite-copy.cgi $(prefix)/sbin
+-	cp -f gridsite-storage.cgi $(prefix)/sbin
++	cp -f real-gridsite-admin.cgi $(prefix)/libexec/gridsite/cgi-bin
++	cp -f gridsite-copy.cgi $(prefix)/libexec/gridsite/cgi-bin
++	cp -f gridsite-storage.cgi $(prefix)/libexec/gridsite/cgi-bin
++
+ 	cp -f ../CHANGES ../README ../INSTALL ../LICENSE ../VERSION \
+                $(prefix)/share/doc/gridsite-$(MINOR_VERSION)
+ 	cp -f ../doc/index.html ../doc/*.conf ../doc/*.sh ../doc/*.spec \
+@@ -502,7 +504,7 @@
+ 	ln -sf htproxyput $(prefix)/bin/htproxyunixtime
+ 	ln -sf htproxyput $(prefix)/bin/htproxyrenew
+ 	ln -sf htproxyput $(prefix)/bin/htproxyinfo
+-	cp -f gridsite-delegation.cgi $(prefix)/sbin
++	cp -f gridsite-delegation.cgi $(prefix)/libexec/gridsite/cgi-bin
+ 	   
+ #
+ # Distributions

diff --git a/cgi-bin-location.patch b/cgi-bin-location.patch
deleted file mode 100644
index 341789d..0000000
--- a/cgi-bin-location.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -uNr org.gridsite.core.ORIG/src/Makefile org.gridsite.core/src/Makefile
---- org.gridsite.core.ORIG/src/Makefile	2009-07-23 20:59:20.863631673 +0200
-+++ org.gridsite.core/src/Makefile	2009-07-23 21:14:46.450624936 +0200
-@@ -392,15 +392,16 @@
-                  $(prefix)/share/man/man1 \
-                  $(prefix)/share/man/man8 \
-                  $(prefix)/$(libdir)/httpd/modules \
--                 $(prefix)/share/doc/gridsite-$(MINOR_VERSION)
-+                 $(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
- 	cp -f ../interface/gridsite-gacl.h $(prefix)/include
- 	cp -f urlencode $(prefix)/bin
- 	cp -f findproxyfile $(prefix)/bin
--	cp -f real-gridsite-admin.cgi $(prefix)/sbin
--	cp -f gridsite-copy.cgi $(prefix)/sbin
--	cp -f gridsite-storage.cgi $(prefix)/sbin
-+	cp -f real-gridsite-admin.cgi $(prefix)/libexec/gridsite/cgi-bin
-+	cp -f gridsite-copy.cgi $(prefix)/libexec/gridsite/cgi-bin
-+	cp -f gridsite-storage.cgi $(prefix)/libexec/gridsite/cgi-bin
- 	cp -f ../CHANGES ../README ../INSTALL ../LICENSE ../VERSION \
-                $(prefix)/share/doc/gridsite-$(MINOR_VERSION)
- 	cp -f ../doc/index.html ../doc/*.conf ../doc/*.sh ../doc/*.spec \
-@@ -489,7 +490,7 @@
- 	ln -sf htproxyput $(prefix)/bin/htproxyunixtime
- 	ln -sf htproxyput $(prefix)/bin/htproxyrenew
- 	ln -sf htproxyput $(prefix)/bin/htproxyinfo
--	cp -f gridsite-delegation.cgi $(prefix)/sbin
-+	cp -f gridsite-delegation.cgi $(prefix)/libexec/gridsite/cgi-bin
- 	   
- #
- # Distributions

diff --git a/gridsite-include-1.7.9.patch b/gridsite-include-1.7.9.patch
deleted file mode 100644
index dd567ce..0000000
--- a/gridsite-include-1.7.9.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-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-12-16 21:14:49.586109571 +0100
-+++ org.gridsite.core/interface/gridsite-gacl.h	2010-12-16 21:15:54.301538979 +0100
-@@ -35,6 +35,9 @@
- 
- #ifndef HEADER_GACL_H
- #define HEADER_GACL_H
-+
-+#ifdef __cplusplus
-+extern "C" {
- #endif
- 
- #ifndef GACL_LIB_VERSION
-@@ -186,3 +189,10 @@
- 
- 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-12-16 21:14:49.586109571 +0100
-+++ org.gridsite.core/interface/gridsite.h	2010-12-16 21:17:13.936757509 +0100
-@@ -35,6 +35,9 @@
- 
- #ifndef GRST_VERSION
- #define GRST_VERSION 010500
-+
-+#ifdef __cplusplus
-+extern "C" {
- #endif
- 
- #ifndef GRST_NO_OPENSSL
-@@ -450,3 +453,9 @@
- #define GRST_PASSCODE_JS "<script type=\"text/javascript\" language=\"Javascript\"><!--\nfunction changeValue(formName){        if( document.forms[formName].passcode.value==\"\" ) document.forms[formName].passcode.value=getCookie(\"GRIDHTTP_PASSCODE\");       return true;   } \nfunction getCookie(c_name){ if (document.cookie.length>0)  {  c_start=document.cookie.indexOf(c_name + \"=\");  if (c_start!=-1)    {    c_start=c_start + c_name.length+1;    c_end=document.cookie.indexOf(\";\",c_start);    if (c_end==-1) c_end=document.cookie.length;    return unescape(document.cookie.substring(c_start,c_end)); }} return \"\"; } \n -->\n</script>"
- #endif
- 
-+#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-12-16 21:14:49.598110208 +0100
-+++ org.gridsite.core/src/Makefile	2010-12-16 21:18:04.541437317 +0100
-@@ -394,8 +394,9 @@
-                  $(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 86d1149..89f22ec 100644
--- a/gridsite.spec
+++ b/gridsite.spec
@@ -5,7 +5,7 @@
 %endif
 
 Name:           gridsite
-Version:        1.7.13
+Version:        1.7.15
 
 Release:        1%{?dist}
 Summary:        Grid Security for the Web, Web platforms for Grids
@@ -26,11 +26,7 @@ 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-1.7.9.patch
+Patch1:         cgi-bin-location-1.7.15.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -134,10 +130,6 @@ 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 )
@@ -261,6 +253,10 @@ rm -rf $RPM_BUILD_ROOT
 %doc src/doxygen
 
 %changelog
+* Thu Jun 30 2011 Steve Traylen <steve.traylen@cern.ch>  - 1.7.15-1
+- Upstream 1.7.15, drop gridsite-include-1.7.9.patch since upstream,
+  redo cgi-location patch.
+
 * Mon Jun 27 2011 Steve Traylen <steve.traylen@cern.ch>  - 1.7.13-1
 - Upstream 1.7.13
 

diff --git a/sources b/sources
index 7737437..f55f5a0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8a1b81a4256523a1b985a892755ed097  gridsite-1.7.13.src.tar.gz
+34432f9771f5c1b3828658dc985c8188  gridsite-1.7.15.src.tar.gz

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

only message in thread, other threads:[~2026-11-19  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19  9:01 [rpms/gridsite] epel10: Upstream 1.7.15, drop gridsite-include-1.7.9.patch since upstream, Steve Traylen

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