Date: Wed, 30 Mar 2011 14:57:16 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: Oliver Fromme <olli@lurza.secnetix.de> Cc: dinoex@freebsd.org, freebsd-ports@freebsd.org, Peter Jeremy <peterjeremy@acm.org> Subject: Re: ports/graphics/netpbm out of date Message-ID: <AANLkTi=LAzbXFPdaK9ZspBHqBrRhdAT86mDdoTbO3%2Bxj@mail.gmail.com> In-Reply-To: <201103301840.p2UIeSsB031209@lurza.secnetix.de> References: <20110330054503.GA55298@server.vk2pj.dyndns.org> <201103301840.p2UIeSsB031209@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 30, 2011 at 1:40 PM, Oliver Fromme <olli@lurza.secnetix.de> wro= te: > The current "stable" version is 10.47 (.27), and the current > "advanced" version (this is not the development version!) is > 10.53 (.05). > > I think that it makes sense to update the netpbm port to the > "stable" version, and the netpbm-devel port to "advanced". > > However, the problem with that is that the netpbm folks don't > provide tarballs anymore. =A0You have to check out the stuff > from their SVN repository. =A0SourceForge provides a download > URL that automatically packages the current source tree of a > specified version (stable or advanced) and returns a .tar.gz > file. =A0But of course you get a different .tar.gz file when a > developer commits a patch, so this is not suitable as distfile > for a FreeBSD port. =A0I'm not sure how to resolve that problem. > Maybe upload a specific .tar.gz with a time stamp to a site > that can be used as master site. > You can download a specific .tar.gz specific revision. For stable branch 10.47.27: http://netpbm.svn.sourceforge.net/viewvc/netpbm/stable.tar.gz?view=3Dtar&pa= threv=3D1443 For advanced branch 10.54.0: http://netpbm.svn.sourceforge.net/viewvc/netpbm/advanced.tar.gz?view=3Dtar&= pathrev=3D1452 To get the revision for a specific version, look at the version.mk file, http://netpbm.svn.sourceforge.net/viewvc/netpbm/advanced/ Then to get a consistant name for the tar file, the netpbm{,-devel}, port could add the following as a post-fetch target: NETPBM_TRUNK=3Dstable .if defined(WITH_NETPBM_DEVEL) : NETPBM_TRUNK=3Dadvanced NETPBM_REV=3D1452 : .else : NETPBM_TRUNK=3Dstable NETPBM_REV=3D1443 : .endif post-fetch: if [ ! -f ${DISTDIR}/${PORTNAME}-${NETPBM_PORTVERSION}${EXTRACT_SUFX} ]= ; \ fetch -o ${DISTDIR}/${PORTNAME}-${NETPBM_PORTVERSION}${EXTRACT_SUFX} http://netpbm.svn.sourceforge.net/viewvc/netpbm/${NETPBM_TRUNK}.tar.gz?view= =3Dtar&pathrev=3D${NETPBM_REV} ; \ fi I choose a post-fetch, so that we could define a MASTER_SITE to host these tar files, and to allow the files to be fetched from FreeBSD mirrors, that way we wouldn't cause a load on the SF site. Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=LAzbXFPdaK9ZspBHqBrRhdAT86mDdoTbO3%2Bxj>