Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2017 17:07:04 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432062 - head/mail/antivirus-milter/files
Message-ID:  <201701211707.v0LH74eO035123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sat Jan 21 17:07:04 2017
New Revision: 432062
URL: https://svnweb.freebsd.org/changeset/ports/432062

Log:
  - make portlint happier

Modified:
  head/mail/antivirus-milter/files/patch-Makefile
  head/mail/antivirus-milter/files/patch-antivirus.c

Modified: head/mail/antivirus-milter/files/patch-Makefile
==============================================================================
--- head/mail/antivirus-milter/files/patch-Makefile	Sat Jan 21 17:01:49 2017	(r432061)
+++ head/mail/antivirus-milter/files/patch-Makefile	Sat Jan 21 17:07:04 2017	(r432062)
@@ -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

Modified: head/mail/antivirus-milter/files/patch-antivirus.c
==============================================================================
--- head/mail/antivirus-milter/files/patch-antivirus.c	Sat Jan 21 17:01:49 2017	(r432061)
+++ head/mail/antivirus-milter/files/patch-antivirus.c	Sat Jan 21 17:07:04 2017	(r432062)
@@ -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;
      }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701211707.v0LH74eO035123>