chiark / gitweb /
Add adns support in background resolver.
[mLib] / debian / control
index 0593f08b0dfc7ef54a0a7ffca4555b33a2ea4af0..e6a480f04ff0eea03e7c077053b44001cfecffd0 100644 (file)
@@ -2,17 +2,58 @@ Source: mlib
 Section: libs
 Priority: extra
 Maintainer: Mark Wooding <mdw@nsict.org>
-Build-Depends: debhelper (>= 4.0.2)
+Build-Depends: debhelper (>= 4.0.2), libadns1-dev
 Standards-Version: 3.1.1
 
 Package: mlib2
 Architecture: any
 Depends: ${shlibs:Depends}
+Conflicts: mlib2-adns
 Description: A library of miscellaneous stuff
+ The mLib library provides various handy utilities, including
+   * yet another options parser, like GNU getopt but more so;
+   * a suite for writing event-driven select-based servers;
+   * a simple exception-handling system, based on longjmp;
+   * dynamically resizing strings and arrays;
+   * a resizing hashtable;
+   * base64 and hex encoding and decoding; and
+   * a simple background DNS resolver.
+ This package provides the mLib run-time library.  It uses an
+ implementation of the background resolver forks and calls
+ gethostbyname, so it therefore (a) depends only on the standard
+ C library, and (b) is distributed under the terms of the GNU 
+ LGPL or GPL.
+
+Package: mlib2-adns
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: mlib2
+Description: A library of miscellaneous stuff
+ The mLib library provides various handy utilities, including
+   * yet another options parser, like GNU getopt but more so;
+   * a suite for writing event-driven select-based servers;
+   * a simple exception-handling system, based on longjmp;
+   * dynamically resizing strings and arrays;
+   * a resizing hashtable;
+   * base64 and hex encoding and decoding; and
+   * a simple background DNS resolver.
+ This package provides the mLib run-time library.  It uses an
+ implementation of the background resolver based on the GNU adns
+ resolver, and therefore (a) depends on the libadns1 package, and
+ (b) is distributed under the terms of the full GPL only.
 
 Package: mlib-dev
 Architecture: any
-Depends: mlib2 (= ${Source-Version}), libc6-dev
+Depends: mlib2 (= ${Source-Version}) | mlib2-adns (= ${Source-Version}),
+ libc6-dev
 Description: A library of miscellaneous stuff
+ The mLib library provides various handy utilities, including
+   * yet another options parser, like GNU getopt but more so;
+   * a suite for writing event-driven select-based servers;
+   * a simple exception-handling system, based on longjmp;
+   * dynamically resizing strings and arrays;
+   * a resizing hashtable;
+   * base64 and hex encoding and decoding; and
+   * a simple background DNS resolver.
  This package contains the header files and static libraries needed to
  compile programs which use mLib.