[Pkg-samba-maint] r2785 - branches/coexist/samba/debian

jelmer at alioth.debian.org jelmer at alioth.debian.org
Thu May 21 17:14:23 UTC 2009


tags 524661 pending
thanks

Author: jelmer
Date: 2009-05-21 17:14:23 +0000 (Thu, 21 May 2009)
New Revision: 2785

Added:
   branches/coexist/samba/debian/samba-common-bin.docs
   branches/coexist/samba/debian/samba-common-bin.files
   branches/coexist/samba/debian/samba-common-bin.postinst
   branches/coexist/samba/debian/samba-common-bin.prerm
Removed:
   branches/coexist/samba/debian/samba-common.docs
   branches/coexist/samba/debian/samba-common.prerm
Modified:
   branches/coexist/samba/debian/README.debian
   branches/coexist/samba/debian/changelog
   branches/coexist/samba/debian/control
   branches/coexist/samba/debian/rules
   branches/coexist/samba/debian/samba-common.files
   branches/coexist/samba/debian/samba-common.postinst
Log:
Split binaries out of samba-common into samba-common-bin. 
Closes: #524661

Modified: branches/coexist/samba/debian/README.debian
===================================================================
--- branches/coexist/samba/debian/README.debian	2009-05-21 17:14:07 UTC (rev 2784)
+++ branches/coexist/samba/debian/README.debian	2009-05-21 17:14:23 UTC (rev 2785)
@@ -22,7 +22,8 @@
 Currently, the Samba sources produce the following binary packages:
 
 samba:		A LanManager like file and printer server for Unix.
-samba-common:	Samba common files used by both the server and the client.
+samba-common:	Samba common configuration/data files used by both Samba 3 and Samba 4.
+samba-common-bin:	Samba common binaries used by both the server and the client.
 smbclient:	A LanManager like simple client for Unix.
 swat:		Samba Web Administration Tool
 samba-doc:	Samba documentation.

Modified: branches/coexist/samba/debian/changelog
===================================================================
--- branches/coexist/samba/debian/changelog	2009-05-21 17:14:07 UTC (rev 2784)
+++ branches/coexist/samba/debian/changelog	2009-05-21 17:14:23 UTC (rev 2785)
@@ -10,8 +10,12 @@
   [ Debconf translations ]
   * Italian. Closes: #529350
 
- -- Steve Langasek <vorlon at debian.org>  Sat, 16 May 2009 15:44:12 -0700
+  [ Jelmer Vernooij ]
+  * Split binaries out of samba-common into samba-common-bin. 
+    Closes: #524661
 
+ -- Jelmer Vernooij <jelmer at debian.org>  Thu, 21 May 2009 17:56:25 +0200
+
 samba (2:3.3.4-2) unstable; urgency=low
 
   [ Christian Perrier ]

Modified: branches/coexist/samba/debian/control
===================================================================
--- branches/coexist/samba/debian/control	2009-05-21 17:14:07 UTC (rev 2784)
+++ branches/coexist/samba/debian/control	2009-05-21 17:14:23 UTC (rev 2785)
@@ -38,9 +38,9 @@
  This package is not required for connecting to existing SMB/CIFS servers
  (see smbclient) or for mounting remote filesystems (see smbfs).
 
-Package: samba-common
+Package: samba-common-bin
 Architecture: any
-Depends: libpam-modules, ucf, ${shlibs:Depends}, ${misc:Depends}
+Depends: libpam-modules, ${shlibs:Depends}, ${misc:Depends}, samba-common (>= 2:3.3.4-2)
 Replaces: samba (<< 3.0.20b-1)
 Description: common files used by both the Samba server and client
  Samba is an implementation of the SMB/CIFS protocol for Unix systems,
@@ -50,6 +50,19 @@
  This package contains files and programs needed by Samba when used as
  either a client or a server.
 
+Package: samba-common
+Architecture: all
+Depends: ucf, ${misc:Depends}
+Replaces: samba (<< 3.0.20b-1)
+Conflicts: samba4-common (<< 4.0.0~alpha7-1)
+Recommends: samba-common-bin
+Description: common files used by both the Samba server and client
+ Samba is an implementation of the SMB/CIFS protocol for Unix systems,
+ providing support for cross-platform file and printer sharing with
+ Microsoft Windows, OS X, and other Unix systems.
+ .
+ This package contains common files used by both Samba 3 and Samba 4.
+
 Package: samba-tools
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -165,7 +178,7 @@
 Section: libdevel
 Priority: extra
 Architecture: any
-Depends: libsmbclient (= ${binary:Version}), ${misc:Depends}
+Depends: libsmbclient (= ${binary:Version}), ${misc:Depends}, samba-common (>= 2:3.3.4-2)
 Description: development files for libsmbclient
  This package provides the development files (static library and headers)
  required for building applications against libsmbclient, a library that

Modified: branches/coexist/samba/debian/rules
===================================================================
--- branches/coexist/samba/debian/rules	2009-05-21 17:14:07 UTC (rev 2784)
+++ branches/coexist/samba/debian/rules	2009-05-21 17:14:23 UTC (rev 2785)
@@ -148,10 +148,6 @@
 	mv $(DESTDIR)/usr/bin/testparm $(DESTDIR)/usr/bin/testparm.samba3
 	mv $(DESTDIR)/usr/share/man/man1/testparm.1 $(DESTDIR)/usr/share/man/man1/testparm.samba3.1
 
-	mv $(DESTDIR)/usr/share/samba/lowcase.dat $(DESTDIR)/usr/share/samba/lowcase.dat.samba3
-	mv $(DESTDIR)/usr/share/samba/upcase.dat $(DESTDIR)/usr/share/samba/upcase.dat.samba3
-	mv $(DESTDIR)/usr/share/samba/valid.dat $(DESTDIR)/usr/share/samba/valid.dat.samba3
-
 	# Starting with Samba 3.0.6 libsmbclient.so is installed in
 	# /usr/lib/samba. We don't want it there since it is not in the
 	# default library path. Here we move it to /usr/lib/.
@@ -191,7 +187,7 @@
 	ln -s ../../../bin/smbspool $(DESTDIR)/usr/lib/cups/backend/smb
 
 	cp debian/smb.conf* $(DESTDIR)/usr/share/samba/
-	install -m755 debian/panic-action $(DESTDIR)/usr/share/samba/panic-action.samba3
+	install -m755 debian/panic-action $(DESTDIR)/usr/share/samba/panic-action
 	# Install samba-common's conffiles - they'll get moved later to their
 	# correct place by dh_movefiles.
 	cp debian/gdbcommands $(DESTDIR)/etc/samba/
@@ -240,8 +236,8 @@
 	done
 	dh_installchangelogs -Nlibpam-smbpass
 	DH_OPTIONS= dh_installchangelogs -plibpam-smbpass source/pam_smbpass/CHANGELOG
-	DH_OPTIONS= dh_strip -psamba -psmbclient -pwinbind -psamba-common --dbg-package=samba-dbg
-	DH_OPTIONS= dh_strip -Nsamba -Nsmbclient -Nwinbind -Nsamba-common
+	DH_OPTIONS= dh_strip -psamba -psmbclient -pwinbind -psamba-common-bin --dbg-package=samba-dbg
+	DH_OPTIONS= dh_strip -Nsamba -Nsmbclient -Nwinbind -Nsamba-common-bin
 	dh_link
 	dh_compress
 	dh_fixperms

Copied: branches/coexist/samba/debian/samba-common-bin.docs (from rev 2784, branches/coexist/samba/debian/samba-common.docs)
===================================================================
--- branches/coexist/samba/debian/samba-common-bin.docs	                        (rev 0)
+++ branches/coexist/samba/debian/samba-common-bin.docs	2009-05-21 17:14:23 UTC (rev 2785)
@@ -0,0 +1,3 @@
+README 
+Roadmap
+WHATSNEW.txt

Added: branches/coexist/samba/debian/samba-common-bin.files
===================================================================
--- branches/coexist/samba/debian/samba-common-bin.files	                        (rev 0)
+++ branches/coexist/samba/debian/samba-common-bin.files	2009-05-21 17:14:23 UTC (rev 2785)
@@ -0,0 +1,12 @@
+usr/bin/net.samba3
+usr/bin/nmblookup.samba3
+usr/bin/smbpasswd
+usr/bin/testparm.samba3
+usr/share/man/man1/nmblookup.samba3.1
+usr/share/man/man1/testparm.samba3.1
+usr/share/man/man5/lmhosts.5
+usr/share/man/man5/smb.conf.5
+usr/share/man/man5/smbpasswd.5
+usr/share/man/man7/samba.7
+usr/share/man/man8/net.samba3.8
+usr/share/man/man8/smbpasswd.8

Added: branches/coexist/samba/debian/samba-common-bin.postinst
===================================================================
--- branches/coexist/samba/debian/samba-common-bin.postinst	                        (rev 0)
+++ branches/coexist/samba/debian/samba-common-bin.postinst	2009-05-21 17:14:23 UTC (rev 2785)
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+#
+
+set -e
+
+if [ "$1" = "configure" ]
+then
+	update-alternatives --install /usr/bin/nmblookup nmblookup /usr/bin/nmblookup.samba3 0 \
+		--slave /usr/share/man/man1/nmblookup.1.gz nmblookup.1.gz /usr/share/man/man1/nmblookup.samba3.1.gz
+	update-alternatives --install /usr/bin/net net /usr/bin/net.samba3 10 \
+		--slave /usr/share/man/man8/net.8.gz net.8.gz /usr/share/man/man8/net.samba3.8.gz
+	update-alternatives --install /usr/bin/testparm testparm /usr/bin/testparm.samba3 10 \
+		--slave /usr/share/man/man1/testparm.1.gz testparm.1.gz /usr/share/man/man1/testparm.samba3.1.gz
+fi
+
+#DEBHELPER#

Copied: branches/coexist/samba/debian/samba-common-bin.prerm (from rev 2784, branches/coexist/samba/debian/samba-common.prerm)
===================================================================
--- branches/coexist/samba/debian/samba-common-bin.prerm	                        (rev 0)
+++ branches/coexist/samba/debian/samba-common-bin.prerm	2009-05-21 17:14:23 UTC (rev 2785)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e 
+
+case "$1" in
+    remove|upgrade|deconfigure)
+	update-alternatives --remove nmblookup /usr/bin/nmblookup.samba3
+	update-alternatives --remove net /usr/bin/net.samba3
+	update-alternatives --remove testparm /usr/bin/testparm.samba3
+		;;
+esac
+
+#DEBHELPER#
+
+exit 0

Deleted: branches/coexist/samba/debian/samba-common.docs
===================================================================
--- branches/coexist/samba/debian/samba-common.docs	2009-05-21 17:14:07 UTC (rev 2784)
+++ branches/coexist/samba/debian/samba-common.docs	2009-05-21 17:14:23 UTC (rev 2785)
@@ -1,3 +0,0 @@
-README 
-Roadmap
-WHATSNEW.txt

Modified: branches/coexist/samba/debian/samba-common.files
===================================================================
--- branches/coexist/samba/debian/samba-common.files	2009-05-21 17:14:07 UTC (rev 2784)
+++ branches/coexist/samba/debian/samba-common.files	2009-05-21 17:14:23 UTC (rev 2785)
@@ -1,20 +1,8 @@
 etc/samba/
 etc/dhcp3/
 etc/pam.d/
-usr/bin/net.samba3
-usr/bin/nmblookup.samba3
-usr/bin/smbpasswd
-usr/bin/testparm.samba3
-usr/share/man/man1/nmblookup.samba3.1
-usr/share/man/man1/testparm.samba3.1
-usr/share/man/man5/lmhosts.5
-usr/share/man/man5/smb.conf.5
-usr/share/man/man5/smbpasswd.5
-usr/share/man/man7/samba.7
-usr/share/man/man8/net.samba3.8
-usr/share/man/man8/smbpasswd.8
-usr/share/samba/lowcase.dat.samba3
-usr/share/samba/panic-action.samba3
+usr/share/samba/lowcase.dat
+usr/share/samba/panic-action
 usr/share/samba/smb.conf*
-usr/share/samba/upcase.dat.samba3
-usr/share/samba/valid.dat.samba3
+usr/share/samba/upcase.dat
+usr/share/samba/valid.dat

Modified: branches/coexist/samba/debian/samba-common.postinst
===================================================================
--- branches/coexist/samba/debian/samba-common.postinst	2009-05-21 17:14:07 UTC (rev 2784)
+++ branches/coexist/samba/debian/samba-common.postinst	2009-05-21 17:14:23 UTC (rev 2785)
@@ -4,21 +4,6 @@
 
 set -e
 
-if [ "$1" = "configure" ]
-then
-	update-alternatives --install /usr/bin/nmblookup nmblookup /usr/bin/nmblookup.samba3 0 \
-		--slave /usr/share/man/man1/nmblookup.1.gz nmblookup.1.gz /usr/share/man/man1/nmblookup.samba3.1.gz
-	update-alternatives --install /usr/bin/net net /usr/bin/net.samba3 10 \
-		--slave /usr/share/man/man8/net.8.gz net.8.gz /usr/share/man/man8/net.samba3.8.gz
-	update-alternatives --install /usr/bin/testparm testparm /usr/bin/testparm.samba3 10 \
-		--slave /usr/share/man/man1/testparm.1.gz testparm.1.gz /usr/share/man/man1/testparm.samba3.1.gz
-	for N in valid.dat upcase.dat lowcase.dat
-	do
-		update-alternatives --install /usr/share/samba/$N $N /usr/share/samba/$N.samba3 0
-	done
-	update-alternatives --install /usr/share/samba/panic-action samba-panic-action /usr/share/samba/panic-action.samba3 0
-fi
-
 # Do debconf stuff here
 . /usr/share/debconf/confmodule
 

Deleted: branches/coexist/samba/debian/samba-common.prerm
===================================================================
--- branches/coexist/samba/debian/samba-common.prerm	2009-05-21 17:14:07 UTC (rev 2784)
+++ branches/coexist/samba/debian/samba-common.prerm	2009-05-21 17:14:23 UTC (rev 2785)
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-set -e 
-
-case "$1" in
-    remove|upgrade|deconfigure)
-	update-alternatives --remove nmblookup /usr/bin/nmblookup.samba3
-	update-alternatives --remove net /usr/bin/net.samba3
-	update-alternatives --remove testparm /usr/bin/testparm.samba3
-	for N in valid.dat upcase.dat lowcase.dat
-	do
-		update-alternatives --remove $N /usr/share/samba/$N.samba3
-	done
-	update-alternatives --remove samba-panic-action /usr/share/samba/panic-action.samba3
-		;;
-esac
-
-#DEBHELPER#
-
-exit 0




More information about the Pkg-samba-maint mailing list