From owner-svn-ports-head@freebsd.org Tue Aug 20 12:48:14 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 82D67D183A; Tue, 20 Aug 2019 12:48:14 +0000 (UTC) (envelope-from egypcio@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46CVvf2vdrz4KMq; Tue, 20 Aug 2019 12:48:14 +0000 (UTC) (envelope-from egypcio@freebsd.org) Received: from mail-yw1-f49.google.com (mail-yw1-f49.google.com [209.85.161.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: egypcio) by smtp.freebsd.org (Postfix) with ESMTPSA id 3696A18D00; Tue, 20 Aug 2019 12:48:14 +0000 (UTC) (envelope-from egypcio@freebsd.org) Received: by mail-yw1-f49.google.com with SMTP id f187so2323668ywa.5; Tue, 20 Aug 2019 05:48:14 -0700 (PDT) X-Gm-Message-State: APjAAAW+U/FcxXIDUKiu9wxN7v3TNehCe//S2TK/4s8hJniuv2o2mIqO AtVPR04opfWytjKB6JOtV5RuB802w4eZ6fsK57o= X-Google-Smtp-Source: APXvYqynRvGsJOSPA8TUi7e3NeVKUi2sq2luMfSX8e3LPnxsRfQLycdaOosY9OKkVTRMlQzk+pV9w+IENxx0fpOc0Kw= X-Received: by 2002:a81:4fd4:: with SMTP id d203mr19198470ywb.166.1566305293396; Tue, 20 Aug 2019 05:48:13 -0700 (PDT) MIME-Version: 1.0 References: <201908120815.x7C8F6n0075704@repo.freebsd.org> <20190812083721.GA27681@urd.tobik.me> In-Reply-To: <20190812083721.GA27681@urd.tobik.me> Reply-To: egypcio@freebsd.org From: =?UTF-8?Q?Vin=C3=ADcius_Zavam?= Date: Tue, 20 Aug 2019 12:48:02 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r508711 - in head/devel: . go-bindata-assetfs To: Tobias Kortkamp Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Aug 2019 12:48:14 -0000 Am Mo., 12. Aug. 2019 um 08:37 Uhr schrieb Tobias Kortkamp < tobik@freebsd.org>: > On Mon, Aug 12, 2019 at 08:15:06AM +0000, Vin=C3=ADcius Zavam wrote: > > Author: egypcio > > Date: Mon Aug 12 08:15:05 2019 > > New Revision: 508711 > > URL: https://svnweb.freebsd.org/changeset/ports/508711 > > > > Log: > > [NEW] devel/go-bindata-assetfs: serves embedded files with net/http > support > > > > go-bindata-assetfs serves embedded files from go-bindata with Go's > > net/http support, allowing packages to serve http static content. > > > > WWW: https://github.com/elazarl/go-bindata-assetfs > > > > This does not make proper use of USES=3Dgo. The custom targets are > not needed: > > 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 > --- Makefile (revision 508711) > +++ Makefile (working copy) > @@ -12,22 +12,14 @@ > RUN_DEPENDS=3D go-bindata>=3D0:devel/go-bindata > > USES=3D go > -USE_GITHUB=3D nodefault > +USE_GITHUB=3D yes > +GH_ACCOUNT=3D elazarl > +GH_TAGNAME=3D 38087fe > +GH_TUPLE=3D golang:net:ca1201d:golang_net/src/golang.org/x/net \ > + golang:sys:51ab0e2:golang_sys/src/golang.org/x/sys \ > > -GO_PKGNAME=3D github.com/elazarl/${PORTNAME}/${PORTNAME} > > -GH_TUPLE=3D elazarl:${PORTNAME}:38087fe:elazarl_gbd/ > github.com/elazarl/${PORTNAME} > \ > - golang:net:ca1201d:golang_net/golang.org/x/net \ > - golang:sys:51ab0e2:golang_sys/golang.org/x/sys \ > +GO_TARGET=3D ./${PORTNAME} > > PLIST_FILES=3D bin/${PORTNAME} > > -do-build: > - @cd ${WRKSRC} && \ > - ${RLN} ${WRKSRC} src && \ > - ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPATH=3D${WRKSRC} ${GO_CMD} \ > - build ${GO_BUILDFLAGS} -o bin/${PORTNAME} ${GO_PKGNAME} > - > -do-install: > - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} > ${STAGEDIR}${PREFIX}/bin > - > .include > 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 > --- distinfo (revision 508711) > +++ distinfo (working copy) > @@ -1,6 +1,6 @@ > -TIMESTAMP =3D 1565348812 > -SHA256 (elazarl-go-bindata-assetfs-38087fe_GH0.tar.gz) =3D > b08df214d8cc9e4004fc399414cbe18de80f666a38ad49d79c34f7378e2f13c8 > -SIZE (elazarl-go-bindata-assetfs-38087fe_GH0.tar.gz) =3D 3988 > +TIMESTAMP =3D 1565598186 > +SHA256 (elazarl-go-bindata-assetfs-g20180223-38087fe_GH0.tar.gz) =3D > b08df214d8cc9e4004fc399414cbe18de80f666a38ad49d79c34f7378e2f13c8 > +SIZE (elazarl-go-bindata-assetfs-g20180223-38087fe_GH0.tar.gz) =3D 3988 > SHA256 (golang-net-ca1201d_GH0.tar.gz) =3D > d70d188cea7e5c254eac97d3a63e6b959b18c159cb0393cd38e01277fe377eff > SIZE (golang-net-ca1201d_GH0.tar.gz) =3D 1099085 > SHA256 (golang-sys-51ab0e2_GH0.tar.gz) =3D > dc0fffb69ff5a4e83b3bf3d4817b8cacfa85f36ab93855030e3ce8937cc89b88 > thanks for sharing! I should have a look soon br,