Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 17:54:16 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        John Marino <marino@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r364819 - head/www/phpbb3
Message-ID:  <53EBEC98.3010202@FreeBSD.org>
In-Reply-To: <201408132245.s7DMjkso088331@svn.freebsd.org>
References:  <201408132245.s7DMjkso088331@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--N5rGeEDu0iCKbAgaJbOVtIKTmLxuQOaXX
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 8/13/2014 5:45 PM, John Marino wrote:
> Author: marino
> Date: Wed Aug 13 22:45:45 2014
> New Revision: 364819
> URL: http://svnweb.freebsd.org/changeset/ports/364819
> QAT: https://qat.redports.org/buildarchive/r364819/
>=20
> Log:
>   www/phpbb3: Replace @sample keyword
>  =20
>   The @sample keyword got used here but it didn't work because the
>   extension was php.sample instead of conf.sample.  Fix it with @unexec=

>   and @exec tricks.
>  =20
>   By the way, the previous commit to this port and the one that should
>   have provided this @sample fix is:
>  =20
>   PR:		191456
>=20
> Modified:
>   head/www/phpbb3/Makefile
>   head/www/phpbb3/pkg-plist
>=20
> Modified: head/www/phpbb3/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/www/phpbb3/Makefile	Wed Aug 13 22:40:26 2014	(r364818)
> +++ head/www/phpbb3/Makefile	Wed Aug 13 22:45:45 2014	(r364819)
> @@ -3,6 +3,7 @@
> =20
>  PORTNAME=3D	phpbb
>  PORTVERSION=3D	3.0.12
> +PORTREVISION=3D	1
>  CATEGORIES=3D	www
>  MASTER_SITES=3D	https://www.phpbb.com/files/release/
>  PKGNAMESUFFIX=3D	3
>=20
> Modified: head/www/phpbb3/pkg-plist
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/www/phpbb3/pkg-plist	Wed Aug 13 22:40:26 2014	(r364818)
> +++ head/www/phpbb3/pkg-plist	Wed Aug 13 22:45:45 2014	(r364819)
> @@ -131,7 +131,9 @@
>  %%PHPBBDIR%%/cache/.htaccess
>  %%PHPBBDIR%%/cache/index.htm
>  %%PHPBBDIR%%/common.php
> -@sample %%PHPBBDIR%%/config.php.sample
> +@unexec if cmp -s %D/%%PHPBBDIR%%/config.php.sample %D/%%PHPBBDIR%%/co=
nfig.php; then rm -f %D/%%PHPBBDIR%%/config.php; fi
> +%%PHPBBDIR%%/config.php.sample
> +@exec if [ ! -f %D/%%PHPBBDIR%%/config.php ] ; then cp -p %D/%F %B/con=
fig.php; fi
>  %%PHPBBDIR%%/cron.php
>  %%PHPBBDIR%%/docs/AUTHORS
>  %%PHPBBDIR%%/docs/CHANGELOG.html
>=20

This change is wrong. @sample does not require conf.sample, it only
requires .sample. It should be installing it as config.php.

/me goes to look

--=20
Regards,
Bryan Drewery


--N5rGeEDu0iCKbAgaJbOVtIKTmLxuQOaXX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJT6+yYAAoJEDXXcbtuRpfPrqcIANs+TIdOpwk5rfXVbTlGsL3V
VW6omXmq8JH6fVW5jZQChvbIJDiIDrDW22x9I5ZTLQ/xFUYfezbvQ66LGdImNVYU
d/q7lAMamtxG26ezTJuBED9mT6vGjupcd+69rJYYnoIYO+h6pdjft4iTadKgHHhH
VUIGj/WjgdAz/YCXac3/82LuRVOHClk6qorfgjBog+aR9H9stCWs6deXq8Tha1it
C6zeYDzL7LetU18LGIr9agB2pb2hFZQgPMdZlQEDOgvGRkaUfOCh+Guk2NHCWLEU
7T60sfg/FoEj6hHGDjCgJ135D+NKHAuKvpX3Fqt9sv03qXcepVRm2QKFnCErtYI=
=kO3M
-----END PGP SIGNATURE-----

--N5rGeEDu0iCKbAgaJbOVtIKTmLxuQOaXX--



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