aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2017-01-21 17:07:04 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2017-01-21 17:07:04 +0000
commit61896e4d46ff34f48ed6410e3ecf6c2c8d091d25 (patch)
tree4883d183f22c75b9c470e70b1c3b2a197598c4e2 /mail
parentb288a6c6e15cb57c91b38db12fe033564281cba0 (diff)
downloadports-61896e4d46ff34f48ed6410e3ecf6c2c8d091d25.tar.gz
ports-61896e4d46ff34f48ed6410e3ecf6c2c8d091d25.zip
- make portlint happier
Notes
Notes: svn path=/head/; revision=432062
Diffstat (limited to 'mail')
-rw-r--r--mail/antivirus-milter/files/patch-Makefile6
-rw-r--r--mail/antivirus-milter/files/patch-antivirus.c18
2 files changed, 12 insertions, 12 deletions
diff --git a/mail/antivirus-milter/files/patch-Makefile b/mail/antivirus-milter/files/patch-Makefile
index 3c54922e929e..0f1353aafbb4 100644
--- a/mail/antivirus-milter/files/patch-Makefile
+++ b/mail/antivirus-milter/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Fri Jun 27 19:55:26 2003
-+++ Makefile Fri Jan 2 14:21:02 2004
+--- Makefile.orig 2003-06-27 17:55:26 UTC
++++ Makefile
@@ -1,5 +1,5 @@
-SENDMAILBASE=/system/compile/sendmail-8.12.9
-SENDMAILOBJ=obj.Linux.2.2.19.i686
@@ -8,7 +8,7 @@
INCDIRS=\
-I$(SENDMAILBASE)/include/libmilter/ \
-@@ -10,8 +10,8 @@
+@@ -10,8 +10,8 @@ LIBDIRS=\
-L$(SENDMAILBASE)/$(SENDMAILOBJ)/libsm/
# Linux
diff --git a/mail/antivirus-milter/files/patch-antivirus.c b/mail/antivirus-milter/files/patch-antivirus.c
index 684830317a48..8975376919da 100644
--- a/mail/antivirus-milter/files/patch-antivirus.c
+++ b/mail/antivirus-milter/files/patch-antivirus.c
@@ -1,6 +1,6 @@
---- antivirus.c.orig Tue Jul 15 21:27:14 2003
-+++ antivirus.c Mon Jun 20 17:45:16 2005
-@@ -85,6 +85,8 @@
+--- antivirus.c.orig 2003-07-15 19:27:14 UTC
++++ antivirus.c
+@@ -85,6 +85,8 @@ static char *VIRUSACTION=NULL;
static char *FORMAT=NULL;
static sfsistat avfailcode=0;
static int purgevirus=0;
@@ -9,7 +9,7 @@
static char *avargs[]={NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL};
/*
-@@ -128,6 +130,12 @@
+@@ -128,6 +130,12 @@ static char *badext[]={".com",".scr",".v
#define FORMAT_SOPHOS ">>> Virus '%[^']s' found in file %*s"
/*
@@ -22,7 +22,7 @@
** this can be given on the command line
*/
static char *configfile=NULL;
-@@ -502,6 +510,7 @@
+@@ -502,6 +510,7 @@ sfsistat virusscan(SMFICTX *ctx, char *p
int retval;
int fd;
int i;
@@ -30,7 +30,7 @@
char *p=NULL;
char *av[]={NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL};
-@@ -552,13 +561,26 @@
+@@ -552,13 +561,26 @@ sfsistat virusscan(SMFICTX *ctx, char *p
(int)ctx, retval,priv->workdir);
}
@@ -58,7 +58,7 @@
{
if (viruses[0])
strncat(viruses," ",sizeof(viruses));
-@@ -572,10 +594,8 @@
+@@ -572,10 +594,8 @@ sfsistat virusscan(SMFICTX *ctx, char *p
if (viruses[0])
priv->viruses=strdup(viruses);
else
@@ -70,7 +70,7 @@
return(avfailcode);
}
return(SMFIS_REJECT);
-@@ -1211,6 +1231,7 @@
+@@ -1211,6 +1231,7 @@ int init(void)
if (AVFAILACTION==NULL) AVFAILACTION=CONF_AVFAILACTION;
if (VIRUSACTION==NULL) VIRUSACTION=CONF_VIRUSACTION;
@@ -78,7 +78,7 @@
if (strcasecmp(AVPRODUCT,"mcafee")==0)
{
FORMAT=FORMAT_MCAFEE;
-@@ -1225,10 +1246,17 @@
+@@ -1225,10 +1246,17 @@ int init(void)
{
FORMAT=FORMAT_FSAV;
}