From owner-svn-ports-head@FreeBSD.ORG Tue Sep 2 17:37:41 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C24915F6; Tue, 2 Sep 2014 17:37:41 +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 945071AE0; Tue, 2 Sep 2014 17:37:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s82HbfnQ059840; Tue, 2 Sep 2014 17:37:41 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s82Hbftq059839; Tue, 2 Sep 2014 17:37:41 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201409021737.s82Hbftq059839@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Tue, 2 Sep 2014 17:37:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367061 - head/www/vdradmin-am X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 17:37:41 -0000 Author: bapt Date: Tue Sep 2 17:37:41 2014 New Revision: 367061 URL: http://svnweb.freebsd.org/changeset/ports/367061 QAT: https://qat.redports.org/buildarchive/r367061/ Log: Use @sample Package empty directories Modified: head/www/vdradmin-am/pkg-plist Modified: head/www/vdradmin-am/pkg-plist ============================================================================== --- head/www/vdradmin-am/pkg-plist Tue Sep 2 17:32:55 2014 (r367060) +++ head/www/vdradmin-am/pkg-plist Tue Sep 2 17:37:41 2014 (r367061) @@ -1,9 +1,5 @@ bin/vdradmind -@exec /usr/bin/install -o %%VDR_USER%% -g %%VDR_GROUP%% -d %D/%%ETCDIR%% -@unexec if cmp -s %D/etc/vdradmin-am/vdradmind.conf.sample %D/etc/vdradmin-am/vdradmind.conf; then rm -f %D/etc/vdradmin-am/vdradmind.conf; fi -%%ETCDIR%%/vdradmind.conf.sample -@exec if [ ! -f %D/etc/vdradmin-am/vdradmind.conf ] ; then cp -p %D/%F %B/vdradmind.conf; chown %%VDR_USER%%:%%VDR_GROUP%% %B/vdradmind.conf; fi -@exec chown -R %%VDR_USER%%:%%VDR_GROUP%% %D/%%ETCDIR%% +@sample(%%VDR_USER%%,%%VDR_GROUP%%,) %%ETCDIR%%/vdradmind.conf.sample man/man8/vdradmind.8.gz share/vdradmin-am/lib/MIME/Base64.pm share/vdradmin-am/lib/Template/Plugin/Date.pm @@ -163,8 +159,7 @@ share/locale/fr/LC_MESSAGES/vdradmin.mo share/locale/it/LC_MESSAGES/vdradmin.mo share/locale/nl/LC_MESSAGES/vdradmin.mo share/locale/ru/LC_MESSAGES/vdradmin.mo -@exec /usr/bin/install -o %%VDR_USER%% -g %%VDR_GROUP%% -d /var/cache/vdradmin-am /var/log/vdradmin-am /var/run/vdradmin-am -@dirrmtry %%ETCDIR%% +@dirrmtry(%%VDR_USER%%,%%VDR_GROUP%%,) %%ETCDIR%% @dirrm share/vdradmin-am/lib/MIME @dirrm share/vdradmin-am/lib/File @dirrm share/vdradmin-am/lib/URI @@ -179,8 +174,6 @@ share/locale/ru/LC_MESSAGES/vdradmin.mo @dirrm share/vdradmin-am %%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib %%PORTDOCS%%@dirrm %%DOCSDIR%% -@cwd / -@dirrmtry var/cache/vdradmin-am -@dirrmtry var/log/vdradmin-am -@dirrmtry var/run/vdradmin-am -@cwd %%PREFIX%% +@dirrmtry(%%VDR_USER%%,%%VDR_GROUP%%,) /var/cache/vdradmin-am +@dirrmtry(%%VDR_USER%%,%%VDR_GROUP%%,) /var/log/vdradmin-am +@dirrmtry(%%VDR_USER%%,%%VDR_GROUP%%,) /var/run/vdradmin-am