diff options
-rw-r--r-- | packaging/debian/control | 20 | ||||
-rw-r--r-- | packaging/debian/ldb-tools.files | 11 | ||||
-rw-r--r-- | packaging/debian/ldb-tools.install | 6 | ||||
-rw-r--r-- | packaging/debian/libparse-pidl-perl.install | 2 | ||||
-rw-r--r-- | packaging/debian/pidl.files | 2 | ||||
-rwxr-xr-x | packaging/debian/rules | 10 | ||||
-rw-r--r-- | packaging/debian/samba4-client.files | 1 | ||||
-rw-r--r-- | packaging/debian/samba4-client.install | 3 | ||||
-rw-r--r-- | packaging/debian/samba4-common.install | 1 | ||||
-rw-r--r-- | packaging/debian/samba4-gtk-frontends.install (renamed from packaging/debian/samba4-gtk-frontends.files) | 2 | ||||
-rw-r--r-- | packaging/debian/samba4-server.install (renamed from packaging/debian/samba4-server.files) | 0 | ||||
-rw-r--r-- | packaging/debian/samba4-testsuite.install (renamed from packaging/debian/samba4-testsuite.files) | 2 | ||||
-rw-r--r-- | packaging/debian/smb.conf | 2 | ||||
-rw-r--r-- | packaging/debian/winregistry-tools.files | 8 | ||||
-rw-r--r-- | packaging/debian/winregistry-tools.install | 4 | ||||
-rw-r--r-- | source4/build/smb_build/makefile.pm | 21 | ||||
-rw-r--r-- | source4/lib/ldb/Makefile.in | 2 | ||||
-rw-r--r-- | source4/lib/ldb/config.mk | 14 | ||||
-rw-r--r-- | source4/lib/ldb/man/ldb.3.xml (renamed from source4/lib/ldb/man/man3/ldb.3.xml) | 0 | ||||
-rw-r--r-- | source4/lib/ldb/man/ldbadd.1.xml (renamed from source4/lib/ldb/man/man1/ldbadd.1.xml) | 0 | ||||
-rw-r--r-- | source4/lib/ldb/man/ldbdel.1.xml (renamed from source4/lib/ldb/man/man1/ldbdel.1.xml) | 0 | ||||
-rw-r--r-- | source4/lib/ldb/man/ldbedit.1.xml (renamed from source4/lib/ldb/man/man1/ldbedit.1.xml) | 0 | ||||
-rw-r--r-- | source4/lib/ldb/man/ldbmodify.1.xml (renamed from source4/lib/ldb/man/man1/ldbmodify.1.xml) | 0 | ||||
-rw-r--r-- | source4/lib/ldb/man/ldbrename.1.xml (renamed from source4/lib/ldb/man/man1/ldbrename.1.xml) | 0 | ||||
-rw-r--r-- | source4/lib/ldb/man/ldbsearch.1.xml (renamed from source4/lib/ldb/man/man1/ldbsearch.1.xml) | 0 |
25 files changed, 63 insertions, 48 deletions
diff --git a/packaging/debian/control b/packaging/debian/control index 6b872d424d..e48f7aa7f1 100644 --- a/packaging/debian/control +++ b/packaging/debian/control @@ -3,13 +3,12 @@ Section: net Priority: optional Maintainer: Jelmer Vernooij <jelmer@samba.org> Standards-Version: 3.6.1.0 -Build-Depends: debmake, libgtk2.0-dev, libgconf2-dev, libldap-dev, debhelper (>> 4.0.0) +Build-Depends: build-essential, libgtk2.0-dev, libgconf2-dev, libldap-dev, debhelper (>> 4.0.0), libparse-yapp-perl Package: samba4 -Architecture: any -Depends: samba4-client, samba4-server -Description: Samba4 - Foobar +Architecture: all +Description: Samba4 misc + Files common for all programs in Samba Package: samba4-common Architecture: all @@ -19,6 +18,8 @@ Description: Common samba files Package: samba4-client Architecture: any Depends: ${shlibs:Depends}, +Description: Client utilities from Samba4 + Client utilities for NetBIOS, SMB and RPC. Package: samba4-testsuite Architecture: any @@ -29,6 +30,7 @@ Description: Testsuite from Samba4 Package: samba4-server Architecture: any +Recommends: samba4-swat Depends: ${shlibs:Depends}, samba4-common Description: SMB Server Contains smbd, the Samba server. @@ -51,7 +53,7 @@ Depends: ${shlibs:Depends} Description: Tools for viewing and manipulating FIXME -Package: pidl +Package: libparse-pidl-perl Architecture: any Depends: perl Description: IDL compiler written in Perl @@ -68,3 +70,9 @@ Architecture: any Depends: ${shlibs:Depends} Description: Tools for maintaining LDB database files FIXME + +Package: samba4-swat +Architecture: all +Description: Swat data files + Data files for SWAT. + diff --git a/packaging/debian/ldb-tools.files b/packaging/debian/ldb-tools.files deleted file mode 100644 index f8b3a5adcb..0000000000 --- a/packaging/debian/ldb-tools.files +++ /dev/null @@ -1,11 +0,0 @@ -usr/bin/ldbadd -usr/bin/ldbdel -usr/bin/ldbedit -usr/bin/ldbmodify -usr/bin/ldbsearch -usr/share/man/man1/ldbadd.1 -usr/share/man/man1/ldbdel.1 -usr/share/man/man1/ldbedit.1 -usr/share/man/man1/ldbmodify.1 -usr/share/man/man1/ldbsearch.1 -usr/share/man/man7/ldb.7 diff --git a/packaging/debian/ldb-tools.install b/packaging/debian/ldb-tools.install new file mode 100644 index 0000000000..e41da00797 --- /dev/null +++ b/packaging/debian/ldb-tools.install @@ -0,0 +1,6 @@ +usr/bin/ldbadd +usr/bin/ldbdel +usr/bin/ldbedit +usr/bin/ldbmodify +usr/bin/ldbsearch +usr/share/man/man3/ldb.3 diff --git a/packaging/debian/libparse-pidl-perl.install b/packaging/debian/libparse-pidl-perl.install new file mode 100644 index 0000000000..d2e53619ec --- /dev/null +++ b/packaging/debian/libparse-pidl-perl.install @@ -0,0 +1,2 @@ +usr/bin/pidl +usr/share/perl5/Parse/Pidl diff --git a/packaging/debian/pidl.files b/packaging/debian/pidl.files deleted file mode 100644 index 4d8a81a073..0000000000 --- a/packaging/debian/pidl.files +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin/pidl -usr/share/man/man1/pidl.1 diff --git a/packaging/debian/rules b/packaging/debian/rules index 2d0505d225..232a95f2b1 100755 --- a/packaging/debian/rules +++ b/packaging/debian/rules @@ -12,6 +12,7 @@ configure: cd $(SOURCEPATH) && ./autogen.sh cd $(SOURCEPATH) && ./configure --with-fhs \ --prefix=/usr \ + --mandir=/usr/share/man \ --enable-shared \ --enable-static \ --sysconfdir=/etc \ @@ -43,6 +44,7 @@ binary-indep: build install dh_testroot -i dh_install -i --sourcedir=debian/tmp dh_installdocs -i + dh_installman -i dh_installchangelogs -i dh_compress -i dh_fixperms -i @@ -59,12 +61,18 @@ install: build dh_clean -k dh_installdirs $(MAKE) -C $(SOURCEPATH) install DESTDIR=$(CURDIR)/debian/tmp - cp debian/smb.conf $(CURDIR)/debian/tmp/etc/samba4 + $(MAKE) -C $(SOURCEPATH) manpages installman DESTDIR=$(CURDIR)/debian/tmp + mkdir -p $(CURDIR)/debian/tmp/etc/samba4 + cp $(CURDIR)/debian/smb.conf $(CURDIR)/debian/tmp/etc/samba4 + cp $(CURDIR)/../source/build/pidl/pidl.pl $(CURDIR)/debian/tmp/usr/bin/pidl + mkdir -p $(CURDIR)/debian/tmp/usr/share/perl5/Parse/Pidl + cp $(CURDIR)/../source/build/pidl/*.pm $(CURDIR)/debian/tmp/usr/share/perl5/Parse/Pidl binary-arch: build install dh_testdir -a dh_testroot -a dh_install -a --sourcedir=debian/tmp + dh_installchangelogs -a dh_installdocs -a dh_installman -a dh_strip -a diff --git a/packaging/debian/samba4-client.files b/packaging/debian/samba4-client.files deleted file mode 100644 index 322315e26e..0000000000 --- a/packaging/debian/samba4-client.files +++ /dev/null @@ -1 +0,0 @@ -usr/bin/smbclient diff --git a/packaging/debian/samba4-client.install b/packaging/debian/samba4-client.install new file mode 100644 index 0000000000..4412eac528 --- /dev/null +++ b/packaging/debian/samba4-client.install @@ -0,0 +1,3 @@ +usr/bin/smbclient +usr/bin/net +usr/bin/nmblookup diff --git a/packaging/debian/samba4-common.install b/packaging/debian/samba4-common.install index 9406328a45..69f3994af2 100644 --- a/packaging/debian/samba4-common.install +++ b/packaging/debian/samba4-common.install @@ -1,2 +1 @@ -etc/samba4 etc/samba4/smb.conf diff --git a/packaging/debian/samba4-gtk-frontends.files b/packaging/debian/samba4-gtk-frontends.install index 747b87dc5b..ea0de102bd 100644 --- a/packaging/debian/samba4-gtk-frontends.files +++ b/packaging/debian/samba4-gtk-frontends.install @@ -1,3 +1,3 @@ usr/bin/gregedit usr/bin/gwsam -usr/share/man/man1/gregedit.1 +usr/bin/gepdump diff --git a/packaging/debian/samba4-server.files b/packaging/debian/samba4-server.install index cdb5c3a72a..cdb5c3a72a 100644 --- a/packaging/debian/samba4-server.files +++ b/packaging/debian/samba4-server.install diff --git a/packaging/debian/samba4-testsuite.files b/packaging/debian/samba4-testsuite.install index 38cb96f5e5..d5dba98ac8 100644 --- a/packaging/debian/samba4-testsuite.files +++ b/packaging/debian/samba4-testsuite.install @@ -3,5 +3,3 @@ usr/bin/ndrdump usr/bin/gentest usr/bin/locktest usr/bin/masktest -usr/share/man/man1/smbtorture.1 -usr/share/man/man1/ndrdump.1 diff --git a/packaging/debian/smb.conf b/packaging/debian/smb.conf index f7e3060e30..718217f607 100644 --- a/packaging/debian/smb.conf +++ b/packaging/debian/smb.conf @@ -1,2 +1,2 @@ -[global] # Example configuration file +[global] diff --git a/packaging/debian/winregistry-tools.files b/packaging/debian/winregistry-tools.files deleted file mode 100644 index 081f8bdf6e..0000000000 --- a/packaging/debian/winregistry-tools.files +++ /dev/null @@ -1,8 +0,0 @@ -usr/bin/regshell -usr/bin/regpatch -usr/bin/regdiff -usr/bin/regtree -usr/share/man/man1/regtree.1 -usr/share/man/man1/regdiff.1 -usr/share/man/man1/regpatch.1 -usr/share/man/man1/regshell.1 diff --git a/packaging/debian/winregistry-tools.install b/packaging/debian/winregistry-tools.install new file mode 100644 index 0000000000..6aae11482d --- /dev/null +++ b/packaging/debian/winregistry-tools.install @@ -0,0 +1,4 @@ +usr/bin/regshell +usr/bin/regpatch +usr/bin/regdiff +usr/bin/regtree diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index fc4c7fd2b9..34fa0c9f65 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -653,18 +653,21 @@ LDB_PROGS = bin/ldbadd \ REG_PROGS = bin/regpatch \ bin/regshell \ bin/regtree \ - bin/regpatch \ bin/regdiff -install: showlayout installbin installtorture installldb installreg installdat installswat +GTK_PROGS = bin/gregedit \ + bin/gwsam \ + bin/gepdump + +install: showlayout installbin installtorture installldb installreg installdat installswat installgtk # DESTDIR is used here to prevent packagers wasting their time -# duplicating the Makefile. Remove it and you will have the privelege -# of package each samba release for muliple versions of multiple +# duplicating the Makefile. Remove it and you will have the privilege +# of package each samba release for multiple versions of multiple # distributions and operating systems, or at least supplying patches # to all the packaging files required for this, prior to committing # the removal of DESTDIR. Do not remove it even though you think it -# is not used +# is not used. installdirs: @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)$(BASEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(VARDIR) $(DESTDIR)$(PRIVATEDIR) $(DESTDIR)$(PIDDIR) $(DESTDIR)$(LOCKDIR) $(DESTDIR)$(PRIVATEDIR)/tls @@ -682,6 +685,9 @@ installldb: all installdirs installreg: all installdirs @$(SHELL) $(srcdir)/script/installbin.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(VARDIR) $(REG_PROGS) +installgtk: all installdirs + @$(SHELL) $(srcdir)/script/installbin.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(VARDIR) $(GTK_PROGS) + installdat: installdirs @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR)$(LIBDIR) $(srcdir) @@ -691,7 +697,7 @@ installswat: installdirs installman: installdirs @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(MANPAGES) -uninstall: uninstallbin uninstalltorture uninstallldb uninstallreg +uninstall: uninstallbin uninstalltorture uninstallldb uninstallreg uninstallgtk uninstallbin: @$(SHELL) $(srcdir)/script/uninstallbin.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(VARDIR) $(DESTDIR)$(SBIN_PROGS) @@ -705,6 +711,9 @@ uninstallldb: uninstallreg: @$(SHELL) $(srcdir)/script/uninstallbin.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(VARDIR) $(DESTDIR)$(REG_PROGS) +uninstallgtk: + @$(SHELL) $(srcdir)/script/uninstallbin.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(VARDIR) $(DESTDIR)$(GTK_PROGS) + uninstallman: @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(MANPAGES) diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in index ac3155f27e..4a065ba83f 100644 --- a/source4/lib/ldb/Makefile.in +++ b/source4/lib/ldb/Makefile.in @@ -112,7 +112,7 @@ bin/ldbtest: tools/ldbtest.o tools/cmdline.o $(LIBS) %.html: %.xml test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $< -manpages: $(patsubst %.xml,%,$(wildcard man/*/*.xml)) +manpages: $(patsubst %.xml,%,$(wildcard man/*.xml)) clean: rm -f */*.o *.gcov */*.gc?? *~ */*~ $(BINS) $(TDB_OBJ) $(TALLOC_OBJ) $(LDB_LIB) man/man?/*.[13] diff --git a/source4/lib/ldb/config.mk b/source4/lib/ldb/config.mk index 39de5ea1c0..691af8bcfa 100644 --- a/source4/lib/ldb/config.mk +++ b/source4/lib/ldb/config.mk @@ -74,7 +74,7 @@ ADD_OBJ_FILES = \ REQUIRED_SUBSYSTEMS = \ LIBREPLACE LIBTALLOC LDBSAMBA NOPROTO = YES -MANPAGE = lib/ldb/man/man3/ldb.3 +MANPAGE = lib/ldb/man/ldb.3 # # End SUBSYSTEM LIBLDB ################################################ @@ -115,7 +115,7 @@ OBJ_FILES = \ lib/ldb/tools/ldbadd.o REQUIRED_SUBSYSTEMS = \ LIBLDB_CMDLINE -MANPAGE = lib/ldb/man/man1/ldbadd.1 +MANPAGE = lib/ldb/man/ldbadd.1 # End BINARY ldbadd ################################################ @@ -126,7 +126,7 @@ OBJ_FILES= \ lib/ldb/tools/ldbdel.o REQUIRED_SUBSYSTEMS = \ LIBLDB_CMDLINE -MANPAGE = lib/ldb/man/man1/ldbdel.1 +MANPAGE = lib/ldb/man/ldbdel.1 # End BINARY ldbdel ################################################ @@ -137,7 +137,7 @@ OBJ_FILES= \ lib/ldb/tools/ldbmodify.o REQUIRED_SUBSYSTEMS = \ LIBLDB_CMDLINE -MANPAGE = lib/ldb/man/man1/ldbmodify.1 +MANPAGE = lib/ldb/man/ldbmodify.1 # End BINARY ldbmodify ################################################ @@ -148,7 +148,7 @@ OBJ_FILES= \ lib/ldb/tools/ldbsearch.o REQUIRED_SUBSYSTEMS = \ LIBLDB_CMDLINE -MANPAGE = lib/ldb/man/man1/ldbsearch.1 +MANPAGE = lib/ldb/man/ldbsearch.1 # End BINARY ldbsearch ################################################ @@ -159,7 +159,7 @@ OBJ_FILES= \ lib/ldb/tools/ldbedit.o REQUIRED_SUBSYSTEMS = \ LIBLDB_CMDLINE -MANPAGE = lib/ldb/man/man1/ldbedit.1 +MANPAGE = lib/ldb/man/ldbedit.1 # End BINARY ldbedit ################################################ @@ -170,7 +170,7 @@ OBJ_FILES= \ lib/ldb/tools/ldbrename.o REQUIRED_SUBSYSTEMS = \ LIBLDB_CMDLINE -MANPAGE = lib/ldb/man/man1/ldbrename.1 +MANPAGE = lib/ldb/man/ldbrename.1 # End BINARY ldbrename ################################################ diff --git a/source4/lib/ldb/man/man3/ldb.3.xml b/source4/lib/ldb/man/ldb.3.xml index d9ed135f20..d9ed135f20 100644 --- a/source4/lib/ldb/man/man3/ldb.3.xml +++ b/source4/lib/ldb/man/ldb.3.xml diff --git a/source4/lib/ldb/man/man1/ldbadd.1.xml b/source4/lib/ldb/man/ldbadd.1.xml index 0b3122ab32..0b3122ab32 100644 --- a/source4/lib/ldb/man/man1/ldbadd.1.xml +++ b/source4/lib/ldb/man/ldbadd.1.xml diff --git a/source4/lib/ldb/man/man1/ldbdel.1.xml b/source4/lib/ldb/man/ldbdel.1.xml index 2f98f9d427..2f98f9d427 100644 --- a/source4/lib/ldb/man/man1/ldbdel.1.xml +++ b/source4/lib/ldb/man/ldbdel.1.xml diff --git a/source4/lib/ldb/man/man1/ldbedit.1.xml b/source4/lib/ldb/man/ldbedit.1.xml index 0b5c63a17a..0b5c63a17a 100644 --- a/source4/lib/ldb/man/man1/ldbedit.1.xml +++ b/source4/lib/ldb/man/ldbedit.1.xml diff --git a/source4/lib/ldb/man/man1/ldbmodify.1.xml b/source4/lib/ldb/man/ldbmodify.1.xml index e39f74fffa..e39f74fffa 100644 --- a/source4/lib/ldb/man/man1/ldbmodify.1.xml +++ b/source4/lib/ldb/man/ldbmodify.1.xml diff --git a/source4/lib/ldb/man/man1/ldbrename.1.xml b/source4/lib/ldb/man/ldbrename.1.xml index 32456243af..32456243af 100644 --- a/source4/lib/ldb/man/man1/ldbrename.1.xml +++ b/source4/lib/ldb/man/ldbrename.1.xml diff --git a/source4/lib/ldb/man/man1/ldbsearch.1.xml b/source4/lib/ldb/man/ldbsearch.1.xml index 8361aa97ff..8361aa97ff 100644 --- a/source4/lib/ldb/man/man1/ldbsearch.1.xml +++ b/source4/lib/ldb/man/ldbsearch.1.xml |