From owner-freebsd-questions@freebsd.org Sat Dec 19 13:29:37 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69C5CA4B06C for ; Sat, 19 Dec 2015 13:29:37 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 436B71CF8 for ; Sat, 19 Dec 2015 13:29:37 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-pa0-x22e.google.com with SMTP id jx14so46104746pad.2 for ; Sat, 19 Dec 2015 05:29:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=2TCsNDodDGtd8dA+TF12BRODO+yOZigQprzdfyKhga8=; b=Z7PL3vI0CbYM8ktGN3wa2fScKhPIQ8/iGx8sEiz2542sLahK7ATcWKKjIB8lQWWNx9 ELrWQ/GaX0F592QHY8nRgMTPJPxMEcY5OqHooEDKkMK8XVjh7vMW8B5cpicoJnwHzwbx IeF22HZKfWVjIs3SnVbfNvyvY5eAP9E6w4onTkY+LUqMmDnpuWYmgc/jD6Hce6f1EAre hwajwMXGO0HHki51KIy7QIYqfhuJQFJQtml64PGwBGpSeUh03mr+fVIqTLeDZfvFx1n+ AuFLykKtSrq32S5Eiu6kCiWis+7TJFTSbBQ/EyNL/yAr8Wj5kdkcqHjlbH+gwP7Eg/oW Bg6Q== X-Received: by 10.66.190.66 with SMTP id go2mr13309476pac.114.1450531776580; Sat, 19 Dec 2015 05:29:36 -0800 (PST) Received: from SergeiMBP.local (c-24-16-122-177.hsd1.wa.comcast.net. [24.16.122.177]) by smtp.googlemail.com with ESMTPSA id yl1sm28523406pac.35.2015.12.19.05.29.35 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Dec 2015 05:29:36 -0800 (PST) To: FreeBSD Questions From: Sergei G Subject: How to setup a custom PHP package? Message-ID: <56755BBF.1090801@gmail.com> Date: Sat, 19 Dec 2015 05:29:35 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2015 13:29:37 -0000 Hi, I have discovered that one PHP app I am running in a jail needs PHP built with --enable-mbstring option. It appears that 10.2 is not compiled with that option. So, I need to build a custom PHP package and load it into a jail. How do I do that? I have never setup a custom package repository. I hope I can build just the PHP and may be PHP-FPM and nothing else in my custom repo. I'd like the rest of the packages to be loaded from standard repositories as usual. Thank you