diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/debian/README.debian | 7 | ||||
-rw-r--r-- | packaging/debian/changelog | 5 | ||||
-rw-r--r-- | packaging/debian/control | 59 | ||||
-rw-r--r-- | packaging/debian/copyright | 23 | ||||
-rw-r--r-- | packaging/debian/dirs | 2 | ||||
-rw-r--r-- | packaging/debian/diversions | 1 | ||||
-rw-r--r-- | packaging/debian/gregedit.files | 1 | ||||
-rw-r--r-- | packaging/debian/init.d | 51 | ||||
-rw-r--r-- | packaging/debian/ldb-tools.files | 5 | ||||
-rwxr-xr-x | packaging/debian/rules | 68 | ||||
-rw-r--r-- | packaging/debian/samba4-client.files | 1 | ||||
-rw-r--r-- | packaging/debian/samba4-common.dirs | 3 | ||||
-rw-r--r-- | packaging/debian/samba4-common.files | 3 | ||||
-rw-r--r-- | packaging/debian/samba4-server.files | 1 | ||||
-rw-r--r-- | packaging/debian/samba4-testsuite.files | 5 | ||||
-rw-r--r-- | packaging/debian/winregistry-tools.files | 4 |
16 files changed, 239 insertions, 0 deletions
diff --git a/packaging/debian/README.debian b/packaging/debian/README.debian new file mode 100644 index 0000000000..0c3b45c346 --- /dev/null +++ b/packaging/debian/README.debian @@ -0,0 +1,7 @@ +samba4 for Debian +---------------------- + +This is an experimental package of an experimental version of Samba. This +version is for testing purposes only. DO NOT USE IN A PRODUCTION ENVIRONMENT! + +Jelmer Vernooij <jelmer@samba.org>, Thu, 13 May 2004 01:38:41 +0200 diff --git a/packaging/debian/changelog b/packaging/debian/changelog new file mode 100644 index 0000000000..f02a929ad8 --- /dev/null +++ b/packaging/debian/changelog @@ -0,0 +1,5 @@ +samba4 (3.9.0-SVN-build-655-1) unstable; urgency=low + + * Initial release. + + -- Jelmer Vernooij <jelmer@samba.org> Thu, 13 May 2004 01:38:41 +0200 diff --git a/packaging/debian/control b/packaging/debian/control new file mode 100644 index 0000000000..c6402bc87a --- /dev/null +++ b/packaging/debian/control @@ -0,0 +1,59 @@ +Source: samba4 +Section: net +Priority: optional +Maintainer: Jelmer Vernooij <jelmer@samba.org> +Standards-Version: 3.5.8 +Build-Depends: debmake, libgtk2.0-dev, libgconf2-dev, libldap-dev + +Package: samba4 +Architecture: any +Depends: samba4-client, samba4-server +Description: Samba4 + Foobar + +Package: samba4-common +Architecture: any +Depends: ${shlibs:Depends} +Description: Common samba files + Files common for all programs in Samba + +Package: samba4-client +Architecture: any +Depends: ${shlibs:Depends}, + +Package: samba4-testsuite +Architecture: any +Depends: ${shlibs:Depends}, samba4-common +Description: Testsuite from Samba4 + This package contains programs for testing the reliability and speed + of SMB servers, Samba in particular. + +Package: samba4-server +Architecture: any +Depends: ${shlibs:Depends}, samba4-common +Description: GPL'ed SMB Server + Contains smbd, the Samba server. + +Package: gregedit +Architecture: any +Depends: ${shlibs:Depends} +Description: Graphical tool for viewing and editing registry files + Supports: + . + * NT4 Registry files + * Win9x Registry files + * Remote Registries (thru RPC) + * GConf + * Using filesystem as a registry file + +Package: winregistry-tools +Architecture: any +Depends: ${shlibs:Depends} +Description: Tools for viewing and manipulating + FIXME + +Package: ldb-tools +Architecture: any +Depends: ${shlibs:Depends} +Description: Tools for maintaining LDB database files + FIXME diff --git a/packaging/debian/copyright b/packaging/debian/copyright new file mode 100644 index 0000000000..de4140c488 --- /dev/null +++ b/packaging/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Jelmer Vernooij jelmer@samba.org on +Thu, 13 May 2004 01:38:41 +0200. + +It was downloaded from ftp://ftp.samba.org/ + +Copyright: + + 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; version 2 dated June, 1991. + + 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. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, + MA 02111-1307, USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/packaging/debian/dirs b/packaging/debian/dirs new file mode 100644 index 0000000000..ca882bbb78 --- /dev/null +++ b/packaging/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/packaging/debian/diversions b/packaging/debian/diversions new file mode 100644 index 0000000000..d38f892909 --- /dev/null +++ b/packaging/debian/diversions @@ -0,0 +1 @@ +smbd smb.samba3 samba diff --git a/packaging/debian/gregedit.files b/packaging/debian/gregedit.files new file mode 100644 index 0000000000..660b5e97c8 --- /dev/null +++ b/packaging/debian/gregedit.files @@ -0,0 +1 @@ +usr/bin/gregedit diff --git a/packaging/debian/init.d b/packaging/debian/init.d new file mode 100644 index 0000000000..2b3549b3b2 --- /dev/null +++ b/packaging/debian/init.d @@ -0,0 +1,51 @@ +#!/bin/sh +# +# This file was automatically customized by debmake on Thu, 13 May 2004 01:38:41 +0200 +# +# Written by Miquel van Smoorenburg <miquels@cistron.nl>. +# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.org>. +# Modified for Debian by Christoph Lameter <clameter@debian.org> + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +DAEMON=/usr/sbin/smbd4 +# The following value is extracted by debstd to figure out how to generate +# the postinst script. Edit the field to change the way the script is +# registered through update-rc.d (see the manpage for update-rc.d!) +FLAGS="defaults 50" + +test -f $DAEMON || exit 0 + +case "$1" in + start) + start-stop-daemon --start --verbose --exec $DAEMON + ;; + stop) + start-stop-daemon --stop --verbose --exec $DAEMON + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # start-stop-daemon --stop --signal 1 --verbose --exec $DAEMON + # ;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + start-stop-daemon --stop --verbose --exec $DAEMON + sleep 1 + start-stop-daemon --start --verbose --exec $DAEMON + ;; + *) + echo "Usage: /etc/init.d/samba4 {start|stop|restart|force-reload}" + exit 1 + ;; +esac + +exit 0 diff --git a/packaging/debian/ldb-tools.files b/packaging/debian/ldb-tools.files new file mode 100644 index 0000000000..42fd51b359 --- /dev/null +++ b/packaging/debian/ldb-tools.files @@ -0,0 +1,5 @@ +usr/bin/ldbadd +usr/bin/ldbdel +usr/bin/ldbedit +usr/bin/ldbmodify +usr/bin/ldbsearch diff --git a/packaging/debian/rules b/packaging/debian/rules new file mode 100755 index 0000000000..5de994450d --- /dev/null +++ b/packaging/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# By Jelmer Vernooij +# Made with the aid of debmake, by Christoph Lameter, +# based on the sample debian/rules file for GNU hello by Ian Jackson. + +package=samba4 + +configure: + $(checkdir) + cd source && ./autogen.sh + cd source && ./configure --with-fhs \ + --prefix=/usr \ + --enable-shared \ + --enable-static \ + --sysconfdir=/etc \ + --libdir=/etc/samba4 \ + --with-privatedir=/etc/samba4 \ + --with-piddir=/var/run/samba4 \ + --localstatedir=/var \ + --with-pam \ + --with-syslog \ + --with-readline \ + --with-ldap + + touch configure + +build: configure + $(checkdir) + cd source && $(MAKE) proto all + touch build + +clean: + $(checkdir) + rm -f build + -cd source && $(MAKE) clean + rm -f `find . -name "*~"` + rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core + rm -f debian/*substvars + +binary-indep: checkroot build + $(checkdir) +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: checkroot build + $(checkdir) + rm -rf debian/tmp `find debian/* -type d ! -name CVS` + install -d debian/tmp + cd debian/tmp && install -d `cat ../dirs` + cd source && $(MAKE) install DESTDIR=`pwd`/../debian/tmp + debstd + dpkg-gencontrol -isp -psamba4 + chown -R root:root debian/tmp + chmod -R go=rX debian/tmp + dpkg --build debian/tmp .. + +define checkdir + test -f debian/rules +endef + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot diff --git a/packaging/debian/samba4-client.files b/packaging/debian/samba4-client.files new file mode 100644 index 0000000000..322315e26e --- /dev/null +++ b/packaging/debian/samba4-client.files @@ -0,0 +1 @@ +usr/bin/smbclient diff --git a/packaging/debian/samba4-common.dirs b/packaging/debian/samba4-common.dirs new file mode 100644 index 0000000000..a059ef707d --- /dev/null +++ b/packaging/debian/samba4-common.dirs @@ -0,0 +1,3 @@ +var/cache/samba +etc/samba4 +usr/lib/samba diff --git a/packaging/debian/samba4-common.files b/packaging/debian/samba4-common.files new file mode 100644 index 0000000000..f79c4947cd --- /dev/null +++ b/packaging/debian/samba4-common.files @@ -0,0 +1,3 @@ +usr/lib/samba/lowcase.dat +usr/lib/samba/upcase.dat +usr/lib/valid.dat diff --git a/packaging/debian/samba4-server.files b/packaging/debian/samba4-server.files new file mode 100644 index 0000000000..cdb5c3a72a --- /dev/null +++ b/packaging/debian/samba4-server.files @@ -0,0 +1 @@ +usr/sbin/smbd diff --git a/packaging/debian/samba4-testsuite.files b/packaging/debian/samba4-testsuite.files new file mode 100644 index 0000000000..d5dba98ac8 --- /dev/null +++ b/packaging/debian/samba4-testsuite.files @@ -0,0 +1,5 @@ +usr/bin/smbtorture +usr/bin/ndrdump +usr/bin/gentest +usr/bin/locktest +usr/bin/masktest diff --git a/packaging/debian/winregistry-tools.files b/packaging/debian/winregistry-tools.files new file mode 100644 index 0000000000..6aae11482d --- /dev/null +++ b/packaging/debian/winregistry-tools.files @@ -0,0 +1,4 @@ +usr/bin/regshell +usr/bin/regpatch +usr/bin/regdiff +usr/bin/regtree |