debian/0000755000000000000000000000000012245744261007175 5ustar debian/myproxy-server.lintian-overrides0000644000000000000000000000020611634452504015603 0ustar # The server will not start if the permissions are too permissive myproxy-server: non-standard-dir-perm var/lib/myproxy/ 0700 != 0755 debian/myproxy-server.postinst0000644000000000000000000000112711634343346014036 0ustar #!/bin/sh set -e if test "$1" = "configure" -o "$1" = "reconfigure" ; then test -r /etc/default/myproxy-server && . /etc/default/myproxy-server if test -z "$MYPROXY_USER" -o "$MYPROXY_USER" = "myproxy" ; then getent group myproxy > /dev/null || \ addgroup --quiet --system myproxy getent passwd myproxy > /dev/null || \ adduser --quiet --system --home /var/lib/myproxy \ --shell /bin/false --ingroup myproxy --disabled-password \ --disabled-login --gecos "User to run the MyProxy service" myproxy chown myproxy:myproxy /var/lib/myproxy fi fi #DEBHELPER# debian/myproxy-server.README.Debian0000644000000000000000000000036511754410203014262 0ustar You must install host certificates for myproxy-server. These should be located at /etc/grid-security/myproxy/hostcert.pem , permissions 644 /etc/grid-security/myproxy/hostkey.pem , permission 600 and owned by user/group myproxy/myproxy. debian/myproxy-server.install0000644000000000000000000000041311634302105013602 0ustar debian/tmp/usr/sbin/myproxy-server debian/tmp/etc/myproxy-server.config debian/tmp/var/lib/myproxy debian/tmp/etc/grid-security debian/tmp/etc/grid-security/myproxy debian/tmp/usr/share/man/man8/myproxy-server.8 debian/tmp/usr/share/man/man5/myproxy-server.config.5 debian/control0000644000000000000000000001476012245703543010606 0ustar Source: myproxy Priority: optional Maintainer: Mattias Ellert Build-Depends: debhelper (>= 5), autotools-dev, grid-packaging-tools (>= 3.4), globus-core (>= 8.16), libglobus-usage-dev (>= 3.1-4~), libglobus-gss-assist-dev (>= 9), libpam0g-dev, libldap2-dev, libkrb5-dev, voms-dev, libsasl2-dev, libbsd-dev, doxygen-latex, texlive-fonts-recommended, graphviz, ghostscript, globus-proxy-utils, globus-gsi-cert-utils-progs, voms-clients, procps Standards-Version: 3.9.4 Section: net Vcs-Browser: http://svn.nordugrid.org/trac/packaging/browser/debian/myproxy Vcs-Svn: http://svn.nordugrid.org/repos/packaging/debian/myproxy Homepage: http://grid.ncsa.illinois.edu/myproxy/ Package: myproxy Section: net Architecture: any Multi-Arch: foreign Depends: libmyproxy5 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, globus-proxy-utils, voms-clients Description: Credential Management Service Client MyProxy is open source software for managing X.509 Public Key Infrastructure (PKI) security credentials (certificates and private keys). MyProxy combines an online credential repository with an online certificate authority to allow users to securely obtain credentials when and where needed. Users run myproxy-logon to authenticate and obtain credentials, including trusted CA certificates and Certificate Revocation Lists (CRLs). Package: libmyproxy5 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Credential Management Service Library MyProxy is open source software for managing X.509 Public Key Infrastructure (PKI) security credentials (certificates and private keys). MyProxy combines an online credential repository with an online certificate authority to allow users to securely obtain credentials when and where needed. Users run myproxy-logon to authenticate and obtain credentials, including trusted CA certificates and Certificate Revocation Lists (CRLs). . This package contains runtime libs for MyProxy. Package: libmyproxy-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libmyproxy5 (= ${binary:Version}), libglobus-gss-assist-dev (>= 3), libglobus-usage-dev, ${misc:Depends} Recommends: libmyproxy-doc (= ${source:Version}) Description: Credential Management Service Development MyProxy is open source software for managing X.509 Public Key Infrastructure (PKI) security credentials (certificates and private keys). MyProxy combines an online credential repository with an online certificate authority to allow users to securely obtain credentials when and where needed. Users run myproxy-logon to authenticate and obtain credentials, including trusted CA certificates and Certificate Revocation Lists (CRLs). . This package contains development files for MyProxy. Package: myproxy-server Section: net Architecture: any Multi-Arch: foreign Depends: libmyproxy5 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, adduser Description: Credential Management Service Server MyProxy is open source software for managing X.509 Public Key Infrastructure (PKI) security credentials (certificates and private keys). MyProxy combines an online credential repository with an online certificate authority to allow users to securely obtain credentials when and where needed. Users run myproxy-logon to authenticate and obtain credentials, including trusted CA certificates and Certificate Revocation Lists (CRLs). . This package contains the MyProxy server. Package: myproxy-admin Section: net Architecture: any Multi-Arch: foreign Depends: libmyproxy5 (= ${binary:Version}), myproxy-server (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libperl4-corelibs-perl | perl (<< 5.12.3-7) Description: Credential Management Service Administration Tools MyProxy is open source software for managing X.509 Public Key Infrastructure (PKI) security credentials (certificates and private keys). MyProxy combines an online credential repository with an online certificate authority to allow users to securely obtain credentials when and where needed. Users run myproxy-logon to authenticate and obtain credentials, including trusted CA certificates and Certificate Revocation Lists (CRLs). . This package contains the MyProxy server admin commands. Package: libmyproxy-doc Section: doc Architecture: all Multi-Arch: foreign Replaces: libmyproxy5 (<< 5.9-5~) Breaks: libmyproxy5 (<< 5.9-5~) Depends: libmyproxy-dev, ${misc:Depends}, ${js:Depends} Description: Credential Management Service Documentation MyProxy is open source software for managing X.509 Public Key Infrastructure (PKI) security credentials (certificates and private keys). MyProxy combines an online credential repository with an online certificate authority to allow users to securely obtain credentials when and where needed- Users run myproxy-logon to authenticate and obtain credentials, including trusted CA certificates and Certificate Revocation Lists (CRLs). . This package contains the MyProxy documentation. Package: libmyproxy-dbg Section: debug Priority: extra Architecture: any Multi-Arch: same Replaces: myproxy-dbg (<< 5.9-4~) Breaks: myproxy-dbg (<< 5.9-4~) Depends: libmyproxy5 (= ${binary:Version}), ${misc:Depends} Description: Credential Management Service Debug Symbols MyProxy is open source software for managing X.509 Public Key Infrastructure (PKI) security credentials (certificates and private keys). MyProxy combines an online credential repository with an online certificate authority to allow users to securely obtain credentials when and where needed. Users run myproxy-logon to authenticate and obtain credentials, including trusted CA certificates and Certificate Revocation Lists (CRLs). . This package contains the MyProxy debug symbols. Package: myproxy-dbg Section: debug Priority: extra Architecture: any Multi-Arch: foreign Depends: myproxy (= ${binary:Version}) | myproxy-server (= ${binary:Version}) | myproxy-admin (= ${binary:Version}), ${misc:Depends} Description: Credential Management Service Debug Symbols MyProxy is open source software for managing X.509 Public Key Infrastructure (PKI) security credentials (certificates and private keys). MyProxy combines an online credential repository with an online certificate authority to allow users to securely obtain credentials when and where needed. Users run myproxy-logon to authenticate and obtain credentials, including trusted CA certificates and Certificate Revocation Lists (CRLs). . This package contains the MyProxy debug symbols. debian/rules0000755000000000000000000001434712244620551010260 0ustar #!/usr/bin/make -f # -*- makefile -*- name = myproxy soname = 5 INSTALLDIR = $(CURDIR)/debian/tmp GLOBUSPACKAGEDIR = $(INSTALLDIR)$(_datadir)/globus/packages _prefix = /usr _bindir = $(_prefix)/bin _sbindir = $(_prefix)/sbin _libdir = $(_prefix)/lib/$(DEB_HOST_MULTIARCH) _datadir = $(_prefix)/share _mandir = $(_datadir)/man _docdir = $(_datadir)/doc/lib$(name)-dev _sysconfdir = /etc DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) ifeq ($(DEB_HOST_ARCH_BITS), 64) flavor = gcc64-$(DEB_HOST_MULTIARCH) else flavor = gcc32-$(DEB_HOST_MULTIARCH) endif sed: sed-stamp sed-stamp: dh_testdir for f in `find . ! -path */.pc/* -name Makefile.am` ; do \ sed -e 's!^flavorinclude_HEADERS!include_HEADERS!' \ -e 's!\(lib[a-zA-Z_]*\)_$$(GLOBUS_FLAVOR_NAME)\.la!\1.la!g' \ -e 's!^\(lib[a-zA-Z_]*\)___GLOBUS_FLAVOR_NAME__la_!\1_la_!' \ -i $$f ; \ done touch $@ unsed: dh_testdir if [ -e sed-stamp ] ; then \ for f in `find . ! -path */.pc/* -name Makefile.am` ; do \ sed -e 's!^include_HEADERS!flavorinclude_HEADERS!' \ -e 's!\(lib[a-zA-Z_]*\)\.la!\1_$$(GLOBUS_FLAVOR_NAME).la!g' \ -e 's!^\(lib[a-zA-Z_]*\)_la_!\1___GLOBUS_FLAVOR_NAME__la_!' \ -i $$f ; \ done ; \ fi rm -f sed-stamp configure: configure-stamp configure-stamp: sed-stamp dh_testdir dh_autotools-dev_updateconfig /usr/share/globus/globus-bootstrap.sh ./configure \ --disable-static \ --with-flavor=$(flavor) \ --with-voms=/usr \ --with-openldap=/usr \ --with-kerberos5=/usr \ --with-sasl2=/usr \ --enable-doxygen \ --with-docdir=$(_docdir) # Reduce overlinking sed 's!CC -shared !CC \\$${wl}--as-needed -shared !g' -i libtool touch $@ build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) touch $@ clean: unsed dh_testdir dh_testroot if [ -r Makefile ] ; then $(MAKE) distclean ; fi dh_autotools-dev_restoreconfig # Remove autogenerated files rm -f aclocal.m4 rm -f compile rm -f configure rm -f install-sh rm -f ltmain.sh rm -f missing rm -f mkinstalldirs rm -f doxygen/Doxyfile* rm -f doxygen/Makefile.am rm -f pkgdata/Makefile.am rm -f pkgdata/*.filelist rm -f pkgdata/*.gpt rm -f pkgdata/$(name).pc rm -f pkgdata/pkg_data_src.pc.in rm -f gptdata.sh rm -f globus_automake* rm -rf autom4te.cache rm -rf doxygen/doc find . -name Makefile.in -exec rm {} ';' rm -f build-stamp configure-stamp dh_clean install: build-stamp dh_testdir dh_testroot dh_prep $(MAKE) install DESTDIR=$(INSTALLDIR) # Remove libtool archives (.la files) find $(INSTALLDIR)$(_libdir) -name 'lib*.la' -exec rm -v '{}' \; sed '/lib.*\.la$$/d' \ -i $(GLOBUSPACKAGEDIR)/$(name)/$(flavor)_dev.filelist # Move documentation to default debian location mkdir -p $(INSTALLDIR)$(_docdir)/lib$(name)-dev/extras for FILE in login.html myproxy-accepted-credentials-mapapp \ myproxy-cert-checker myproxy-certificate-mapapp \ myproxy-certreq-checker myproxy-crl.cron myproxy.cron \ myproxy-get-delegation.cgi myproxy-get-trustroots.cron \ myproxy-passphrase-policy myproxy-revoke ; do \ mv $(INSTALLDIR)$(_datadir)/$(name)/$$FILE \ $(INSTALLDIR)$(_docdir)/lib$(name)-dev/extras ; \ sed -i "s!$(name)/$$FILE!doc/lib$(name)-dev/extras/$$FILE!" \ $(GLOBUSPACKAGEDIR)/$(name)/noflavor_data.filelist ; \ done mkdir -p $(INSTALLDIR)$(_docdir)/$(name) for FILE in PROTOCOL VERSION ; do \ mv $(INSTALLDIR)$(_datadir)/$(name)/$$FILE \ $(INSTALLDIR)$(_docdir)/$(name) ; \ sed -i "s!$(name)/$$FILE!doc/$(name)/$$FILE!" \ $(GLOBUSPACKAGEDIR)/$(name)/noflavor_data.filelist ; \ done # Remove irrelavent example configuration files. for FILE in etc.inetd.conf.modifications etc.init.d.myproxy.nonroot \ etc.services.modifications etc.xinetd.myproxy \ etc.init.d.myproxy LICENSE* INSTALL README ; do \ rm $(INSTALLDIR)$(_datadir)/$(name)/$$FILE ; \ sed -i "/share\/$(name)\/$$FILE/d" \ $(GLOBUSPACKAGEDIR)/$(name)/noflavor_data.filelist ; \ done # Move example configuration file into place. mkdir -p $(INSTALLDIR)$(_sysconfdir) mv $(INSTALLDIR)$(_datadir)/$(name)/myproxy-server.config \ $(INSTALLDIR)$(_sysconfdir) sed -i "/share\/$(name)\/myproxy-server.config/d" \ $(GLOBUSPACKAGEDIR)/$(name)/noflavor_data.filelist mkdir -p $(INSTALLDIR)/var/lib/$(name) chmod 700 $(INSTALLDIR)/var/lib/$(name) # Create a directory to hold myproxy owned host certificates. mkdir -p $(INSTALLDIR)$(_sysconfdir)/grid-security/$(name) sed 's/\(^\.TH.*\) 1 /\1 8 /' \ -i $(INSTALLDIR)$(_mandir)/man8/myproxy-admin-query.8 # Use system jquery script if [ -r $(INSTALLDIR)$(_docdir)/html/jquery.js ] ; then \ rm $(INSTALLDIR)$(_docdir)/html/jquery.js ; \ ln -s /usr/share/javascript/jquery/jquery.js \ $(INSTALLDIR)$(_docdir)/html/jquery.js ; \ echo js:Depends=libjs-jquery >> debian/lib$(name)-doc.substvars ; \ else \ echo js:Depends= >> debian/lib$(name)-doc.substvars ; \ fi # Remove systemd unit files rm $(INSTALLDIR)$(_datadir)/$(name)/myproxy-server.conf rm $(INSTALLDIR)$(_datadir)/$(name)/myproxy-server.service sed -i "/share\/$(name)\/myproxy-server/d" \ $(GLOBUSPACKAGEDIR)/$(name)/noflavor_data.filelist ; \ # Check PATH=.:$$PATH ./myproxy-test -startserver -generatecerts binary: binary-arch binary-indep binary-arch: install dh_testdir dh_testroot dh_installdocs -a dh_installchangelogs -a dh_install -a --fail-missing dh_installinit -a --name=myproxy-server dh_installman -a dh_link -a dh_strip -a -X/bin/ -X/sbin/ --dbg-package=lib$(name)-dbg dh_strip -a -X/lib/ --dbg-package=$(name)-dbg dh_compress -a dh_fixperms -a -X var/lib/$(name) dh_perl -a dh_lintian -a dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary-indep: install dh_testdir dh_testroot dh_installdocs -p lib$(name)-doc --link-doc=lib$(name)-dev dh_installdocs -i dh_installchangelogs -i dh_install -i --fail-missing dh_installman -i dh_link -i dh_compress -i -X .tag dh_fixperms -i dh_perl -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i .PHONY: binary binary-arch binary-indep build build-arch build-indep clean configure install debian/myproxy-server.myproxy-server.default0000644000000000000000000000037511627705146016637 0ustar # Any environment for MyProxy Startup. # Override these defaults here. ## MYPROXY_USER=myproxy ## MYPROXY_OPTIONS="-s /var/lib/myproxy" ## X509_USER_CERT=/etc/grid-security/myproxy/hostcert.pem ## X509_USER_KEY=/etc/grid-security/myproxy/hostkey.pem debian/copyright0000644000000000000000000001402212024037116011114 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MyProxy Upstream-Contact: MyProxy Team National Center for Supercomputing Applications University of Illinois Source: http://downloads.sourceforge.net/cilogon/myproxy-5.9-gt5.2.tar.gz Files: * Copyright: 2000-2012 The Board of Trustees of the University of Illinois. All rights reserved. License: NCSA Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. . Neither the names of the National Center for Supercomputing Applications, the University of Illinois, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. Files: gssapi.c plugin_common.[ch] Copyright: 1998-2003 Carnegie Mellon University. All rights reserved. License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. 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. . 3. The name "Carnegie Mellon University" must not be used to endorse or promote products derived from this software without prior written permission. For permission or any other legal details, please contact Office of Technology Transfer Carnegie Mellon University 5000 Forbes Avenue Pittsburgh, PA 15213-3890 (412) 268-4387, fax: (412) 268-7395 tech-transfer@andrew.cmu.edu . 4. Redistributions of any form whatsoever must retain the following acknowledgment: "This product includes software developed by Computing Services at Carnegie Mellon University (http://www.cmu.edu/computing/)." . CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: getopt_long.c port_getopt.h Copyright: 2000 The NetBSD Foundation, Inc. All rights reserved. License: BSD This code is derived from software contributed to The NetBSD Foundation by Dieter Baron and Thomas Klausner. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. 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. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the NetBSD Foundation, Inc. and its contributors. 4. Neither the name of The NetBSD Foundation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. Files: safe_id_range_list.[ch] safe_is_path_trusted.[ch] Copyright: 2007-2008 James A. Kupsch License: Apache-2.0 Files: pubcookie.h Copyright: 2005 University of Washington License: Apache-2.0 Files: myproxy_usage.[ch] Copyright: 1999-2006 University of Chicago License: Apache-2.0 Files: debian/* Copyright: 2011-2012, 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/libmyproxy5.install0000644000000000000000000000013012244621034013051 0ustar debian/tmp/usr/share/globus/packages/myproxy/*gcc* debian/tmp/usr/lib/*/libmyproxy.so.* debian/compat0000644000000000000000000000000211575652214010374 0ustar 5 debian/myproxy.install0000644000000000000000000000132511634311525012307 0ustar debian/tmp/usr/bin/myproxy-change-pass-phrase debian/tmp/usr/bin/myproxy-destroy debian/tmp/usr/bin/myproxy-get-delegation debian/tmp/usr/bin/myproxy-get-trustroots debian/tmp/usr/bin/myproxy-info debian/tmp/usr/bin/myproxy-init debian/tmp/usr/bin/myproxy-logon debian/tmp/usr/bin/myproxy-retrieve debian/tmp/usr/bin/myproxy-store debian/tmp/usr/share/man/man1/myproxy-change-pass-phrase.1 debian/tmp/usr/share/man/man1/myproxy-destroy.1 debian/tmp/usr/share/man/man1/myproxy-get-delegation.1 debian/tmp/usr/share/man/man1/myproxy-info.1 debian/tmp/usr/share/man/man1/myproxy-init.1 debian/tmp/usr/share/man/man1/myproxy-logon.1 debian/tmp/usr/share/man/man1/myproxy-retrieve.1 debian/tmp/usr/share/man/man1/myproxy-store.1 debian/myproxy-server.myproxy-server.init0000755000000000000000000000424611754410121016145 0ustar #!/bin/bash # # myproxy-server - Server for X.509 Public Key Infrastructure (PKI) credentials # # chkconfig: - 55 25 # description: Server for X.509 Public Key Infrastructure (PKI) credentials # ### BEGIN INIT INFO # Provides: myproxy-server # Required-Start: $local_fs $network $syslog # Required-Stop: $local_fs $syslog # Should-Start: $syslog # Should-Stop: $network $syslog # Default-Stop: # Default-Start: # Short-Description: Startup the MyProxy server daemon # Description: Server for X.509 Public Key Infrastructure (PKI) credentials ### END INIT INFO # Source function library. . /lib/lsb/init-functions exec="/usr/sbin/myproxy-server" prog=$(basename $exec) # Defaults MYPROXY_USER=myproxy MYPROXY_OPTIONS="-s /var/lib/myproxy" X509_USER_CERT=/etc/grid-security/myproxy/hostcert.pem X509_USER_KEY=/etc/grid-security/myproxy/hostkey.pem # Override defaults here. [ -r /etc/default/$prog ] && . /etc/default/$prog # A few sanity checks [ ! -r $X509_USER_KEY ] && echo -n "$prog: No hostkey file" && log_failure_msg && echo && exit 0 [ ! -r $X509_USER_CERT ] && echo -n "$prog: No hostcert file" && log_failure_msg && echo && exit 0 lockfile=/var/lock/$prog start() { echo Starting myproxy server export X509_USER_CERT X509_USER_KEY start-stop-daemon --start --oknodo -c $MYPROXY_USER --exec $exec -- $MYPROXY_OPTIONS retval=$? [ $retval -eq 0 ] && touch $lockfile [ $retval -eq 0 ] && log_success_msg || log_failure_msg return $retval } stop() { echo Stopping myproxy server start-stop-daemon --stop --oknodo --exec $exec retval=$? [ $retval -eq 0 ] && rm -f $lockfile [ $retval -eq 0 ] && log_success_msg || log_failure_msg return $retval } restart() { stop start } case "$1" in start) start ;; stop) stop ;; force-reload|restart) restart ;; status) status_of_proc $prog ;; try-restart|condrestart) [ -r $lockfile ] && restart ;; reload) start-stop-daemon --stop --oknodo --signal HUP --exec $exec ;; *) echo "Usage: $0 {start|stop|status|restart|reload|try-restart|force-reload}" exit 2 esac debian/patches/0000755000000000000000000000000012223304370010611 5ustar debian/patches/myproxy-pathmax.patch0000644000000000000000000000577711652724741015056 0ustar diff -ur myproxy-5.4.orig/myproxy.c myproxy-5.4/myproxy.c --- myproxy-5.4.orig/myproxy.c 2011-03-22 15:46:15.000000000 +0100 +++ myproxy-5.4/myproxy.c 2011-10-29 08:58:20.352003658 +0200 @@ -7,6 +7,10 @@ #include "myproxy_common.h" /* all needed headers included here */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + /********************************************************************** * * Internal functions diff -ur myproxy-5.4.orig/myproxy_creds.c myproxy-5.4/myproxy_creds.c --- myproxy-5.4.orig/myproxy_creds.c 2011-03-10 17:23:27.000000000 +0100 +++ myproxy-5.4/myproxy_creds.c 2011-10-29 09:00:25.648004410 +0200 @@ -8,6 +8,10 @@ #include "myproxy_common.h" /* all needed headers included here */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + /* Files should only be readable by me */ #define FILE_MODE 0600 diff -ur myproxy-5.4.orig/myproxy_get_credential.c myproxy-5.4/myproxy_get_credential.c --- myproxy-5.4.orig/myproxy_get_credential.c 2010-06-18 20:08:40.000000000 +0200 +++ myproxy-5.4/myproxy_get_credential.c 2011-10-29 09:01:37.524004400 +0200 @@ -6,6 +6,10 @@ #include "myproxy_common.h" /* all needed headers included here */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + static char usage[] = \ "\n" "Syntax: myproxy-retrieve [-l username] ...\n" diff -ur myproxy-5.4.orig/myproxy_init.c myproxy-5.4/myproxy_init.c --- myproxy-5.4.orig/myproxy_init.c 2010-06-10 05:12:04.000000000 +0200 +++ myproxy-5.4/myproxy_init.c 2011-10-29 09:00:53.548004445 +0200 @@ -6,6 +6,10 @@ #include "myproxy_common.h" /* all needed headers included here */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + /* Location of default proxy */ #define MYPROXY_DEFAULT_PROXY "/tmp/myproxy-proxy" diff -ur myproxy-5.4.orig/myproxy_server.c myproxy-5.4/myproxy_server.c --- myproxy-5.4.orig/myproxy_server.c 2011-03-10 17:23:27.000000000 +0100 +++ myproxy-5.4/myproxy_server.c 2011-10-29 09:02:22.752004395 +0200 @@ -6,6 +6,10 @@ #include "myproxy_common.h" /* all needed headers included here */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + #ifndef MIN #define MIN(x,y) ((x) < (y) ? (x) : (y)) #endif diff -ur myproxy-5.4.orig/safe_is_path_trusted.c myproxy-5.4/safe_is_path_trusted.c --- myproxy-5.4.orig/safe_is_path_trusted.c 2010-06-18 20:08:40.000000000 +0200 +++ myproxy-5.4/safe_is_path_trusted.c 2011-10-29 08:57:00.412004677 +0200 @@ -31,6 +31,9 @@ #include "safe_id_range_list.h" #include "safe_is_path_trusted.h" +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif /*********************************************************************** diff -ur myproxy-5.4.orig/ssl_utils.c myproxy-5.4/ssl_utils.c --- myproxy-5.4.orig/ssl_utils.c 2011-01-13 00:10:35.000000000 +0100 +++ myproxy-5.4/ssl_utils.c 2011-10-29 08:59:17.660004400 +0200 @@ -7,6 +7,10 @@ #include "myproxy_common.h" /* all needed headers included here */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + #define PEM_CALLBACK(func) func, NULL #define PEM_NO_CALLBACK NULL, NULL debian/patches/series0000644000000000000000000000002612223304153012023 0ustar myproxy-pathmax.patch debian/libmyproxy-doc.install0000644000000000000000000000014012244621036013532 0ustar debian/tmp/usr/share/globus/packages/myproxy/*noflavor* debian/tmp/usr/share/doc/libmyproxy-dev debian/libmyproxy-dev.install0000644000000000000000000000121312240720562013545 0ustar debian/tmp/usr/include/globus/myproxy.h debian/tmp/usr/include/globus/myproxy_authorization.h debian/tmp/usr/include/globus/myproxy_constants.h debian/tmp/usr/include/globus/myproxy_creds.h debian/tmp/usr/include/globus/myproxy_delegation.h debian/tmp/usr/include/globus/myproxy_log.h debian/tmp/usr/include/globus/myproxy_protocol.h debian/tmp/usr/include/globus/myproxy_read_pass.h debian/tmp/usr/include/globus/myproxy_sasl_client.h debian/tmp/usr/include/globus/myproxy_sasl_server.h debian/tmp/usr/include/globus/myproxy_server.h debian/tmp/usr/include/globus/verror.h debian/tmp/usr/lib/*/libmyproxy.so debian/tmp/usr/lib/*/pkgconfig/myproxy.pc debian/libmyproxy-doc.doc-base0000644000000000000000000000032711634130404013544 0ustar Document: myproxy Title: Debian MyProxy Manual Author: N.N. Abstract: MyProxy Section: Programming Format: HTML Index: /usr/share/doc/libmyproxy-dev/html/index.html Files: /usr/share/doc/libmyproxy-dev/html/*.html debian/changelog0000644000000000000000000000415612245742460011054 0ustar myproxy (5.9-6) unstable; urgency=low * Add missing Replaces/Breaks for previous fix (Closes: #730711) -- Mattias Ellert Thu, 28 Nov 2013 19:06:31 +0100 myproxy (5.9-5) unstable; urgency=low * Move noflavor gpt metadata to doc package (Closes: #730447) -- Mattias Ellert Mon, 25 Nov 2013 10:59:28 +0100 myproxy (5.9-4) unstable; urgency=low * Implement Multi-Arch support * Split dbg package for Multi-Arch -- Mattias Ellert Wed, 13 Nov 2013 16:38:07 +0100 myproxy (5.9-3) unstable; urgency=low * Remove the GNU/Hurd workaround - bug is fixed -- Mattias Ellert Thu, 03 Oct 2013 17:05:30 +0200 myproxy (5.9-2) unstable; urgency=low * Add workaround for BTS #714733 (Can't rename directories under /tmp in a schroot on GNU/Hurd - run test suite in build dir instead) * Add arm64 to the list of 64 bit architectures -- Mattias Ellert Fri, 05 Jul 2013 10:52:27 +0200 myproxy (5.9-1) unstable; urgency=low * New upstream release * Drop patches -myproxy-tls.patch, myproxy-bsd.patch and myproxy-2048bits.patch implemented upstream -- Mattias Ellert Wed, 12 Sep 2012 09:48:56 +0200 myproxy (5.6-1) unstable; urgency=low * New upstream release * Drop patch myproxy-libdep.patch implemented upstream * Add patches for openssl 1.0.1 compatibility -- Mattias Ellert Wed, 09 May 2012 15:18:35 +0200 myproxy (5.5-1) unstable; urgency=low * New upstream release * Drop myproxy-globus-7129(,-pII,-pIII).patch implemented upstream -- Mattias Ellert Sun, 22 Jan 2012 06:39:35 +0100 myproxy (5.4-2) unstable; urgency=low * Add procps to Build-Depends (Closes: #646516) * Add PATH_MAX and MAXPATHLEN for portability -- Mattias Ellert Sat, 29 Oct 2011 09:42:08 +0200 myproxy (5.4-1) unstable; urgency=low * First build (Closes: #641686) -- Mattias Ellert Wed, 14 Sep 2011 15:41:11 +0200 debian/myproxy-admin.install0000644000000000000000000000130711634302340013370 0ustar debian/tmp/usr/sbin/myproxy-admin-addservice debian/tmp/usr/sbin/myproxy-admin-adduser debian/tmp/usr/sbin/myproxy-admin-change-pass debian/tmp/usr/sbin/myproxy-admin-load-credential debian/tmp/usr/sbin/myproxy-admin-query debian/tmp/usr/sbin/myproxy-replicate debian/tmp/usr/sbin/myproxy-server-setup debian/tmp/usr/sbin/myproxy-test debian/tmp/usr/sbin/myproxy-test-replicate debian/tmp/usr/share/man/man8/myproxy-admin-addservice.8 debian/tmp/usr/share/man/man8/myproxy-admin-adduser.8 debian/tmp/usr/share/man/man8/myproxy-admin-change-pass.8 debian/tmp/usr/share/man/man8/myproxy-admin-load-credential.8 debian/tmp/usr/share/man/man8/myproxy-admin-query.8 debian/tmp/usr/share/man/man8/myproxy-replicate.8 debian/source/0000755000000000000000000000000011575652214010476 5ustar debian/source/format0000644000000000000000000000001411575652214011704 0ustar 3.0 (quilt) debian/libmyproxy5.shlibs0000644000000000000000000000004011706724475012706 0ustar libmyproxy 5 libmyproxy5 (>= 5)