Subversion Repositories libspf2

Compare Revisions

Regard whitespace Rev 79 → Rev 78

/tags/1.2.9-4+squeeze1/debian/spfquery.postinst
File deleted
/tags/1.2.9-4+squeeze1/debian/spfquery.prerm
File deleted
/tags/1.2.9-4+squeeze1/debian/libspf2-2.install
File deleted
/tags/1.2.9-4+squeeze1/debian/watch
File deleted
/tags/1.2.9-4+squeeze1/debian/copyright
File deleted
/tags/1.2.9-4+squeeze1/debian/spfquery.manpages
File deleted
/tags/1.2.9-4+squeeze1/debian/spfquery.libspf2.1
File deleted
/tags/1.2.9-4+squeeze1/debian/control
File deleted
/tags/1.2.9-4+squeeze1/debian/libspf2-dev.install
File deleted
/tags/1.2.9-4+squeeze1/debian/compat
File deleted
/tags/1.2.9-4+squeeze1/debian/spfquery.install
File deleted
/tags/1.2.9-4+squeeze1/debian/changelog
File deleted
/tags/1.2.9-4+squeeze1/debian/patches/01_private_glibc_functions.dpatch
File deleted
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: 1.2.9-4+squeeze1/debian/patches/ipv6_buffer_miscalculation.dpatch
===================================================================
--- 1.2.9-4+squeeze1/debian/patches/ipv6_buffer_miscalculation.dpatch (revision 79)
+++ 1.2.9-4+squeeze1/debian/patches/ipv6_buffer_miscalculation.dpatch (nonexistent)
@@ -1,59 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## ipv6_buffer_miscalculation.dpatch by Matthias Scheler <tron@netbsd.org> and others
-##
-## DP: Fix various IPv6-related typos, C&P bugs etc.
-## DP: These can crash applications using libspf2 or give the wrong result if
-## DP: an e-mail gets delivered via SMTP over IPv6 depending on the remote
-## DP: machine's IPv6 address.
-
-@DPATCH@
---- a/src/libspf2/spf_expand.c 2008-11-03 21:29:00.000000000 +0000
-+++ b/src/libspf2/spf_expand.c 2009-09-08 11:27:52.000000000 +0100
-@@ -245,7 +245,7 @@
- case PARM_CLIENT_IP: /* SMTP client IP */
- #ifdef COMPUTE
- if (compute_length) {
-- len = sizeof(ip6_buf);
-+ len = sizeof(ip6_rbuf);
- if (d->dv.url_encode)
- len *= 3;
- buflen += len;
---- a/src/libspf2/spf_interpret.c 2008-10-22 11:47:43.000000000 -0400
-+++ b/src/libspf2/spf_interpret.c 2009-09-08 00:42:25.000000000 -0400
-@@ -505,7 +505,7 @@
- char dst_ip6_buf[ INET6_ADDRSTRLEN ];
-
- struct in6_addr src_ipv6;
-- int cidr, mask;
-+ int cidr, cidr_save, mask;
- int i;
- int match;
-
-@@ -517,6 +517,7 @@
- cidr = SPF_i_mech_cidr(spf_request, mech);
- if ( cidr == 0 )
- cidr = 128;
-+ cidr_save = cidr;
-
- match = TRUE;
- for( i = 0; i < array_elem( ipv6.s6_addr ) && match; i++ )
-@@ -538,7 +539,7 @@
- INET_NTOP(AF_INET6, &ipv6.s6_addr,
- dst_ip6_buf, sizeof(dst_ip6_buf));
- SPF_debugf( "ip_match: %s == %s (/%d): %d",
-- src_ip6_buf, dst_ip6_buf, cidr, match );
-+ src_ip6_buf, dst_ip6_buf, cidr_save, match );
- }
-
- return match;
---- a/src/libspf2/spf_compile.c 2008-11-03 15:37:33.000000000 -0500
-+++ b/src/libspf2/spf_compile.c 2009-09-07 23:46:02.000000000 -0400
-@@ -778,7 +778,7 @@
- const char *end;
- const char *p;
-
-- char buf[ INET_ADDRSTRLEN ];
-+ char buf[ INET6_ADDRSTRLEN ];
- size_t len;
- int err;
-
Index: 1.2.9-4+squeeze1/debian/patches/20_spf_dns_include_std_headers.dpatch
===================================================================
--- 1.2.9-4+squeeze1/debian/patches/20_spf_dns_include_std_headers.dpatch (revision 79)
+++ 1.2.9-4+squeeze1/debian/patches/20_spf_dns_include_std_headers.dpatch (nonexistent)
@@ -1,67 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 20_spf_dns_include_std_headers.dpatch by Magnus Holmgren <magnus@kibibyte.se>
-##
-## 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 -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 @@
- *
- */
-
-+/* 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 )
--
--#define ns_t_invalid 0
--#define ns_t_a 1
--#define ns_t_ns 2
--#define ns_t_cname 5
--#define ns_t_ptr 12
--#define ns_t_mx 15
--#define ns_t_txt 16
--#define ns_t_aaaa 28
--/* #define ns_t_a6 38 */
--#define ns_t_any 255 /**< Wildcard match. */
--
--typedef int ns_type;
--#endif
--
- #if ! HAVE_DECL_NS_T_SPF
- #define ns_t_spf 99
- #endif
-
--#if ! HAVE_DECL_NS_T_INVALID
--#define ns_t_invalid 0
--#endif
--
--
--/*
-- * For those who don't have <netdb.h>
-- */
--
--#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*/
--#endif
- typedef int SPF_dns_stat_t;
-
- typedef struct SPF_dns_server_struct SPF_dns_server_t;
/1.2.9-4+squeeze1/debian/patches/20_spf_dns_include_std_headers.dpatch
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: 1.2.9-4+squeeze1/debian/patches/00list
===================================================================
--- 1.2.9-4+squeeze1/debian/patches/00list (revision 79)
+++ 1.2.9-4+squeeze1/debian/patches/00list (nonexistent)
@@ -1,3 +0,0 @@
-01_private_glibc_functions
-20_spf_dns_include_std_headers
-ipv6_buffer_miscalculation
Index: 1.2.9-4+squeeze1/debian/libspf2-2.symbols
===================================================================
--- 1.2.9-4+squeeze1/debian/libspf2-2.symbols (revision 79)
+++ 1.2.9-4+squeeze1/debian/libspf2-2.symbols (nonexistent)
@@ -1,116 +0,0 @@
-libspf2.so.2 libspf2-2 #MINVER#
- SPF_debug_handler@Base 0
- SPF_debug_stdio@Base 0
- SPF_debug_syslog@Base 0
- SPF_debugv@Base 0
- SPF_debugx2@Base 0
- SPF_debugx@Base 0
- SPF_dns_cache_new@Base 0
- SPF_dns_cache_set_ttl@Base 0
- SPF_dns_free@Base 0
- SPF_dns_get_client_dom@Base 0
- SPF_dns_lookup@Base 0
- SPF_dns_null_new@Base 0
- SPF_dns_resolv_new@Base 0
- SPF_dns_rlookup6@Base 0
- SPF_dns_rlookup@Base 0
- SPF_dns_rr_buf_realloc@Base 0
- SPF_dns_rr_dup@Base 0
- SPF_dns_rr_free@Base 0
- SPF_dns_rr_new@Base 0
- SPF_dns_rr_new_init@Base 0
- SPF_dns_rr_new_nxdomain@Base 0
- SPF_dns_set_conserve_cache@Base 0
- SPF_dns_test_new@Base 0
- SPF_dns_zone_add_str@Base 0
- SPF_dns_zone_new@Base 0
- SPF_error_code@Base 0
- SPF_error_errorp@Base 0
- SPF_error_handler@Base 0
- SPF_error_message@Base 0
- SPF_error_stdio@Base 0
- SPF_error_syslog@Base 0
- SPF_errorv@Base 0
- SPF_errorx2@Base 0
- SPF_errorx@Base 0
- SPF_get_lib_version@Base 0
- SPF_i_done@Base 0
- SPF_info_handler@Base 0
- SPF_info_stdio@Base 0
- SPF_info_syslog@Base 0
- SPF_infov@Base 0
- SPF_infox2@Base 0
- 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
- SPF_record_find_mod_value@Base 0
- SPF_record_free@Base 0
- SPF_record_interpret@Base 0
- SPF_record_new@Base 0
- SPF_record_print@Base 0
- SPF_record_stringify@Base 0
- SPF_request_free@Base 0
- SPF_request_get_client_dom@Base 0
- SPF_request_get_exp@Base 0
- SPF_request_get_rec_dom@Base 0
- SPF_request_is_loopback@Base 0
- SPF_request_new@Base 0
- SPF_request_query_fallback@Base 0
- SPF_request_query_mailfrom@Base 0
- SPF_request_query_rcptto@Base 0
- SPF_request_set_env_from@Base 0
- SPF_request_set_helo_dom@Base 0
- SPF_request_set_ipv4@Base 0
- SPF_request_set_ipv4_str@Base 0
- SPF_request_set_ipv6@Base 0
- SPF_request_set_ipv6_str@Base 0
- SPF_response_add_error@Base 0
- SPF_response_add_error_idx@Base 0
- SPF_response_add_error_ptr@Base 0
- SPF_response_add_warn@Base 0
- SPF_response_add_warn_idx@Base 0
- SPF_response_add_warn_ptr@Base 0
- SPF_response_combine@Base 0
- SPF_response_errcode@Base 0
- SPF_response_errors@Base 0
- SPF_response_free@Base 0
- SPF_response_get_explanation@Base 0
- SPF_response_get_header_comment@Base 0
- SPF_response_get_received_spf@Base 0
- SPF_response_get_received_spf_value@Base 0
- SPF_response_get_smtp_comment@Base 0
- SPF_response_message@Base 0
- SPF_response_messages@Base 0
- SPF_response_new@Base 0
- SPF_response_reason@Base 0
- SPF_response_result@Base 0
- SPF_response_warnings@Base 0
- SPF_sanitize@Base 0
- SPF_server_free@Base 0
- SPF_server_get_max_dns_mech@Base 0
- SPF_server_get_max_dns_mx@Base 0
- SPF_server_get_max_dns_ptr@Base 0
- SPF_server_get_record@Base 0
- SPF_server_new@Base 0
- SPF_server_new_dns@Base 1.2.8~
- SPF_server_set_explanation@Base 0
- SPF_server_set_localpolicy@Base 0
- SPF_server_set_max_dns_mech@Base 0
- SPF_server_set_max_dns_mx@Base 0
- SPF_server_set_max_dns_ptr@Base 0
- SPF_server_set_rec_dom@Base 0
- SPF_server_set_sanitize@Base 0
- SPF_strerror@Base 0
- SPF_strreason@Base 0
- SPF_strresult@Base 0
- SPF_strrrtype@Base 1.2.8~
- SPF_warning_handler@Base 0
- SPF_warning_stdio@Base 0
- SPF_warning_syslog@Base 0
- SPF_warningv@Base 0
- SPF_warningx2@Base 0
- SPF_warningx@Base 0
Index: 1.2.9-4+squeeze1/debian/libspf2-dev.README.Debian
===================================================================
--- 1.2.9-4+squeeze1/debian/libspf2-dev.README.Debian (revision 79)
+++ 1.2.9-4+squeeze1/debian/libspf2-dev.README.Debian (nonexistent)
@@ -1,11 +0,0 @@
-libspf2 for Debian
-------------------
-
-Information and more recent versions of libspf2 are available from
-
- http://www.libspf2.org/
-
-Current SPF specifications can be found at
-<http://www.openspf.org/Specifications>.
-
- -- Magnus Holmgren <holmgren@debian.org>, Mon, 14 Sep 2009 22:33:12 +0200
Index: 1.2.9-4+squeeze1/debian/rules
===================================================================
--- 1.2.9-4+squeeze1/debian/rules (revision 79)
+++ 1.2.9-4+squeeze1/debian/rules (nonexistent)
@@ -1,19 +0,0 @@
-#!/usr/bin/make -f
-
-SOURCE_PACKAGE = libspf2
-
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/dpatch.mk
-
-DEB_DH_MAKESHLIBS_ARGS_libspf2-2 = -V 'libspf2-2 (>= 1.2.9)'
-LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/libspf2.ver
-DEB_DH_INSTALL_SOURCEDIR = debian/tmp
-
-binary-install/spfquery::
-# Rename the `spfquery` tool for the alternatives system:
- mv debian/spfquery/usr/bin/spfquery debian/spfquery/usr/bin/spfquery.$(SOURCE_PACKAGE)
- mv debian/spfquery/usr/sbin/spfd debian/spfquery/usr/sbin/spfd.$(SOURCE_PACKAGE)
-
-get-orig-source:
- wget http://www.libspf2.org/spf/libspf2-1.2.9.tar.gz
/1.2.9-4+squeeze1/debian/rules
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: 1.2.9-4+squeeze1/debian/libspf2.ver
===================================================================
--- 1.2.9-4+squeeze1/debian/libspf2.ver (revision 79)
+++ 1.2.9-4+squeeze1/debian/libspf2.ver (nonexistent)
@@ -1,13 +0,0 @@
-{
-global:
- SPF_*;
- main;
- __libc_csu_*;
- _init;
- _fini;
- _IO_stdin_used;
- _DYNAMIC_LINKING;
- __RLD_MAP;
-local:
- *;
-};
Index: 1.2.9-4+squeeze1/debian/README.source
===================================================================
--- 1.2.9-4+squeeze1/debian/README.source (revision 79)
+++ 1.2.9-4+squeeze1/debian/README.source (nonexistent)
@@ -1,8 +0,0 @@
-This package uses dpatch to manage all modifications to the upstream
-source. Changes are stored in the source package as diffs in
-debian/patches and applied during the build. For basic usage
-information, see
-
- /usr/share/doc/dpatch/README.source.gz
-
-(after installing dpatch).
Index: 1.2.9-4+squeeze1/debian
===================================================================
--- 1.2.9-4+squeeze1/debian (revision 79)
+++ 1.2.9-4+squeeze1/debian (nonexistent)
/1.2.9-4+squeeze1/debian
Property changes:
Deleted: mergeWithUpstream
## -1 +0,0 ##
-1
\ No newline at end of property