--- ebox-samba-1.0.1i~svn13166.orig/debian/watch +++ ebox-samba-1.0.1i~svn13166/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://ebox-platform.com/releases/sources/latest/ebox-samba-(\d[\d_.-]+)\.tar.gz --- ebox-samba-1.0.1i~svn13166.orig/debian/compat +++ ebox-samba-1.0.1i~svn13166/debian/compat @@ -0,0 +1 @@ +5 --- ebox-samba-1.0.1i~svn13166.orig/debian/copyright +++ ebox-samba-1.0.1i~svn13166/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Isaac Clerencia on +Fri, 20 Feb 2005 15:13:22 +0100. +It's currently maintained by Javier Uruen Val + +It was downloaded from http://www.ebox-platform.com/ + +Upstream Author: Warp Networks S.L. + +Copyright (C) 2005 Warp Networks S.L., DBS Servicios Informaticos 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-samba-1.0.1i~svn13166.orig/debian/ebox-samba.prerm +++ ebox-samba-1.0.1i~svn13166/debian/ebox-samba.prerm @@ -0,0 +1,18 @@ +#!/bin/bash + + +#DEBHELPER# + +case "$1" in + remove) + # clean ldap + #/usr/share/ebox-samba/ebox-samba-ldap clean + + #sed -i -e 's/^\(passwd:.*\)ldap.*/\1/' /etc/nsswitch.conf + #sed -i -e 's/^\(group:.*\)ldap.*/\1/' /etc/nsswitch.conf + #sed -i -e 's/^\(shadow:.*\)ldap.*/\1/' /etc/nsswitch.conf + ;; + purge) + #test -d /home/samba && rm -rf /home/samba + ;; +esac --- ebox-samba-1.0.1i~svn13166.orig/debian/ebox-samba.postrm +++ ebox-samba-1.0.1i~svn13166/debian/ebox-samba.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 samba || true +fi + + +#DEBHELPER# + +case "$1" in + remove) + kill `pidof gconfd-2` >/dev/null 2>&1 || true + # Restart eBox apache + invoke-rc.d ebox apache restart || true + + ;; +esac + + --- ebox-samba-1.0.1i~svn13166.orig/debian/ebox.nmbd.upstart +++ ebox-samba-1.0.1i~svn13166/debian/ebox.nmbd.upstart @@ -0,0 +1,2 @@ +exec /usr/sbin/nmbd -F +respawn --- ebox-samba-1.0.1i~svn13166.orig/debian/rules +++ ebox-samba-1.0.1i~svn13166/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/class/gnome.mk +include debian/cdbs/ebox.mk --- ebox-samba-1.0.1i~svn13166.orig/debian/changelog +++ ebox-samba-1.0.1i~svn13166/debian/changelog @@ -0,0 +1,143 @@ +ebox-samba (1.0.1i~svn13166-0ubuntu1~ppa1~intrepid1) intrepid; urgency=low + + * New upstream release + + -- Javier Uruen Val Fri, 10 Apr 2009 15:27:27 +0200 + +ebox-samba (1.0.1) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Thu, 09 Apr 2009 12:16:52 +0200 + +ebox-samba (1.0) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Sat, 14 Mar 2009 15:21:07 +0100 + +ebox-samba (0.12.102) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 10 Mar 2009 16:51:55 +0100 + +ebox-samba (0.12.101) hardy; urgency=low + + * New upstream version + + -- Javier Uruen Val Thu, 12 Feb 2009 22:22:15 +0100 + +ebox-samba (0.12.100) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 13 Jan 2009 12:06:10 +0100 + +ebox-samba (0.11.101) hardy; urgency=low + + * New upstream realese + + -- Javier Uruen Val Sun, 01 Jun 2008 17:25:06 +0200 + +ebox-samba (0.11.99-0ubuntu1~ppa1) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Mon, 25 Feb 2008 15:11:58 +0100 + +ebox-samba (0.11.99) unstable; urgency=low + + * New upstream release + + -- Enrique José Hernández Blasco Tue, 8 Jan 2008 16:14:40 +0100 + +ebox-samba (0.11-0ubuntu1~ppa1) hardy; urgency=low + + * New upstream release + + -- Javier Uruen Val Wed, 28 Nov 2007 15:23:34 +0100 + +ebox-samba (0.10.99) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Thu, 01 Nov 2007 21:38:15 +0100 + +ebox-samba (0.10) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Wed, 10 Oct 2007 21:53:51 +0200 + +ebox-samba (0.9.100) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 04 Sep 2007 14:20:48 +0200 + +ebox-samba (0.9.99) unstable; urgency=low + + * New upstream release + + -- Javier Amor Garcia Tue, 24 Jul 2007 12:57:38 +0200 + +ebox-samba (0.9.3) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Sun, 24 Jun 2007 16:38:49 +0200 + +ebox-samba (0.9.2) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 12 Jun 2007 18:59:28 +0200 + +ebox-samba (0.9.1) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 15 May 2007 13:02:27 +0200 + +ebox-samba (0.9) unstable; urgency=low + + * New upstream release + + -- Javier Amor Garcia Tue, 27 Mar 2007 12:07:55 +0200 + +ebox-samba (0.7.99) unstable; urgency=low + + * New upstream release + + -- Javier Amor Garcia Mon, 20 Nov 2006 11:03:07 +0100 + +ebox-samba (0.7.1) unstable; urgency=low + + * New upstream release + + -- Daniel Baeyens Sicilia Wed, 22 Mar 2006 16:07:14 +0100 + +ebox-samba (0.7.0.99-rc1+0.7.1-rc1) unstable; urgency=low + + * New upstream release + + -- Javier Uruen Val Tue, 17 Jan 2006 11:45:28 +0100 + +ebox-samba (0.5.1) unstable; urgency=low + + * New upstream release + + -- Guillermo Ontañón Mon, 14 Mar 2005 14:33:06 +0100 + +ebox-samba (0.5) unstable; urgency=low + + * New upstream release + + -- Isaac Clerencia Thu, 3 Mar 2005 19:55:47 +0100 + +ebox-samba (0.4-2) unstable; urgency=low + + * New upstream release + + -- Isaac Clerencia Sat, 4 Dec 2004 16:36:45 +0100 --- ebox-samba-1.0.1i~svn13166.orig/debian/ebox-samba.postinst +++ ebox-samba-1.0.1i~svn13166/debian/ebox-samba.postinst @@ -0,0 +1,18 @@ +#!/bin/bash + +#DEBHELPER# + + +case "$1" in + configure) + kill `pidof gconfd-2` >/dev/null 2>&1 || true + + # FIXME + initctl list >/dev/null 2>&1 || true + + # migrate data if needed + /usr/share/ebox/ebox-migrate /usr/share/ebox-samba/migration/ + ;; +esac + +exit 0 --- ebox-samba-1.0.1i~svn13166.orig/debian/control +++ ebox-samba-1.0.1i~svn13166/debian/control @@ -0,0 +1,21 @@ +Source: ebox-samba +Section: web +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Javier Uruen Val +Build-Depends: debhelper (>= 4.0.0), cdbs +Standards-Version: 3.8.0 + +Package: ebox-samba +Architecture: all +Depends: ebox (>= 1.0), ebox (<< 1.0.10), ebox-network, ebox-firewall, ebox-usersandgroups, samba, libnss-ldap, libcrypt-smbhash-perl, quota, libquota-perl, smbldap-tools, bzip2, ${misc:Depends} +Conflicts: ebox (<< 0.9.99) +Replaces: ebox (<< 0.9.99) +Description: eBox - File sharing + 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 Samba server to your eBox installation, allowing your + users to authenticate against eBox and have shared network storage device. --- ebox-samba-1.0.1i~svn13166.orig/debian/ebox.smbd.upstart +++ ebox-samba-1.0.1i~svn13166/debian/ebox.smbd.upstart @@ -0,0 +1,6 @@ +pre-start script + invoke-rc.d samba stop || true +end script + +exec /usr/sbin/smbd -F +respawn --- ebox-samba-1.0.1i~svn13166.orig/debian/cdbs/ebox.mk +++ ebox-samba-1.0.1i~svn13166/debian/cdbs/ebox.mk @@ -0,0 +1,24 @@ +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 += SCHEMASPATH="/usr/share/ebox/schemas" +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_FLAGS += schemadir=usr/share/gconf/schemas +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; +