debian/0000755000000000000000000000000012222327745007174 5ustar debian/gridsite.docs0000644000000000000000000000011211710570450011644 0ustar doc/httpd-fileserver.conf doc/httpd-webserver.conf doc/httpd-storage.conf debian/gridsite.apache20000644000000000000000000000025412152427302012224 0ustar # mod_gridsite musr be loaded after mod_ssl - therefore use zgridsite mod src/mod_gridsite.so mod debian/zgridsite.load mod debian/zgridsite.conf site debian/gridsite.conf debian/gridsite.postinst0000644000000000000000000000175712207267052012622 0ustar #!/bin/sh set -e dpkg-maintscript-helper mv_conffile \ /var/lib/gridsite/.gacl /etc/gridsite/.gacl \ 1.7.25-2~ gridsite -- "$@" dpkg-maintscript-helper mv_conffile \ /var/lib/gridsite/gridsitefoot.txt /etc/gridsite/gridsitefoot.txt \ 1.7.25-2~ gridsite -- "$@" dpkg-maintscript-helper mv_conffile \ /var/lib/gridsite/gridsitehead.txt /etc/gridsite/gridsitehead.txt \ 1.7.25-2~ gridsite -- "$@" if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "1.7.25-2~" ; then if [ ! -r /var/lib/gridsite/.gacl -a -r /etc/gridsite/.gacl ] ; then \ ln -s /etc/gridsite/.gacl /var/lib/gridsite/.gacl fi if [ ! -r /var/lib/gridsite/gridsitefoot.txt -a \ -r /etc/gridsite/gridsitefoot.txt ] ; then ln -s /etc/gridsite/gridsitefoot.txt /var/lib/gridsite/gridsitefoot.txt fi if [ ! -r /var/lib/gridsite/gridsitehead.txt -a \ -r /etc/gridsite/gridsitehead.txt ] ; then ln -s /etc/gridsite/gridsitehead.txt /var/lib/gridsite/gridsitehead.txt fi fi #DEBHELPER# debian/gridsite.lintian-overrides0000644000000000000000000000101012207052031014340 0ustar # This module depends on the ssl module which is in apache2-bin gridsite: apache2-module-depends-on-real-apache2-package apache2-bin gridsite: web-application-depends-on-apache2-data-package apache2-bin # This package contains both the module and the application gridsite: non-standard-apache2-module-package-name gridsite != libapache2-mod-gridsite # The load file is called zgridsite so that is it loaded after the ssl module gridsite: apache2-module-does-not-ship-load-file etc/apache2/mods-available/gridsite.load debian/zgridsite.load0000644000000000000000000000012312152125246012027 0ustar # Depends: ssl LoadModule gridsite_module /usr/lib/apache2/modules/mod_gridsite.so debian/zgridsite.conf0000644000000000000000000000565011710571270012050 0ustar # This is the Apache server configuration file providing GridSite support. # It contains the configuration directives to instruct the server how to # serve pages over an https connection with access controls enabled # via .gacl files. # In order to benefit from GridSite it is nescesary to optinally autheticate # clients to this web server: # Within mod_ssl's configuration for # you should have at least the following parameters set. The mod_ssl # file cotains more detailed comments about these settings. ## 1. Location of web server certificate file. ## SSLCertificateFile /etc/pki/tls/certs/localhost.crt ## or ## SSLCertificateFile /etc/grid-security/hostcert.pem ## 2. Location of web server key file. ## SSLCertificateKeyFile /etc/pki/tls/private/localhost.key ## or ## SSLCertificateKeyFile /etc/grid-security/hostkey.pem ## 3. Location of certificate authorities which the server should trust. ## SSLCACertificateFile /etc/pki/tls/certs/ca-bundle.crt ## or ## SSLCACertificatePath /etc/pki/tls/certs/ ## or ## SSLCACertificatePath /etc/grid-security/cetificates ## 4. You must at least optionally authenticate clients. ## SSLVerifyClient optional ## SSLVerifyDepth 10 # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. ScriptAlias /gridsite-cgi-bin/real-gridsite-admin.cgi "/usr/lib/gridsite/cgi-bin/real-gridsite-admin.cgi" # Location of authentication cookies and SSL session credentials directory, # relative to ServerRoot. Used by GridHTTP to record the credentials # obtained via HTTPS, and available to the corresponding HTTP request or # subsequent HTTPS requests following a session restart. # (Default: /var/www/sessions) GridSiteSessionsDir /var/cache/mod_gridsite ## This is the path of directories (and all their subdirectories) for ## GACL to search when it encounters a dn-list credential. The DN List ## files are plain text, one DN per line, and must have the full url ## as the file name, but URL Encoded - eg with urlencode(1) # GridSiteDNlists /etc/grid-security/dn-lists/:/var/www/html/dn-lists/ GridSiteDNlists /etc/grid-security/dn-lists/ ## This is used to form the URL at which DN Lists "owned" by this ## server are exported. https://FULL.SERVER.NAME/dn-lists/file GridSiteDNlistsURI /gridsite/dn-lists/ ## These directives (and the ScriptAlias above) allow authorized ## people to manage files, ACLs and DN Lists through their web ## browsers via HTTPS. The value of GridSiteAdminFile appears to ## exist in every directory, but is internally redirected by ## mod_gridsite to the value of GridSiteAdminURI (the ScriptAlias ## then maps that onto the real-gridsite-admin.cgi executable.) GridSiteAdminFile gridsite-admin.cgi GridSiteAdminUri /gridsite-cgi-bin/real-gridsite-admin.cgi Alias /gridsite "/var/lib/gridsite" debian/control0000644000000000000000000000756312221223150010572 0ustar Source: gridsite Section: net Priority: optional Maintainer: Mattias Ellert Build-Depends: debhelper, apache2-dev (>= 2.4), libxml2-dev, libcurl4-openssl-dev, libssl-dev, libcanl-c-dev, gsoap, libtool, doxygen, sharutils, dh-apache2 Standards-Version: 3.9.4 Homepage: http://www.gridsite.org/ Vcs-Svn: http://svn.nordugrid.org/repos/packaging/debian/gridsite Vcs-Browser: http://svn.nordugrid.org/trac/packaging/browser/debian/gridsite Package: gridsite Architecture: any Depends: libgridsite2 (= ${binary:Version}), apache2-bin (>= 2.4), ${shlibs:Depends}, ${misc:Depends} Recommends: ${misc:Recommends} Description: Grid Security for the Web, Web platforms for Grids GridSite was originally a web application developed for managing and formatting the content of the http://www.gridpp.ac.uk/ website. Over the past years it has grown into a set of extensions to the Apache web server and a toolkit for Grid credentials, GACL access control lists and HTTP(S) protocol operations. . This package, gridsite, contains apache httpd modules for enabling mod_gridsite. Package: libgridsite2 Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Description: Run time libraries for mod_gridsite and gridsite-clients GridSite was originally a web application developed for managing and formatting the content of the http://www.gridpp.ac.uk/ website. Over the past years it has grown into a set of extensions to the Apache web server and a toolkit for Grid credentials, GACL access control lists and HTTP(S) protocol operations. . This package contains the runtime libraries. Package: gridsite-clients Architecture: any Depends: libgridsite2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Clients to gridsite: htcp, htrm, htmv GridSite was originally a web application developed for managing and formatting the content of the http://www.gridpp.ac.uk/ website. Over the past years it has grown into a set of extensions to the Apache web server and a toolkit for Grid credentials, GACL access control lists and HTTP(S) protocol operations. . This package, gridsite-clients, contains clients for using against gridsite, htcp, htrm, ... Package: libgridsite-dev Architecture: any Section: libdevel Depends: libgridsite2 (= ${binary:Version}), ${misc:Depends} Description: Developers tools for gridsite GridSite was originally a web application developed for managing and formatting the content of the http://www.gridpp.ac.uk/ website. Over the past years it has grown into a set of extensions to the Apache web server and a toolkit for Grid credentials, GACL access control lists and HTTP(S) protocol operations. . This package, libgridsite-dev, contains developer tools for using gridsite. Package: gridsite-doc Architecture: all Section: doc Depends: ${misc:Depends} Description: Developers Documentation for gridsite GridSite was originally a web application developed for managing and formatting the content of the http://www.gridpp.ac.uk/ website. Over the past years it has grown into a set of extensions to the Apache web server and a toolkit for Grid credentials, GACL access control lists and HTTP(S) protocol operations. . This package, gridsite-doc, contains developer documentation for gridsite. Package: gridsite-dbg Architecture: any Section: debug Priority: extra Depends: gridsite (= ${binary:Version}) | libgridsite2 (= ${binary:Version}) | gridsite-clients (= ${binary:Version}), ${misc:Depends} Description: Debugging symbols for gridsite GridSite was originally a web application developed for managing and formatting the content of the http://www.gridpp.ac.uk/ website. Over the past years it has grown into a set of extensions to the Apache web server and a toolkit for Grid credentials, GACL access control lists and HTTP(S) protocol operations. . This package, gridsite-dbg, contains debugging symbols for gridsite. debian/rules0000755000000000000000000000643312221212025010241 0ustar #!/usr/bin/make -f # -*- makefile -*- -include /usr/share/dpkg/buildflags.mk INSTALLDIR = $(CURDIR)/debian/tmp _prefix = /usr _bindir = $(_prefix)/bin _sbindir = $(_prefix)/sbin _libdir = $(_prefix)/lib _includedir = $(_prefix)/include _sysconfdir = /etc _localstatedir = /var _datadir = $(_prefix)/share _mandir = $(_datadir)/man _docdir = $(_datadir)/doc configure: configure-stamp configure-stamp: dh_testdir touch $@ build: build-indep build-arch build-indep: build-stamp build-arch: build-stamp build-stamp: configure-stamp dh_testdir cd src && \ $(MAKE) build gridsite-delegation.cgi htproxyput prefix=/usr \ CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" touch $@ clean: dh_testdir dh_testroot cd src && \ $(MAKE) clean rm -rf doc/doxygen rm -f doc/*.1.html rm -f doc/*.8.html rm -f build-stamp configure-stamp dh_clean install: build-stamp dh_testdir dh_testroot dh_prep cd src && \ $(MAKE) install install-ws DESTDIR=$(INSTALLDIR) prefix=/usr # Let dh_apache2 handle module installation rm -rf mv $(INSTALLDIR)$(_libdir)/httpd # Let debhelper do the compression gunzip $(INSTALLDIR)$(_mandir)/man*/* # This is not really useful rm -f $(INSTALLDIR)$(_libdir)/libgridsite_globus.* rm -f $(INSTALLDIR)$(_libdir)/libgridsite_nossl.* # Remove these - docs are installed using the debian/*.docs files rm -rf $(INSTALLDIR)$(_datadir)/doc # Set up root area to serve files from mkdir -p $(INSTALLDIR)$(_localstatedir)/lib/gridsite mkdir -p $(INSTALLDIR)$(_sysconfdir)/gridsite install -m 0644 debian/gridsitehead.txt \ $(INSTALLDIR)$(_sysconfdir)/gridsite/gridsitehead.txt install -m 0644 debian/gridsitefoot.txt \ $(INSTALLDIR)$(_sysconfdir)/gridsite/gridsitefoot.txt install -m 0644 debian/root-level.gacl \ $(INSTALLDIR)$(_sysconfdir)/gridsite/.gacl mkdir -p $(INSTALLDIR)$(_sysconfdir)/grid-security/dn-lists mkdir -p $(INSTALLDIR)$(_sysconfdir)/grid-security/vomsdir mkdir -p $(INSTALLDIR)$(_localstatedir)/cache/mod_gridsite mkdir -p $(INSTALLDIR)$(_datadir)/apache2/icons uudecode -o $(INSTALLDIR)$(_datadir)/apache2/icons/gridsitelogo.png \ debian/gridsitelogo.png.uu chown www-data.www-data \ $(INSTALLDIR)$(_localstatedir)/lib/gridsite \ $(INSTALLDIR)$(_sysconfdir)/gridsite/.gacl \ $(INSTALLDIR)$(_sysconfdir)/gridsite/gridsitehead.txt \ $(INSTALLDIR)$(_sysconfdir)/gridsite/gridsitefoot.txt \ $(INSTALLDIR)$(_sysconfdir)/grid-security/dn-lists \ $(INSTALLDIR)$(_localstatedir)/cache/mod_gridsite binary-indep: install dh_testdir dh_testroot dh_installdocs -i dh_installchangelogs -i dh_install -i --fail-missing dh_link -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary-arch: install dh_testdir dh_testroot dh_installdocs -a dh_installchangelogs -a dh_install -a --fail-missing dh_apache2 -a dh_installman -a dh_lintian -a dh_link -a dh_strip -a --dbg-package=gridsite-dbg dh_compress -a dh_fixperms -a -X var/lib/gridsite \ -X var/cache/mod_gridsite -X etc/grid-security/dn-lists dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a -l debian/libgridsite2/usr/lib dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: build-indep build-arch build clean binary-indep binary-arch binary install configure debian/libgridsite2.install0000644000000000000000000000004411446031404013134 0ustar debian/tmp/usr/lib/libgridsite.so.* debian/gridsite.conf0000644000000000000000000000331611710570331011650 0ustar SSLOptions +ExportCertData +StdEnvVars ## This sets up GACL authorization for this server GridSiteAuth on ## This exports various bits of info into the CGI environment ## variables (and is needed for gridsite-admin.cgi to work.) GridSiteEnvs on ## Nice GridSite directory listings GridSiteIndexes on ## If this is on, GridSite will look for gridsitehead.txt and ## gridsitefoot.txt in the current directory or its parents, and ## use them to replace the and tags in .html files. GridSiteHtmlFormat on ## Set the filenames to be used for as standard headers and footers for HTML ## pages. If the file name begins with "/" then this is used as the absolute ## path to that file to be used. ## Otherwise, for each HTML page, the directory of that page is tried first, ## and then parent directories in ascending order until a header / footer ## file is found. ## Header files are inserted in place of HTML tags; footer ## files in place of . (These standard files should each include ## the appropriate body tag as a replacement.) (Defaults: GridSiteHeadFile ## gridsitehead.txt, GridSiteFootFile gridsitefoot.txt) # GridSiteHeadFile gridsitehead.txt # GridSiteFootFile gridsitefoot.txt ## If this is greater than zero, we will accept GSI Proxies for clients ## (full client certificates - eg inside web browsers - are always ok) GridSiteGSIProxyLimit 9 ## This directive allows authorized people to write/delete files ## from non-browser clients - eg with htcp(1) GridSiteMethods GET PUT DELETE MOVE POST debian/gridsite.postrm0000644000000000000000000000131212207271422012242 0ustar #!/bin/sh set -e dpkg-maintscript-helper mv_conffile \ /var/lib/gridsite/.gacl /etc/gridsite/.gacl \ 1.7.25-2~ gridsite -- "$@" dpkg-maintscript-helper mv_conffile \ /var/lib/gridsite/gridsitefoot.txt /etc/gridsite/gridsitefoot.txt \ 1.7.25-2~ gridsite -- "$@" dpkg-maintscript-helper mv_conffile \ /var/lib/gridsite/gridsitehead.txt /etc/gridsite/gridsitehead.txt \ 1.7.25-2~ gridsite -- "$@" if [ "$1" = "purge" ] ; then [ -h /var/lib/gridsite/.gacl ] && \ rm /var/lib/gridsite/.gacl [ -h /var/lib/gridsite/gridsitefoot.txt ] && \ rm /var/lib/gridsite/gridsitefoot.txt [ -h /var/lib/gridsite/gridsitehead.txt ] && \ rm /var/lib/gridsite/gridsitehead.txt fi #DEBHELPER# debian/copyright0000644000000000000000000000742412222327555011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gridsite Source: http://www.gridsite.org/download/sources/gridsite-2.0.4.src.tar.gz Files: * Copyright: 2002-2012, Andrew McNab, Shiv Kaushal, Joseph Dada and Yibiao Li, University of Manchester. All rights reserved. License: BSD Files: src/gsexec.c src/gsexec.h Copyright: 1999-2004 The Apache Software Foundation License: Apache 2.0 Files: src/mod_gridsite.c src/canl_mod_gridsite.c Copyright: 2003-2007, Andrew McNab, Shiv Kaushal, Joseph Dada and Yibiao Li, University of Manchester. All rights reserved. 2000-2005 The Apache Software Foundation or its licensors, as applicable. License: BSD and Apache 2.0 Files: src/mod_ssl-private.h src/canl_mod_ssl-private.h Copyright: 2003-2008, Andrew McNab University of Manchester. All rights reserved. 2000-2004 The Apache Software Foundation License: BSD and Apache 2.0 Files: build.xml project/gridsite.core.csf.xml project/properties.xml project/taskdefs.xml Copyright: 2004 on behalf of the EU EGEE Project The European Organization for Nuclear Research (CERN) Istituto Nazionale di Fisica Nucleare (INFN), Italy Datamat Spa, Italy Centre National de la Recherche Scientifique (CNRS), France CS Systeme d'Information (CSSI), France Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden Universiteit van Amsterdam (UvA), Netherlands University of Helsinki (UH.HIP), Finland University of Bergen (UiB), Norway Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom License: Apache 2.0 Files: debian/* Copyright: 2010-2012 Mattias Ellert License: BSD License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . o Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. o Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: Apache 2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems the full text of the Apache 2.0 license can be found in the /usr/share/common-licenses/Apache-2.0 file. debian/gridsite.preinst0000644000000000000000000000066112207047321012407 0ustar #!/bin/sh set -e dpkg-maintscript-helper mv_conffile \ /var/lib/gridsite/.gacl /etc/gridsite/.gacl \ 1.7.25-2~ gridsite -- "$@" dpkg-maintscript-helper mv_conffile \ /var/lib/gridsite/gridsitefoot.txt /etc/gridsite/gridsitefoot.txt \ 1.7.25-2~ gridsite -- "$@" dpkg-maintscript-helper mv_conffile \ /var/lib/gridsite/gridsitehead.txt /etc/gridsite/gridsitehead.txt \ 1.7.25-2~ gridsite -- "$@" #DEBHELPER# debian/compat0000644000000000000000000000000211444631617010373 0ustar 5 debian/gridsitelogo.png.uu0000644000000000000000000002336311472727266013044 0ustar begin 644 gridsitelogo.png MB5!.1PT*&@H````-24A$4@```((```"""`(````%88>J````!&=!34$``+&/ M"_QA!0```#AT15AT4V]F='=AU135[K? M>3\)`1(2P\,$D"!$@@@^`!^`H$A%6VOMXTYMZYUQVLY,UUROJ^NNWJZN+M>L MN?=Z.[.\MT['V^5,;:?3AW4L^`0$1`21AP0%#0@D$L&$!$@@#T@(N7\9^^_?^/%G)IZI4IC MP,VPHS!M0&=L:5?[2Y`I%R\1<#/EXO\X>H'%H#*9-#:3QF1268R'%TP:BTEC M,:@L)DVE,:CZ#2J-00U1M#\<.KCS_;8@#`KU_/L]CL5NNDV3IIM=HMMDG=\)A58[=8)RW628O- M;K%.XI;X$P$9`!`7RSO^]568U#NVI)668W$``)!)HP:U1BJ5?.QOM0M0P9\& M""Z7"[<'(.\\\5AH0`JKKE0"`13ONPZ0Y='`G$3MU0*^6 M2:,``!U=`P"`*>=T16WGMKP5D.\/"'G928<.[G2YP/N'OZ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&3CPE M=\#,V$(^9U=QQM'/JID,ZCO[-O_^X_,+44DL!(]."9(&F*/X```YF0DL%IW+ M8:`:O<>-Q:PO@DDS8Z<$N3!M:5=GOKH)]PBRJ\T]O_S9IB@A-RZ6GY^SW&J; MM-H<5MNDQ6:WV>P6FQV]8[79@R:0ZB-B)F(])!.(!O"3SR]C)T.,?(\J5$K3'\[U^K``!6FQT`,_8[A7R.,#)4P`]=+XY$8D:@ ME&B'3!@'9083GAZCL2CP_UIZU;#,"`Y4````!W1)344'U045%`4;S3TYY``` *``!)14Y$KD)@@@`` ` end debian/gridsite-doc.docs0000644000000000000000000000001411446044246012415 0ustar src/doxygen debian/gridsitefoot.txt0000644000000000000000000000003011375312525012426 0ustar
debian/root-level.gacl0000644000000000000000000000037011446037324012112 0ustar gacl:any-user gacl:auth-user debian/libgridsite-dev.install0000644000000000000000000000027512205640703013636 0ustar debian/tmp/usr/include/gridsite-gacl.h debian/tmp/usr/include/gridsite.h debian/tmp/usr/lib/libgridsite.a debian/tmp/usr/lib/libgridsite.so debian/tmp/usr/lib/pkgconfig/gridsite-openssl.pc debian/patches/0000755000000000000000000000000012221211541010604 5ustar debian/patches/gridsite-httpd24.patch0000644000000000000000000001151012220726564014743 0ustar diff -ur org.gridsite.core.orig/src/canl_mod_gridsite.c org.gridsite.core/src/canl_mod_gridsite.c --- org.gridsite.core.orig/src/canl_mod_gridsite.c 2012-11-02 23:24:26.000000000 +0100 +++ org.gridsite.core/src/canl_mod_gridsite.c 2013-09-26 05:41:16.229784603 +0200 @@ -2071,7 +2071,7 @@ if (strcasecmp(a->cmd->name, "GridSiteUserGroup") == 0) { - if (!(unixd_config.suexec_enabled)) + if (!(ap_unixd_config.suexec_enabled)) return "Using GridSiteUserGroup will " "require rebuilding Apache with suexec support!"; @@ -3044,9 +3044,9 @@ /* finally add IP credential */ - if (r->connection->remote_ip) + if (r->connection->client_ip) { - cred = GRSTgaclCredCreate("ip:", r->connection->remote_ip); + cred = GRSTgaclCredCreate("ip:", r->connection->client_ip); GRSTgaclCredSetNotAfter(cred, GRST_MAX_TIME_T); if (user == NULL) user = GRSTgaclUserNew(cred); @@ -3933,7 +3933,7 @@ canl_ssl_ctx_set_clb(c_ctx, ctx, ctx->verify_mode, GRST_callback_SSLVerify_wrapper); - if (main_server->loglevel >= APLOG_DEBUG) + if (main_server->log.level >= APLOG_DEBUG) ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, main_server, "Set mod_ssl verify callbacks to GridSite wrappers: %s", canl_get_error_message(c_ctx)); @@ -3944,7 +3944,7 @@ path = ap_server_root_relative(pPool, sessionsdir); apr_dir_make_recursive(path, APR_UREAD | APR_UWRITE | APR_UEXECUTE, pPool); - chown(path, unixd_config.user_id, unixd_config.group_id); + chown(path, ap_unixd_config.user_id, ap_unixd_config.group_id); canl_free_ctx(c_ctx); return OK; @@ -3961,7 +3961,7 @@ vasprintf(&mesg, fmt, ap); va_end(ap); - ap_log_error(file, line, level, + ap_log_error(file, line, 0, level, 0, mod_gridsite_log_func_server, "%s", mesg); free(mesg); diff -ur org.gridsite.core.orig/src/mod_gridsite.c org.gridsite.core/src/mod_gridsite.c --- org.gridsite.core.orig/src/mod_gridsite.c 2012-12-19 14:59:39.000000000 +0100 +++ org.gridsite.core/src/mod_gridsite.c 2013-09-26 05:41:16.753782626 +0200 @@ -2075,7 +2075,7 @@ if (strcasecmp(a->cmd->name, "GridSiteUserGroup") == 0) { - if (!(unixd_config.suexec_enabled)) + if (!(ap_unixd_config.suexec_enabled)) return "Using GridSiteUserGroup will " "require rebuilding Apache with suexec support!"; @@ -3050,9 +3050,9 @@ /* finally add IP credential */ - if (r->connection->remote_ip) + if (r->connection->client_ip) { - cred = GRSTgaclCredCreate("ip:", r->connection->remote_ip); + cred = GRSTgaclCredCreate("ip:", r->connection->client_ip); GRSTgaclCredSetNotAfter(cred, GRST_MAX_TIME_T); if (user == NULL) user = GRSTgaclUserNew(cred); @@ -3576,7 +3576,7 @@ * Log information about CRL * (A little bit complicated because of ASN.1 and BIOs...) */ - if (s->loglevel >= APLOG_DEBUG) { + if (s->log.level >= APLOG_DEBUG) { char buff[512]; /* should be plenty */ BIO *bio = BIO_new(BIO_s_mem()); @@ -3673,7 +3673,7 @@ ASN1_INTEGER *sn = revoked->serialNumber; if (!ASN1_INTEGER_cmp(sn, X509_get_serialNumber(cert))) { - if (s->loglevel >= APLOG_DEBUG) { + if (s->log.level >= APLOG_DEBUG) { char *cp = X509_NAME_oneline(issuer, NULL, 0); char *serial = i2s_ASN1_INTEGER(NULL,sn); @@ -3847,7 +3847,7 @@ /* * Log verification information */ - if (s->loglevel >= APLOG_DEBUG) + if (s->log.level >= APLOG_DEBUG) { X509 *cert = X509_STORE_CTX_get_current_cert(ctx); char *sname = X509_NAME_oneline(X509_get_subject_name(cert), NULL, 0); @@ -4552,7 +4552,7 @@ SSL_CTX_set_verify(ctx, ctx->verify_mode, GRST_callback_SSLVerify_wrapper); - if (main_server->loglevel >= APLOG_DEBUG) + if (main_server->log.level >= APLOG_DEBUG) ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, main_server, "Set mod_ssl verify callbacks to GridSite wrappers"); } @@ -4562,7 +4562,7 @@ path = ap_server_root_relative(pPool, sessionsdir); apr_dir_make_recursive(path, APR_UREAD | APR_UWRITE | APR_UEXECUTE, pPool); - chown(path, unixd_config.user_id, unixd_config.group_id); + chown(path, ap_unixd_config.user_id, ap_unixd_config.group_id); return OK; } @@ -4578,7 +4578,7 @@ vasprintf(&mesg, fmt, ap); va_end(ap); - ap_log_error(file, line, level, + ap_log_error(file, line, 0, level, 0, mod_gridsite_log_func_server, "%s", mesg); free(mesg); debian/patches/gridsite-ldflags.patch0000644000000000000000000001157412221210565015066 0ustar diff -ur org.gridsite.core.orig/src/Makefile org.gridsite.core/src/Makefile --- org.gridsite.core.orig/src/Makefile 2012-10-22 17:05:17.000000000 +0200 +++ org.gridsite.core/src/Makefile 2013-09-27 07:00:57.384595042 +0200 @@ -87,7 +87,7 @@ offset=0 version_info:=-version-info $(shell \ - perl -e '$$,=":"; @F=split "\\.","$(PATCH_VERSION)"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' ) + perl -e '$$,=":"; @F=split "\\.","$(PATCH_VERSION)"; print $$F[0]+$$F[1]+$(offset),$$F[2],$$F[1]' ) ifdef OPENSSL_GLOBUS_LIBS PC_FILES=gridsite-openssl.pc gridsite-globus.pc @@ -140,7 +140,7 @@ libgridsite.la: $(GRIDSITE_OBJS) $(LINK) -rpath $(prefix)/$(libdir) $(version_info) \ - -o $@ $+ -lcrypto ${MYCANLLDFLAGS} $(XML2_LIBS) + -o $@ $+ -lcrypto $(MYCANLLDFLAGS) $(XML2_LIBS) grst_err.lo: grst_err.c ../interface/gridsite.h $(COMPILE) $(MYCFLAGS) \ @@ -219,7 +219,7 @@ libgridsite_globus.la: $(GRIDSITE_OBJS) $(LINK) -rpath $(prefix)/$(libdir) $(version_info) \ - -o $@ $+ -lcrypto ${MYCANLLDFLAGS} $(XML2_LIBS) + -o $@ $+ -lcrypto $(MYCANLLDFLAGS) $(XML2_LIBS) endif @@ -283,17 +283,19 @@ gridsite-copy.cgi: gridsite-copy.lo libgridsite.la $(LINK) -o $@ $< -L. $(CURL_LIBS) $(MYFCGILIBS) -lgridsite -mod_gridsite.so: ${MOD_GRIDSITE_FILE} ${MOD_SSLPRIVATE_HEADER} \ +mod_gridsite.so: $(MOD_GRIDSITE_FILE) $(MOD_SSLPRIVATE_HEADER) \ libgridsite.la - gcc -g $(MYCFLAGS) -shared -Wl,-soname=gridsite_module \ + $(CC) -g $(MYCFLAGS) $(CFLAGS) $(LDFLAGS) \ + -shared -Wl,-soname=gridsite_module \ -I/usr/kerberos/include \ - $(XML2_CFLAGS) -lcrypto -lssl ${MYCANLLDFLAGS} \ + $(XML2_CFLAGS) -lcrypto -lssl $(MYCANLLDFLAGS) \ -DVERSION=\"$(VERSION)\" -o mod_gridsite.so \ - ${MOD_GRIDSITE_FILE} -L./.libs -lgridsite + $(MOD_GRIDSITE_FILE) -L./.libs -lgridsite mod_gridsite_example.so: mod_gridsite_example.c - gcc -g -shared -Wl,-soname=gridsite_example_module \ - -fPIC $(HTTPD_FLAGS) \ + $(CC) -g $(CFLAGS) $(LDFLAGS) \ + -shared -Wl,-soname=gridsite_example_module \ + -fPIC $(HTTPD_FLAGS) \ -DVERSION=\"$(VERSION)\" -o mod_gridsite_example.so \ mod_gridsite_example.c @@ -323,7 +325,7 @@ # This target is used by make-gridsite-spec to test for FUSE include+libs fuse-test: fuse-test.c - gcc -g -lfuse fuse-test.c \ + $(CC) -g $(CFLAGS) $(LDFLAGS) -o $@ -lfuse fuse-test.c \ $(MYCFLAGS) $(MYLDFLAGS) $(XML2_CFLAGS) \ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DFUSE_USE_VERSION=22 @@ -360,54 +362,45 @@ endif -DelegationService.wsdl: delegation.h +DelegationSoapBinding.wsdl: delegation.h $(GSOAPDIR)/bin/soapcpp2 -c delegation.h gridsite-delegation.cgi: grst-delegation.c delegation.h \ - DelegationService.wsdl libgridsite.la - gcc -g $(MYCFLAGS) $(MYLDFLAGS) -o gridsite-delegation.cgi \ + DelegationSoapBinding.wsdl libgridsite.la + $(CC) -g $(CFLAGS) $(MYCFLAGS) $(LDFLAGS) $(MYLDFLAGS) -o $@ \ grst-delegation.c \ -I/usr/kerberos/include -I. $(GSOAP_CFLAGS) \ - -I$(GRIDSITEDIR)/include \ -DVERSION=\"$(VERSION)\" -L./.libs \ soapC.c soapServer.c \ $(GSOAP_LIBS) -lgridsite -# -L$(GRIDSITEDIR)/$(libdir) $(GSOAP_LIBS) \ - # -lgridsite -htproxyput: htproxyput.c delegation.h DelegationService.wsdl libgridsite.la - gcc -g $(MYCFLAGS) $(MYLDFLAGS) -o htproxyput \ +htproxyput: htproxyput.c delegation.h DelegationSoapBinding.wsdl libgridsite.la + $(CC) -g $(CFLAGS) $(MYCFLAGS) $(LDFLAGS) $(MYLDFLAGS) -o $@ \ htproxyput.c \ -I/usr/kerberos/include -I. \ -g -DVERSION=\"$(VERSION)\" \ $(GSOAPSSL_CFLAGS) \ - -I$(GRIDSITEDIR)/include \ -L./.libs \ - $(STDSOAP2) \ soapC.c soapClient.c $(GSOAPSSL_LIBS) \ -lgridsite -lssl -lcrypto # This target is used by make-gridsite-spec to test for gSOAP include+libs gsoap-test: gsoap-test.c - gcc -g $(MYCFLAGS) $(MYLDFLAGS) -o gsoap-test \ + $(CC) -g $(CFLAGS) $(MYCFLAGS) $(LDFLAGS) $(MYLDFLAGS) -o $@ \ gsoap-test.c \ -I/usr/kerberos/include -I. \ -g -DVERSION=\"$(VERSION)\" \ $(GSOAPSSL_CFLAGS) \ - -I$(GRIDSITEDIR)/include \ - $(STDSOAP2) -L$(GRIDSITEDIR)/$(libdir) \ $(GSOAPSSL_LIBS) -lz -lssl -lcrypto $(XML2_LIBS) -lm gridsite-storage.lo: gridsite-storage.c $(COMPILE) -o $@ -c $< $(MYCFLAGS) \ -I/usr/kerberos/include -I.\ - -I$(GRIDSITEDIR)/include \ -DVERSION=\"$(VERSION)\" -L. \ $(CURL_CFLAGS) gridsite-storage.cgi: gridsite-storage.lo libgridsite.la $(LINK) $(MYLDFLAGS) -o $@ $< \ - -L$(GRIDSITEDIR)/$(libdir) \ -lgridsite $(CURL_LIBS) %.pc: %.pc.in debian/patches/series0000644000000000000000000000013412221071315012022 0ustar cgi-bin-location.patch gridsite-ldflags.patch gridsite-httpd24.patch gridsite-fprintf.patch debian/patches/gridsite-fprintf.patch0000644000000000000000000000174112221071022015106 0ustar --- org.gridsite.core.orig/src/htproxyput.c 2012-11-10 16:14:01.000000000 +0100 +++ org.gridsite.core/src/htproxyput.c 2013-09-26 19:40:55.820705464 +0200 @@ -267,13 +267,13 @@ ofp = fdopen(fd, "w"); if (!ofp) { - printf(stderr, "Cannot open tmp file for the key\n"); + fprintf(stderr, "Cannot open tmp file for the key\n"); return 1; } ifp = fopen(key, "r"); { - printf(stderr, "Cannot open the file with the key\n"); + fprintf(stderr, "Cannot open the file with the key\n"); return 1; } while ((c = fgetc(ifp)) != EOF) fputc(c, ofp); @@ -281,7 +281,7 @@ ifp = fopen(cert, "r"); { - printf(stderr, "Cannot open the file with the cert\n"); + fprintf(stderr, "Cannot open the file with the cert\n"); return 1; } while ((c = fgetc(ifp)) != EOF) fputc(c, ofp); debian/patches/cgi-bin-location.patch0000644000000000000000000000311012221211527014742 0ustar diff -uNr org.gridsite.core.ORIG/src/Makefile org.gridsite.core/src/Makefile --- org.gridsite.core.ORIG/src/Makefile 2013-09-19 14:03:41.646000000 +0000 +++ org.gridsite.core/src/Makefile 2013-09-19 14:05:53.741000000 +0000 @@ -436,13 +436,14 @@ $(DESTDIR)$(prefix)/sbin \ $(DESTDIR)$(prefix)/share/man/man1 \ $(DESTDIR)$(prefix)/share/man/man8 \ - $(DESTDIR)$(prefix)/share/doc/gridsite-$(MINOR_VERSION) + $(DESTDIR)$(prefix)/share/doc/gridsite-$(MINOR_VERSION) \ + $(DESTDIR)$(prefix)/lib/gridsite/cgi-bin sed 's/^\(#define GRST_VERSION\).*$$/\1 $(DEFVERSION)/' \ ../interface/gridsite.h > $(DESTDIR)$(prefix)/include/gridsite.h cp -f ../interface/gridsite-gacl.h $(DESTDIR)$(prefix)/include $(INSTALL) urlencode $(DESTDIR)$(prefix)/bin $(INSTALL) findproxyfile $(DESTDIR)$(prefix)/bin - $(INSTALL) real-gridsite-admin.cgi $(DESTDIR)$(prefix)/sbin + $(INSTALL) real-gridsite-admin.cgi $(DESTDIR)$(prefix)/lib/gridsite/cgi-bin cp -f ../CHANGES ../README ../INSTALL ../LICENSE ../VERSION \ $(DESTDIR)$(prefix)/share/doc/gridsite-$(MINOR_VERSION) cp -f ../doc/index.html ../doc/*.conf ../doc/*.sh ../doc/*.spec \ @@ -514,7 +515,7 @@ ln -sf htproxyput $(DESTDIR)$(prefix)/bin/htproxyunixtime ln -sf htproxyput $(DESTDIR)$(prefix)/bin/htproxyrenew ln -sf htproxyput $(DESTDIR)$(prefix)/bin/htproxyinfo - cp -f gridsite-delegation.cgi $(DESTDIR)$(prefix)/sbin + cp -f gridsite-delegation.cgi $(DESTDIR)$(prefix)/lib/gridsite/cgi-bin post-install-debian: sed -i \ debian/gridsite.install0000644000000000000000000000066012221016363012366 0ustar debian/tmp/usr/lib/gridsite/cgi-bin/gridsite-delegation.cgi debian/tmp/usr/lib/gridsite/cgi-bin/real-gridsite-admin.cgi debian/tmp/usr/share/apache2/icons/gridsitelogo.png debian/tmp/etc/grid-security/dn-lists debian/tmp/etc/grid-security/vomsdir debian/tmp/var/cache/mod_gridsite debian/tmp/usr/share/man/man8/mod_gridsite.8* debian/tmp/usr/share/man/man8/gridsite-delegation.8* debian/tmp/var/lib/gridsite debian/tmp/etc/gridsite debian/changelog0000644000000000000000000000647312222327643011055 0ustar gridsite (2.0.4-2) unstable; urgency=low * List junk files in debian/copyright for completeness -- Mattias Ellert Mon, 30 Sep 2013 18:50:10 +0200 gridsite (2.0.4-1) unstable; urgency=low * Update to version 2.0.4 * Drop gridsite-gsexec package -- Mattias Ellert Wed, 25 Sep 2013 17:07:25 +0200 gridsite (1.7.25-2) unstable; urgency=low * Move configuration files to /etc (Closes: #720300) -- Mattias Ellert Tue, 27 Aug 2013 09:02:07 +0200 gridsite (1.7.25-1) unstable; urgency=low * Latest upstream 1.7 release -- Mattias Ellert Fri, 23 Aug 2013 11:46:26 +0200 gridsite (1.7.21-3) unstable; urgency=low * Fix glitches in module and site activation -- Mattias Ellert Sat, 01 Jun 2013 17:19:56 +0200 gridsite (1.7.21-2) unstable; urgency=low * Port to apache 2.4 (Closes: #666832, #669855) * Correct package description (Closes: #698519) -- Mattias Ellert Fri, 31 May 2013 13:59:38 +0200 gridsite (1.7.21-1) unstable; urgency=low * Latest upstream release -- Mattias Ellert Tue, 08 May 2012 11:40:19 +0200 gridsite (1.7.16-1) unstable; urgency=low * Latest upstream release * Use dpkg's build flags * Add debug package * Add debian/watch file because the default watch rule fails * Split the binary rule for arch and indep * Drop patch gridsite-make-deps.patch (fixed upstream) -- Mattias Ellert Sat, 10 Dec 2011 09:00:40 +0100 gridsite (1.7.15-2) unstable; urgency=low * Fix missing dependency in Makefile -- Mattias Ellert Wed, 31 Aug 2011 13:52:00 +0200 gridsite (1.7.15-1) unstable; urgency=low * Latest upstream release * Drop patch gridsite-include-1.7.9.patch (accepted upstream) * Drop patch gridsite-linkorder.patch (accepted upstream) * Drop patch gridsite-ptr-wo-cast.patch (accepted upstream) -- Mattias Ellert Tue, 30 Aug 2011 21:16:41 +0200 gridsite (1.7.13-5) unstable; urgency=low * Fix linkorder for -Wl,--as-needed (backport from ubuntu) * Fix pointer to integer conversion (backport from ubuntu) -- Mattias Ellert Mon, 20 Jun 2011 23:12:08 +0200 gridsite (1.7.13-4) unstable; urgency=low * Fix typo in debian/rules (Closes: #630871) -- Mattias Ellert Mon, 20 Jun 2011 11:20:23 +0200 gridsite (1.7.13-3) unstable; urgency=low * jquery.js not used with latest doxygen -- Mattias Ellert Tue, 24 May 2011 16:30:31 +0200 gridsite (1.7.13-2) unstable; urgency=low * Use wildcards in lintian overrides (Closes: #597626) -- Mattias Ellert Mon, 23 May 2011 04:26:21 +0200 gridsite (1.7.13-1) UNRELEASED; urgency=low * Latest upstream release -- Mattias Ellert Mon, 02 May 2011 20:18:15 +0200 gridsite (1.7.9-1) UNRELEASED; urgency=low * Update to gridsite 1.7 series -- Mattias Ellert Sun, 13 Feb 2011 10:43:08 +0100 gridsite (1.5.19-1) UNRELEASED; urgency=low * Initial release -- Mattias Ellert Fri, 17 Sep 2010 11:21:39 +0200 debian/gridsite-doc.doc-base0000644000000000000000000000045311446070406013146 0ustar Document: gridsite Title: Debian gridsite Manual Author: Andrew McNab, Shiv Kaushal, Joseph Dada and Yibiao Li Abstract: This manual describes the gridsite API Section: Programming Format: HTML Index: /usr/share/doc/gridsite-doc/doxygen/index.html Files: /usr/share/doc/gridsite-doc/doxygen/*.html debian/source/0000755000000000000000000000000011444631477010501 5ustar debian/source/format0000644000000000000000000000001411444631477011707 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000012211670600522010211 0ustar version=3 http://www.gridsite.org/download/sources/gridsite-([0-9\.]+).src.tar.gz debian/gridsite-clients.install0000644000000000000000000000215412205647371014040 0ustar debian/tmp/usr/bin/findproxyfile debian/tmp/usr/bin/htcp debian/tmp/usr/bin/htfind debian/tmp/usr/bin/htll debian/tmp/usr/bin/htls debian/tmp/usr/bin/htmkdir debian/tmp/usr/bin/htmv debian/tmp/usr/bin/htping debian/tmp/usr/bin/htproxydestroy debian/tmp/usr/bin/htproxyinfo debian/tmp/usr/bin/htproxyput debian/tmp/usr/bin/htproxyrenew debian/tmp/usr/bin/htproxytime debian/tmp/usr/bin/htproxyunixtime debian/tmp/usr/bin/htrm debian/tmp/usr/bin/urlencode debian/tmp/usr/share/man/man1/findproxyfile.1* debian/tmp/usr/share/man/man1/htcp.1* debian/tmp/usr/share/man/man1/htfind.1* debian/tmp/usr/share/man/man1/htll.1* debian/tmp/usr/share/man/man1/htls.1* debian/tmp/usr/share/man/man1/htmkdir.1* debian/tmp/usr/share/man/man1/htmv.1* debian/tmp/usr/share/man/man1/htping.1* debian/tmp/usr/share/man/man1/htproxydestroy.1* debian/tmp/usr/share/man/man1/htproxyinfo.1* debian/tmp/usr/share/man/man1/htproxyput.1* debian/tmp/usr/share/man/man1/htproxyrenew.1* debian/tmp/usr/share/man/man1/htproxytime.1* debian/tmp/usr/share/man/man1/htproxyunixtime.1* debian/tmp/usr/share/man/man1/htrm.1* debian/tmp/usr/share/man/man1/urlencode.1* debian/gridsitehead.txt0000644000000000000000000000511411710571152012364 0ustar GridSite
GridSite Grid Security for the Web
Web platforms for Grids