1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r7958: More debian packaging updates; packages build now with

a few minor issues.

Move ldb manpages one level higher - there is no longer a need to have
subdirectories.
This commit is contained in:
Jelmer Vernooij 2005-06-27 22:07:28 +00:00 committed by Gerald (Jerry) Carter
parent ee1a5d5419
commit e8e3524b23
25 changed files with 63 additions and 48 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,2 @@
usr/bin/pidl
usr/share/perl5/Parse/Pidl

View File

@ -1,2 +0,0 @@
usr/bin/pidl
usr/share/man/man1/pidl.1

View File

@ -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

View File

@ -1 +0,0 @@
usr/bin/smbclient

View File

@ -0,0 +1,3 @@
usr/bin/smbclient
usr/bin/net
usr/bin/nmblookup

View File

@ -1,2 +1 @@
etc/samba4
etc/samba4/smb.conf

View File

@ -1,3 +1,3 @@
usr/bin/gregedit
usr/bin/gwsam
usr/share/man/man1/gregedit.1
usr/bin/gepdump

View File

@ -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

View File

@ -1,2 +1,2 @@
[global]
# Example configuration file
[global]

View File

@ -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

View File

@ -0,0 +1,4 @@
usr/bin/regshell
usr/bin/regpatch
usr/bin/regdiff
usr/bin/regtree

View File

@ -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)

View File

@ -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]

View File

@ -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
################################################