Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2013 22:42:29 +0200
From:      Tijl Coosemans <tijl@coosemans.org>
To:        =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: redports.org No address record
Message-ID:  <516871B5.7060102@coosemans.org>
In-Reply-To: <CAGwOe2ZvAU2885Wg1nggubwpZ3c1EYGXt49H4fmBuwWh7L43eg@mail.gmail.com>
References:  <CAGwOe2ZeF-19Geam=JovJZytcp6LqaMg-KLrL7sLtwOw39CGnQ@mail.gmail.com> <CADLo838n8oQ33uGGrXQCigYmvyeANTOYoA6d5rMrgag1pzCfyw@mail.gmail.com> <CAGwOe2ZvAU2885Wg1nggubwpZ3c1EYGXt49H4fmBuwWh7L43eg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2FSARUOUWHICDGLJAVOCD
Content-Type: multipart/mixed;
 boundary="------------090307000904040502090404"

This is a multi-part message in MIME format.
--------------090307000904040502090404
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 2013-04-12 19:55, Fernando Apestegu=EDa wrote:
> On Fri, Apr 12, 2013 at 6:54 PM, Chris Rees <crees@freebsd.org> wrote:
>=20
>> On 12 April 2013 16:52, Fernando Apestegu=EDa
>> <fernando.apesteguia@gmail.com> wrote:
>>> Hi,
>>>
>>> I'm getting a "No address record" error[1] trying to build cad/openvs=
p in
>>> redports.
>>> It builds fine in my local machine and I can access the URL with the
>>> browser too.
>>>
>>> What am I missing?
>>>
>>> Thanks in advance.
>>>
>>> [1]
>>>
>> https://redports.org/~fernape/20130412153229-03742-113174/openvsp-2.2.=
3.log
>>
>> Network access is not allowed in any phase except the fetch phase.
>>
>=20
> I understand, but I'm only accessing the network in that phase via the
> do-fetch target, right?
>=20
>=20
>>
>> You need to add openvsp-2.2.3.tar.gz to DISTFILES-- are you using
>> USE_GITHUB?
>>
>=20
> I'm gonna need more help here :)
>=20
> The current version of the port (2.2.2) doesn't set DISTFILES. Is it
> necessary?
>=20
> Secondly, I didn't know of the existence of USE_GITHUB.
>=20
> I suppose I should do something like this:
>=20
> USE_GITHUB=3D       yes
> GH_ACCOUNT=3D     OpenVSP
> GH_PROJECT=3D       OpenVSP
> GH_TAG=3D                2.2.3
> GH_COMMIT=3D        fb52aa2
>=20
>  and set MASTER_SITES =3D ${GITHUB_CLOUD}
>=20
> is that correct?

Try the attached patch for 2.2.2.

--------------090307000904040502090404
Content-Type: text/plain; charset=ISO-8859-15;
 name="openvsp.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="openvsp.patch"

Index: cad/openvsp/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
--- cad/openvsp/Makefile	(revision 315789)
+++ cad/openvsp/Makefile	(working copy)
@@ -4,13 +4,11 @@
 PORTNAME=3D	openvsp
 PORTVERSION=3D	2.2.2
 CATEGORIES=3D	cad
-MASTER_SITES=3D	https://github.com/OpenVSP/OpenVSP/archive/
=20
 MAINTAINER=3D	fernando.apesteguia@gmail.com
 COMMENT=3D	Create a 3D model of an aircraft defined by engineering param=
eters
=20
 BUILD_DEPENDS=3D	${LOCALBASE}/lib/libopenNURBS.a:${PORTSDIR}/graphics/op=
ennurbs
-
 LIB_DEPENDS=3D	pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
 		jpeg:${PORTSDIR}/graphics/jpeg \
 		drm:${PORTSDIR}/graphics/libdrm \
@@ -20,8 +18,13 @@
 		fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
 		fltk:${PORTSDIR}/x11-toolkits/fltk \
 		xcb:${PORTSDIR}/x11/libxcb
-WRKSRC=3D		${WRKDIR}/OpenVSP-OpenVSP_${PORTVERSION}/src
=20
+USE_GITHUB=3D	yes
+GH_PROJECT=3D	OpenVSP
+GH_ACCOUNT=3D	${GH_PROJECT}
+GH_TAGNAME=3D	${GH_PROJECT}_${PORTVERSION}
+GH_COMMIT=3D	7595f55
+
 USES=3D		cmake
 USE_DOS2UNIX=3D	yes
 USE_ICONV=3D	yes
@@ -39,12 +42,6 @@
=20
 .include <bsd.port.options.mk>
=20
-do-fetch:
-	if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
-		${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
-			${MASTER_SITES}OpenVSP_${PORTVERSION}${EXTRACT_SUFX}; \
-	fi
-
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/vsp/vsp ${PREFIX}/bin
 .if ${PORT_OPTIONS:MEXAMPLES}
Index: cad/openvsp/distinfo
=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
--- cad/openvsp/distinfo	(revision 315789)
+++ cad/openvsp/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (openvsp-2.2.2.tar.gz) =3D 93dd8978b568eb5726a9392308029b7b9967ae=
1af8c4033e8e8cba05f5a46e9b
-SIZE (openvsp-2.2.2.tar.gz) =3D 2921036
+SHA256 (openvsp-2.2.2.tar.gz) =3D eefb5a113250fe8a89f580ae1e7030ad4f2d5c=
72c0c053daaaf7495fe10e3c5e
+SIZE (openvsp-2.2.2.tar.gz) =3D 2921143

--------------090307000904040502090404--

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iF4EAREIAAYFAlFocb0ACgkQfoCS2CCgtisOFAD/Xiu94WwBncqyGJcqst3pJMLD
xwAX8bxrwJ5aB/qOwgUA/30lzcbMJuLrWMuk90Fwp//CXNZaHfOsFiPYLJkI8Asa
=/tN0
-----END PGP SIGNATURE-----

------enig2FSARUOUWHICDGLJAVOCD--



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