Subversion Repositories libspf2

Compare Revisions

Regard whitespace Rev 14 → Rev 15

/trunk/debian/changelog
2,8 → 2,10
 
* Added 23_spfquery_ipv6.dpatch: Make spfquery accept IPv6 addresses
(Closes: #440147). Thanks to Matthias Cramer.
* 35_untabify_help.dpatch: Make --help output of utilities less ugly by
converting tabs to spaces.
 
-- Magnus Holmgren <magnus@kibibyte.se> Wed, 05 Sep 2007 13:44:42 +0200
-- Magnus Holmgren <magnus@kibibyte.se> Wed, 05 Sep 2007 15:39:22 +0200
 
libspf2 (1.2.5.dfsg-3) unstable; urgency=low
 
/trunk/debian/patches/35_untabify_help.dpatch
0,0 → 1,25
#!/bin/sh
## 35_untabify_help.dpatch by Magnus Holmgren <magnus@kibibyte.se>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Tidy up --help messages by converting tabs to four spaces (" ").
 
FILES_TO_PROCESS="src/spfquery/spfquery.c
src/spftest/spftest.c
src/spf_example/spf_example.c"
 
dpatch_patch() {
# Change line endings to LF in files with CRLF
perl -pi -e 's/("[^"]*?)\t/$1 / and redo;' $FILES_TO_PROCESS
}
 
dpatch_unpatch() {
# Change line endings back to CRLF in files that had it in the tarball
# Unfortunately there are exceptions ... have to watch out for changes
# in future upstream versions (or simply make backups instead).
perl -pi -e 's/("[^"]*?) /$1\t/ and redo;' $FILES_TO_PROCESS
}
 
DPATCH_LIB_NO_DEFAULT=1
 
. /usr/share/dpatch/dpatch.lib.sh
/trunk/debian/patches/00list
9,6 → 9,7
23_spfquery_ipv6
25_maxvals
30_spfd_check_unlink_failure
35_untabify_help
40_permanent_include_errors
41_none_not_neutral
42_empty_sender