freebsd-ports/mail/dkimproxy/files/extra-patch-scripts_dkimproxy.out
Mathieu Arnold b3f6f195f5 Fix random build failure.
Because scripts/dkimproxy.out is patched, its timestamp may be after the
one of scripts/dkimproxy_out.8, forcing a rebuild of the man page.

- The Makefile are generated with autotools, and need gmake
- Fix some syntax error in dkimproxy.out's pod section.

While there, regenerate patches.

Reported by:	pkg-fallout
Sponsored by:	Absolight
2016-11-08 12:44:09 +00:00

30 lines
1 KiB
Text

--- scripts/dkimproxy.out.orig 2016-11-08 12:35:41 UTC
+++ scripts/dkimproxy.out
@@ -314,17 +314,11 @@ sub process_request
{
my $self = shift;
- # try to determine peer's address
- use Socket;
- my $peersockaddr = getpeername(STDOUT);
- my ($port, $iaddr) = sockaddr_in($peersockaddr);
- $ENV{REMOTE_ADDR} = inet_ntoa($iaddr);
-
# initialize syslog
eval
{
openlog("dkimproxy.out", "perror,pid,ndelay", "mail");
- syslog("debug", '%s', "connect from $ENV{REMOTE_ADDR}");
+ syslog("debug", '%s', "connect from $self->{server}->{peeraddr}");
};
if (my $E = $@)
{
@@ -713,7 +707,7 @@ which have a sender matching one of thes
matched domain as the d= value of the generated signature.
Please note that the d= value of the generated signature can also be
-specified using signature options (see L</"SIGNATURE OPTIONS"). The
+specified using signature options (see L</"SIGNATURE OPTIONS">). The
signature options will override the value specified here.
Therefore, if you want to sign all messages, and you are specifying