Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2016 23:02:05 +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: r415818 - in head/lang: php55 php56 php70
Message-ID:  <201605242302.u4ON25AT071736@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue May 24 23:02:05 2016
New Revision: 415818
URL: https://svnweb.freebsd.org/changeset/ports/415818

Log:
  Simplify plist by using @sample

Modified:
  head/lang/php55/pkg-plist
  head/lang/php56/pkg-plist
  head/lang/php70/pkg-plist

Modified: head/lang/php55/pkg-plist
==============================================================================
--- head/lang/php55/pkg-plist	Tue May 24 23:01:14 2016	(r415817)
+++ head/lang/php55/pkg-plist	Tue May 24 23:02:05 2016	(r415818)
@@ -6,9 +6,7 @@ bin/phpize
 etc/php.conf
 etc/php.ini-development
 etc/php.ini-production
-%%FPM%%@unexec if cmp -s %D/etc/php-fpm.conf %D/etc/php-fpm.conf.default; then rm -f %D/etc/php-fpm.conf; fi
-%%FPM%%etc/php-fpm.conf.default
-%%FPM%%@exec cp -n %D/%F %B/php-fpm.conf
+%%FPM%%@sample etc/php-fpm.conf.default php-fpm.conf
 include/php/TSRM/TSRM.h
 include/php/TSRM/readdir.h
 include/php/TSRM/tsrm_config.h

Modified: head/lang/php56/pkg-plist
==============================================================================
--- head/lang/php56/pkg-plist	Tue May 24 23:01:14 2016	(r415817)
+++ head/lang/php56/pkg-plist	Tue May 24 23:02:05 2016	(r415818)
@@ -7,9 +7,7 @@ bin/phpize
 etc/php.conf
 etc/php.ini-development
 etc/php.ini-production
-%%FPM%%@unexec if cmp -s %D/etc/php-fpm.conf %D/etc/php-fpm.conf.default; then rm -f %D/etc/php-fpm.conf; fi
-%%FPM%%etc/php-fpm.conf.default
-%%FPM%%@exec cp -n %D/%F %B/php-fpm.conf
+%%FPM%%@sample etc/php-fpm.conf.default etc/php-fpm.conf
 include/php/TSRM/TSRM.h
 include/php/TSRM/readdir.h
 include/php/TSRM/tsrm_config.h

Modified: head/lang/php70/pkg-plist
==============================================================================
--- head/lang/php70/pkg-plist	Tue May 24 23:01:14 2016	(r415817)
+++ head/lang/php70/pkg-plist	Tue May 24 23:02:05 2016	(r415818)
@@ -7,12 +7,8 @@ bin/phpize
 etc/php.conf
 etc/php.ini-development
 etc/php.ini-production
-%%FPM%%@unexec if cmp -s %D/etc/php-fpm.conf %D/etc/php-fpm.conf.default; then rm -f %D/etc/php-fpm.conf; fi
-%%FPM%%etc/php-fpm.conf.default
-%%FPM%%@exec cp -n %D/%F %B/php-fpm.conf
-%%FPM%%@unexec if cmp -s %D/etc/php-fpm.d/www.conf %D/etc/php-fpm.d/www.conf.default; then rm -f %D/etc/php-fpm.d/www.conf; fi
-%%FPM%%etc/php-fpm.d/www.conf.default
-%%FPM%%@exec cp -n %D/%F %B/www.conf
+%%FPM%%@sample etc/php-fpm.conf.default etc/php-fpm.conf
+%%FPM%%@sample etc/php-fpm.d/www.conf.default etc/php-fpm.d/www.conf
 include/php/TSRM/TSRM.h
 include/php/TSRM/readdir.h
 include/php/TSRM/tsrm_config.h



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