From owner-freebsd-ports@FreeBSD.ORG Wed Aug 9 18:46:48 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFF7C16A4DE for ; Wed, 9 Aug 2006 18:46:47 +0000 (UTC) (envelope-from ssedov@mbsd.msk.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70F2243D45 for ; Wed, 9 Aug 2006 18:46:47 +0000 (GMT) (envelope-from ssedov@mbsd.msk.ru) Received: from [217.118.83.1] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1GAt4j-0007qH-DB for freebsd-ports@freebsd.org; Wed, 09 Aug 2006 22:46:46 +0400 Received: from localhost (localhost [127.0.0.1]) by fonon.realnet (Postfix) with ESMTP id 81DC512C62 for ; Wed, 9 Aug 2006 22:45:52 +0600 (YEKST) Date: Wed, 9 Aug 2006 22:45:51 +0600 From: Stanislav Sedov To: freebsd-ports@freebsd.org Message-ID: <20060809224551.0a31aab2@localhost> In-Reply-To: <20060807182106.GA35118@daemon.rulez.sk> References: <20060807182106.GA35118@daemon.rulez.sk> Organization: MBSD labs, Inc. X-Operating-System: FreeBSD X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_btsQrTw_4S6bviCSca_fjT4; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.6.0 Subject: Re: Hardened-PHP patch support for php port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 18:46:48 -0000 --Sig_btsQrTw_4S6bviCSca_fjT4 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On Mon, 7 Aug 2006 20:21:06 +0200 Daniel Gerzo mentioned: > Hello freebsd-ports, >=20 > I've been trying to add support for Hardened-php patch into our PHP > port (only php4 first, since that's what I'm running) and I ran into a > problem with autoconf, unfortunately I have no clue what's going on > there, therefore I'm asking if anybody on this list have some idea. > Here's the error message: >=20 > =3D=3D=3D> Found saved configuration for php4-4.4.3_1 > =3D=3D=3D> Extracting for php4-4.4.3_1 > =3D> MD5 Checksum OK for php-4.4.3.tar.bz2. > =3D> SHA256 Checksum OK for php-4.4.3.tar.bz2. > =3D> MD5 Checksum OK for hardening-patch-4.4.3-0.4.13.patch.gz. > =3D> SHA256 Checksum OK for hardening-patch-4.4.3-0.4.13.patch.gz. > =3D=3D=3D> Patching for php4-4.4.3_1 > =3D=3D=3D> Applying distribution patches for php4-4.4.3_1 > =3D=3D=3D> Applying FreeBSD patches for php4-4.4.3_1 > =3D=3D=3D> php4-4.4.3_1 depends on file: /usr/local/sbin/apxs - found > =3D=3D=3D> php4-4.4.3_1 depends on file: /usr/local/sbin/apxs - found > =3D=3D=3D> php4-4.4.3_1 depends on file: /usr/local/bin/autoconf259 - f= ound > =3D=3D=3D> Configuring for php4-4.4.3_1 > configure.in:150: warning: AC_PROG_LEX invoked multiple times > autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from... > configure.in:150: the top level > configure.in:622: error: possibly undefined macro: > PHP_AC_BROKEN_REALPATH > If this token and others are legitimate, please use > m4_pattern_allow. > See the Autoconf documentation. > *** Error code 1 >=20 > Stop in /usr/ports/lang/php4. > =20 > The patch for php4 I've produced is attached. >=20 > Please cc: me when replying, since I'm not subscribed to the list, > thank you for you help! >=20 Haven't tested it, but it seems that you need something like USE_AUTOTOOLS=3Daclocal:19 autoconf:259 in Makefile, since you patch updates configure.in and probably adds additional aclocal files/dirs. If that won't help try to grep out where PHP_AC_BROKEN_REALPATH=20 declared. --=20 Stanislav Sedov MBSD labs, Inc. =F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1 http://mbsd.msk.ru -------------------------------------------------------------------- If the facts don't fit the theory, change the facts. -- A. Einstein -------------------------------------------------------------------- PGP fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 --Sig_btsQrTw_4S6bviCSca_fjT4 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFE2hFAK/VZk+smlYERAg0PAJ9ufztjtvv/8siYE1QxS94AKqc8/wCffPZD 8qJyyPDWcYDnQ/W3L45GyMs= =WQ6B -----END PGP SIGNATURE----- --Sig_btsQrTw_4S6bviCSca_fjT4--