NetBSD Problem Report #48083

From www@NetBSD.org  Thu Jul 25 10:02:15 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4B89D705C2
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 25 Jul 2013 10:02:15 +0000 (UTC)
Message-Id: <20130725100213.CE37270A63@mollari.NetBSD.org>
Date: Thu, 25 Jul 2013 10:02:13 +0000 (UTC)
From: szptvlfn@a-net.email.ne.jp
Reply-To: szptvlfn@a-net.email.ne.jp
To: gnats-bugs@NetBSD.org
Subject: devel/lua-gi Support to be able to get the file from github
X-Send-Pr-Version: www-1.0

>Number:         48083
>Category:       pkg
>Synopsis:       devel/lua-gi Support to be able to get the file from github
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    degroote
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 25 10:05:00 +0000 2013
>Closed-Date:    Fri Sep 06 07:48:32 +0000 2013
>Last-Modified:  Fri Sep 06 07:48:32 +0000 2013
>Originator:     Ryosuke Moro
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:
Index: pkgsrc/devel/lua-gi/Makefile
===================================================================
# diff -u Makefile.orig Makefile
--- Makefile.orig	2013-07-23 04:38:07.000000000 +0900
+++ Makefile	2013-07-25 18:28:03.000000000 +0900
@@ -1,11 +1,12 @@
 # $NetBSD: Makefile,v 1.1 2013/07/22 19:38:07 degroote Exp $
 #

+DISTNAME=	lgi-${VERSION}
 PKGNAME=	lua-gi-${VERSION}
 VERSION=	0.7.1
-DISTNAME=	${VERSION}
 CATEGORIES=		devel
-MASTER_SITES=	http://github.com/pavouk/lgi/archive/
+MASTER_SITES=	https://codeload.github.com/pavouk/lgi/tar.gz/${VERSION}
+FETCH_USING=	curl

 MAINTAINER=	pkgsrc-users@NetBSD.org
 HOMEPAGE=	https://github.com/pavouk/lgi
@@ -15,7 +16,7 @@
 USE_LANGUAGES+=	c
 USE_TOOLS+=	pkg-config gmake

-WRKSRC=		${WRKDIR}/lgi-${VERSION}
+WRKSRC=		${WRKDIR}/pavouk-lgi-1bbf1bc

 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/libffi/buildlink3.mk"

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->degroote
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 25 Jul 2013 10:10:12 +0000
Responsible-Changed-Why:
Over to importer.


From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/48083: devel/lua-gi Support to be able to get the file from
 github
Date: Thu, 25 Jul 2013 12:45:00 +0200

 I don't understand -- why is this an improvement?
  Thomas

From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48083: devel/lua-gi Support to be able to get the file
 from github
Date: Thu, 25 Jul 2013 20:00:05 +0900 (JST)

 I believe this package's Makefile should be patched by following.

 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/lua-gi/Makefile,v
 retrieving revision 1.1
 diff -u -r1.1 Makefile
 --- Makefile	22 Jul 2013 19:38:07 -0000	1.1
 +++ Makefile	25 Jul 2013 10:58:50 -0000
 @@ -1,17 +1,19 @@
  # $NetBSD: Makefile,v 1.1 2013/07/22 19:38:07 degroote Exp $
  #

 +DISTNAME=	lgi-${VERSION}
  PKGNAME=	lua-gi-${VERSION}
  VERSION=	0.7.1
 -DISTNAME=	${VERSION}
  CATEGORIES=		devel
 -MASTER_SITES=	http://github.com/pavouk/lgi/archive/
 +MASTER_SITES=	-https://codeload.github.com/pavouk/lgi/tar.gz/0.7.1

  MAINTAINER=	pkgsrc-users@NetBSD.org
  HOMEPAGE=	https://github.com/pavouk/lgi
  COMMENT=	Gobject-introspection based dynamic Lua binding
  LICENSE=	mit

 +FETCH_USING=	curl
 +
  USE_LANGUAGES+=	c
  USE_TOOLS+=	pkg-config gmake


 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/48083: devel/lua-gi Support to be able to get the file from
 github
Date: Thu, 25 Jul 2013 20:07:57 +0900

 >  I don't understand -- why is this an improvement?

 Currently, DISTNAME=0.7.1, so 0.7.1.tar.gz will be put in ${DISTDIR}.
 It is unwanted filename (at least, DIST_SUBDIR should be set).
 Provided filename from https download server is lgi.0.7.1.tar.gz,
 so it should be used instead.

 -- 
 OBATA Akio / obache@NetBSD.org

From: Arnaud Degroote <degroote@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: degroote@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
        szptvlfn@a-net.email.ne.jp
Subject: Re: pkg/48083: devel/lua-gi Support to be able to get the file from
 github
Date: Thu, 25 Jul 2013 13:47:38 +0200

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

 On 25/Jul - 11:10, OBATA Akio wrote:
 > The following reply was made to PR pkg/48083; it has been noted by GNATS.
 >=20
 > From: "OBATA Akio" <obache@netbsd.org>
 > To: gnats-bugs@netbsd.org
 > Cc:=20
 > Subject: Re: pkg/48083: devel/lua-gi Support to be able to get the file f=
 rom
 >  github
 > Date: Thu, 25 Jul 2013 20:07:57 +0900
 >=20
 >  >  I don't understand -- why is this an improvement?
 > =20
 >  Currently, DISTNAME=3D0.7.1, so 0.7.1.tar.gz will be put in ${DISTDIR}.
 >  It is unwanted filename (at least, DIST_SUBDIR should be set).
 >  Provided filename from https download server is lgi.0.7.1.tar.gz,
 >  so it should be used instead.

 Yes, you are right. We definitively need curl or wget to download the
 https:// archive. And I don't think about it in the first place but yes,
 0.7.1.tar.gz is not a good filename for ${DISTDIR}. I will merge your
 patch if no objection from Thomas.

 Best regards,

 --ZPt4rx8FFjLCG7dd
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: Digital signature

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)

 iQEcBAEBAgAGBQJR8RBaAAoJEAeVGKMo0YKe5/cH/iBIF0gCnnJABVMu8fMPVGxG
 gpPc2sskOf+/Nn/EPqtdVJXdGjiutng/rtUMfxgKDhKz/EB0n+zGcImf2pGDpcmA
 dCR09XM8rH1XVtxC4qyLOGaLMzZDmGc1Gkhs2pD72oRyhFmwq3dHN4rEs4pNNiJ0
 itTw7NRLDWl7jUftJ/50Lz4WR/n3SOKGP97CSesreUWNFqnIy9pfI/0PQLy2oiZE
 +/X7UMM+4UpOL4rDWKE1eomeFduxLg2QfxMC5IEuPu2h8K/RJastg8l93uI1faKj
 fr6gsrvoBOj4E2qb5gZ1wCT/F4+Y7adRp4KJrak0hsBTHEjesWnBJwKzMPqTl9s=
 =nXXa
 -----END PGP SIGNATURE-----

 --ZPt4rx8FFjLCG7dd--

From: Arnaud Degroote <arnaud.degroote@laas.fr>
To: gnats-bugs@netbsd.org
Cc: degroote@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
        szptvlfn@a-net.email.ne.jp
Subject: Re: pkg/48083: devel/lua-gi Support to be able to get the file from
 github
Date: Thu, 25 Jul 2013 14:00:46 +0000

 --i9LlY+UWpKt15+FH
 Content-Type: multipart/mixed; boundary="sdtB3X0nJg68CQEu"
 Content-Disposition: inline


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

 On 25/Jul - 11:50, Arnaud Degroote wrote:
 > The following reply was made to PR pkg/48083; it has been noted by GNATS.
 >=20
 > From: Arnaud Degroote <degroote@netbsd.org>
 > To: gnats-bugs@netbsd.org
 > Cc: degroote@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
 >         szptvlfn@a-net.email.ne.jp
 > Subject: Re: pkg/48083: devel/lua-gi Support to be able to get the file f=
 rom
 >  github
 > Date: Thu, 25 Jul 2013 13:47:38 +0200
 >=20
 >  --ZPt4rx8FFjLCG7dd
 >  Content-Type: text/plain; charset=3Dus-ascii
 >  Content-Disposition: inline
 >  Content-Transfer-Encoding: quoted-printable
 > =20
 >  On 25/Jul - 11:10, OBATA Akio wrote:
 >  > The following reply was made to PR pkg/48083; it has been noted by GNA=
 TS.
 >  >=3D20
 >  > From: "OBATA Akio" <obache@netbsd.org>
 >  > To: gnats-bugs@netbsd.org
 >  > Cc:=3D20
 >  > Subject: Re: pkg/48083: devel/lua-gi Support to be able to get the fil=
 e f=3D
 >  rom
 >  >  github
 >  > Date: Thu, 25 Jul 2013 20:07:57 +0900
 >  >=3D20
 >  >  >  I don't understand -- why is this an improvement?
 >  > =3D20
 >  >  Currently, DISTNAME=3D3D0.7.1, so 0.7.1.tar.gz will be put in ${DISTD=
 IR}.
 >  >  It is unwanted filename (at least, DIST_SUBDIR should be set).
 >  >  Provided filename from https download server is lgi.0.7.1.tar.gz,
 >  >  so it should be used instead.
 > =20
 >  Yes, you are right. We definitively need curl or wget to download the
 >  https:// archive. And I don't think about it in the first place but yes,
 >  0.7.1.tar.gz is not a good filename for ${DISTDIR}. I will merge your
 >  patch if no objection from Thomas.

 The attached patch should fix the two issues. Is it ok for everyone ?=20

 --sdtB3X0nJg68CQEu
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=patch_lua-gi
 Content-Transfer-Encoding: quoted-printable

 ? work
 Index: 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
 RCS file: /cvsroot/pkgsrc/devel/lua-gi/Makefile,v
 retrieving revision 1.1
 diff -u -r1.1 Makefile
 --- Makefile	22 Jul 2013 19:38:07 -0000	1.1
 +++ Makefile	25 Jul 2013 11:59:14 -0000
 @@ -1,11 +1,11 @@
  # $NetBSD: Makefile,v 1.1 2013/07/22 19:38:07 degroote Exp $
  #
 =20
 +DISTNAME=3D	lgi-${VERSION}
  PKGNAME=3D	lua-gi-${VERSION}
  VERSION=3D	0.7.1
 -DISTNAME=3D	${VERSION}
 -CATEGORIES=3D		devel
 -MASTER_SITES=3D	http://github.com/pavouk/lgi/archive/
 +CATEGORIES=3D	devel
 +MASTER_SITES=3D	-https://codeload.github.com/pavouk/lgi/tar.gz/${VERSION}
 =20
  MAINTAINER=3D	pkgsrc-users@NetBSD.org
  HOMEPAGE=3D	https://github.com/pavouk/lgi
 @@ -14,8 +14,7 @@
 =20
  USE_LANGUAGES+=3D	c
  USE_TOOLS+=3D	pkg-config gmake
 -
 -WRKSRC=3D		${WRKDIR}/lgi-${VERSION}
 +FETCH_USING=3D	curl
 =20
  .include "../../devel/glib2/buildlink3.mk"
  .include "../../devel/libffi/buildlink3.mk"
 Index: 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
 RCS file: /cvsroot/pkgsrc/devel/lua-gi/distinfo,v
 retrieving revision 1.1
 diff -u -r1.1 distinfo
 --- distinfo	22 Jul 2013 19:38:07 -0000	1.1
 +++ distinfo	25 Jul 2013 11:59:14 -0000
 @@ -1,6 +1,6 @@
  $NetBSD: distinfo,v 1.1 2013/07/22 19:38:07 degroote Exp $
 =20
 -SHA1 (0.7.1.tar.gz) =3D ae1268852b38507c9324e89aa3d950602b5ae8e1
 -RMD160 (0.7.1.tar.gz) =3D 87852dfbc6f3f9944df56324aadbaab6e3b2b802
 -Size (0.7.1.tar.gz) =3D 268327 bytes
 +SHA1 (lgi-0.7.1.tar.gz) =3D ae1268852b38507c9324e89aa3d950602b5ae8e1
 +RMD160 (lgi-0.7.1.tar.gz) =3D 87852dfbc6f3f9944df56324aadbaab6e3b2b802
 +Size (lgi-0.7.1.tar.gz) =3D 268327 bytes
  SHA1 (patch-Makefile) =3D ecba51fb9bc78c08e89bebfc981206a2587e63f4

 --sdtB3X0nJg68CQEu--

 --i9LlY+UWpKt15+FH
 Content-Type: application/pgp-signature

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.13 (NetBSD)

 iQEcBAEBAgAGBQJR8S+OAAoJEAeVGKMo0YKehWMH/in4ylNuuKULbrKCCWmWlUUM
 akuEb+AhXehXEoe8BDn6bVfpuF34OqUYTrzEV0gMqWuxj1Dx6q0R0i/omjCpU3/X
 rBRcWrnAXofJq57xbxM2QeBohaGuRFbNSbh6t6FAEHxMKQwt1cY+VwTgbPMD1RTi
 jORFQ4Jg5VDpZRpyJ4d0iDPd0c8mS4GXTjp4ejh0BzklAsUvH3ee9saWyovvU6WG
 j/LGxF/uY6vfiw+D3aPF0+Rkmy3lbX7n2zo58eonZdihfo8yN4YMW3ptsy2xTw6D
 PmR1+P3xGx3jNRE7Svd5EQoKOc68h4LEdgKaH49TxbW+nccc9JlgrRS3CKUsQJU=
 =6glq
 -----END PGP SIGNATURE-----

 --i9LlY+UWpKt15+FH--

State-Changed-From-To: open->feedback
State-Changed-By: degroote@NetBSD.org
State-Changed-When: Thu, 05 Sep 2013 12:18:10 +0000
State-Changed-Why:
A fix has been commited in pkgsrc, can you confirm it fixes your issue ?


From: Ryosuke Moro <szptvlfn@a-net.email.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48083 (devel/lua-gi Support to be able to get the file from
 github)
Date: Fri, 06 Sep 2013 08:08:49 +0900

 all right. : )

State-Changed-From-To: feedback->closed
State-Changed-By: degroote@NetBSD.org
State-Changed-When: Fri, 06 Sep 2013 07:48:32 +0000
State-Changed-Why:
Ryosuke Moro confirmed that the issue bas been solved


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.