--- ebox-ca-1.2.orig/debian/ebox-ca.postrm +++ ebox-ca-1.2/debian/ebox-ca.postrm @@ -0,0 +1,24 @@ +#!/bin/bash + +# We need to unconfigure and purge module's configuration +# before the gconf schemas have been removed (i.e before gconf +# debhelper has been run). That's why we do things before +# and after gconf debhelper is run +if [ "$1" = "purge" ]; then + # Purge configuration + /usr/share/ebox/ebox-clean-gconf ca || true +fi + +#DEBHELPER# + +case "$1" in + remove) + dpkg-trigger --no-await ebox + ;; + purge) + # Delete the issued certificates + rm -rf /var/lib/ebox/CA + ;; +esac + + --- ebox-ca-1.2.orig/debian/watch +++ ebox-ca-1.2/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://ebox-platform.com/releases/sources/latest/ebox-ca-(\d[\d_.-]+)\.tar.gz --- ebox-ca-1.2.orig/debian/compat +++ ebox-ca-1.2/debian/compat @@ -0,0 +1 @@ +5 --- ebox-ca-1.2.orig/debian/copyright +++ ebox-ca-1.2/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Enrique J. Hernández on +fri feb 02 17:00:00 CEST 2007 +It's currently maintained by Javier Uruen Val + +It was downloadeded from http://www.ebox-platform.com/ + +Upstream Author: Warp Networks S.L. + +Copyright (C) 2007 Warp Networks S.L. + +License: + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License + for more details. + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL file. + +The Debian packaging is: + + (C) 2004, Isaac Clerencia + (C) 2008, Javier Uruen Val + +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- ebox-ca-1.2.orig/debian/ebox-ca.prerm +++ ebox-ca-1.2/debian/ebox-ca.prerm @@ -0,0 +1,3 @@ +#!/bin/bash + +#DEBHELPER# --- ebox-ca-1.2.orig/debian/rules +++ ebox-ca-1.2/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include debian/cdbs/ebox.mk + +install/ebox-ca:: + test -e debian/ebox-ca.cron.daily || ln -s ../src/libexec/updateDB.pl debian/ebox-ca.cron.daily --- ebox-ca-1.2.orig/debian/changelog +++ ebox-ca-1.2/debian/changelog @@ -0,0 +1,125 @@ +ebox-ca (1.2-0ubuntu1~ppa1~hardy1) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Sun, 12 Jul 2009 21:21:15 +0200 + +ebox-ca (1.2) hardy; urgency=low + + * New upstream version + + -- Javier Uruen Val Sun, 12 Jul 2009 19:09:11 +0200 + +ebox-ca (1.1.40) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Mon, 06 Jul 2009 16:30:03 +0200 + +ebox-ca (1.1.30) hardy; urgency=low + + * New upstream release + + -- José Antonio Calvo Mon, 15 Jun 2009 16:14:12 +0200 + +ebox-ca (1.1.20) hardy; urgency=low + + * New upstream release + + -- Javier Amor Garcia Fri, 05 Jun 2009 13:44:51 +0200 + +ebox-ca (0.12.100) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 13 Jan 2009 12:06:06 +0100 + +ebox-ca (0.11.102) hardy; urgency=low + + * New upstream release + + -- Enrique José Hernández Blasco Thu, 26 Jun 2008 11:09:54 +0200 + +ebox-ca (0.11.101) hardy; urgency=low + + * New upstream realese + + -- Javier Uruen Val Sun, 01 Jun 2008 17:25:03 +0200 + +ebox-ca (0.11.99-0ubuntu1~ppa1) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Mon, 25 Feb 2008 12:15:46 +0100 + +ebox-ca (0.11.99) unstable; urgency=low + + * New upstream release + + -- Enrique José Hernández Blasco Tue, 8 Jan 2008 16:14:37 +0100 + +ebox-ca (0.11-0ubuntu1~ppa1) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Wed, 28 Nov 2007 15:23:31 +0100 + +ebox-ca (0.10.99) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Thu, 01 Nov 2007 21:38:12 +0100 + +ebox-ca (0.10) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Wed, 10 Oct 2007 21:53:46 +0200 + +ebox-ca (0.9.100) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 04 Sep 2007 13:57:25 +0200 + +ebox-ca (0.9.99) unstable; urgency=low + + * New upstream release + + -- Javier Amor Garcia Tue, 24 Jul 2007 11:41:10 +0200 + +ebox-ca (0.9.3) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Sun, 24 Jun 2007 16:38:46 +0200 + +ebox-ca (0.9.2) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 12 Jun 2007 18:59:26 +0200 + +ebox-ca (0.9.1) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 15 May 2007 13:02:23 +0200 + +ebox-ca (0.9) unstable; urgency=low + + * Upstream release + + -- Enrique José Hernández Blasco Tue, 20 Mar 2007 17:23:06 +0100 + +ebox-ca (0.8.99) unstable; urgency=low + + * Upstream release + + -- Enrique José Hernández Blasco Fri, 2 Feb 2007 15:52:09 +0100 + +ebox-ca (0.1) unstable; urgency=low + + * Initial Release. + + -- Enrique José Hernández Blasco Mon, 30 Oct 2006 18:42:39 +0100 --- ebox-ca-1.2.orig/debian/ebox-ca.postinst +++ ebox-ca-1.2/debian/ebox-ca.postinst @@ -0,0 +1,17 @@ +#!/bin/bash + +set -e + +#DEBHELPER# + +case "$1" in + configure) + # Migrate data if needed + /usr/share/ebox/ebox-migrate /usr/share/ebox-ca/migration/ + + dpkg-trigger --no-await ebox + ;; +esac + + +exit 0 --- ebox-ca-1.2.orig/debian/control +++ ebox-ca-1.2/debian/control @@ -0,0 +1,19 @@ +Source: ebox-ca +Section: web +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Javier Uruen Val +Build-Depends: debhelper (>= 4.0.0), cdbs +Standards-Version: 3.7.3 + +Package: ebox-ca +Architecture: all +Depends: ebox (>= 1.1~svn), ebox (<< 1.2.10), libdate-calc-perl, libfile-copy-recursive-perl, ${misc:Depends} +Description: eBox - Certificate Authority Manager for eBox + eBox is a framework for the development and deployment of security-wise + network services in small and medium-sized networks, offering a simplified + graphical interface to non expert users. It can be set up as a gateway, + having some extra features over a usual router. + . + This module adds a Certification Authority Manager over OpenSSL to issue, + revoke and renew certificates. --- ebox-ca-1.2.orig/debian/cdbs/ebox.mk +++ ebox-ca-1.2/debian/cdbs/ebox.mk @@ -0,0 +1,22 @@ +DEB_CONFIGURE_SCRIPT_ENV += LOGPATH="/var/log/ebox" +DEB_CONFIGURE_SCRIPT_ENV += CONFPATH="/var/lib/ebox/conf" +DEB_CONFIGURE_SCRIPT_ENV += STUBSPATH="/usr/share/ebox/stubs" +DEB_CONFIGURE_SCRIPT_ENV += CGIPATH="/usr/share/ebox/cgi/" +DEB_CONFIGURE_SCRIPT_ENV += TEMPLATESPATH="/usr/share/ebox/templates" +DEB_CONFIGURE_SCRIPT_ENV += WWWPATH="/usr/share/ebox/www/" +DEB_CONFIGURE_SCRIPT_ENV += CSSPATH="/usr/share/ebox/www/css" +DEB_CONFIGURE_SCRIPT_ENV += IMAGESPATH="/usr/share/ebox/www/images" +DEB_CONFIGURE_SCRIPT_ENV += VARPATH="/var" +DEB_CONFIGURE_SCRIPT_ENV += ETCPATH="/etc/ebox" + +DEB_CONFIGURE_EXTRA_FLAGS := --disable-runtime-tests +DEB_MAKE_INVOKE = $(MAKE) $(DEB_MAKE_FLAGS) -C $(DEB_BUILDDIR) + +$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: + for event in debian/*.upstart ; do \ + [ -f $$event ] || continue; \ + install -d -m 755 debian/$(cdbs_curpkg)/etc/event.d; \ + DESTFILE=$$(basename $$(echo $$event | sed 's/\.upstart//g')); \ + install -m 644 "$$event" debian/$(cdbs_curpkg)/etc/event.d/$$DESTFILE; \ + done; +