Subversion Repositories libspf2

Compare Revisions

Ignore whitespace Rev 36 → Rev 37

/trunk/debian/changelog
1,3 → 1,16
libspf2 (1.2.9-1) unstable; urgency=high
 
* New upstream release.
- Drops non-dfsg Free IETF internet draft, so tarball no longer needs
repacking
+ Fixes exploitable buffer overflow (LP: #287534)
+ Multiple fixes for improved RFC 4408 compliance
+ Update libspf2-2.symbols for new symbol
+ 20_spf_dns_include_std_headers.dpatch: Updated.
* Thanks to Scott Kitterman.
 
-- Magnus Holmgren <holmgren@debian.org> Tue, 04 Nov 2008 21:14:31 +0100
 
libspf2 (1.2.8~dfsg-1) unstable; urgency=low
 
* Merge changes from Ubuntu.
/trunk/debian/libspf2-2.symbols
43,6 → 43,7
SPF_infox@Base 0
SPF_macro_free@Base 0
SPF_print_sizeof@Base 0
SPF_realloc@Base 1.2.9
SPF_record_compile@Base 0
SPF_record_compile_macro@Base 0
SPF_record_expand_data@Base 0
/trunk/debian/patches/20_spf_dns_include_std_headers.dpatch
4,25 → 4,27
## All lines beginning with `## DP:' are a description of the patch.
## DP: Include arpa/nameser.h and netdb.h from spf_dns.h instead of defining
## DP: the constants needed unless certain HAVE_ macros are defined.
## DP: Updated for libspf2 1.2.8/9 by Scott Kitterman <scott@kitterman.com>
 
@DPATCH@
 
diff -Nur libspf2-1.2.5.dfsg/src/include/spf_dns.h libspf2-1.2.5.dfsg.new/src/include/spf_dns.h
--- libspf2-1.2.5.dfsg/src/include/spf_dns.h 2004-08-29 16:59:33.000000000 +0200
+++ libspf2-1.2.5.dfsg.new/src/include/spf_dns.h 2007-03-23 18:04:17.000000000 +0100
@@ -61,48 +61,16 @@
diff -urNad libspf2-1.2.9~/src/include/spf_dns.h libspf2-1.2.9/src/include/spf_dns.h
--- libspf2-1.2.9~/src/include/spf_dns.h 2008-10-27 12:27:14.000000000 -0400
+++ libspf2-1.2.9/src/include/spf_dns.h 2008-11-04 10:10:58.000000000 -0500
@@ -63,48 +63,19 @@
*
*/
-
-/*
- * For those who don't have <arpa/nameserv.h>
+/* The following two header files might not exist on all platforms,
+ * but at least they exist on Debian with libc6.
*/
+ */
+#include <arpa/nameser.h>
+#include <netdb.h>
/*
- * For those who don't have <arpa/nameserv.h>
+ * Type 99 decl does not exist in Debian libc6 (not even 2.7)
*/
-
-/* XXX This should use a more sensible define. */
-#if !defined( HAVE_NS_TYPE )
-
35,7 → 37,7
-#define ns_t_txt 16
-#define ns_t_aaaa 28
-/* #define ns_t_a6 38 */
-#define ns_t_any 255 /* Wildcard match. */
-#define ns_t_any 255 /**< Wildcard match. */
-
-typedef int ns_type;
-#endif
55,10 → 57,10
-
-#if !defined(HAVE_NETDB_H) && !defined(_WIN32)
-#define NETDB_SUCCESS 0
-#define HOST_NOT_FOUND 1 /* NXDOMAIN (authoritative answer)*/
-#define TRY_AGAIN 2 /* SERVFAIL (no authoritative answer)*/
-#define NO_RECOVERY 3 /* invalid/unimplmeneted query */
-#define NO_DATA 4 /* host found, but no RR of req type*/
-#define HOST_NOT_FOUND 1 /**< NXDOMAIN (authoritative answer)*/
-#define TRY_AGAIN 2 /**< SERVFAIL (no authoritative answer)*/
-#define NO_RECOVERY 3 /**< invalid/unimplmeneted query */
-#define NO_DATA 4 /**< host found, but no RR of req type*/
-#endif
typedef int SPF_dns_stat_t;