Date: Tue, 2 Sep 2014 20:20:12 +0200 From: Juergen Lock <nox@jelal.kn-bremen.de> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: svn-ports-head@FreeBSD.org, svn-ports-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: svn commit: r367061 - head/www/vdradmin-am Message-ID: <20140902182011.GA62884@enceladus10.kn-bremen.de> In-Reply-To: <201409021737.s82Hbftq059839@svn.freebsd.org> References: <201409021737.s82Hbftq059839@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 02, 2014 at 05:37:41PM +0000, Baptiste Daroussin wrote: > 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 > This does look like a nice benefit from the pkg_* removal. Thanx! :) Juergen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140902182011.GA62884>