From owner-svn-ports-all@FreeBSD.ORG Fri Oct 31 22:57:25 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 330B1EC1; Fri, 31 Oct 2014 22:57:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06A5CFC1; Fri, 31 Oct 2014 22:57:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9VMvOM9014220; Fri, 31 Oct 2014 22:57:24 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9VMvOeJ014218; Fri, 31 Oct 2014 22:57:24 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201410312257.s9VMvOeJ014218@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Fri, 31 Oct 2014 22:57:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371947 - head/mail/antivirus-milter X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 22:57:25 -0000 Author: bapt Date: Fri Oct 31 22:57:24 2014 New Revision: 371947 URL: https://svnweb.freebsd.org/changeset/ports/371947 QAT: https://qat.redports.org/buildarchive/r371947/ Log: Avoid @exec and keep track of directories Allow packaging as a user Bump portrevision as the plist was creating run/quarantine and the makefile was creating quarantine Modified: head/mail/antivirus-milter/Makefile head/mail/antivirus-milter/pkg-plist Modified: head/mail/antivirus-milter/Makefile ============================================================================== --- head/mail/antivirus-milter/Makefile Fri Oct 31 22:52:41 2014 (r371946) +++ head/mail/antivirus-milter/Makefile Fri Oct 31 22:57:24 2014 (r371947) @@ -2,7 +2,7 @@ PORTNAME= antivirus PORTVERSION= 3.30 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= dinoex @@ -49,7 +49,6 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/clamav.conf \ ${STAGEDIR}${PREFIX}/etc/antivirus.conf-clamav ${MKDIR} ${STAGEDIR}${ANTIVIRUS_DIR}/spool ${STAGEDIR}${ANTIVIRUS_DIR}/run ${STAGEDIR}${ANTIVIRUS_DIR}/quarantine - ${CHOWN} -R nobody:nobody ${STAGEDIR}${ANTIVIRUS_DIR}/ @${ECHO_MSG} "Add to your *.mc configfile:" @${ECHO_MSG} "INPUT_MAIL_FILTER(\`antivirus', \`S=local:${ANTIVIRUS_DIR}/antivirus.sock, F=')" Modified: head/mail/antivirus-milter/pkg-plist ============================================================================== --- head/mail/antivirus-milter/pkg-plist Fri Oct 31 22:52:41 2014 (r371946) +++ head/mail/antivirus-milter/pkg-plist Fri Oct 31 22:57:24 2014 (r371947) @@ -1,5 +1,6 @@ libexec/antivirus etc/antivirus.conf-dist etc/antivirus.conf-clamav -@exec mkdir -p %%ANTIVIRUS%%/spool %%ANTIVIRUS%%/run %%ANTIVIRUS%%/run/quarantine -@exec chown -R nobody:nobody %%ANTIVIRUS%%/ +@dir(nobody,nobody) %%ANTIVIRUS%%/spool +@dir(nobody,nobody) %%ANTIVIRUS%%/quarantine +@dir(nobody,nobody) %%ANTIVIRUS%%/run