Subversion Repositories libspf2

Compare Revisions

Ignore whitespace Rev 96 → Rev 95

/tags/1.2.10-7/debian/libspf2-2.install
File deleted
/tags/1.2.10-7/debian/watch
File deleted
/tags/1.2.10-7/debian/copyright
File deleted
/tags/1.2.10-7/debian/spfquery.manpages
File deleted
/tags/1.2.10-7/debian/libspf2-2-dbg.postinst
File deleted
/tags/1.2.10-7/debian/spfquery.libspf2.1
File deleted
/tags/1.2.10-7/debian/README.Debian
File deleted
/tags/1.2.10-7/debian/control
File deleted
/tags/1.2.10-7/debian/libspf2-dev.install
File deleted
/tags/1.2.10-7/debian/compat
File deleted
/tags/1.2.10-7/debian/spfquery.install
File deleted
/tags/1.2.10-7/debian/changelog
File deleted
/tags/1.2.10-7/debian/patches/spf_dns-include-std-headers.patch
File deleted
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: 1.2.10-7/debian/patches/gcc5-variadicmacros.patch
===================================================================
--- 1.2.10-7/debian/patches/gcc5-variadicmacros.patch (revision 96)
+++ 1.2.10-7/debian/patches/gcc5-variadicmacros.patch (nonexistent)
@@ -1,17 +0,0 @@
---- a/src/include/spf_log.h
-+++ b/src/include/spf_log.h
-@@ -63,10 +63,10 @@ void SPF_debugv( const char *file, int l
-
- #if defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L
-
--#define SPF_errorf(format, ... ) SPF_errorx( __FILE__, __LINE__, format, __VA_ARGS__ )
--#define SPF_warningf(format, ... ) SPF_warningx( __FILE__, __LINE__, format, __VA_ARGS__ )
--#define SPF_infof(format, ... ) SPF_infox( __FILE__, __LINE__, format, __VA_ARGS__ )
--#define SPF_debugf(format, ... ) SPF_debugx( __FILE__, __LINE__, format, __VA_ARGS__ )
-+#define SPF_errorf(format, ... ) SPF_errorx( __FILE__, __LINE__, format, ##__VA_ARGS__ )
-+#define SPF_warningf(format, ... ) SPF_warningx( __FILE__, __LINE__, format, ##__VA_ARGS__ )
-+#define SPF_infof(format, ... ) SPF_infox( __FILE__, __LINE__, format, ##__VA_ARGS__ )
-+#define SPF_debugf(format, ... ) SPF_debugx( __FILE__, __LINE__, format, ##__VA_ARGS__ )
-
- #elif defined( __GNUC__ )
-
Index: 1.2.10-7/debian/patches/abolish-spf-rrtype.patch
===================================================================
--- 1.2.10-7/debian/patches/abolish-spf-rrtype.patch (revision 96)
+++ 1.2.10-7/debian/patches/abolish-spf-rrtype.patch (nonexistent)
@@ -1,16 +0,0 @@
-Description: Stop trying to look up the dedicated SPF DNS RR type,
- which was abolished by RFC 7208. The rr_type variable and the all the
- "goto retry" commands could be deleted as well, but let's keep the
- patch minimal.
-
---- a/src/libspf2/spf_server.c 2012-01-28 09:24:47.000000000 +0100
-+++ b/src/libspf2/spf_server.c 2014-06-19 14:09:07.000000000 +0200
-@@ -346,7 +346,7 @@
- spf_response, spf_recordp);
-
- /* I am VERY, VERY sorry about the gotos. Shevek. */
-- rr_type = ns_t_spf;
-+ rr_type = ns_t_txt;
- retry:
- rr_txt = SPF_dns_lookup(resolver, domain, rr_type, TRUE);
-
Index: 1.2.10-7/debian/patches/error_results.patch
===================================================================
--- 1.2.10-7/debian/patches/error_results.patch (revision 96)
+++ 1.2.10-7/debian/patches/error_results.patch (nonexistent)
@@ -1,86 +0,0 @@
-From: Sebastian Schweizer <sebastian@schweizer.tel>
-Subject: Return header info also in case of missing or multiple SPF records.
-Bug: https://bugs.debian.org/806313
-Forwarded: https://github.com/shevek/libspf2/pull/9
-
-diff --git a/src/libspf2/spf_interpret.c b/src/libspf2/spf_interpret.c
-index a35b58c..5f15df4 100644
---- a/src/libspf2/spf_interpret.c
-+++ b/src/libspf2/spf_interpret.c
-@@ -104,7 +104,6 @@ SPF_i_set_smtp_comment(SPF_response_t *spf_response)
- case SPF_RESULT_FAIL:
- case SPF_RESULT_SOFTFAIL:
- case SPF_RESULT_NEUTRAL:
-- case SPF_RESULT_NONE:
-
- err = SPF_i_set_explanation(spf_response);
- if (err != SPF_E_SUCCESS)
-@@ -126,6 +125,7 @@ SPF_i_set_smtp_comment(SPF_response_t *spf_response)
- case SPF_RESULT_PASS:
- case SPF_RESULT_TEMPERROR:
- case SPF_RESULT_PERMERROR:
-+ case SPF_RESULT_NONE:
- default:
- break;
- }
-@@ -380,7 +380,7 @@ SPF_i_set_received_spf(SPF_response_t *spf_response)
- * This must be called with EITHER
- * spf_response->spf_record_exp != NULL
- * OR
-- * result in { SPF_RESULT_PASS SPF_RESULT_INVALID
-+ * result in { SPF_RESULT_NONE SPF_RESULT_PASS SPF_RESULT_INVALID
- * SPF_RESULT_TEMPERROR SPF_RESULT_PERMERROR }
- * or the library will abort when it tries to generate an explanation.
- */
-diff --git a/src/libspf2/spf_server.c b/src/libspf2/spf_server.c
-index d648b4e..66beb69 100644
---- a/src/libspf2/spf_server.c
-+++ b/src/libspf2/spf_server.c
-@@ -361,8 +361,9 @@ retry:
- }
- spf_response->result = SPF_RESULT_NONE;
- spf_response->reason = SPF_REASON_FAILURE;
-- return SPF_response_add_error(spf_response, SPF_E_NOT_SPF,
-- "Host '%s' not found.", domain);
-+ return SPF_i_done(spf_response, SPF_RESULT_NONE, SPF_REASON_FAILURE,
-+ SPF_response_add_error(spf_response, SPF_E_NOT_SPF,
-+ "Host '%s' not found.", domain));
- // break;
-
- case NO_DATA:
-@@ -375,8 +376,9 @@ retry:
- }
- spf_response->result = SPF_RESULT_NONE;
- spf_response->reason = SPF_REASON_FAILURE;
-- return SPF_response_add_error(spf_response, SPF_E_NOT_SPF,
-- "No DNS data for '%s'.", domain);
-+ return SPF_i_done(spf_response, SPF_RESULT_NONE, SPF_REASON_FAILURE,
-+ SPF_response_add_error(spf_response, SPF_E_NOT_SPF,
-+ "No DNS data for '%s'.", domain));
- // break;
-
- case TRY_AGAIN:
-@@ -453,17 +455,18 @@ retry:
- }
- spf_response->result = SPF_RESULT_NONE;
- spf_response->reason = SPF_REASON_FAILURE;
-- return SPF_response_add_error(spf_response, SPF_E_NOT_SPF,
-- "No SPF records for '%s'", domain);
-+ return SPF_i_done(spf_response, SPF_RESULT_NONE, SPF_REASON_FAILURE,
-+ SPF_response_add_error(spf_response, SPF_E_NOT_SPF,
-+ "No SPF records for '%s'", domain));
- }
- if (num_found > 1) {
- SPF_dns_rr_free(rr_txt);
- // rfc4408 requires permerror here.
-- /* XXX This could be refactored with SPF_i_done. */
- spf_response->result = SPF_RESULT_PERMERROR;
- spf_response->reason = SPF_REASON_FAILURE;
-- return SPF_response_add_error(spf_response, SPF_E_MULTIPLE_RECORDS,
-- "Multiple SPF records for '%s'", domain);
-+ return SPF_i_done(spf_response, SPF_RESULT_PERMERROR, SPF_REASON_FAILURE,
-+ SPF_response_add_error(spf_response, SPF_E_MULTIPLE_RECORDS,
-+ "Multiple SPF records for '%s'", domain));
- }
-
- /* try to compile the SPF record */
Index: 1.2.10-7/debian/patches/series
===================================================================
--- 1.2.10-7/debian/patches/series (revision 96)
+++ 1.2.10-7/debian/patches/series (nonexistent)
@@ -1,4 +0,0 @@
-spf_dns-include-std-headers.patch
-abolish-spf-rrtype.patch
-gcc5-variadicmacros.patch
-error_results.patch
Index: 1.2.10-7/debian/libspf2-2.symbols
===================================================================
--- 1.2.10-7/debian/libspf2-2.symbols (revision 96)
+++ 1.2.10-7/debian/libspf2-2.symbols (nonexistent)
@@ -1,113 +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_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_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.10-7/debian/docs
===================================================================
--- 1.2.10-7/debian/docs (revision 96)
+++ 1.2.10-7/debian/docs (nonexistent)
@@ -1,2 +0,0 @@
-README
-TODO
Index: 1.2.10-7/debian/rules
===================================================================
--- 1.2.10-7/debian/rules (revision 96)
+++ 1.2.10-7/debian/rules (nonexistent)
@@ -1,88 +0,0 @@
-#!/usr/bin/make -f
-
-SOURCE_PACKAGE = libspf2
-LIB_PACKAGE = libspf2-2
-
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
- buildflags := --build=$(DEB_BUILD_GNU_TYPE)
-else
- buildflags := --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
-endif
-
-CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
-CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
-LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
-perlld := $(shell perl -MConfig -e 'print $$Config{ld}')
-
-DEB_LDFLAGS_MAINT_APPEND = -Wl,--version-script=$(CURDIR)/debian/libspf2.ver
-buildflags += $(shell DEB_LDFLAGS_MAINT_APPEND="$(DEB_LDFLAGS_MAINT_APPEND)" \
- dpkg-buildflags --export=configure)
-
-config.status: configure
- dh_testdir
- # Add here commands to configure the package.
- dh_autoreconf
- ./configure --prefix=/usr $(buildflags)
-
-build: build-arch
-build-indep:
-build-arch: build-arch-stamp
-build-arch-stamp: config.status
- dh_testdir
-
- $(MAKE)
- cd perl && perl Makefile.PL INSTALLDIRS=vendor \
- OPTIMIZE="$(CPPFLAGS) $(CFLAGS)" LD="$(perlld) $(CFLAGS) $(LDFLAGS)"
- $(MAKE) -C perl LD_RUN_PATH=
-
- touch "$@"
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-arch-stamp
-
- [ ! -f Makefile ] || $(MAKE) distclean
- [ ! -f perl/Makefile ] || $(MAKE) -C perl realclean
-
- dh_autoreconf_clean
- dh_clean
-
-install: build-arch
- dh_testdir
- dh_testroot
- dh_prep
-
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
- $(MAKE) -C perl install DESTDIR=$(CURDIR)/debian/tmp
-
-binary-arch: install
- dh_testdir
- dh_testroot
- dh_install -a
-# 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)
- dh_installdocs -a --link-doc=$(LIB_PACKAGE)
- dh_installchangelogs -a
- dh_installman -a
- dh_strip -a --dbg-package=$(LIB_PACKAGE)-dbg
- dh_perl -a
- dh_compress -a
- dh_fixperms -a
- dh_makeshlibs -V '$(LIB_PACKAGE) (>= 1.2.8~)'
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-arch
-
-get-orig-source:
- wget http://www.libspf2.org/spf/libspf2-1.2.10.tar.gz
-
-.PHONY: build build-indep build-arch clean clean-patched binary-indep binary-arch binary install get-orig-source
/1.2.10-7/debian/rules
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: 1.2.10-7/debian/libspf2.ver
===================================================================
--- 1.2.10-7/debian/libspf2.ver (revision 96)
+++ 1.2.10-7/debian/libspf2.ver (nonexistent)
@@ -1,16 +0,0 @@
-{
-global:
- SPF_*;
- main;
- __libc_csu_*;
- _init;
- _fini;
- _IO_stdin_used;
- _DYNAMIC_LINKING;
- __RLD_MAP;
-local:
- SPF_recalloc;
- SPF_sanitize;
- SPF_print_sizeof;
- *;
-};
Index: 1.2.10-7/debian/libmail-spf-xs-perl.install
===================================================================
--- 1.2.10-7/debian/libmail-spf-xs-perl.install (revision 96)
+++ 1.2.10-7/debian/libmail-spf-xs-perl.install (nonexistent)
@@ -1,5 +0,0 @@
-#!/usr/bin/perl -w
-use Config;
-print <<"" =~ s!^/!!rgm;
-$Config{vendorarch}
-usr/share/man/man3/*.3pm
/1.2.10-7/debian/libmail-spf-xs-perl.install
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: 1.2.10-7/debian/libspf2-dev.postinst
===================================================================
--- 1.2.10-7/debian/libspf2-dev.postinst (revision 96)
+++ 1.2.10-7/debian/libspf2-dev.postinst (nonexistent)
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Replace documentation directory with symlink
-docdir="/usr/share/doc/libspf2-dev"
-if [ -d $docdir ] && [ ! -L $docdir ]; then
- if rmdir $docdir 2>/dev/null; then
- ln -sf libspf2-2 $docdir
- fi
-fi
-
-#DEBHELPER#
-
-exit 0
Index: 1.2.10-7/debian/spfquery.postinst
===================================================================
--- 1.2.10-7/debian/spfquery.postinst (revision 96)
+++ 1.2.10-7/debian/spfquery.postinst (nonexistent)
@@ -1,25 +0,0 @@
-#!/bin/sh -e
-
-mode=$1
-
-source_package=libspf2
-
-case "$mode" in
- configure )
- prev_version=$2
-
- update-alternatives --install /usr/bin/spfquery spfquery /usr/bin/spfquery.$source_package 25 \
- --slave /usr/share/man/man1/spfquery.1.gz spfquery.1.gz /usr/share/man/man1/spfquery.$source_package.1.gz
- update-alternatives --install /usr/sbin/spfd spfd /usr/sbin/spfd.$source_package 25
- ;;
-esac
-
-# Replace documentation directory with symlink
-docdir="/usr/share/doc/spfquery"
-if [ -d $docdir ] && [ ! -L $docdir ]; then
- if rmdir $docdir 2>/dev/null; then
- ln -sf libspf2-2 $docdir
- fi
-fi
-
-#DEBHELPER#
Index: 1.2.10-7/debian/source/format
===================================================================
--- 1.2.10-7/debian/source/format (revision 96)
+++ 1.2.10-7/debian/source/format (nonexistent)
@@ -1 +0,0 @@
-3.0 (quilt)
Index: 1.2.10-7/debian/spfquery.prerm
===================================================================
--- 1.2.10-7/debian/spfquery.prerm (revision 96)
+++ 1.2.10-7/debian/spfquery.prerm (nonexistent)
@@ -1,14 +0,0 @@
-#!/bin/sh -e
-
-mode=$1
-
-source_package=libspf2
-
-case "$mode" in
- remove )
- update-alternatives --remove spfquery /usr/bin/spfquery.$source_package
- update-alternatives --remove spfd /usr/sbin/spfd.$source_package
- ;;
-esac
-
-#DEBHELPER#
Index: 1.2.10-7/debian
===================================================================
--- 1.2.10-7/debian (revision 96)
+++ 1.2.10-7/debian (nonexistent)
/1.2.10-7/debian
Property changes:
Deleted: mergeWithUpstream
## -1 +0,0 ##
-1
\ No newline at end of property