devel/py-mercurialserver broken by last commit

Michael Vorobyov mic6090 at gmail.com
Thu Jan 2 15:29:48 UTC 2014


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


More information about the freebsd-ports mailing list