From a00a0f0321195807d63c37ac3761becf1bf7d113 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Mar 11 2017 11:20:37 +0000 Subject: remove unused patches --- diff --git a/postgrey-1.28-group.patch b/postgrey-1.28-group.patch deleted file mode 100644 index d97947f..0000000 --- a/postgrey-1.28-group.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Naupr postgrey-1.28.orig/postgrey postgrey-1.28/postgrey ---- postgrey-1.28.orig/postgrey 2007-06-21 15:44:54.000000000 +0200 -+++ postgrey-1.28/postgrey 2007-06-22 16:17:31.000000000 +0200 -@@ -486,7 +486,7 @@ sub main() - port => [ $opt{inet} ? $opt{inet} : $opt{unix}."|unix" ], - proto => $opt{inet} ? 'tcp' : 'unix', - user => $opt{user} || 'postgrey', -- group => $opt{group} || 'nogroup', -+ group => $opt{group} || 'postgrey', - dbdir => $opt{dbdir} || $DEFAULT_DBDIR, - setsid => $opt{daemonize} ? 1 : undef, - pid_file => $opt{daemonize} ? $opt{pidfile} : undef, -@@ -663,7 +663,7 @@ B [I...] - -d, --daemonize run in the background - --pidfile=PATH put daemon pid into this file - --user=USER run as USER (default: postgrey) -- --group=GROUP run as group GROUP (default: nogroup) -+ --group=GROUP run as group GROUP (default: postgrey) - --dbdir=PATH put db files in PATH (default: /var/spool/postfix/postgrey) - --delay=N greylist for N seconds (default: 300) - --max-age=N delete entries older than N days since the last time diff --git a/postgrey-1.34-perl-5.18.patch b/postgrey-1.34-perl-5.18.patch deleted file mode 100644 index 13ec89c..0000000 --- a/postgrey-1.34-perl-5.18.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 9673b54064691a5b9c295ffea340d8a1f9ee1cb8 Mon Sep 17 00:00:00 2001 -From: Yasuhiro KIMURA -Date: Sat, 17 Aug 2013 22:05:27 +0900 -Subject: [PATCH] Make postgrey work with Perl 5.18 - ---- - postgrey | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/postgrey b/postgrey -index 7cb0352..37f69bd 100755 ---- a/postgrey -+++ b/postgrey -@@ -557,6 +557,16 @@ sub main() - if($opt{dbdir}) { - $opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1; - } -+ # untaint what is given on --pidfile. It is not security sensitive since -+ # it is provided by the admin -+ if($opt{pidfile}) { -+ $opt{pidfile} =~ /^(.*)$/; $opt{pidfile} = $1; -+ } -+ # untaint what is given on --inet. It is not security sensitive since -+ # it is provided by the admin -+ if($opt{inet}) { -+ $opt{inet} =~ /^(.*)$/; $opt{inet} = $1; -+ } - - # determine proper "logsock" for Sys::Syslog - my $syslog_logsock; --- -1.8.4.2 -