Date: Sun, 26 Jan 2014 20:39:58 -0800 From: Anton Afanasyev <aasoft@gmail.com> To: Michael Vorobyov <mic6090@gmail.com> Cc: ports@freebsd.org Subject: Re: devel/py-mercurialserver broken by last commit Message-ID: <CAEAhP2jTApoFPH%2B2SPPnx78_VkTDP2W3FziN4TKjVsOqRNP=SQ@mail.gmail.com> In-Reply-To: <CABs=6i1PDE8MHQrEGA4rS2W_GRqUYsx2Jx6gXXS4aabHupk3Ug@mail.gmail.com> References: <CABs=6i1PDE8MHQrEGA4rS2W_GRqUYsx2Jx6gXXS4aabHupk3Ug@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I've run into this problem too. Michael, while I haven't tried your patch yet, I'm curious to know why you added the extra line to post-install? I couldn't find any place where a similar one may have been removed, so just interested to know why it needed to be added. You may also want to submit a PR to have your patch noticed quicker: http://www.freebsd.org/support.html On Thu, Jan 2, 2014 at 7:29 AM, Michael Vorobyov <mic6090@gmail.com> wrote: > Good day and happy New Year ) > > The last commit into devel/py-mercurialserver (rev. 337698) broke it. > Buildlog tail: > === > changing mode of build/scripts-2.7/refresh-auth from 644 to 755 > ===> Staging for py27-mercurialserver-1.2.0 > ===> py27-mercurialserver-1.2.0 depends on executable: hg - found > ===> py27-mercurialserver-1.2.0 depends on file: /usr/local/bin/python2.7 > - found > ** Missing /usr/ports/devel/py-mercurialserver/files/pkg-message.in for > py27-mercurialserver-1.2.0. > *** [apply-slist] Error code 1 > > Stop in /usr/ports/devel/py-mercurialserver. > === > > I suggest next patch (tested in tinderbox): > --- Makefile.orig 2013-12-27 18:34:14.000000000 +0800 > +++ Makefile 2014-01-02 23:08:47.000000000 +0800 > @@ -24,10 +24,8 @@ > USERS= ${HGUSER} > GROUPS= ${HGGROUP} > > -SUB_FILES= pkg-message > SUB_LIST= PORTNAME=${PORTNAME} \ > HGUSER=${HGUSER} > -PKGMESSAGE= ${WRKDIR}/pkg-message > > USE_PYTHON= yes > USE_PYDISTUTILS=yes > @@ -41,6 +39,7 @@ > ${SED} -I .orig -e > "s#/etc/mercurial-server/#${PREFIX}/etc/${PORTNAME}/#" > ${WRKSRC}/src/init/dot-mercurial-server > > post-install: > + ${MKDIR} ${STAGEDIR}${PREFIX}/hg > ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/remote-hgrc.d > ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/keys/users > ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/keys/root > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEAhP2jTApoFPH%2B2SPPnx78_VkTDP2W3FziN4TKjVsOqRNP=SQ>