debian/0000755000000000000000000000000012171240445007166 5ustar debian/fetch-crl.fetch-crl-boot.init0000755000000000000000000000255211710567400014541 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: fetch-crl-boot # Required-Start: $remote_fs $syslog $network # Required-Stop: $remote_fs $syslog # Default-Start: # Default-Stop: 0 1 2 3 4 5 6 # Short-Description: Run fetch-crl on boot # Description: This shell script enables a run of fetch-crl on boot ### END INIT INFO # Author: Mattias Ellert # source function library . /lib/lsb/init-functions # source any environment settings, e.g. for HTTP proxies [ -f /etc/default/fetch-crl ] && . /etc/default/fetch-crl lockfile=/var/lock/fetch-crl-boot RETVAL=0 start() { log_begin_msg "Running fetch-crl on boot can take a while:" /usr/sbin/fetch-crl -q RETVAL=$? if [ $RETVAL -eq 0 ] ; then touch $lockfile log_success_msg else log_failure_msg fi } stop() { RETVAL=0 rm -f $lockfile } restart() { stop start } case "$1" in start) start ;; stop) stop ;; restart|force-reload) restart ;; condrestart) [ -f $lockfile ] && restart ;; reload) ;; status) if [ -f $lockfile ] ; then log_success_msg "fetch-crl-boot lockfile present" RETVAL=0 else log_success_msg "fetch-crl-boot lockfile not-present" RETVAL=3 fi ;; *) echo "Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}" RETVAL=1 esac exit $RETVAL debian/fetch-crl.lintian-overrides0000644000000000000000000000014411442157006014414 0ustar # The cache directory is not world readable fetch-crl: non-standard-dir-perm var/cache/fetch-crl/ * debian/control0000644000000000000000000000165612171240124010573 0ustar Source: fetch-crl Section: net Priority: optional Maintainer: Mattias Ellert Build-Depends: debhelper (>= 6.0.7~) Standards-Version: 3.9.4 Homepage: http://wiki.nikhef.nl/grid/FetchCRL3 Vcs-Browser: http://svn.nordugrid.org/trac/packaging/browser/debian/fetch-crl Vcs-Svn: http://svn.nordugrid.org/repos/packaging/debian/fetch-crl Package: fetch-crl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libwww-perl, openssl Description: Downloads Certificate Revocation Lists This tool and associated cron entry ensure that Certificate Revocation Lists (CRLs) are periodically retrieved from the web sites of the respective Certification Authorities. . The fetch-crl tool finds all *.crl_url files in the configured CRL directory, downloads the CRLs listed in those files and saves them in the same directory. The default configuration uses /etc/grid-security/certificates as the CRL directory. debian/fetch-crl.cron.d0000644000000000000000000000104311441707252012143 0ustar # Cron job running by default every 6 hours, at 45 minutes +/- 3 minutes # The lock file can be enabled or disabled via a # service fetch-crl-cron start # chkconfig fetch-crl-cron on # Note the lock file not existing is success (and over-all success is needed # in order to prevent error messages from cron. "-q" makes it really # quiet, but beware that the "-q" overrides any verbosity settings 42 */6 * * * root [ ! -f /var/lock/fetch-crl-cron ] || ( [ -f /etc/default/fetch-crl ] && . /etc/default/fetch-crl ; /usr/sbin/fetch-crl -q -r 360 ) debian/rules0000755000000000000000000000222212171235362010246 0ustar #!/usr/bin/make -f INSTALLDIR = $(CURDIR)/debian/tmp configure: : build: build-arch build-indep : build-arch: : build-indep: : clean: dh_testdir dh_testroot dh_clean install: dh_testdir dh_testroot dh_prep mkdir -p $(INSTALLDIR)/usr/sbin install -p -m 755 $(CURDIR)/fetch-crl $(INSTALLDIR)/usr/sbin/fetch-crl install -p -m 755 $(CURDIR)/clean-crl $(INSTALLDIR)/usr/sbin/clean-crl mkdir -p $(INSTALLDIR)/etc install -p -m 644 $(CURDIR)/fetch-crl.cnf $(INSTALLDIR)/etc/fetch-crl.conf mkdir -p $(INSTALLDIR)/var/cache/fetch-crl chmod 0700 $(INSTALLDIR)/var/cache/fetch-crl mkdir -p $(INSTALLDIR)/etc/fetch-crl.d binary-arch: # : binary-indep: install dh_testdir dh_testroot dh_installdocs dh_installchangelogs CHANGES dh_install --fail-missing dh_installinit -r --name fetch-crl-boot -- stop 20 0 1 2 3 4 5 6 . dh_installinit -r --name fetch-crl-cron dh_installcron dh_installman dh_lintian dh_perl dh_compress dh_fixperms -X /var/cache/fetch-crl dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch : .PHONY: build-arch build-indep build clean binary-arch binary-indep binary install configure debian/copyright0000644000000000000000000000213112171235135011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: fetch-crl Source: http://dist.eugridpma.info/distribution/util/fetch-crl3/fetch-crl-3.0.11.tar.gz Files: * Copyright: 2010-2013 David Groep National Institute for Sub-Atomic Physics, FOM-Nikhef License: Apache 2.0 Files: debian/* Copyright: 2010-2013 Mattias Ellert License: Apache 2.0 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/docs0000644000000000000000000000003511441675136010047 0ustar README fetch-crl.cnf.example debian/compat0000644000000000000000000000000211406614026010364 0ustar 5 debian/fetch-crl.install0000644000000000000000000000022412171235505012424 0ustar debian/tmp/etc/fetch-crl.conf debian/tmp/etc/fetch-crl.d debian/tmp/usr/sbin/fetch-crl debian/tmp/usr/sbin/clean-crl debian/tmp/var/cache/fetch-crl debian/fetch-crl.manpages0000644000000000000000000000003012171235451012544 0ustar fetch-crl.8 clean-crl.8 debian/fetch-crl.fetch-crl-cron.init0000755000000000000000000000225511406614026014536 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: fetch-crl-cron # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Enable daily run of fetch-crl # Description: This shell script enables the automatic use of fetch-crl ### END INIT INFO # Author: Mattias Ellert # source function library . /lib/lsb/init-functions lockfile=/var/lock/fetch-crl-cron RETVAL=0 start() { touch $lockfile log_success_msg "Enabling periodic fetch-crl" RETVAL=0 } stop() { rm -f $lockfile log_success_msg "Disabling periodic fetch-crl" RETVAL=0 } restart() { stop start } case "$1" in start) start ;; stop) stop ;; restart|force-reload) restart ;; reload) ;; condrestart) [ -f "$lockfile" ] && restart ;; status) if [ -f $lockfile ] ; then log_success_msg "Periodic fetch-crl is enabled" RETVAL=0 else log_success_msg "Periodic fetch-crl is disabled" RETVAL=3 fi ;; *) echo "Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}" RETVAL=1 esac exit $RETVAL debian/changelog0000644000000000000000000000421012171234377011044 0ustar fetch-crl (3.0.11-1) unstable; urgency=low * New upstream release (LP: #973234) -- Mattias Ellert Tue, 16 Jul 2013 13:52:06 +0200 fetch-crl (3.0.10-1) unstable; urgency=low * New upstream release -- Mattias Ellert Sat, 29 Jun 2013 10:22:11 +0200 fetch-crl (3.0.8-1) unstable; urgency=low * New upstream release * The fetch-crl-boot service requires $network (Closes: #640412) -- Mattias Ellert Sat, 10 Dec 2011 05:56:07 +0100 fetch-crl (3.0.5-1) unstable; urgency=low * New upstream release -- Mattias Ellert Mon, 14 Feb 2011 17:34:05 +0100 fetch-crl (3.0.4-1) unstable; urgency=low * New upstream release -- Mattias Ellert Fri, 07 Jan 2011 13:15:10 +0100 fetch-crl (3.0.3-1) unstable; urgency=low * New upstream release (Fixes lintian warning about man page error) -- Mattias Ellert Mon, 20 Sep 2010 16:21:40 +0200 fetch-crl (3.0.1-2) unstable; urgency=low * Add missing perl dependencies -- Mattias Ellert Sun, 19 Sep 2010 07:16:01 +0200 fetch-crl (3.0.1-1) unstable; urgency=low * New major release (Closes: #595770) * Change license to Apache 2.0 to reflect upstream change -- Mattias Ellert Wed, 08 Sep 2010 13:18:55 +0200 fetch-crl (2.8.5-2) unstable; urgency=low * Remove empty runlevel list from dh_installinit arguments (Closes: #589550) * Add more information to the package description (Closes: #589549) -- Mattias Ellert Sun, 08 Aug 2010 10:12:35 +0200 fetch-crl (2.8.5-1) unstable; urgency=low * Add missing full stop in dh_installinit arguments (Closes: #583727) * Drop patches fetch-crl-manpagefix.patch and fetch-crl-mktemp.patch (accepted upstream) -- Mattias Ellert Thu, 03 Jun 2010 12:08:44 +0200 fetch-crl (2.8.4-1) unstable; urgency=low * Initial release (Closes: #545010, #582927, #582928) -- Mattias Ellert Wed, 12 May 2010 15:43:42 +0200 debian/source/0000755000000000000000000000000011441670215010467 5ustar debian/source/format0000644000000000000000000000001411406614026011674 0ustar 3.0 (quilt)