Your message dated Tue, 22 Oct 2013 16:23:09 -0500
with message-id <[email protected]>
and subject line Shipped with samba 4.x packages
has caused the Debian Bug report #587705,
regarding samba: Should provide headers for libraries development.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
587705: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587705
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: samba
Version: 2:3.4.5~dfsg-2
Severity: wishlist
Tags: patch

A binary package providing with configured Samba header files is
necessary for VFS-objects development. The patch attached should fix
this.
Description: Adds samba-headers binary package.
Author: Al Nikolov <[email protected]>
Author: Boris Savelev <[email protected]>

diff --git a/control b/control
index d19879e..13bcd1f 100644
--- a/control
+++ b/control
@@ -231,3 +231,16 @@ Description: Samba winbind client library
  .
  This package provides a library for client applications that interact
  via the winbind pipe protocol with a Samba winbind server.
+
+Package: samba-headers
+Section: devel
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends}
+Description: Samba development headers
+ 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 provides development headers of Samba needed, for example,
+ for building additional VFS modules.
diff --git a/rules b/rules
index e9603bd..0af53dd 100755
--- a/rules
+++ b/rules
@@ -175,6 +175,10 @@ install: build
        mkdir -p $(DESTDIR)/usr/share/pam-configs
        install -m 0644 debian/libpam-smbpass.pam-config 
$(DESTDIR)/usr/share/pam-configs/smbpasswd-migrate

+       # Install headers
+       find . -wholename ./source3/Makefile -o -name \*.h -a ! -wholename 
./source4/\* -print0 | \
+         xargs -0 -I@ install -m 0644 -D @ $(DESTDIR)/usr/src/samba-headers/@
+
 ifeq ($(mount_cifs),yes)
        install -m 0755 debian/mount.smbfs $(DESTDIR)/sbin/mount.smbfs
 endif
diff --git a/samba-headers.files b/samba-headers.files
new file mode 100644
index 0000000..7de8dd6
--- /dev/null
+++ b/samba-headers.files
@@ -0,0 +1 @@
+usr/src/samba-headers

--- End Message ---
--- Begin Message ---
Version: 2:4.0.6+dfsg-1

As of Samba 4.x, a samba-dev package has been shipped that provides
headers and development symlinks for various Samba libraries.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to