Mart, he has commit access, btw, so just acks/comments are needed.<br><br><div class="gmail_quote">On Sat, Jul 5, 2008 at 5:52 AM, Martin Atkins &lt;<a href="mailto:mart@degeneration.co.uk">mart@degeneration.co.uk</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi Nick,<br>
<br>
I just checked in your patch, though I added a dependency on libdanga-socket-perl. It looks like a good starting point, even if it isn&#39;t quite complete. Thanks!<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
Nick Andrew wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Package up djabberd for debian<br>
<br>
Add the files in debian/* to enable packaging of djabberd and<br>
related packages.<br>
<br>
Signed-off-by: Nick Andrew &lt;<a href="mailto:nick@nick-andrew.net" target="_blank">nick@nick-andrew.net</a>&gt;<br>
---<br>
<br>
&nbsp;debian/changelog &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp;5 +<br>
&nbsp;debian/compat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp;1 &nbsp;debian/control &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp;105 ++++++++++++++++++++++++++<br>
&nbsp;debian/djabberd-authen-htdigest.install &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp;1 &nbsp;debian/djabberd-authen-mysql.install &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp;1 &nbsp;debian/djabberd-authen-pam.install &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp;1 &nbsp;debian/djabberd-livejournal.install &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp;1 &nbsp;debian/djabberd-misc.install &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp;1 &nbsp;debian/djabberd-muc.install &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp;1 &nbsp;debian/djabberd-rosterstorage-sqlite.install | &nbsp; &nbsp;1 &nbsp;debian/djabberd-webadmin.install &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp;1 &nbsp;debian/djabberd.install &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp;1 &nbsp;debian/libdjabberd-bot-eliza-perl.install &nbsp; &nbsp;| &nbsp; &nbsp;1 &nbsp;debian/libdjabberd-plugin-vcard-perl.install | &nbsp; &nbsp;1 &nbsp;debian/rules &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; 86 +++++++++++++++++++++<br>

&nbsp;15 files changed, 208 insertions(+), 0 deletions(-)<br>
&nbsp;create mode 100644 debian/changelog<br>
&nbsp;create mode 100644 debian/compat<br>
&nbsp;create mode 100644 debian/control<br>
&nbsp;create mode 100644 debian/djabberd-authen-htdigest.install<br>
&nbsp;create mode 100644 debian/djabberd-authen-mysql.install<br>
&nbsp;create mode 100644 debian/djabberd-authen-pam.install<br>
&nbsp;create mode 100644 debian/djabberd-livejournal.install<br>
&nbsp;create mode 100644 debian/djabberd-misc.install<br>
&nbsp;create mode 100644 debian/djabberd-muc.install<br>
&nbsp;create mode 100644 debian/djabberd-rosterstorage-sqlite.install<br>
&nbsp;create mode 100644 debian/djabberd-webadmin.install<br>
&nbsp;create mode 100644 debian/djabberd.install<br>
&nbsp;create mode 100644 debian/libdjabberd-bot-eliza-perl.install<br>
&nbsp;create mode 100644 debian/libdjabberd-plugin-vcard-perl.install<br>
&nbsp;create mode 100755 debian/rules<br>
<br>
<br>
diff --git a/debian/changelog b/debian/changelog<br>
new file mode 100644<br>
index 0000000..ee38d56<br>
--- /dev/null<br>
+++ b/debian/changelog<br>
@@ -0,0 +1,5 @@<br>
+djabberd (0.83) unstable; urgency=low<br>
+<br>
+ &nbsp;* Initial Debian Packaging<br>
+<br>
+ -- Nick Andrew &lt;<a href="mailto:nick@nick-andrew.net" target="_blank">nick@nick-andrew.net</a>&gt; &nbsp;Sat, &nbsp;5 Jul 2008 03:14:15 +1000<br>
diff --git a/debian/compat b/debian/compat<br>
new file mode 100644<br>
index 0000000..7ed6ff8<br>
--- /dev/null<br>
+++ b/debian/compat<br>
@@ -0,0 +1 @@<br>
+5<br>
diff --git a/debian/control b/debian/control<br>
new file mode 100644<br>
index 0000000..1fe3c22<br>
--- /dev/null<br>
+++ b/debian/control<br>
@@ -0,0 +1,105 @@<br>
+Source: djabberd<br>
+Section: perl<br>
+Priority: optional<br>
+Maintainer: Nick Andrew &lt;<a href="mailto:nick@nick-andrew.net" target="_blank">nick@nick-andrew.net</a>&gt;<br>
+Build-Depends: debhelper (&gt;= 5)<br>
+Build-Depends-Indep: perl (&gt;= 5.6.10-12), liblog-log4perl-perl, libnet-dns-perl, libnet-ssleay-perl, libxml-sax-perl, libxml-libxml-perl<br>
+Standards-Version: 3.8.0<br>
+Homepage: <a href="http://danga.com/djabberd" target="_blank">http://danga.com/djabberd</a><br>
+<br>
+Package: djabberd<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: ${perl:Depends}, liblog-log4perl-perl, libnet-dns-perl, libnet-ssleay-perl, libxml-sax-perl, libxml-libxml-perl<br>
+Suggests: djabberd-doc, openssl<br>
+Description: Distributed Jabber server<br>
+ djabberd is a high-performance, scalable, extensible Jabber/XMPP<br>
+ server framework. While it comes with an example server, it&#39;s<br>
+ really a set of classes for you to build your own Jabber server<br>
+ without understanding Jabber. Instead of working with XML and<br>
+ protocol-specific details, you subclass parts and work with sane<br>
+ objects and data structures and let DJabberd do all the ugly work.<br>
+ .<br>
+ Homepage: <a href="http://danga.com/djabberd/" target="_blank">http://danga.com/djabberd/</a><br>
+<br>
+Package: libdjabberd-authen-htdigest-perl<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd<br>
+Description: HTDigest Authentication module for DJabberd<br>
+ This module provides htdigest-based authentication for DJabberd.<br>
+<br>
+Package: libdjabberd-authen-mysql-perl<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd<br>
+Description: MySQL Authentication module for DJabberd<br>
+ This module allows DJabberd to authenticate through MySQL.<br>
+<br>
+Package: libdjabberd-authen-pam-perl<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd<br>
+Description: PAM Authentication module for DJabberd<br>
+ This module allows DJabberd to authenticate through PAM.<br>
+<br>
+Package: libdjabberd-bot-eliza-perl<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd, libchatbot-eliza-perl<br>
+Description: Eliza Chatbot module for DJabberd<br>
+ This module allows DJabberd to use Chatbot::Eliza to confuse<br>
+ users.<br>
+<br>
+Package: djabberd-livejournal<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd<br>
+Description: LiveJournal module for DJabberd<br>
+ This module allows DJabberd to talk to LiveJournal.<br>
+<br>
+Package: djabberd-misc<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd<br>
+Description: DJabberd miscellany<br>
+ Provides DJabberd::RosterStorage::Dummy<br>
+<br>
+Package: djabberd-muc<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd<br>
+Description: DJabberd MUC<br>
+ Provides MUC modules for DJabberd<br>
+<br>
+Package: djabberd-rosterstorage-sqlite<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd<br>
+Description: DJabberd RosterStorage using SQLite<br>
+ Provides DJabberd RosterStorage using SQLite<br>
+<br>
+Package: libdjabberd-plugin-vcard-perl<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd<br>
+Description: DJabberd VCard plugins<br>
+ Provides VCard plugins for DJabberd<br>
+<br>
+Package: djabberd-webadmin<br>
+Section: perl<br>
+Priority: optional<br>
+Architecture: all<br>
+Depends: djabberd<br>
+Description: DJabberd WebAdmin<br>
+ Provides DJabberd::WebAdmin<br>
diff --git a/debian/djabberd-authen-htdigest.install b/debian/djabberd-authen-htdigest.install<br>
new file mode 100644<br>
index 0000000..08dd408<br>
--- /dev/null<br>
+++ b/debian/djabberd-authen-htdigest.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-Authen-HTDigest/lib/* &nbsp; &nbsp; &nbsp;usr/share/perl5<br>
diff --git a/debian/djabberd-authen-mysql.install b/debian/djabberd-authen-mysql.install<br>
new file mode 100644<br>
index 0000000..7362b2d<br>
--- /dev/null<br>
+++ b/debian/djabberd-authen-mysql.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-Authen-MySQL/lib/* &nbsp; &nbsp; &nbsp; &nbsp; usr/share/perl5<br>
diff --git a/debian/djabberd-authen-pam.install b/debian/djabberd-authen-pam.install<br>
new file mode 100644<br>
index 0000000..d936289<br>
--- /dev/null<br>
+++ b/debian/djabberd-authen-pam.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-Authen-PAM/lib/* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; usr/share/perl5<br>
diff --git a/debian/djabberd-livejournal.install b/debian/djabberd-livejournal.install<br>
new file mode 100644<br>
index 0000000..7836a77<br>
--- /dev/null<br>
+++ b/debian/djabberd-livejournal.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-LiveJournal/lib/* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;usr/share/perl5<br>
diff --git a/debian/djabberd-misc.install b/debian/djabberd-misc.install<br>
new file mode 100644<br>
index 0000000..537efd9<br>
--- /dev/null<br>
+++ b/debian/djabberd-misc.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-Misc/lib/* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; usr/share/perl5<br>
diff --git a/debian/djabberd-muc.install b/debian/djabberd-muc.install<br>
new file mode 100644<br>
index 0000000..685ec40<br>
--- /dev/null<br>
+++ b/debian/djabberd-muc.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-MUC/lib/* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;usr/share/perl5<br>
diff --git a/debian/djabberd-rosterstorage-sqlite.install b/debian/djabberd-rosterstorage-sqlite.install<br>
new file mode 100644<br>
index 0000000..40e8418<br>
--- /dev/null<br>
+++ b/debian/djabberd-rosterstorage-sqlite.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-RosterStorage-SQLite/lib/* usr/share/perl5<br>
diff --git a/debian/djabberd-webadmin.install b/debian/djabberd-webadmin.install<br>
new file mode 100644<br>
index 0000000..e0876fd<br>
--- /dev/null<br>
+++ b/debian/djabberd-webadmin.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-WebAdmin/lib/* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; usr/share/perl5<br>
diff --git a/debian/djabberd.install b/debian/djabberd.install<br>
new file mode 100644<br>
index 0000000..55c2cbb<br>
--- /dev/null<br>
+++ b/debian/djabberd.install<br>
@@ -0,0 +1 @@<br>
+debian/tmp/usr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/<br>
diff --git a/debian/libdjabberd-bot-eliza-perl.install b/debian/libdjabberd-bot-eliza-perl.install<br>
new file mode 100644<br>
index 0000000..80b333b<br>
--- /dev/null<br>
+++ b/debian/libdjabberd-bot-eliza-perl.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-Bot-Eliza/lib/* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;usr/share/perl5<br>
diff --git a/debian/libdjabberd-plugin-vcard-perl.install b/debian/libdjabberd-plugin-vcard-perl.install<br>
new file mode 100644<br>
index 0000000..6312891<br>
--- /dev/null<br>
+++ b/debian/libdjabberd-plugin-vcard-perl.install<br>
@@ -0,0 +1 @@<br>
+DJabberd-VCard/lib/* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;usr/share/perl5<br>
diff --git a/debian/rules b/debian/rules<br>
new file mode 100755<br>
index 0000000..8eafb67<br>
--- /dev/null<br>
+++ b/debian/rules<br>
@@ -0,0 +1,86 @@<br>
+#!/usr/bin/make -f<br>
+<br>
+# Uncomment this to turn on verbose mode.<br>
+#export DH_VERBOSE=1<br>
+<br>
+# # If set to a true value then MakeMaker&#39;s prompt function will<br>
+# # always return the default without waiting for user input.<br>
+# export PERL_MM_USE_DEFAULT=1<br>
+<br>
+ifndef PERL<br>
+PERL = /usr/bin/perl<br>
+endif<br>
+<br>
+TMP &nbsp; &nbsp; =$(CURDIR)/debian/tmp<br>
+<br>
+build: build-stamp<br>
+<br>
+build-stamp:<br>
+ &nbsp; &nbsp; &nbsp; dh_testdir<br>
+<br>
+# Add commands to compile the package here<br>
+ &nbsp; &nbsp; &nbsp; (cd DJabberd ; $(PERL) Makefile.PL verbose INSTALLDIRS=vendor )<br>
+ &nbsp; &nbsp; &nbsp; (cd DJabberd ; $(MAKE) )<br>
+<br>
+# &#39;make test&#39; does not currently work<br>
+# &nbsp; &nbsp; &nbsp;$(MAKE) test<br>
+<br>
+ &nbsp; &nbsp; &nbsp; touch build-stamp<br>
+<br>
+clean:<br>
+ &nbsp; &nbsp; &nbsp; dh_testdir<br>
+ &nbsp; &nbsp; &nbsp; dh_testroot<br>
+<br>
+# Add commands to clean up after the build process here<br>
+ &nbsp; &nbsp; &nbsp; -(cd DJabberd ; $(MAKE) distclean )<br>
+<br>
+ &nbsp; &nbsp; &nbsp; dh_clean build-stamp install-stamp<br>
+<br>
+install: build install-stamp<br>
+<br>
+install-stamp:<br>
+ &nbsp; &nbsp; &nbsp; dh_testdir<br>
+ &nbsp; &nbsp; &nbsp; dh_testroot<br>
+ &nbsp; &nbsp; &nbsp; dh_clean -k<br>
+<br>
+ &nbsp; &nbsp; &nbsp; dh_installdirs -A<br>
+<br>
+# Add commands to install the package into $(TMP) here<br>
+ &nbsp; &nbsp; &nbsp; (cd DJabberd ; $(MAKE) pure_install DESTDIR=$(TMP) PREFIX=/usr )<br>
+<br>
+ &nbsp; &nbsp; &nbsp; find $(TMP) -name .packlist -exec rm &#39;{}&#39; \;<br>
+ &nbsp; &nbsp; &nbsp; find $(TMP) -depth -type d -empty -exec rmdir &#39;{}&#39; \;<br>
+<br>
+# This copies all files into the correct directory for the<br>
+# package<br>
+ &nbsp; &nbsp; &nbsp; dh_install --fail-missing<br>
+<br>
+ &nbsp; &nbsp; &nbsp; touch install-stamp<br>
+<br>
+binary-arch:<br>
+# We have nothing to do for an architecture-independent package<br>
+<br>
+binary-indep: build install<br>
+ &nbsp; &nbsp; &nbsp; dh_testdir<br>
+ &nbsp; &nbsp; &nbsp; dh_testroot<br>
+# &nbsp; &nbsp; &nbsp;dh_installcron<br>
+# &nbsp; &nbsp; &nbsp;dh_installmenu<br>
+ &nbsp; &nbsp; &nbsp; dh_installexamples<br>
+ &nbsp; &nbsp; &nbsp; dh_installinit<br>
+# &nbsp; &nbsp; &nbsp;dh_installdocs doc/hacking/todo.txt<br>
+ &nbsp; &nbsp; &nbsp; dh_installchangelogs DJabberd/CHANGES<br>
+ &nbsp; &nbsp; &nbsp; dh_perl<br>
+ &nbsp; &nbsp; &nbsp; dh_link<br>
+ &nbsp; &nbsp; &nbsp; dh_strip<br>
+ &nbsp; &nbsp; &nbsp; dh_compress<br>
+ &nbsp; &nbsp; &nbsp; dh_fixperms<br>
+ &nbsp; &nbsp; &nbsp; dh_installdeb<br>
+ &nbsp; &nbsp; &nbsp; dh_gencontrol<br>
+ &nbsp; &nbsp; &nbsp; dh_md5sums<br>
+ &nbsp; &nbsp; &nbsp; dh_builddeb<br>
+<br>
+source diff:<br>
+ &nbsp; &nbsp; &nbsp; @echo &gt;&amp;2 &#39;source and diff are obsolete - use dpkg-source -b&#39;; false<br>
+<br>
+binary: binary-indep binary-arch<br>
+.PHONY: build clean binary-indep binary-arch binary<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>