Date: Wed, 9 Aug 2006 22:45:51 +0600 From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: freebsd-ports@freebsd.org Subject: Re: Hardened-PHP patch support for php port Message-ID: <20060809224551.0a31aab2@localhost> In-Reply-To: <20060807182106.GA35118@daemon.rulez.sk> References: <20060807182106.GA35118@daemon.rulez.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <danger@rulez.sk> 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. <ssedov@mbsd.msk.ru> =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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060809224551.0a31aab2>