From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 8 01:06:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 2418A16A749 for ; Wed, 7 Jun 2006 22:50:32 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5883843D64 for ; Wed, 7 Jun 2006 22:50:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k57MoM2C072541 for ; Wed, 7 Jun 2006 22:50:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k57MoMDc072540; Wed, 7 Jun 2006 22:50:22 GMT (envelope-from gnats) Resent-Date: Wed, 7 Jun 2006 22:50:22 GMT Resent-Message-Id: <200606072250.k57MoMDc072540@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, Jose Alonso Cardenas Marquez Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B21BC16B6D5 for ; Wed, 7 Jun 2006 20:18:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 732DA43D48 for ; Wed, 7 Jun 2006 20:18:14 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k57KIEsB012784 for ; Wed, 7 Jun 2006 20:18:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k57KIE83012783; Wed, 7 Jun 2006 20:18:14 GMT (envelope-from nobody) Message-Id: <200606072018.k57KIE83012783@www.freebsd.org> Date: Wed, 7 Jun 2006 20:18:14 GMT From: Jose Alonso Cardenas Marquez To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/98652: PATCH] databases/fpc-postgres: update to 2.0.2, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 01:06:16 -0000 >Number: 98652 >Category: ports >Synopsis: PATCH] databases/fpc-postgres: update to 2.0.2, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jun 07 22:50:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jose Alonso Cardenas Marquez >Release: FreeBSD 6.1-STABLE i386 >Organization: BSDPeru (http://www.bsd.org.pe) >Environment: FreeBSD HellFire.BSD.org.pe 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed May 24 08:30:45 PET 2006 >Description: - Update to 2.0.2 - Take maintainership >How-To-Repeat: >Fix: --- fpc-postgres-2.0.2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/databases/fpc-postgres/Makefile /usr/ports/databases/fpc-postgres-new/Makefile --- /usr/ports/databases/fpc-postgres/Makefile Thu May 4 19:23:57 2006 +++ /usr/ports/databases/fpc-postgres-new/Makefile Wed Jun 7 15:14:54 2006 @@ -6,66 +6,63 @@ # PORTNAME= postgres -PORTVERSION= 1.0.10 -PORTREVISION= 1 -CATEGORIES= databases -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +PORTVERSION= 2.0.2 +CATEGORIES= databases lang +MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \ + ftp://planetmirror.com/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \ + ftp://ftp.jp.freepascal.org/mirror/fpc/dist/i386-freebsd-${PORTVERSION}/ \ + ftp://freepascal.stack.nl/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \ + ftp://ftp.no.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \ + ftp://ftp.us.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \ + ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= freepascal PKGNAMEPREFIX= fpc- -DISTNAME= fpc-${PORTVERSION}.ELF +DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME} EXTRACT_SUFX= .tar -MAINTAINER= ports@FreeBSD.org +MAINTAINER= acardenas@bsd.org.pe COMMENT= Free Pascal interface to PostGreSQL -.include +RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc USE_PGSQL= yes -BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc -RUN_DEPENDS= ${BUILD_DEPENDS} +ONLY_FOR_ARCHS= i386 +NO_BUILD= yes + +.include + .if ${OSVERSION} >= 500000 LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x .endif -.if ${OSVERSION} < 470000 -EXTRACT_DEPENDS= gtar:${PORTSDIR}/archivers/gtar -TAR= ${LOCALBASE}/bin/gtar -.endif -USE_GMAKE= yes -ONLY_FOR_ARCHS= i386 -PLIST_SUB+= PORTVERSION=${PORTVERSION} - -MAKE_ENV+= PATH=${LOCALBASE}/bin:$$PATH \ - FPC=${LOCALBASE}/bin/ppc386 \ - INSTALL_BASEDIR=${PREFIX}/lib/fpc/${PORTVERSION} \ - INSTALL_BINDIR=${PREFIX}/bin \ - GCCLIBDIR=/usr/lib \ - RELEASE=1 +EXAMPLESDIR= share/examples/${PKGNAMEPREFIX}${PORTVERSION} +BUILDNAME= i386-freebsd +PLIST_SUB+= PORTVERSION=${PORTVERSION} \ + BUILDNAME=${BUILDNAME} do-extract: # unpack distribution @${MKDIR} ${WRKSRC} - @${TAR} xf ${DISTDIR}/${DISTNAME}.tar --directory ${WRKSRC} -# unpack sources distribution - @${MKDIR} ${WRKSRC}/sources - @${TAR} xf ${WRKSRC}/sources.tar --directory ${WRKSRC}/sources -# further extract base sources -# -# postgres sources - @${TAR} zxf ${WRKSRC}/sources/unitspostgressrc.tar.gz \ + @${TAR} xf ${DISTDIR}/${DISTNAME}.tar \ + --directory ${WRKSRC} + @${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \ --directory ${WRKSRC} -post-patch: -# change to alter amount of optimization - @${FIND} ${WRKSRC}/share/src/fpc-${PORTVERSION} -name \ - "Makefile*" | ${XARGS} ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g' - -do-build: - cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/postgres && \ - ${GMAKE} ${MAKE_ENV} all +# unpack binary and postgres distribution + @${MKDIR} ${WRKSRC}/${PORTNAME} + @${TAR} zxf ${WRKSRC}/units-${PORTNAME}.${BUILDNAME}.tar.gz \ + --directory ${WRKSRC}/${PORTNAME} do-install: - cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/postgres && \ - ${GMAKE} ${MAKE_ENV} install +.for DIRE in lib + @cd ${WRKSRC}/${PORTNAME}/${DIRE} && \ + ${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/${DIRE}/{}" \; && \ + ${FIND} * -type f -exec ${INSTALL_SCRIPT} "{}" "${PREFIX}/${DIRE}/{}" \; +.endfor + +post-install: + @cd ${WRKSRC}/${PORTNAME}/share && \ + ${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \ + ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \; .include diff -ruN --exclude=CVS /usr/ports/databases/fpc-postgres/distinfo /usr/ports/databases/fpc-postgres-new/distinfo --- /usr/ports/databases/fpc-postgres/distinfo Thu Nov 24 13:54:34 2005 +++ /usr/ports/databases/fpc-postgres-new/distinfo Mon Jun 5 16:31:05 2006 @@ -1,3 +1,3 @@ -MD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667 -SHA256 (fpc-1.0.10.ELF.tar) = 318bab9d1269dffcc5fe737d224fca939c5f130f34f12d166319b3d1ba776bfb -SIZE (fpc-1.0.10.ELF.tar) = 17448960 +MD5 (fpc-2.0.2.i386-freebsd.tar) = e1f834f445b0f2313f41ed417a28fb1c +SHA256 (fpc-2.0.2.i386-freebsd.tar) = 906f002dfdbdfc3380f5a66b93d68debdbb68bba65b9db0590a93f548fb9f528 +SIZE (fpc-2.0.2.i386-freebsd.tar) = 22517760 diff -ruN --exclude=CVS /usr/ports/databases/fpc-postgres/pkg-descr /usr/ports/databases/fpc-postgres-new/pkg-descr --- /usr/ports/databases/fpc-postgres/pkg-descr Thu Jan 15 20:04:40 2004 +++ /usr/ports/databases/fpc-postgres-new/pkg-descr Wed Jun 7 15:16:21 2006 @@ -3,6 +3,3 @@ interface to PostGreSQL. WWW: http://www.freepascal.org/ - --- -John Merryweather Cooper diff -ruN --exclude=CVS /usr/ports/databases/fpc-postgres/pkg-plist /usr/ports/databases/fpc-postgres-new/pkg-plist --- /usr/ports/databases/fpc-postgres/pkg-plist Thu Jan 15 20:04:40 2004 +++ /usr/ports/databases/fpc-postgres-new/pkg-plist Wed Jun 7 15:15:17 2006 @@ -1,6 +1,25 @@ -lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/Package.fpc -lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/dllist.o -lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/dllist.ppu -lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/postgres.o -lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/postgres.ppu -@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/postgres +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/Package.fpc +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/dllist.ppu +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/dllistdyn.ppu +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/postgres.ppu +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/postgres3.ppu +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/postgres3dyn.ppu +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/dllist.o +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/dllistdyn.o +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/postgres.o +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/postgres3.o +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/postgres3dyn.o +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/libpdllist.a +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/libpdllistdyn.a +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/libppostgres.a +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/libppostgres3.a +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres/libppostgres3dyn.a +%%EXAMPLESDIR%%/postgres/testpg2.pp +%%EXAMPLESDIR%%/postgres/testpg1.pp +@dirrm %%EXAMPLESDIR%%/postgres +@dirrmtry %%EXAMPLESDIR%% +@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/postgres +@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%% +@dirrmtry lib/fpc/%%PORTVERSION%%/units +@dirrmtry lib/fpc/%%PORTVERSION%% +@dirrmtry lib/fpc --- fpc-postgres-2.0.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: