git: 0f0109c551ad - main - lang/php81: Update version 8.1.7=>8.1.8

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 09 Jul 2022 02:41:40 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f0109c551ad0a25a952c92d3b0815c29a4f23cc

commit 0f0109c551ad0a25a952c92d3b0815c29a4f23cc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-07-09 02:38:59 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-07-09 02:41:15 +0000

    lang/php81: Update version 8.1.7=>8.1.8
    
    - Add STRIP_CMD for some binaries and libs [1]
    
    Reported by:    sunpoet [1]
    Relnotes: https://www.php.net/ChangeLog-8.php#8.1.8
    Sponsored by:   Bounce Experts
---
 lang/php81/Makefile | 9 +++++++--
 lang/php81/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/lang/php81/Makefile b/lang/php81/Makefile
index 428d5b1e5910..154a329a3bc0 100644
--- a/lang/php81/Makefile
+++ b/lang/php81/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	php81
-DISTVERSION=	8.1.7
+DISTVERSION=	8.1.8
 PORTREVISION?=	0
 CATEGORIES?=	lang devel www
 MASTER_SITES=	PHP/distributions
@@ -148,7 +148,12 @@ test: build
 	@(cd ${WRKSRC} && ${MAKE} test)
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \
+	@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/php-cgi
+	@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/phpdbg
+	@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/php
+	@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libphp.so
+	@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/sbin/php-fpm
+	@${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \
 		${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc
 .else
 do-install:
diff --git a/lang/php81/distinfo b/lang/php81/distinfo
index d78fe949298e..49ac85490dea 100644
--- a/lang/php81/distinfo
+++ b/lang/php81/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1654870588
-SHA256 (php-8.1.7.tar.xz) = f042322f1b5a9f7c2decb84b7086ef676896c2f7178739b9672afafa964ed0e5
-SIZE (php-8.1.7.tar.xz) = 11718520
+TIMESTAMP = 1657330177
+SHA256 (php-8.1.8.tar.xz) = 04c065515bc347bc68e0bb1ac7182669a98a731e4a17727e5731650ad3d8de4c
+SIZE (php-8.1.8.tar.xz) = 11722100