Build-Depends: debhelper (>= 7.0.50~),
apache2-prefork-dev,
gsoap,
+ libcanl-c-dev,
libglobus-gssapi-gsi-dev,
libcurl4-openssl-dev,
doxygen,
- libfuse-dev,
libxml2,
libxml2-dev,
libssl-dev,
onto remote servers using HTTPS. htcp is similar to scp(1), but uses
HTTP/HTTPS rather than ssh as its transfer protocol.
-Package: gridsite-gsexec
-Section: web
-Architecture: any
-Depends: \${shlibs:Depends}, \${misc:Depends}
-Description: gsexec binary for the Apache HTTP server
- This package includes the /usr/sbin/gsexec binary which can be installed
- to allow the Apache HTTP server to run CGI programs (and any programs
- executed by SSI pages) as a user other than the 'apache' user. gsexec
- is a drop-in replacement for suexec, with extended functionality for use
- with GridSite and Grid Security credentials.
-
-Package: gridsite-slashgrid
-Section: web
-Architecture: any
-Depends: \${shlibs:Depends}, \${misc:Depends}, libcurl3 (>=7.12.1), fuse-utils
-Description: SlashGrid daemon
- SlashGrid provides remote virtual filesystems under /grid (\"slash grid\").
-
Package: gridsite-service-clients
Section: web
Architecture: any
#!/bin/sh
-# test to see if fuse-devel (or fuse.h and libfuse) is installed
-#
-cat <<EOF >fuse-test.c
-#include <fuse.h>
-int main() { struct fuse_context ctx;
-return fuse_main(0, (char **) 0, (struct fuse_operations *) 0); }
-EOF
-make fuse-test
-if [ $? = 0 ] ; then have_fuse=1 ; fi
-
if [ x"$project" = x"glite" ]; then
globusdep=',vdt_globus_sdk'
else
if [ $? = 0 ] ; then have_gsoap=1 ; fi
rm -f a.out
-if [ "$have_fuse" = "1" ]; then
- fusedep=',fuse-devel'
-fi
if [ "$have_gsoap" = "1" ]; then
gsoapdep=',gsoap-devel'
fi
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://www.gridsite.org/
Vendor: GridPP
-Buildrequires: libxml2-devel,curl-devel,httpd-devel,openssl-devel,pkgconfig
-Buildrequires: doxygen${gsoapdep}${fusedep}${globusdep}
+BuildRequires: libxml2-devel%{?_isa},curl-devel%{?_isa},httpd-devel%{?_isa},openssl-devel%{?_isa},pkgconfig
+BuildRequires: doxygen${gsoapdep}${globusdep}
+BuildRequires: canl-c-devel%{?_isa}
Packager: Andrew McNab <Andrew.McNab@manchester.ac.uk>
Provides: gridsite-apache = %{version}-%{release}
Obsoletes: gridsite-apache <= 1.7.21
See http://www.gridsite.org/ for details.
-%package gsexec
-Group: Applications/Internet
-Summary: gsexec binary for the Apache HTTP server
-
-%description gsexec
-This package includes the /usr/sbin/gsexec binary which can be installed
-to allow the Apache HTTP server to run CGI programs (and any programs
-executed by SSI pages) as a user other than the 'apache' user. gsexec
-is a drop-in replacement for suexec, with extended functionality for use
-with GridSite and Grid Security credentials.
-
-See http://www.gridsite.org/ for details.
-
%prep
%setup -q
EOF
-if [ $have_fuse ] ; then
-cat <<EOF >>gridsite.spec
-make prefix=%{_prefix} slashgrid
-
-EOF
-fi
-
if [ $have_gsoap ] ; then
cat <<EOF >>gridsite.spec
make prefix=%{_prefix} gridsite-delegation.cgi htproxyput
make install prefix=\$RPM_BUILD_ROOT/%{_prefix} libdir=%{_lib}
EOF
-if [ $have_fuse ] ; then
-
-cat <<EOF >>gridsite.spec
-
-mkdir -p \$RPM_BUILD_ROOT/etc/rc.d/init.d
-make install-slashgrid prefix=\$RPM_BUILD_ROOT/%{_prefix}
-EOF
-fi
-
if [ $have_gsoap ] ; then
cat <<EOF >>gridsite.spec
%attr(-, root, root) %{_prefix}/share/man/man8/mod_gridsite.8.gz
%attr(-, root, root) %{_prefix}/%{_lib}/httpd/modules/mod_gridsite.so
%attr(-, root, root) %{_prefix}/sbin/real-gridsite-admin.cgi
-%attr(-, root, root) %{_prefix}/sbin/gridsite-copy.cgi
-%attr(-, root, root) %{_prefix}/sbin/gridsite-storage.cgi
EOF
if [ $have_gsoap ] ; then
%attr(-, root, root) %{_prefix}/share/man/man1/htfind.1.gz
%attr(-, root, root) %{_prefix}/share/man/man1/urlencode.1.gz
%attr(-, root, root) %{_prefix}/share/man/man1/findproxyfile.1.gz
-
-%files gsexec
-%attr(4510, root, apache) %{_prefix}/sbin/gsexec
-%attr(-, root, root) %{_prefix}/share/man/man8/gsexec.8.gz
-EOF
-
-if [ $have_fuse ] ; then
-
-cat <<EOF >>gridsite.spec
-%package slashgrid
-Group: Applications/Internet
-Summary: slashgrid daemon
-Requires: curl >= 7.12.1,fuse
-
-%description slashgrid
-SlashGrid daemon
-
-%post slashgrid
-mkdir -p /grid
-
-%preun slashgrid
-/sbin/service slashgrid stop ; :
-
-%files slashgrid
-%attr(0744, root, root) %{_prefix}/sbin/slashgrid
-%attr(0744, root, root) /etc/rc.d/init.d/slashgrid
-%attr(0700, root, root) /var/spool/slashgrid
-%attr(-, root, root) %{_prefix}/share/man/man8/slashgrid.8.gz
-
EOF
-fi
-
if [ $have_gsoap ] ; then
cat <<EOF >>gridsite.spec
LC_TIME=C cat >> gridsite.spec <<EOF
%changelog
-* `date '+%a %b %d %Y'` - autobuild@`hostname -f`
+* `date '+%a %b %d %Y'` autobuild@`hostname -f` - ${PATCH_VERSION:-1.x.x}-${RELEASE_VERSION:-1}
- automatically generated package
EOF