--- ebox-dhcp-1.5.4.orig/debian/watch +++ ebox-dhcp-1.5.4/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://ebox-platform.com/releases/sources/latest/ebox-dhcp-(\d[\d_.-]+)\.tar.gz --- ebox-dhcp-1.5.4.orig/debian/compat +++ ebox-dhcp-1.5.4/debian/compat @@ -0,0 +1 @@ +5 --- ebox-dhcp-1.5.4.orig/debian/copyright +++ ebox-dhcp-1.5.4/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Isaac Clerencia on +Fri, 20 Feb 2005 15:13:22 +0100. +It's currently maintained by José A. Calvo + +It was downloaded from http://www.ebox-platform.com/ + +Upstream Author: eBox Technologies S.L. + +Copyright (C) 2004-2005 Warp Networks S.L, DBS Servicios Informaticos S.L. +Copyright (C) 2006-2007 Warp Networks S.L. +Copyright (C) 2008-2010 eBox Technologies 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 + (C) 2010, José A. Calvo + +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- ebox-dhcp-1.5.4.orig/debian/control +++ ebox-dhcp-1.5.4/debian/control @@ -0,0 +1,21 @@ +Source: ebox-dhcp +Section: web +Priority: optional +Maintainer: José Antonio Calvo +Build-Depends: debhelper (>= 5.0.0), cdbs +Standards-Version: 3.8.2 + +Package: ebox-dhcp +Architecture: all +Depends: ebox (>= 1.5), ebox (<< 1.5.100), ebox-firewall, ebox-services, dhcp3-server, tftpd-hpa, libtext-dhcpleases-perl, ${misc:Depends} +Suggests: pxe, etherboot +Conflicts: ebox (<< 0.9.99) +Replaces: ebox (<< 0.9.99) +Description: Zentyal - DHCP Service + Zentyal is an open source small business server that can act as + a Gateway, Unified Threat Manager, Office Server, Infrastructure + Manager, Unified Communications Server or a combination of them. One + single, easy-to-use platform to manage all your network services. + . + This module adds a DHCP server to your Zentyal installation, allowing your + network clients to get network configuration automatically. --- ebox-dhcp-1.5.4.orig/debian/ebox-dhcp.postrm +++ ebox-dhcp-1.5.4/debian/ebox-dhcp.postrm @@ -0,0 +1,29 @@ +#!/bin/bash + +set -e + +# 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 dhcp || true +fi + + +#DEBHELPER# + +case "$1" in + remove) + invoke-rc.d ebox logs restart || true + + dpkg-trigger --no-await ebox + ;; + + purge) + # drop log table + /usr/share/ebox/ebox-sql-table drop leases || true + ;; + +esac --- ebox-dhcp-1.5.4.orig/debian/ebox.dhcpd3.upstart +++ ebox-dhcp-1.5.4/debian/ebox.dhcpd3.upstart @@ -0,0 +1,5 @@ +pre-start script + invoke-rc.d dhcp3-server stop || true +end script +respawn +exec /usr/sbin/dhcpd3 -f -q --- ebox-dhcp-1.5.4.orig/debian/rules +++ ebox-dhcp-1.5.4/debian/rules @@ -0,0 +1,5 @@ +#!/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 --- ebox-dhcp-1.5.4.orig/debian/changelog +++ ebox-dhcp-1.5.4/debian/changelog @@ -0,0 +1,101 @@ +ebox-dhcp (1.5.4-0ubuntu1~ppa1~lucid1) lucid; urgency=low + + * New upstream release + + -- José A. Calvo Mon, 23 Aug 2010 02:14:41 +0200 + +ebox-dhcp (1.5.3-0ubuntu1~ppa1~lucid1) lucid; urgency=low + + * New upstream release + + -- José A. Calvo Wed, 04 Aug 2010 15:49:40 +0200 + +ebox-dhcp (1.5.2-0ubuntu1~ppa1~lucid1) lucid; urgency=low + + * New upstream release + + -- José A. Calvo Wed, 16 Jun 2010 21:00:52 +0200 + +ebox-dhcp (1.5.1-0ubuntu1~ppa1~lucid1) lucid; urgency=low + + * New upstream release + + -- José A. Calvo Thu, 13 May 2010 01:34:59 +0200 + +ebox-dhcp (1.5-0ubuntu1) lucid; urgency=low + + [Javier Uruen Val] + * New upstream release (LP: #521804) + * debian/control + - Bump eBox dependency + - Update description + + -- Javier Uruen Val Sun, 07 Feb 2010 18:51:11 +0100 + +ebox-dhcp (1.3.5-0ubuntu1) karmic; urgency=low + + [Javier Uruen Val] + * New upstream release [LP: 411546] + * cdbs/ebox.mk + - GConf schemas are not used anymore + - Remove SCHEMASPATH variable + - Remove schemadir variable + - Use new upstart directory and file naming convention + * debian/control + - Bump standards version + - Bump eBox depenency + - Add dependency on libtext-dhcpleases-perl + * debian/ebox-dhcp.postinst + - Fix indentation + - Do not pkill gconfd as it's not necessary anymore + - Run ebox trigger + - Add set -e + - Add || true + * debian/ebox-dhcp.postrm + - Run eobx trigger + - Add set -e + * debian/rules + - Do not include debian/cdbs/gnome.mk + * debian/watch + - Change URL + + -- Javier Uruen Val Wed, 05 Aug 2009 12:29:43 +0200 + +ebox-dhcp (0.12.2-0ubuntu1) jaunty; urgency=low + + [ Javier Uruen Val ] + * New upstream release. (LP: #321940) + * debian/control: + - Bump standards version. + - Remove dpatch from Build-Depends + - Add homepage + * debian/patches + - Remove all patches as they are already included in upstream + * debian/copyright + - Update upstream URL + * debian/watch: + - Add watch file. + * debian/ebox-dhcp.postinst + - Fix indentation + - Do not restart apache, ebox trigger takes care of it + * debian/ebox-dhcp.postrm + - Purge ebox-dhcp configuration + + [ Iain Lane ] + * debian/watch: Fix to work with current upstream tarballs + * debian/changelog: Remove entries that never entered Ubuntu + + -- Javier Uruen Val Sun, 18 Jan 2009 18:19:19 +0100 + +ebox-dhcp (0.11.99-0ubuntu2) hardy; urgency=low + + * debian/patches/01_is_running_interface + - Checks for a running interface. + + -- Chuck Short Mon, 31 Mar 2008 08:35:04 -0400 + +ebox-dhcp (0.11.99-0ubuntu1) hardy; urgency=low + + * New upstream version. + + -- Chuck Short Wed, 27 Feb 2008 13:12:36 -0500 --- ebox-dhcp-1.5.4.orig/debian/ebox-dhcp.postinst +++ ebox-dhcp-1.5.4/debian/ebox-dhcp.postinst @@ -0,0 +1,26 @@ +#!/bin/bash + +set -e + +#DEBHELPER# + +case "$1" in + configure) + # create log table + /usr/share/ebox/ebox-sql-table add leases /usr/share/ebox/sqllog/dhcp.sql || true + + # restart logs + invoke-rc.d ebox logs restart || true + + # Migrate data if needed + /usr/share/ebox/ebox-migrate /usr/share/ebox-dhcp/migration/ || true + + # Restart dhcp module + invoke-rc.d ebox dhcp restart || true + + dpkg-trigger --no-await ebox + esac + + + +exit 0 --- ebox-dhcp-1.5.4.orig/debian/cdbs/ebox.mk +++ ebox-dhcp-1.5.4/debian/cdbs/ebox.mk @@ -0,0 +1,27 @@ +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_SCRIPT_ENV += BIND9CONFDIR="/etc/bind" +DEB_CONFIGURE_SCRIPT_ENV += BIND9CONF="/etc/bind/named.conf" +DEB_CONFIGURE_SCRIPT_ENV += BIND9CONFOPTIONS="/etc/bind/named.conf.options" +DEB_CONFIGURE_SCRIPT_ENV += BIND9CONFLOCAL="/etc/bind/named.conf.local" +DEB_CONFIGURE_SCRIPT_ENV += BIND9_INIT="/etc/init.d/bind9" + +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/init; \ + DESTFILE=$$(basename $$(echo $$event | sed 's/\.upstart/.conf/g')); \ + install -m 644 "$$event" debian/$(cdbs_curpkg)/etc/init/$$DESTFILE; \ + done; +