Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2019 14:55:56 +0200
From:      Tobias Kortkamp <tobik@freebsd.org>
To:        Mateusz Piotrowski <0mp@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r514890 - in head/www/quark: . files
Message-ID:  <20191020125556.GA22298@urd.tobik.me>
In-Reply-To: <201910201210.x9KCAqYa083092@repo.freebsd.org>
References:  <201910201210.x9KCAqYa083092@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 20, 2019 at 12:10:52PM +0000, Mateusz Piotrowski wrote:
> Author: 0mp
> Date: Sun Oct 20 12:10:52 2019
> New Revision: 514890
> URL: https://svnweb.freebsd.org/changeset/ports/514890
>=20
> Log:
>   Update to the latest commit
>  =20
>   - Point MASTER_SITES to FreeBSD's servers as we seem to have to host the
>     distfile on our own (I wasn't able to find a way to get a tarball from
>     upstream servers). Also, add a "regenerate-distfile" target to ease
>     the process of updating the distfile in the future.
>   - Update MAKE_ARGS: setting CC there is no longer needed.
>   - Remove config.mk patches: it is sufficient for the sake of the port to
>     just remove the include statement from the Makefile.
>  =20
>   Changelog:
>   https://git.suckless.org/quark/log.html
>  =20
>   Reported by:	BieHDC
>=20
> Deleted:
>   head/www/quark/files/
> Modified:
>   head/www/quark/Makefile
>   head/www/quark/distinfo
>=20
> Modified: head/www/quark/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/quark/Makefile	Sun Oct 20 11:38:29 2019	(r514889)
> +++ head/www/quark/Makefile	Sun Oct 20 12:10:52 2019	(r514890)
> @@ -1,11 +1,11 @@
>  # $FreeBSD$
> =20
>  PORTNAME=3D	quark
> -DISTVERSION=3D	g20180403
> +DISTVERSION=3D	g20190923
>  CATEGORIES=3D	www
> -MASTER_SITES=3D	https://git.suckless.org/quark/snapshot/
> +MASTER_SITES=3D	https://people.freebsd.org/~0mp/distfiles/

This should be LOCAL/0mp instead.  You will need to copy the distfile
into your ~/public_distfiles  and wait for a bit for that to work.

> +do-patch:
> +	${REINPLACE_CMD} -e '/^include config.mk$$/d' ${WRKSRC}/Makefile

There is no reason to overwrite the default do-patch here.  It will
just make putting new patches under files/ in the future harder and
breaks stuff like EXTRA_PATCH_TREE etc.  Please move this to
post-patch.

> +regenerate-distfile:
> +	${RM} -r -- ${PKGNAME}
> +	git clone -n https://git.suckless.org/quark ${PKGNAME}
> +	git -C ${PKGNAME} checkout ${COMMIT_HASH}
> +	${RM} -r -- ${PKGNAME}/.git
> +	${TAR} -czf ${PKGNAME}.tar.gz ${PKGNAME}

Try using git-archive(1) instead.

--J2SCkAp4GZ/dPZZf
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEElXvTEJc6ePgdQuobpPCftzzFH2EFAl2sWVdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk1
N0JEMzEwOTczQTc4RjgxRDQyRUExQkE0RjA5RkI3M0NDNTFGNjEACgkQpPCftzzF
H2GOfQgAnA0rhBcSDmGcauae0qk0+mEbjAF/a2BXyiwtSneRS8B0Eo6tNCo8seXk
7e4UB9AGNpMSbassY7V1OHQvzXJNv5YIcujK5MKXHNf/+Pq/vZ3yp+U01wgkOH2g
fGeIKgx7jCBti0ltMC3aK2bB0m0Z4ShpJWq4CdD5fp1FmLX3pKUS79qL9b7xdqHv
Bk+E7a1St/iE5v02V0mCcsvjJsZpj3vMS26+DwCtsgguGoO3TTg3FpE4POHprhPh
UfvxuYm2v15wmOpbaSN41CsXAwW1RmVABZHKL5msQK9fCeIcr+dZ9fSUtSHBB3X3
jWddG6l4jXjOXlB/vM7qjrDJgAfuAA==
=8yhp
-----END PGP SIGNATURE-----

--J2SCkAp4GZ/dPZZf--



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