mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
r727: Start working on debian package for samba4
This commit is contained in:
parent
17c9583148
commit
3fb009b719
7
packaging/debian/README.debian
Normal file
7
packaging/debian/README.debian
Normal file
@ -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
|
5
packaging/debian/changelog
Normal file
5
packaging/debian/changelog
Normal file
@ -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
|
59
packaging/debian/control
Normal file
59
packaging/debian/control
Normal file
@ -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
|
23
packaging/debian/copyright
Normal file
23
packaging/debian/copyright
Normal file
@ -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'.
|
2
packaging/debian/dirs
Normal file
2
packaging/debian/dirs
Normal file
@ -0,0 +1,2 @@
|
||||
usr/bin
|
||||
usr/sbin
|
1
packaging/debian/diversions
Normal file
1
packaging/debian/diversions
Normal file
@ -0,0 +1 @@
|
||||
smbd smb.samba3 samba
|
1
packaging/debian/gregedit.files
Normal file
1
packaging/debian/gregedit.files
Normal file
@ -0,0 +1 @@
|
||||
usr/bin/gregedit
|
51
packaging/debian/init.d
Normal file
51
packaging/debian/init.d
Normal file
@ -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
|
5
packaging/debian/ldb-tools.files
Normal file
5
packaging/debian/ldb-tools.files
Normal file
@ -0,0 +1,5 @@
|
||||
usr/bin/ldbadd
|
||||
usr/bin/ldbdel
|
||||
usr/bin/ldbedit
|
||||
usr/bin/ldbmodify
|
||||
usr/bin/ldbsearch
|
68
packaging/debian/rules
Executable file
68
packaging/debian/rules
Executable file
@ -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
|
1
packaging/debian/samba4-client.files
Normal file
1
packaging/debian/samba4-client.files
Normal file
@ -0,0 +1 @@
|
||||
usr/bin/smbclient
|
3
packaging/debian/samba4-common.dirs
Normal file
3
packaging/debian/samba4-common.dirs
Normal file
@ -0,0 +1,3 @@
|
||||
var/cache/samba
|
||||
etc/samba4
|
||||
usr/lib/samba
|
3
packaging/debian/samba4-common.files
Normal file
3
packaging/debian/samba4-common.files
Normal file
@ -0,0 +1,3 @@
|
||||
usr/lib/samba/lowcase.dat
|
||||
usr/lib/samba/upcase.dat
|
||||
usr/lib/valid.dat
|
1
packaging/debian/samba4-server.files
Normal file
1
packaging/debian/samba4-server.files
Normal file
@ -0,0 +1 @@
|
||||
usr/sbin/smbd
|
5
packaging/debian/samba4-testsuite.files
Normal file
5
packaging/debian/samba4-testsuite.files
Normal file
@ -0,0 +1,5 @@
|
||||
usr/bin/smbtorture
|
||||
usr/bin/ndrdump
|
||||
usr/bin/gentest
|
||||
usr/bin/locktest
|
||||
usr/bin/masktest
|
4
packaging/debian/winregistry-tools.files
Normal file
4
packaging/debian/winregistry-tools.files
Normal file
@ -0,0 +1,4 @@
|
||||
usr/bin/regshell
|
||||
usr/bin/regpatch
|
||||
usr/bin/regdiff
|
||||
usr/bin/regtree
|
Loading…
x
Reference in New Issue
Block a user