Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2014 17:37:41 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367061 - head/www/vdradmin-am
Message-ID:  <201409021737.s82Hbftq059839@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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