On Fri, 11 Mar 2016 11:31:51 -0800
Michael McConville <[email protected]> wrote:

> Frederic Cambus wrote:
> > Makefile has been tweaked to use MASTER_SITES instead of fetching
> > source using a Git tag.  
> 
> Are we sure we want this? What's the benefit? It seems simpler the way
> it was.
>

Got confused with this on a recent port also. sthen@ pointed out the
Makefile template.

/usr/ports/infrastructure/templates/Makefile.template
# For github: traditional tarballs in /releases/download are normally
# preferred if available; use them with DISTNAME/MASTER_SITES lines as
# normal. For projects using auto-generated tarballs, set GH_ACCOUNT,
# GH_PROJECT, and *one* of GH_TAGNAME or GH_COMMIT. For GH_COMMIT, also
# set DISTNAME. For GH_TAGNAME, set DISTNAME if the default is no good.
#

I assume it also applies here?

Regards,
Adam
 
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/www/logswan/Makefile,v
> > retrieving revision 1.7
> > diff -u -p -u -p -r1.7 Makefile
> > --- Makefile        1 Mar 2016 00:07:17 -0000       1.7
> > +++ Makefile        11 Mar 2016 18:24:43 -0000
> > @@ -2,21 +2,22 @@
> >  
> >  COMMENT =  fast web log analyzer using probabilistic data
> > structures 
> > -GH_ACCOUNT =       fcambus
> > -GH_PROJECT =       logswan
> > -GH_TAGNAME =       1.04
> > -REVISION = 1
> > +V =                1.05
> > +DISTNAME = logswan-$V
> >  
> >  CATEGORIES =       www
> >  
> > -HOMEPAGE = http://www.logswan.org
> > +HOMEPAGE = http://www.logswan.org/
> >  
> >  MAINTAINER =       Frederic Cambus <[email protected]>
> >  
> >  # BSD
> >  PERMIT_PACKAGE_CDROM =     Yes
> >  
> > +# uses pledge()
> >  WANTLIB =  c m jansson GeoIP
> > +
> > +MASTER_SITES =
> > https://github.com/fcambus/logswan/releases/download/$V/ 
> >  MODULES =  devel/cmake
> >  NO_TEST =  Yes
> > Index: distinfo
> > ===================================================================
> > RCS file: /cvs/ports/www/logswan/distinfo,v
> > retrieving revision 1.2
> > diff -u -p -u -p -r1.2 distinfo
> > --- distinfo        11 Jan 2016 08:31:27 -0000      1.2
> > +++ distinfo        11 Mar 2016 18:24:43 -0000
> > @@ -1,2 +1,2 @@
> > -SHA256 (logswan-1.04.tar.gz) =
> > REXYxsulzUc/l7YE6kI7Qdf2CXQlYM45KFL1T5y1bRs= -SIZE
> > (logswan-1.04.tar.gz) = 16913 +SHA256 (logswan-1.05.tar.gz) =
> > 3f9WnBZtuByRG+49yHNnMER9tdzqczNy4nfVUf0GnTQ= +SIZE
> > (logswan-1.05.tar.gz) = 17392 
> 

Reply via email to