Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 15:20:30 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364850 - in head/www: autoindex2 phpbb3
Message-ID:  <201408141520.s7EFKUSV049578@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Aug 14 15:20:29 2014
New Revision: 364850
URL: http://svnweb.freebsd.org/changeset/ports/364850
QAT: https://qat.redports.org/buildarchive/r364850/

Log:
  Use @sample keyword on two ports I thought couldn't use it
  
  Possible due to extreme sleep deprivation, I was confused about the
  limitations of the @sample keyword.  The two www ports I modified last
  night, phpbb3 and autoindex2, both could use @sample with config.php,
  so go back and clean up my own mess.  No revbump necessary as this is
  functionally equivalent to what is there now.

Modified:
  head/www/autoindex2/pkg-plist
  head/www/phpbb3/pkg-plist

Modified: head/www/autoindex2/pkg-plist
==============================================================================
--- head/www/autoindex2/pkg-plist	Thu Aug 14 15:00:54 2014	(r364849)
+++ head/www/autoindex2/pkg-plist	Thu Aug 14 15:20:29 2014	(r364850)
@@ -3,9 +3,7 @@
 @mode 644
 %%INSTALLDIR%%/.htpasswd.autoindex.sample
 @mode 664
-@unexec if cmp -s %D/%%INSTALLDIR%%/config.php.sample %D/%%INSTALLDIR%%/config.php; then rm -f %D/%%INSTALLDIR%%/config.php; fi
-%%INSTALLDIR%%/config.php.sample
-@exec if [ ! -f %D/%%INSTALLDIR%%/config.php ] ; then cp -p %D/%F %B/config.php; fi
+@sample %%INSTALLDIR%%/config.php.sample
 @mode
 %%INSTALLDIR%%/hidden_files
 %%INSTALLDIR%%/change_log.html

Modified: head/www/phpbb3/pkg-plist
==============================================================================
--- head/www/phpbb3/pkg-plist	Thu Aug 14 15:00:54 2014	(r364849)
+++ head/www/phpbb3/pkg-plist	Thu Aug 14 15:20:29 2014	(r364850)
@@ -131,9 +131,7 @@
 %%PHPBBDIR%%/cache/.htaccess
 %%PHPBBDIR%%/cache/index.htm
 %%PHPBBDIR%%/common.php
-@unexec if cmp -s %D/%%PHPBBDIR%%/config.php.sample %D/%%PHPBBDIR%%/config.php; then rm -f %D/%%PHPBBDIR%%/config.php; fi
-%%PHPBBDIR%%/config.php.sample
-@exec if [ ! -f %D/%%PHPBBDIR%%/config.php ] ; then cp -p %D/%F %B/config.php; fi
+@sample %%PHPBBDIR%%/config.php.sample
 %%PHPBBDIR%%/cron.php
 %%PHPBBDIR%%/docs/AUTHORS
 %%PHPBBDIR%%/docs/CHANGELOG.html



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