Date: Wed, 7 Jun 2006 15:17:00 GMT From: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/98630: [PATCH] security/fpc-md5: update to 2.0.2, take maintainership Message-ID: <200606071517.k57FH0aB050457@www.freebsd.org> Resent-Message-ID: <200606071750.k57HoIMt050651@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98630 >Category: ports >Synopsis: [PATCH] security/fpc-md5: 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 17:50:17 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: System: 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-md5-2.0.2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/fpc-md5/Makefile /usr/ports/security/fpc-md5-new/Makefile --- /usr/ports/security/fpc-md5/Makefile Tue May 16 11:58:46 2006 +++ /usr/ports/security/fpc-md5-new/Makefile Wed Jun 7 10:15:00 2006 @@ -6,40 +6,50 @@ # PORTNAME= md5 -PORTVERSION= 1.0.10 +PORTVERSION= 2.0.2 CATEGORIES= security lang -MASTER_SITES= http://www.borgsdemons.com/distfiles/ +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= ${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME} +EXTRACT_SUFX= .tar -MAINTAINER= ports@FreeBSD.org +MAINTAINER= acardenas@bsd.org.pe COMMENT= Free Pascal unit for MD5 hash routines -BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc -USE_GMAKE= yes ONLY_FOR_ARCHS= i386 +NO_BUILD= yes -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 - -post-patch: -# change to alter amount of optimization - @${FIND} ${WRKDIR}/packages/base/md5 -name "Makefile*" | \ - ${XARGS} ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g' - -do-build: - @${SETENV} ${MAKE_ENV} ${GMAKE} -C \ - ${WRKDIR}/packages/base/md5 all +BUILDNAME= i386-freebsd +PLIST_SUB+= PORTVERSION=${PORTVERSION} \ + BUILDNAME=${BUILDNAME} + +do-extract: +# unpack distribution + @${MKDIR} ${WRKSRC} + @${TAR} xf ${DISTDIR}/${DISTNAME}.tar \ + --directory ${WRKSRC} + @${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \ + --directory ${WRKSRC} + +# unpack binary and md5 distribution + @${MKDIR} ${WRKSRC}/${PORTNAME} + @${TAR} zxf ${WRKSRC}/units-${PORTNAME}.${BUILDNAME}.tar.gz \ + --directory ${WRKSRC}/${PORTNAME} do-install: - @${SETENV} ${MAKE_ENV} ${GMAKE} -C \ - ${WRKDIR}/packages/base/md5 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 .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/security/fpc-md5/distinfo /usr/ports/security/fpc-md5-new/distinfo --- /usr/ports/security/fpc-md5/distinfo Fri Nov 25 16:24:53 2005 +++ /usr/ports/security/fpc-md5-new/distinfo Mon Jun 5 16:01:53 2006 @@ -1,3 +1,3 @@ -MD5 (md5-1.0.10.tar.gz) = 45a5474d459a8bc481749f276566f0e5 -SHA256 (md5-1.0.10.tar.gz) = 5390d970089adc554f58c74c5862fbae708b33fc4712ceb3a2550ab5da5b0d32 -SIZE (md5-1.0.10.tar.gz) = 10675 +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/security/fpc-md5/pkg-descr /usr/ports/security/fpc-md5-new/pkg-descr --- /usr/ports/security/fpc-md5/pkg-descr Wed Mar 3 11:08:11 2004 +++ /usr/ports/security/fpc-md5-new/pkg-descr Wed Jun 7 10:14:19 2006 @@ -3,6 +3,3 @@ provides MD5 hash routines. WWW: http://www.freepascal.org/ - --- -John Merryweather Cooper <coop9211@uidaho.edu> diff -ruN --exclude=CVS /usr/ports/security/fpc-md5/pkg-plist /usr/ports/security/fpc-md5-new/pkg-plist --- /usr/ports/security/fpc-md5/pkg-plist Wed Mar 3 11:08:11 2004 +++ /usr/ports/security/fpc-md5-new/pkg-plist Wed Jun 7 10:14:46 2006 @@ -1,4 +1,9 @@ -lib/fpc/%%PORTVERSION%%/units/freebsd/md5/Package.fpc -lib/fpc/%%PORTVERSION%%/units/freebsd/md5/md5.o -lib/fpc/%%PORTVERSION%%/units/freebsd/md5/md5.ppu -@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/md5 +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/md5/Package.fpc +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/md5/md5.ppu +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/md5/md5.o +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/md5/libpmd5.a +@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/md5 +@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%% +@dirrmtry lib/fpc/%%PORTVERSION%%/units +@dirrmtry lib/fpc/%%PORTVERSION%% +@dirrmtry lib/fpc --- fpc-md5-2.0.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606071517.k57FH0aB050457>