From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 4 18:00:38 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C131416A4CE for ; Sun, 4 Jul 2004 18:00:38 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B550A43D48 for ; Sun, 4 Jul 2004 18:00:38 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i64I0cC0092469 for ; Sun, 4 Jul 2004 18:00:38 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i64I0ce3092466; Sun, 4 Jul 2004 18:00:38 GMT (envelope-from gnats) Resent-Date: Sun, 4 Jul 2004 18:00:38 GMT Resent-Message-Id: <200407041800.i64I0ce3092466@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Radim Kolar Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7341516A4CE for ; Sun, 4 Jul 2004 17:59:28 +0000 (GMT) Received: from mail.tiscali.cz (stateless3.tiscali.cz [213.235.135.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA90243D41 for ; Sun, 4 Jul 2004 17:59:27 +0000 (GMT) (envelope-from hsn@netmag.cz) Received: from sanatana.dharma (213.235.69.168) by mail.tiscali.cz (6.7.021) id 40AE2ED301046B33 for FreeBSD-gnats-submit@freebsd.org; Sun, 4 Jul 2004 19:59:27 +0200 Received: from hsn@localhost by sanatana.dharma (Exim 4.34_0 FreeBSD) id 1BhBEf-0009SN-Pu for ; Sun, 04 Jul 2004 19:57:05 +0200 Message-Id: Date: Sun, 04 Jul 2004 19:57:05 +0200 From: Radim Kolar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68664: [PATCH] sysutils/portindex: update to 12 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 18:00:38 -0000 >Number: 68664 >Category: ports >Synopsis: [PATCH] sysutils/portindex: update to 12 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 04 18:00:38 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Radim Kolar >Release: FreeBSD 5.2.1-RELEASE-p6 i386 >Organization: Sanatana Dharma >Environment: System: FreeBSD sanatana.dharma 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #7: Mon May 10 17:15:51 CEST 2004 >Description: - Update to 12 added rule bsd.port.pre.mk depends on bsd.port.mk use real describe file path when generating readme.html added freebsd port of debian package history tracker, you can optionally install it minorupdates can be optionaly installed >How-To-Repeat: >Fix: --- portindex-12.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/Makefile /home/hsn/myports/portindex/Makefile --- /usr/ports/sysutils/portindex/Makefile Sat Jul 3 00:43:20 2004 +++ /home/hsn/myports/portindex/Makefile Sun Jul 4 19:52:07 2004 @@ -6,7 +6,7 @@ # PORTNAME= portindex -PORTVERSION= 11 +PORTVERSION= 12 CATEGORIES= sysutils MASTER_SITES= http://home.tiscali.cz:8080/~cz210552/distfiles/ DISTNAME= bsdportsutils-${PORTVERSION} @@ -19,29 +19,70 @@ USE_REINPLACE= yes PORTDOCS= *.TXT -PLIST_FILES= bin/portreadmes bin/portindex PLIST_DIRS= share/${PORTNAME} -SOURCES= bsdpkg freebsdports indexer minorupdates updateall updatereadmes +PORTINDEX= bsdpkg freebsdports indexer updatereadmes +MINORUPDATES= minorupdates +MISCTOOLS= updateall +PKGHISTORY= loadindex query updinst + +SOURCES= ${PORTINDEX} +EXECUTABLES= portindex portreadmes + +OPTIONS= MINOR "Install minorupdates program" off \ + MISCTOOLS "Install misc. tools" off \ + PKGHISTORY "Install pkghistory package" off + +.include + +.ifdef WITH_MINOR +RUN_DEPENDS+= ${LOCALBASE}/sbin/portversion:${PORTSDIR}/sysutils/portupgrade +SOURCES+= ${MINORUPDATES} +EXECUTABLES+= ${MINORUPDATES} +.endif + +.ifdef WITH_MISCTOOLS +SOURCES+= ${MISCTOOLS} +EXECUTABLES+= ${MISCTOOLS} +.endif + +.ifdef WITH_PKGHISTORY +SOURCES+= ${PKGHISTORY} +EXECUTABLES+= ${PKGHISTORY} +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pg.py:${PORTSDIR}/databases/py-PyGreSQL +PLIST_FILES+= share/${PORTNAME}/create.sql +.endif .for i in ${SOURCES} PLIST_FILES+= share/${PORTNAME}/${i}.py PLIST_FILES+= share/${PORTNAME}/${i}.pyc .endfor +.for i in ${EXECUTABLES} +PLIST_FILES+= bin/${i} +.endfor + do-build: ${REINPLACE_CMD} -e "s,ports.pck,/var/db/portindex.pck," ${WRKSRC}/freebsdports.py - ${SED} -e "s,%%DATADIR%%,${DATADIR}," ${FILESDIR}/portindex.sh > ${WRKSRC}/portindex - ${SED} -e "s,%%DATADIR%%,${DATADIR}," ${FILESDIR}/portreadmes.sh > ${WRKSRC}/portreadmes +.for i in ${EXECUTABLES} + ${SED} -e "s,%%DATADIR%%,${DATADIR}," ${FILESDIR}/${i}.sh > ${WRKSRC}/${i} +.endfor do-install: ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.py ${DATADIR} +.for i in ${SOURCES} + ${INSTALL_DATA} ${WRKSRC}/${i}.py ${DATADIR} +.endfor ${PYTHON_CMD} -c "import compileall;compileall.compile_dir('${DATADIR}')" - ${INSTALL_SCRIPT} ${WRKSRC}/portindex ${WRKSRC}/portreadmes ${PREFIX}/bin +.for i in ${EXECUTABLES} + ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin +.endfor +.ifdef WITH_PKGHISTORY + ${INSTALL_DATA} ${WRKSRC}/create.sql ${DATADIR} +.endif .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.TXT ${DOCSDIR} .endif -.include +.include diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/distinfo /home/hsn/myports/portindex/distinfo --- /usr/ports/sysutils/portindex/distinfo Fri Jul 2 22:16:56 2004 +++ /home/hsn/myports/portindex/distinfo Sun Jul 4 19:44:05 2004 @@ -1,2 +1,2 @@ -MD5 (bsdportsutils-11.tar.gz) = 22545b9a88c04120562a36aa6e60faa5 -SIZE (bsdportsutils-11.tar.gz) = 8320 +MD5 (bsdportsutils-12.tar.gz) = d675196215b308d7dadb3535689173cd +SIZE (bsdportsutils-12.tar.gz) = 13405 diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/loadindex.sh /home/hsn/myports/portindex/files/loadindex.sh --- /usr/ports/sysutils/portindex/files/loadindex.sh Thu Jan 1 01:00:00 1970 +++ /home/hsn/myports/portindex/files/loadindex.sh Sun Jul 4 17:57:48 2004 @@ -0,0 +1,2 @@ +#! /bin/sh +exec /usr/bin/env python %%DATADIR%%/loadindex.py $* diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/minorupdates.sh /home/hsn/myports/portindex/files/minorupdates.sh --- /usr/ports/sysutils/portindex/files/minorupdates.sh Thu Jan 1 01:00:00 1970 +++ /home/hsn/myports/portindex/files/minorupdates.sh Sun Jul 4 17:58:27 2004 @@ -0,0 +1,2 @@ +#! /bin/sh +exec /usr/bin/env python %%DATADIR%%/minorupdates.py $* diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/portindex.sh /home/hsn/myports/portindex/files/portindex.sh --- /usr/ports/sysutils/portindex/files/portindex.sh Fri Jul 2 22:18:49 2004 +++ /home/hsn/myports/portindex/files/portindex.sh Sun Jul 4 17:58:05 2004 @@ -1,2 +1,2 @@ #! /bin/sh -exec /usr/bin/env python %%DATADIR%%/indexer.py +exec /usr/bin/env python %%DATADIR%%/indexer.py $* diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/portreadmes.sh /home/hsn/myports/portindex/files/portreadmes.sh --- /usr/ports/sysutils/portindex/files/portreadmes.sh Fri Jul 2 22:18:49 2004 +++ /home/hsn/myports/portindex/files/portreadmes.sh Sun Jul 4 17:58:10 2004 @@ -1,2 +1,2 @@ #! /bin/sh -exec /usr/bin/env python %%DATADIR%%/updatereadmes.py +exec /usr/bin/env python %%DATADIR%%/updatereadmes.py $* diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/query.sh /home/hsn/myports/portindex/files/query.sh --- /usr/ports/sysutils/portindex/files/query.sh Thu Jan 1 01:00:00 1970 +++ /home/hsn/myports/portindex/files/query.sh Sun Jul 4 17:58:14 2004 @@ -0,0 +1,2 @@ +#! /bin/sh +exec /usr/bin/env python %%DATADIR%%/query.py $* diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/updateall.sh /home/hsn/myports/portindex/files/updateall.sh --- /usr/ports/sysutils/portindex/files/updateall.sh Thu Jan 1 01:00:00 1970 +++ /home/hsn/myports/portindex/files/updateall.sh Sun Jul 4 17:58:18 2004 @@ -0,0 +1,2 @@ +#! /bin/sh +exec /usr/bin/env python %%DATADIR%%/updateall.py $* diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/updinst.sh /home/hsn/myports/portindex/files/updinst.sh --- /usr/ports/sysutils/portindex/files/updinst.sh Thu Jan 1 01:00:00 1970 +++ /home/hsn/myports/portindex/files/updinst.sh Sun Jul 4 17:58:22 2004 @@ -0,0 +1,2 @@ +#! /bin/sh +exec /usr/bin/env python %%DATADIR%%/updinst.py $* --- portindex-12.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: