debian/0000755000000000000000000000000012246730255007174 5ustar debian/libvomsapi1.docs0000644000000000000000000000003411635610613012265 0ustar src/install/vomses.template debian/voms-doc.install0000644000000000000000000000013311215161033012273 0ustar debian/tmp/usr/share/doc/voms-dev/VOMS_C_API debian/tmp/usr/share/doc/voms-dev/VOMS_CC_API debian/voms-server.README.Debian0000644000000000000000000000314111247026350013515 0ustar VOMS server configuration ------------------------- In addition to the voms-server package a voms database plugin is needed. Plugins exists for mysql and oracle. Since the oracle client libraries are not open source software, only the mysql plugin is available in Debian. To install the voms-mysql-plugin issue the following command: sudo apt-get install voms-mysql-plugin Before starting the server, you must create the databases used by VOMS. It is possible to run more than one VOMS server on a single host as long as they are configured to use different ports. You should have the grid CA certificates installed in /etc/grid-security/certificates before running the VOMS database creation script. To create the databases run the following command for each VOMS server you want to run: sudo /usr/share/voms/voms_install_db \ --voms-vo= \ --port= \ --db-type=mysql \ --db-admin= \ --db-pwd= \ --sqlloc=/usr/lib/voms/libvomsmysql.so The voms server is configured to run as a special voms user. This user needs a copy of the host certificate and key: sudo cp -p /etc/grid-security/hostcert.pem /etc/grid-security/voms sudo cp -p /etc/grid-security/hostkey.pem /etc/grid-security/voms sudo chown voms:voms /etc/grid-security/voms/host*.pem After creating the databases, edit the /etc/default/voms file and change the line "RUN=no" to "RUN=yes". Then start the server by running the command: sudo invoke-rc.d voms start To check that the server is running and is configured correctly, run the following command: sudo /usr/share/voms/voms-ping debian/voms-server.voms.default0000644000000000000000000000002611245225136014006 0ustar RUN=no VOMS_USER=voms debian/voms-server.postinst0000644000000000000000000000101711456132251013262 0ustar #!/bin/sh set -e if test "$1" = "configure" -o "$1" = "reconfigure" ; then test -r /etc/default/voms && . /etc/default/voms if test -z "$VOMS_USER" -o "$VOMS_USER" = "voms" ; then getent group voms > /dev/null || \ addgroup --quiet --system voms getent passwd voms > /dev/null || \ adduser --quiet --system --home /etc/voms --shell /bin/false \ --ingroup voms --disabled-password --disabled-login \ --gecos "VOMS Server Account" voms chown voms:voms /var/log/voms fi fi #DEBHELPER# debian/control0000644000000000000000000000720512147114730010575 0ustar Source: voms Priority: optional Maintainer: Mattias Ellert Build-Depends: debhelper (>= 5), autoconf, automake, libtool, autotools-dev, libssl-dev, libexpat1-dev, gsoap, pkg-config, xsltproc, docbook-xml, docbook-xsl, doxygen-latex, texlive-fonts-recommended Standards-Version: 3.9.4 Section: libs Vcs-Browser: http://svn.nordugrid.org/trac/packaging/browser/debian/voms Vcs-Svn: http://svn.nordugrid.org/repos/packaging/debian/voms Homepage: https://wiki.italiangrid.it/VOMS Package: libvomsapi1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Virtual Organization Membership Service C++ API The Virtual Organization Membership Service (VOMS) is an attribute authority which serves as central repository for VO user authorization information, providing support for sorting users into group hierarchies, keeping track of their roles and other attributes in order to issue trusted attribute certificates and SAML assertions used in the Grid environment for authorization purposes. . This package provides libraries that applications using the VOMS functionality will bind to. Package: voms-clients Section: net Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Virtual Organization Membership Service Clients The Virtual Organization Membership Service (VOMS) is an attribute authority which serves as central repository for VO user authorization information, providing support for sorting users into group hierarchies, keeping track of their roles and other attributes in order to issue trusted attribute certificates and SAML assertions used in the Grid environment for authorization purposes. . This package provides command line applications to access the VOMS services. Package: voms-dev Section: libdevel Architecture: any Depends: libvomsapi1 (= ${binary:Version}), libssl-dev, ${misc:Depends} Suggests: voms-doc Description: Virtual Organization Membership Service C++ API Development Files The Virtual Organization Membership Service (VOMS) is an attribute authority which serves as central repository for VO user authorization information, providing support for sorting users into group hierarchies, keeping track of their roles and other attributes in order to issue trusted attribute certificates and SAML assertions used in the Grid environment for authorization purposes. . This package offers header files for programming with the VOMS libraries. Package: voms-doc Section: doc Architecture: all Depends: voms-dev, ${misc:Depends}, libjs-jquery Description: Virtual Organization Membership Service Documentation Files Documentation for the Virtual Organization Membership Service. Package: voms-server Section: net Architecture: any Depends: ${shlibs:Depends}, adduser, ${misc:Depends} Suggests: voms-mysql-plugin Description: Virtual Organization Membership Service Server The Virtual Organization Membership Service (VOMS) is an attribute authority which serves as central repository for VO user authorization information, providing support for sorting users into group hierarchies, keeping track of their roles and other attributes in order to issue trusted attribute certificates and SAML assertions used in the Grid environment for authorization purposes. . This package provides the VOMS service. Package: voms-dbg Architecture: any Section: debug Priority: extra Depends: libvomsapi1 (= ${binary:Version}) | voms-clients (= ${binary:Version}) | voms-server (= ${binary:Version}), ${misc:Depends} Description: Virtual Organization Membership Service - Debug Symbols This package provides dubug symbols for the Virtual Organization Membership Service (VOMS). debian/voms-doc.doc-base.VOMS_C_API0000644000000000000000000000040411247027630014032 0ustar Document: voms-c-api Title: Debian VOMS C API Manual Author: EGEE Abstract: This manual describes the VOMS C API Section: Programming Format: HTML Index: /usr/share/doc/voms-dev/VOMS_C_API/html/index.html Files: /usr/share/doc/voms-dev/VOMS_C_API/html/*.html debian/rules0000755000000000000000000001071512246710341010252 0ustar #!/usr/bin/make -f # -*- makefile -*- name=voms -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 dh_autotools-dev_updateconfig # Remove embedded gsoap sources rm -f src/server/stdsoap2.c src/server/stdsoap2.h src/server/soap* # /var/lock/subsys is a redhat-ism - use /var/run/voms instead sed -e 's!/lock/subsys!/run/voms!g' -i src/install/voms.start.in # rebootstrap ./autogen.sh CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" FFLAGS="$(FFLAGS)" \ CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,-z,defs" ./configure \ --prefix=$(_prefix) \ --sysconfdir=$(_sysconfdir) \ --mandir='$${datadir}/man' \ --infodir='$${datadir}/info' \ --enable-docs \ --disable-parser-gen touch $@ build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) cd doc/apidoc/api/VOMS_C_API/latex && make cd doc/apidoc/api/VOMS_CC_API/latex && make touch $@ clean: dh_testdir dh_testroot if [ -r Makefile ] ; then $(MAKE) clean && $(MAKE) distclean ; fi find . -name Makefile.in -exec rm {} ';' rm -f aclocal.m4 rm -f configure rm -f project/ltmain.sh rm -f src/autogen/config.h.in rm -f m4/lt~obsolete.m4 rm -f m4/ltversion.m4 rm -f m4/ltoptions.m4 rm -f m4/ltsugar.m4 rm -f m4/libtool.m4 sed -e 's!/run/voms!/lock/subsys!g' \ -e 's!/lock/subsys.pid!/run/voms.pid!g' \ -i src/install/voms.start.in dh_autotools-dev_restoreconfig rm -f src/server/vomsSOAP.GetAttributeCertificate.req.xml rm -f src/server/vomsSOAP.GetAttributeCertificate.res.xml rm -f src/server/vomsSOAP.nsmap rm -rf doc/apidoc rm -rf test/utest/.deps rm -f test/utest/Makefile rm -f test/Makefile rm -f .test rm -f INSTALL rm -f build-stamp configure-stamp dh_clean debian/voms-server.voms.init install: build-stamp dh_testdir dh_testroot dh_prep $(MAKE) install DESTDIR=$(INSTALLDIR) rm -rf $(INSTALLDIR)$(_mandir)/man3 rm $(INSTALLDIR)$(_libdir)/*.la # Remove in order to have a good upgrade path from voms 1.x # This file is installed in the documentation directory instead rm $(INSTALLDIR)$(_datadir)/$(name)/vomses.template rm $(INSTALLDIR)$(_sysconfdir)/rc.d/init.d/voms rm $(INSTALLDIR)$(_sysconfdir)/sysconfig/voms install src/install/voms.start $(CURDIR)/debian/voms-server.voms.init mkdir -p $(INSTALLDIR)$(_sysconfdir)/grid-security/vomsdir mkdir -p $(INSTALLDIR)$(_sysconfdir)/grid-security/$(name) mkdir -p $(INSTALLDIR)$(_sysconfdir)/$(name) mkdir -p $(INSTALLDIR)$(_localstatedir)/log/$(name) mkdir -p $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_C_API cp -pr doc/apidoc/api/VOMS_C_API/html \ $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_C_API install -m 644 doc/apidoc/api/VOMS_C_API/latex/refman.pdf \ $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_C_API rm $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_C_API/html/jquery.js ln -s /usr/share/javascript/jquery/jquery.js \ $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_C_API/html/jquery.js mkdir -p $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_CC_API cp -pr doc/apidoc/api/VOMS_CC_API/html \ $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_CC_API install -m 644 doc/apidoc/api/VOMS_CC_API/latex/refman.pdf \ $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_CC_API rm $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_CC_API/html/jquery.js ln -s /usr/share/javascript/jquery/jquery.js \ $(INSTALLDIR)/$(_docdir)/voms-dev/VOMS_CC_API/html/jquery.js binary: binary-arch binary-indep binary-arch: install dh_testdir dh_testroot dh_installdocs -a dh_installchangelogs -a ChangeLog dh_install -a --fail-missing dh_installinit -a --name=voms dh_installman -a dh_link -a dh_strip -a --dbg-package=voms-dbg dh_compress -a dh_fixperms -a dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a -l debian/libvomsapi1/usr/lib dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary-indep: install dh_testdir dh_testroot dh_installdocs -p voms-doc --link voms-dev dh_installdocs -i dh_installchangelogs -i ChangeLog dh_install -i --fail-missing dh_installman -i dh_link -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i .PHONY: build build-arch build-indep binary binary-arch binary-indep clean configure install debian/voms-doc.doc-base.VOMS_CC_API0000644000000000000000000000041311247027646014144 0ustar Document: voms-cc-api Title: Debian VOMS C++ API Manual Author: EGEE Abstract: This manual describes the VOMS C++ API Section: Programming Format: HTML Index: /usr/share/doc/voms-dev/VOMS_CC_API/html/index.html Files: /usr/share/doc/voms-dev/VOMS_CC_API/html/*.html debian/copyright0000644000000000000000000000130412246724337011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: voms Upstream-Contact: Vincenzo Ciaschini Andrea Ceccanti Source: https://github.com/italiangrid/voms/archive/2_0_11.tar.gz Files: * Copyright: Copyright (c) Members of the EGEE Collaboration. 2004-2013. See http://www.eu-egee.org/partners/ for details on the copyright holders. License: Apache-2.0 Files: debian/* Copyright: 2008-2013, Mattias Ellert License: Apache-2.0 License: Apache-2.0 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/compat0000644000000000000000000000000211215161033010355 0ustar 5 debian/voms-dev.install0000644000000000000000000000025511627630651012327 0ustar debian/tmp/usr/include/voms/* debian/tmp/usr/lib/libvomsapi.a debian/tmp/usr/lib/libvomsapi.so debian/tmp/usr/lib/pkgconfig/voms-2.0.pc debian/tmp/usr/share/aclocal/voms.m4 debian/patches/0000755000000000000000000000000012246710715010622 5ustar debian/patches/series0000644000000000000000000000006412246705662012044 0ustar # Don't use embedded gsoap sources voms-gsoap.patch debian/patches/voms-gsoap.patch0000644000000000000000000000267211575652213013747 0ustar diff -ur voms-2.0.2.orig/src/server/Makefile.am voms-2.0.2/src/server/Makefile.am --- voms-2.0.2.orig/src/server/Makefile.am 2011-04-27 15:14:41.000000000 +0200 +++ voms-2.0.2/src/server/Makefile.am 2011-05-30 11:50:48.147654668 +0200 @@ -9,14 +9,31 @@ attribute.h \ uuid.c \ uuid.h \ - attribute.cc \ + attribute.cc +nodist_voms_SOURCES = \ soapC.c \ - stdsoap2.c + soapH.h \ + soapStub.h -EXTRA_DIST = soapH.h soapdefs.h stdsoap2.h soapStub.h +vomsd.$(OBJEXT) vomsd-rest.$(OBJEXT): soapH.h +voms-vomsd.$(OBJEXT) voms-vomsd-rest.$(OBJEXT): soapH.h +soapH.h soapStub.h: soapC.c -# $(top_builddir)/src/sslutils/libssl_utils_nog.la +soapC.c: VOMSAC.h + soapcpp2 -c VOMSAC.h +VOMSAC.h: VOMSAC.wsdl + wsdl2h -c VOMSAC.wsdl + +EXTRA_DIST = VOMSAC.wsdl + +CLEANFILES = soap* VOMSAC.h + +GSOAP_CFLAGS = $(shell pkg-config --cflags gsoapssl) -DHAVE_OPENSSL_SSL_H +GSOAP_LIBS = -lgsoapssl + +voms_CFLAGS = $(GSOAP_CFLAGS) +voms_CXXFLAGS = $(GSOAP_CFLAGS) voms_LDADD = \ $(top_builddir)/src/socklib/libsock_nog.la \ $(top_builddir)/src/common/libutilities_nog.la \ @@ -25,14 +42,11 @@ $(top_builddir)/src/replib/librep.la \ $(top_builddir)/src/log/liblog.la \ $(top_builddir)/src/api/ccapi/libvomsapi.la \ - $(OPENSSL_LIBS) $(EXPAT_LIBS) -ldl - -voms_LDFLAGS = + $(GSOAP_LIBS) $(OPENSSL_LIBS) $(EXPAT_LIBS) -ldl AM_CPPFLAGS = \ -I$(top_srcdir)/src/include \ -I$(top_srcdir)/src/api/ccapi \ - -DWITH_SOAPDEFS_H \ $(NO_GLOBUS_FLAGS) endif debian/voms-clients.install0000644000000000000000000000065211245402500013175 0ustar debian/tmp/usr/bin/voms-proxy-destroy debian/tmp/usr/bin/voms-proxy-info debian/tmp/usr/bin/voms-proxy-init debian/tmp/usr/bin/voms-proxy-fake debian/tmp/usr/bin/voms-proxy-list debian/tmp/usr/share/man/man1/voms-proxy-destroy.1* debian/tmp/usr/share/man/man1/voms-proxy-info.1* debian/tmp/usr/share/man/man1/voms-proxy-init.1* debian/tmp/usr/share/man/man1/voms-proxy-fake.1* debian/tmp/usr/share/man/man1/voms-proxy-list.1* debian/libvomsapi1.install0000644000000000000000000000011011756752762013016 0ustar debian/tmp/usr/lib/libvomsapi.so.* debian/tmp/etc/grid-security/vomsdir debian/changelog0000644000000000000000000001363212246710505011047 0ustar voms (2.0.11-1) unstable; urgency=low * Update to upstream version 2.0.11 * Drop patches voms-install-db2.patch and voms-doc-race.patch (accepted upstream) -- Mattias Ellert Sun, 01 Dec 2013 20:05:27 +0100 voms (2.0.10-1) unstable; urgency=low * Update to upstream version 2.0.10 -- Mattias Ellert Wed, 22 May 2013 12:08:15 +0200 voms (2.0.9-1) unstable; urgency=low * Update to upstream version 2.0.9 -- Mattias Ellert Sat, 01 Dec 2012 11:12:08 +0100 voms (2.0.8-1) unstable; urgency=low * Update to upstream version 2.0.8 (EMI 2 version) -- Mattias Ellert Sun, 27 May 2012 12:31:51 +0200 voms (2.0.7-2) unstable; urgency=low * Fix upgrade path (Closes: #673981) -- Mattias Ellert Tue, 22 May 2012 19:56:38 +0200 voms (2.0.7-1) unstable; urgency=low * Update to upstream version 2.0.7 * Split of Java API to separate source package -- Mattias Ellert Sat, 19 May 2012 15:13:51 +0200 voms (2.0.6-3) unstable; urgency=low * Don't build java in parallel -- Mattias Ellert Sat, 15 Oct 2011 15:35:46 +0200 voms (2.0.6-2) unstable; urgency=low * Move vomses template to documentation directory -- Mattias Ellert Mon, 19 Sep 2011 11:51:21 +0200 voms (2.0.6-1) unstable; urgency=low * Update to upstream version 2.0.6 * Adapt manpage (Closes: #639130) -- Mattias Ellert Wed, 31 Aug 2011 16:03:36 +0200 voms (1.9.19.2-2) unstable; urgency=low * Use new doxygen-latex build dependency (Closes: #616283) * Remove embedded jquery.js -- Mattias Ellert Fri, 06 May 2011 12:08:39 +0200 voms (1.9.19.2-1) unstable; urgency=low * Update to upstream version 1.9.19.2 -- Mattias Ellert Mon, 01 Nov 2010 11:53:14 +0100 voms (1.9.18.1-4) unstable; urgency=low * Remove the empty /etc/vomses file - it will cause conflicts for users that have used the option to have /etc/vomses be a directory -- Mattias Ellert Fri, 15 Oct 2010 22:03:22 +0200 voms (1.9.18.1-3) unstable; urgency=low * Only do postinstall configuration during configure -- Mattias Ellert Wed, 06 Oct 2010 09:02:57 +0200 voms (1.9.18.1-2) unstable; urgency=low * Let postinstall script respect local changes to voms user setting -- Mattias Ellert Tue, 05 Oct 2010 16:32:28 +0200 voms (1.9.18.1-1) unstable; urgency=low * Update to upstream version 1.9.18.1 -- Mattias Ellert Mon, 04 Oct 2010 19:36:14 +0200 voms (1.9.17.1-1) unstable; urgency=low * Update to upstream version 1.9.17.1 * Drop patches voms-db-method.patch and voms-thread.patch (accepted upstream) -- Mattias Ellert Sat, 05 Jun 2010 20:58:16 +0200 voms (1.9.16.1-2) unstable; urgency=low * Add mutex lock for accessing private data -- Mattias Ellert Mon, 29 Mar 2010 10:15:09 +0200 voms (1.9.16.1-1) unstable; urgency=low * Update to upstream version 1.9.16.1 * Fix uninitialized variable in voms-proxy-init * Add debug package * Add ahead-of-time native java package -- Mattias Ellert Mon, 22 Mar 2010 12:50:14 +0100 voms (1.9.14.3-1) unstable; urgency=low * Update to upstream version 1.9.14.3 * Add missing dependencies for stricter binutils (Closes: #556667) -- Mattias Ellert Mon, 28 Dec 2009 22:04:23 +0100 voms (1.9.14.2-1) unstable; urgency=low * Update to upstream version 1.9.14.2 * Fix some bashisms in shell scripts (Closes: #547763) -- Mattias Ellert Tue, 20 Oct 2009 19:53:08 +0200 voms (1.9.12.1-1) unstable; urgency=low * Update to upstream version 1.9.12.1 -- Mattias Ellert Fri, 18 Sep 2009 12:08:56 +0200 voms (1.9.11-3) unstable; urgency=low * Fix java compilation on hppa and kfreebsd * Fix doc-base identifiers * Fix unconditional use of PIPE_BUF for GNU hurd compilation -- Mattias Ellert Mon, 31 Aug 2009 22:48:51 +0200 voms (1.9.11-2) unstable; urgency=low * Adapt debian/rules to new doxygen version (Closes: #544026) * Add setup instructions to the server package * Run the server as non-root -- Mattias Ellert Wed, 26 Aug 2009 13:18:32 +0200 voms (1.9.11-1) unstable; urgency=low * Initial release (Closes: #515221) * Update to upstream version 1.9.11 -- Mattias Ellert Mon, 17 Aug 2009 19:17:05 +0200 voms (1.9.8.1-2) UNRELEASED; urgency=low * Do proper package renaming -- Mattias Ellert Mon, 27 Jul 2009 13:45:18 +0200 voms (1.9.8.1-1) UNRELEASED; urgency=low * Update to upstream version 1.9.8.1 * Make java package too -- Mattias Ellert Thu, 02 Jul 2009 18:16:22 +0200 voms (1.9.2-2) UNRELEASED; urgency=low * Updated Debian policy * Eliminated lintian warnings - deprecated source-version -- Steffen Moeller Sun, 29 Mar 2009 23:27:01 +0200 voms (1.9.2-1) UNRELEASED; urgency=low * Update to upstream version 1.9.2 -- Mattias Ellert Thu, 12 Feb 2009 14:01:30 +0100 voms (1.9.1-1) UNRELEASED; urgency=low * Update to upstream version 1.9.1 -- Mattias Ellert Fri, 6 Feb 2009 14:08:40 +0100 voms (1.8.10-1) UNRELEASED; urgency=low * Update to upstream version 1.8.10 -- Mattias Ellert Sun, 18 Jan 2009 18:20:53 +0100 voms (1.7.24-1) UNRELEASED; urgency=low * Initial packaging -- Steffen Moeller Fri, 20 Jun 2008 21:30:49 +0000 debian/voms-server.install0000644000000000000000000000067111575652224013063 0ustar debian/tmp/usr/sbin/voms debian/tmp/usr/share/voms/mysql2oracle debian/tmp/usr/share/voms/upgrade1to2 debian/tmp/usr/share/voms/voms.data debian/tmp/usr/share/voms/voms_install_db debian/tmp/usr/share/voms/voms-ping debian/tmp/usr/share/voms/voms_replica_master_setup.sh debian/tmp/usr/share/voms/voms_replica_slave_setup.sh debian/tmp/usr/share/man/man8/voms.8* debian/tmp/etc/voms debian/tmp/etc/grid-security/voms debian/tmp/var/log/voms debian/source/0000755000000000000000000000000011402517023010461 5ustar debian/source/format0000644000000000000000000000001411402517023011667 0ustar 3.0 (quilt)