From owner-svn-ports-all@FreeBSD.ORG Fri Oct 31 15:40:38 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 9194DB24; Fri, 31 Oct 2014 15:40:38 +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 637CB216; Fri, 31 Oct 2014 15:40:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9VFecLC090721; Fri, 31 Oct 2014 15:40:38 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9VFecR8090720; Fri, 31 Oct 2014 15:40:38 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201410311540.s9VFecR8090720@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 15:40:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371859 - head/security/suricata 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 15:40:38 -0000 Author: bapt Date: Fri Oct 31 15:40:37 2014 New Revision: 371859 URL: https://svnweb.freebsd.org/changeset/ports/371859 QAT: https://qat.redports.org/buildarchive/r371859/ Log: Simplify plist by using @sample and @dir Modified: head/security/suricata/pkg-plist Modified: head/security/suricata/pkg-plist ============================================================================== --- head/security/suricata/pkg-plist Fri Oct 31 15:40:27 2014 (r371858) +++ head/security/suricata/pkg-plist Fri Oct 31 15:40:37 2014 (r371859) @@ -28,17 +28,7 @@ bin/suricata %%DOCSDIR%%/Ubuntu_Installation.txt %%DOCSDIR%%/Ubuntu_Installation_from_GIT.txt %%DOCSDIR%%/Windows.txt -@unexec if cmp -s %D/etc/suricata/suricata.yaml-sample %D/etc/suricata/suricata.yaml; then rm -f %D/etc/suricata/suricata.yaml; fi -etc/suricata/suricata.yaml-sample -@exec if [ ! -f %D/etc/suricata/suricata.yaml ] ; then cp -p %D/%F %B/suricata.yaml; fi -@unexec if cmp -s %D/etc/suricata/classification.config-sample %D/etc/suricata/classification.config; then rm -f %D/etc/suricata/classification.config; fi -etc/suricata/classification.config-sample -@exec if [ ! -f %D/etc/suricata/classification.config ] ; then cp -p %D/%F %B/classification.config; fi -@unexec if cmp -s %D/etc/suricata/reference.config-sample %D/etc/suricata/reference.config; then rm -f %D/etc/suricata/reference.config; fi -etc/suricata/reference.config-sample -@exec if [ ! -f %D/etc/suricata/reference.config ] ; then cp -p %D/%F %B/reference.config; fi -@dirrmtry etc/suricata/rules -@exec mkdir -p %D/etc/suricata/rules -@dirrmtry etc/suricata -@unexec if [ -d %D/%%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/etc/suricata`` to remove any configuration files left."; fi -@dirrm %%DOCSDIR%% +@sample etc/suricata/suricata.yaml-sample +@sample etc/suricata/classification.config-sample +@sample etc/suricata/reference.config-sample +@dir etc/suricata/rules