Date: Mon, 19 Jan 2004 18:10:54 -0800 (PST) From: Brooks Davis <brooks@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/61604: New port: Grid Packaging Tools Message-ID: <200401200210.i0K2AsHu029670@freefall.freebsd.org> Resent-Message-ID: <200401200220.i0K2KBAY030053@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61604 >Category: ports >Synopsis: New port: Grid Packaging Tools >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 19 18:20:11 PST 2004 >Closed-Date: >Last-Modified: >Originator: Brooks Davis >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 4.9-STABLE FreeBSD 4.9-STABLE #10: Wed Dec 10 19:46:23 PST 2003 kensmith@freefall.freebsd.org:/c/src/sys/compile/FREEFALL i386 >Description: Add a port of the Grid Packaging Tools (GPT). This is the first step toward providing ports of the Globus Toolkit. >From the website (http://www.gridpackagingtools.org/): The Grid Packaging Tools are a multiplatform packaging system used to deploy Grid middleware for projects such as the National Science Foundation's Middleware Initiative (NMI) and the Globus Toolkit. >How-To-Repeat: >Fix: Add misc/gpt from the following shar archive or grab the tarball from: http://people.freebsd.org/~brooks/ports/gpt.tar.gz # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gpt # gpt/Makefile # gpt/distinfo # gpt/pkg-plist # gpt/files # gpt/files/patch-build__gpt # gpt/files/patch-tools_DistGPT.pm # gpt/pkg-descr # echo c - gpt mkdir -p gpt > /dev/null 2>&1 echo x - gpt/Makefile sed 's/^X//' >gpt/Makefile << 'END-of-gpt/Makefile' X# Ports collection makefile for: gpt X# Date created: January 16, 2004 X# Whom: Brooks Davis <brooks@freebsd.org> X# X# $FreeBSD$ X# X XPORTNAME= gpt XPORTVERSION= 3.1 XCATEGORIES= misc archivers devel parallel XMASTER_SITES= ftp://ftp.ncsa.uiuc.edu/aces/gpt/releases/gpt-${PORTVERSION}/ XDISTNAME= ${PORTNAME}-${PORTVERSION}-src X XMAINTAINER= brooks@FreeBSD.org XCOMMENT= "Grid Packaging Tools (used to install Globus)" X XRUN_DEPENDS+= ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \ X ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ X ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ X ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \ X ${SITE_PERL}/IO/Zlib.pm:${PORTSDIR}/archivers/p5-IO-Zlib \ X ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser \ X ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ X ${LOCALBASE}/bin/gmake:${PORTSDIR}/devel/gmake \ X ${LOCALBASE}/bin/makepatch:${PORTSDIR}/textproc/makepatch X XUSE_PERL= yes XUSE_REINPLACE= yes XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} XNO_BUILD= yes X XPLIST_SUB+= PERL=${PERL} X XFIX_VAR_FILES= ${WRKSRC}/packaging_tools/perl/GPT/Localize.pm \ X ${WRKSRC}/packaging_tools/perl/GPT/PkgMngmt.pm \ X ${WRKSRC}/packaging_tools/perl/GPT/PkgMngmt/Archive.pm \ X ${WRKSRC}/packaging_tools/perl/GPT/PkgMngmt/BuildMacros.pm \ X ${WRKSRC}/packaging_tools/perl/GPT/PkgMngmt/ExpandSource.pm \ X ${WRKSRC}/packaging_tools/perl/scripts/gpt-bundle \ X ${WRKSRC}/packaging_tools/perl/scripts/gpt-config \ X ${WRKSRC}/tools/testArchiveTar X Xpost-patch: X @${REINPLACE_CMD} -e "s|@@PERL@@|${PERL}|g" ${WRKSRC}/build_gpt X @${REINPLACE_CMD} -e 's|$$gpath/var/lib/perl|/var/db/gpt|g' ${FIX_VAR_FILES} X @${MKDIR} ${WRKSRC}/packaging_tools/etc/gpt X Xdo-install: X @cd ${WRKSRC}; \ X GPT_LOCATION=${PREFIX} ./build_gpt --with-perl=${PERL} X X.include <bsd.port.mk> END-of-gpt/Makefile echo x - gpt/distinfo sed 's/^X//' >gpt/distinfo << 'END-of-gpt/distinfo' XMD5 (gpt-3.1-src.tar.gz) = 566c39776311786d70a6753eac1cd5a5 END-of-gpt/distinfo echo x - gpt/pkg-plist sed 's/^X//' >gpt/pkg-plist << 'END-of-gpt/pkg-plist' Xetc/gpt/dtd/globus_flavors.dtd Xetc/gpt/dtd/globus_package.dtd Xetc/gpt/dtd/gpt_bundle.dtd Xetc/gpt/dtd/gpt_filelist.dtd Xetc/gpt/dtd/gpt_reservoir.dtd Xetc/gpt/globus_core-src.tar.gz Xetc/gpt/globus_flavor_labels.conf Xetc/gpt/gpt_rpm.spec Xetc/gpt/gpt_scripts_list Xlib/perl/Grid/GPT/Algorithms.pm Xlib/perl/Grid/GPT/BaseNode.pm Xlib/perl/Grid/GPT/BaseTable.pm Xlib/perl/Grid/GPT/BuildLine.pm Xlib/perl/Grid/GPT/BundleInstallation.pm Xlib/perl/Grid/GPT/BundleSet.pm Xlib/perl/Grid/GPT/DepIndexes.pm Xlib/perl/Grid/GPT/DepNode.pm Xlib/perl/Grid/GPT/Filelist.pm Xlib/perl/Grid/GPT/FilelistFunctions.pm Xlib/perl/Grid/GPT/FilelistSort.pm Xlib/perl/Grid/GPT/GPTFilelist.pm Xlib/perl/Grid/GPT/GPTIdentity.pm Xlib/perl/Grid/GPT/GPTObject.pm Xlib/perl/Grid/GPT/Installation.pm Xlib/perl/Grid/GPT/LocalEnv.pm.in Xlib/perl/Grid/GPT/Localize.pm Xlib/perl/Grid/GPT/Locations.pm Xlib/perl/Grid/GPT/MD5.pm Xlib/perl/Grid/GPT/MatchNode.pm Xlib/perl/Grid/GPT/MyFilelists.pm Xlib/perl/Grid/GPT/PackageFactory.pm Xlib/perl/Grid/GPT/PackageFile.pm Xlib/perl/Grid/GPT/PackageFilelist.pm Xlib/perl/Grid/GPT/PackageFilelist/FileIO.pm Xlib/perl/Grid/GPT/PackageFilelist/FileIO/Disk.pm Xlib/perl/Grid/GPT/PackageFilelist/FileIO/Tar.pm Xlib/perl/Grid/GPT/PackageFilelist/List.pm Xlib/perl/Grid/GPT/PackageFilelist/flat1.pm Xlib/perl/Grid/GPT/PackageFilelist/flat1/IO.pm Xlib/perl/Grid/GPT/PackageFilelist/flat1/ListInterface.pm Xlib/perl/Grid/GPT/PackageFilelist/xml1.pm Xlib/perl/Grid/GPT/PackageFilelist/xml1/IO.pm Xlib/perl/Grid/GPT/PackageFilelist/xml1/ListInterface.pm Xlib/perl/Grid/GPT/PkgDefNode.pm Xlib/perl/Grid/GPT/PkgDefsSet.pm Xlib/perl/Grid/GPT/PkgDist.pm Xlib/perl/Grid/GPT/PkgFileName.pm Xlib/perl/Grid/GPT/PkgMngmt.pm Xlib/perl/Grid/GPT/PkgMngmt/Archive.pm Xlib/perl/Grid/GPT/PkgMngmt/Build.pm Xlib/perl/Grid/GPT/PkgMngmt/BuildMacros.pm Xlib/perl/Grid/GPT/PkgMngmt/ExpandSource.pm Xlib/perl/Grid/GPT/PkgMngmt/FlavorMacros.pm Xlib/perl/Grid/GPT/PkgMngmt/Inform.pm Xlib/perl/Grid/GPT/PkgMngmt/SetupBuildFlavors.pm Xlib/perl/Grid/GPT/PkgNode.pm Xlib/perl/Grid/GPT/PkgSet.pm Xlib/perl/Grid/GPT/SetFunctions.pm Xlib/perl/Grid/GPT/Setup.pm Xlib/perl/Grid/GPT/SetupInstallation.pm Xlib/perl/Grid/GPT/V1/BaseDependency.pm Xlib/perl/Grid/GPT/V1/BinaryDependency.pm Xlib/perl/Grid/GPT/V1/BuildFlavors.pm Xlib/perl/Grid/GPT/V1/Bundle.pm Xlib/perl/Grid/GPT/V1/Definitions.pm Xlib/perl/Grid/GPT/V1/FlavorBase.pm Xlib/perl/Grid/GPT/V1/FlavorChoices.pm Xlib/perl/Grid/GPT/V1/FlavorDefinition.pm Xlib/perl/Grid/GPT/V1/Package.pm Xlib/perl/Grid/GPT/V1/SourceDependency.pm Xlib/perl/Grid/GPT/V1/Version.pm Xlib/perl/Grid/GPT/V1/XML.pm Xlibexec/gpt-bootstrap.sh Xsbin/gpt-build Xsbin/gpt-bundle Xsbin/gpt-config Xsbin/gpt-deps Xsbin/gpt-file-remove Xsbin/gpt-filelist-convert Xsbin/gpt-filelist-copy Xsbin/gpt-flavor-configuration Xsbin/gpt-install Xsbin/gpt-md5 Xsbin/gpt-perl-version Xsbin/gpt-pkg Xsbin/gpt-postinstall Xsbin/gpt-query Xsbin/gpt-setup Xsbin/gpt-undefines Xsbin/gpt-uninstall Xsbin/gpt-update Xsbin/gpt-verify Xsbin/gpt-virtual-pkg Xsbin/gpt_build_config Xsbin/gpt_create_automake_rules Xsbin/gpt_extract_data Xsbin/gpt_generate_bin_pkg_data Xsbin/gpt_get_lib_names Xsbin/gpt_save_flavor Xsbin/gpt_sort_filelist Xsbin/gpt_version Xshare/globus_aclocal Xshare/gpt/aclocal/Makefile_am.frg Xshare/gpt/aclocal/bootstrap.frg Xshare/gpt/aclocal/configure_in.frg Xshare/gpt/aclocal/gpt_autoconf_macros.m4 Xshare/gpt/aclocal/pkg_data_src_gpt_in.frg Xshare/gpt/aclocal/top_Makefile_am.frg Xshare/gpt/amdir/data.am Xshare/gpt/amdir/filelist.am Xshare/gpt/amdir/header.am Xshare/gpt/amdir/libs.am Xshare/gpt/amdir/ltlib.am Xshare/gpt/amdir/mans.am Xshare/gpt/amdir/pkgdata_Makefile.am Xshare/gpt/amdir/progs.am Xshare/gpt/amdir/scripts.am Xshare/gpt/amdir/subdirs.am Xshare/gpt/config.guess Xshare/gpt_amdir X@dirrm etc/gpt/dtd X@dirrm etc/gpt X@dirrm lib/perl/Grid/GPT/PackageFilelist/FileIO X@dirrm lib/perl/Grid/GPT/PackageFilelist/flat1 X@dirrm lib/perl/Grid/GPT/PackageFilelist/xml1 X@dirrm lib/perl/Grid/GPT/PackageFilelist X@dirrm lib/perl/Grid/GPT/PkgMngmt X@dirrm lib/perl/Grid/GPT/V1 X@dirrm lib/perl/Grid/GPT X@dirrm lib/perl/Grid X@dirrm lib/perl X@dirrm share/gpt/aclocal X@dirrm share/gpt/amdir X@dirrm share/gpt X@exec PATH=%%LOCALBASE%%/bin:${PATH} %D/sbin/gpt-config -probe -perl=%%PERL%% X@unexec echo "Configuration information saved. If you will *NOT* use this package" && echo "anymore, please remove /var/db/gpt and its contents manually." END-of-gpt/pkg-plist echo c - gpt/files mkdir -p gpt/files > /dev/null 2>&1 echo x - gpt/files/patch-build__gpt sed 's/^X//' >gpt/files/patch-build__gpt << 'END-of-gpt/files/patch-build__gpt' X X$FreeBSD$ X X--- build_gpt.orig Fri Jan 16 15:11:51 2004 X+++ build_gpt Fri Jan 16 15:13:12 2004 X@@ -1,4 +1,4 @@ X-#! /usr/bin/env perl X+#!@@PERL@@ X X use strict; X use Getopt::Long; END-of-gpt/files/patch-build__gpt echo x - gpt/files/patch-tools_DistGPT.pm sed 's/^X//' >gpt/files/patch-tools_DistGPT.pm << 'END-of-gpt/files/patch-tools_DistGPT.pm' X X$FreeBSD$ X X--- tools/DistGPT.pm.orig Fri Jan 16 16:31:06 2004 X+++ tools/DistGPT.pm Fri Jan 16 16:34:24 2004 X@@ -34,20 +34,12 @@ X X my @buildorder = ( X "zlib", X- "perlzlib", X- "perlzlibio", X- "perltest", X- "perlpatch", X- "perltar", X "oldautoconf", X "oldlibtool", X "oldautomake", X "autoconf", X "libtool", X "automake", X- "filespec", X- "podparser", X- "md5", X "core", X "gpt", X ); END-of-gpt/files/patch-tools_DistGPT.pm echo x - gpt/pkg-descr sed 's/^X//' >gpt/pkg-descr << 'END-of-gpt/pkg-descr' XThe Grid Packaging Tools are a multiplatform packaging system used Xto deploy Grid middleware for projects such as the National Science XFoundation's Middleware Initiative (NMI) and the Globus Toolkit X XGPT is a product of the National Center for Supercomputing Applications X XWWW: http://www.gridpackagingtools.org/ END-of-gpt/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401200210.i0K2AsHu029670>