Subversion Repositories libspf2

Compare Revisions

Regard whitespace Rev 64 → Rev 57

/tags/1.2.9-7/debian/copyright
File deleted
/tags/1.2.9-7/debian/spfquery.manpages
File deleted
/tags/1.2.9-7/debian/libspf2-2-dbg.postinst
File deleted
/tags/1.2.9-7/debian/spfquery.libspf2.1
File deleted
/tags/1.2.9-7/debian/README.Debian
File deleted
/tags/1.2.9-7/debian/control
File deleted
/tags/1.2.9-7/debian/libspf2-dev.install
File deleted
/tags/1.2.9-7/debian/compat
File deleted
/tags/1.2.9-7/debian/spfquery.install
File deleted
/tags/1.2.9-7/debian/changelog
File deleted
/tags/1.2.9-7/debian/patches/series
File deleted
/tags/1.2.9-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.9-7/debian/patches/private-glibc-functions.patch
===================================================================
--- 1.2.9-7/debian/patches/private-glibc-functions.patch (revision 64)
+++ 1.2.9-7/debian/patches/private-glibc-functions.patch (nonexistent)
@@ -1,41 +0,0 @@
-Author: Magnus Holmgren <holmgren@debian.org>
-Description: Avoid linking private glibc functions (specifically __ns_get16).
-
---- trunk~/configure.ac 2008-11-04 16:32:10.000000000 +0100
-+++ trunk/configure.ac 2008-11-15 15:35:38.000000000 +0100
-@@ -272,7 +272,8 @@
- AC_CHECK_FUNCS([gethostbyname inet_ntoa select strrchr strstr strtol])
-
- AC_REPLACE_FUNCS([getopt_long_only strncasecmp])
--AC_REPLACE_FUNCS([__ns_initparse __ns_name_uncompress __ns_get16 __ns_msg_getflag])
-+AC_REPLACE_FUNCS([__ns_initparse __ns_name_uncompress __ns_msg_getflag])
-+AC_LIBOBJ(__ns_get16)
-
- AC_CONFIG_FILES([Makefile
- Doxyfile
-diff -urNad trunk~/configure trunk/configure
---- trunk~/configure 2008-11-04 16:32:56.000000000 +0100
-+++ trunk/configure 2008-11-15 15:35:39.000000000 +0100
-@@ -25752,8 +25752,7 @@
-
-
-
--
--for ac_func in __ns_initparse __ns_name_uncompress __ns_get16 __ns_msg_getflag
-+for ac_func in __ns_initparse __ns_name_uncompress __ns_msg_getflag
- do
- as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- { echo "$as_me:$LINENO: checking for $ac_func" >&5
-@@ -25854,6 +25853,12 @@
- done
-
-
-+case " $LIBOBJS " in
-+ *" __ns_get16.$ac_objext "* ) ;;
-+ *) LIBOBJS="$LIBOBJS __ns_get16.$ac_objext"
-+ ;;
-+esac
-+
-
- ac_config_files="$ac_config_files Makefile Doxyfile src/Makefile src/include/Makefile src/libreplace/Makefile src/libspf2/Makefile src/spfquery/Makefile src/spftest/Makefile src/spfd/Makefile src/spf_example/Makefile"
-
/1.2.9-7/debian/patches/private-glibc-functions.patch
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: 1.2.9-7/debian/patches/ipv6-bugs.patch
===================================================================
--- 1.2.9-7/debian/patches/ipv6-bugs.patch (revision 64)
+++ 1.2.9-7/debian/patches/ipv6-bugs.patch (nonexistent)
@@ -1,56 +0,0 @@
-Author: Matthias Scheler <tron@netbsd.org> and others
-Description: Fix various IPv6-related typos, C&P bugs etc.
- These can crash applications using libspf2 or give the wrong result if
- an e-mail gets delivered via SMTP over IPv6 depending on the remote
- machine's IPv6 address.
-
---- 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-7/debian/libspf2-2.symbols
===================================================================
--- 1.2.9-7/debian/libspf2-2.symbols (revision 64)
+++ 1.2.9-7/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-7/debian/docs
===================================================================
--- 1.2.9-7/debian/docs (revision 64)
+++ 1.2.9-7/debian/docs (nonexistent)
@@ -1,2 +0,0 @@
-README
-TODO
Index: 1.2.9-7/debian/rules
===================================================================
--- 1.2.9-7/debian/rules (revision 64)
+++ 1.2.9-7/debian/rules (nonexistent)
@@ -1,77 +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
-
-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_autotools-dev_updateconfig
- ./configure --prefix=/usr $(buildflags)
-
-build: build-arch
-build-indep:
-build-arch: build-arch-stamp
-build-arch-stamp: config.status
- dh_testdir
-
- $(MAKE)
-
- touch "$@"
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-arch-stamp
-
- [ ! -f Makefile ] || $(MAKE) distclean
-
- dh_autotools-dev_restoreconfig
- dh_clean
-
-install: build-arch
- dh_testdir
- dh_testroot
- dh_prep
-
- $(MAKE) 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_compress -a
- dh_fixperms -a
- dh_makeshlibs -V '$(LIB_PACKAGE) (>= 1.2.9)'
- 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.9.tar.gz
-
-.PHONY: build build-indep build-arch clean clean-patched binary-indep binary-arch binary install get-orig-source
/1.2.9-7/debian/rules
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: 1.2.9-7/debian/libspf2.ver
===================================================================
--- 1.2.9-7/debian/libspf2.ver (revision 64)
+++ 1.2.9-7/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-7/debian/libspf2-dev.postinst
===================================================================
--- 1.2.9-7/debian/libspf2-dev.postinst (revision 64)
+++ 1.2.9-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.9-7/debian/spfquery.postinst
===================================================================
--- 1.2.9-7/debian/spfquery.postinst (revision 64)
+++ 1.2.9-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.9-7/debian/source/format
===================================================================
--- 1.2.9-7/debian/source/format (revision 64)
+++ 1.2.9-7/debian/source/format (nonexistent)
@@ -1 +0,0 @@
-3.0 (quilt)
Index: 1.2.9-7/debian/spfquery.prerm
===================================================================
--- 1.2.9-7/debian/spfquery.prerm (revision 64)
+++ 1.2.9-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.9-7/debian/libspf2-2.install
===================================================================
--- 1.2.9-7/debian/libspf2-2.install (revision 64)
+++ 1.2.9-7/debian/libspf2-2.install (nonexistent)
@@ -1 +0,0 @@
-usr/lib/lib*.so.*
Index: 1.2.9-7/debian/watch
===================================================================
--- 1.2.9-7/debian/watch (revision 64)
+++ 1.2.9-7/debian/watch (nonexistent)
@@ -1,3 +0,0 @@
-version=3
-
-opts=dversionmangle=s/\.dfsg$// http://www.libspf2.org/download.html spf/libspf2-(.+)\.tar\.gz
Index: 1.2.9-7/debian
===================================================================
--- 1.2.9-7/debian (revision 64)
+++ 1.2.9-7/debian (nonexistent)
/1.2.9-7/debian
Property changes:
Deleted: mergeWithUpstream
## -1 +0,0 ##
-1
\ No newline at end of property