ports/160397: [patch] sysutils/createrepo -- missing dependencies + fix
Pietro Cerutti
gahr at FreeBSD.org
Fri Sep 2 15:10:09 UTC 2011
>Number: 160397
>Category: ports
>Synopsis: [patch] sysutils/createrepo -- missing dependencies + fix
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 02 15:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Pietro Cerutti
>Release:
>Organization:
The FreeBSD Project
>Environment:
>Description:
This adds a few missing dependencies to createrepo and fixes a wrong ${REINPLACE_CMD}.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/createrepo/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 19 Jul 2011 03:45:58 -0000 1.1
+++ Makefile 2 Sep 2011 12:15:59 -0000
@@ -13,7 +13,9 @@
COMMENT= Creates a common metadata repository
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/sqlitecachec.py:${PORTSDIR}/devel/py-yum-metadata-parser \
- ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
+ ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
+ ${PYTHON_SITELIBDIR}/rpm/__init__.py:${PORTSDIR}/archivers/rpm5 \
+ ${PYTHON_SITELIBDIR}/urlgrabber/__init__.py:${PORTSDIR}/www/py-urlgrabber
USE_PYTHON= yes
USE_GMAKE= yes
@@ -32,7 +34,7 @@
${WRKSRC}/bin/mergerepo \
${WRKSRC}/bin/modifyrepo \
${WRKSRC}/bin/createrepo
- ${REINPLACE_CMD} -e 's|#!/usr/bin/|#!${PYTHON_CMD}|' \
+ ${REINPLACE_CMD} -e 's|#!/usr/bin/python -t|#!${PYTHON_CMD}|' \
${WRKSRC}/genpkgmetadata.py \
${WRKSRC}/dmd.py \
${WRKSRC}/mergerepo.py \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list