tags 444812 + patch
thanks

Attaching patch, and tagging the bug.

- Josh Triplett

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Naur dovecot-1.0.8.orig/debian/control dovecot-1.0.8/debian/control
--- dovecot-1.0.8.orig/debian/control   2007-12-02 13:28:06.000000000 -0800
+++ dovecot-1.0.8/debian/control        2007-12-02 13:21:30.000000000 -0800
@@ -20,6 +20,18 @@
  This package contains the files used by both the dovecot IMAP and POP3 
  servers.
 
+Package: dovecot-dev
+Architecture: any
+Depends: ${shlibs:Depends}, dovecot-common (= ${binary:Version})
+Description: header files for the dovecot mail server
+ Dovecot is a mail server whose major goals are security and extreme
+ reliability. It tries very hard to handle all error conditions and verify
+ that all data is valid, making it nearly impossible to crash. It should
+ also be pretty fast, extensible, and portable.
+ .
+ This package contains header files needed to compile plugins for the
+ dovecot mail server.
+
 Package: dovecot-imapd
 Architecture: any
 Depends: ${shlibs:Depends}, dovecot-common (= ${binary:Version})
diff -Naur dovecot-1.0.8.orig/debian/dovecot-dev.dirs 
dovecot-1.0.8/debian/dovecot-dev.dirs
--- dovecot-1.0.8.orig/debian/dovecot-dev.dirs  1969-12-31 16:00:00.000000000 
-0800
+++ dovecot-1.0.8/debian/dovecot-dev.dirs       2007-12-02 13:21:30.000000000 
-0800
@@ -0,0 +1 @@
+usr/include
diff -Naur dovecot-1.0.8.orig/debian/rules dovecot-1.0.8/debian/rules
--- dovecot-1.0.8.orig/debian/rules     2007-12-02 13:28:06.000000000 -0800
+++ dovecot-1.0.8/debian/rules  2007-12-02 13:22:46.000000000 -0800
@@ -35,6 +35,7 @@
                    --with-gssapi \
                    --with-deliver \
                    --with-ioloop=epoll \
+                   --enable-header-install \
                    --host=$(DEB_HOST_GNU_TYPE) \
                    --build=$(DEB_BUILD_GNU_TYPE) \
                    --prefix=/usr \
@@ -98,6 +99,8 @@
        mv $(CURDIR)/debian/dovecot-common/usr/share/doc/dovecot 
$(CURDIR)/debian/dovecot-common/usr/share/doc/dovecot-common
        mv $(CURDIR)/debian/dovecot-common/usr/lib/dovecot/imap* 
$(CURDIR)/debian/dovecot-imapd/usr/lib/dovecot
        mv $(CURDIR)/debian/dovecot-common/usr/lib/dovecot/pop3* 
$(CURDIR)/debian/dovecot-pop3d/usr/lib/dovecot
+       mv $(CURDIR)/debian/dovecot-common/usr/include/* 
$(CURDIR)/debian/dovecot-dev/usr/include
+       rmdir $(CURDIR)/debian/dovecot-common/usr/include
        chmod 0700 $(CURDIR)/debian/dovecot-common/var/run/dovecot
        chmod 0750 $(CURDIR)/debian/dovecot-common/var/run/dovecot/login
 

Reply via email to