Download and Install createrepo version 0.4.11 on Mac OS X
Tuesday the 8th of July, 2008

    createrepo  most recent diff


      View the most recent changes for the createrepo port at: createrepo.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for createrepo.
      The raw portfile for createrepo 0.4.11 is located here:
      http://createrepo.darwinports.com/dports/sysutils/createrepo/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/createrepo
      Google
      Web Darwinports.com



      # $Id: Portfile 32030 2007-12-14 08:30:51Z afb macports.org $

      PortSystem 1.0

      Name: createrepo
      Version: 0.4.11
      Category: sysutils
      Platform: darwin
      Maintainers: afb macports.org
      Description: generates common metadata for package repositories
      Long Description: createrepo generates the metadata necessary for an RPM package repository. This repository format (repodata) is supported by apt, red-carpet(zen), smart, up2date, Yast and yum.

      Homepage: http://linux.duke.edu/projects/metadata/
      master_sites ${homepage}generate/
      checksums md5 3e9ccf4abcffe3f49af078c83611eda2 sha1 10316e9ee98e92f961c727cf991589611a2de7cb rmd160 74b89d3f097914bd5fc67282d083c063ad7fc18e
      patchfiles patch-Makefile patch-createrepo patch-modifyrepo patch-dumpMetadata.py patch-genpkgmetadata.py patch-readMetadata.py patch-modifyrepo.py

      depends_run port:python24 port:rpm port:py-yum-metadata-parser
      # this should be depends_test:
      depends_build port:py-checker

      post-patch {
      reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/bin/createrepo ${worksrcpath}/bin/modifyrepo
      reinplace "s|__PYTHON__|${prefix}/bin/python2.4|g" ${worksrcpath}/dumpMetadata.py ${worksrcpath}/genpkgmetadata.py ${worksrcpath}/readMetadata.py ${worksrcpath}/modifyrepo.py
      }

      use_configure no

      build.args prefix=${prefix} PYTHON="${prefix}/bin/python2.4"

      destroot.args prefix=${prefix} INSTALL="/usr/bin/install -p" INSTALL_MODULES="/usr/bin/install -m 755"

      test.run yes
      test.target check

      livecheck.check regex
      # get the last modified tarball
      livecheck.url ${master_sites}?C=M\;O=D
      livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/createrepo
      % sudo port install createrepo
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching createrepo
      ---> Verifying checksum for createrepo
      ---> Extracting createrepo
      ---> Configuring createrepo
      ---> Building createrepo with target all
      ---> Staging createrepo into destroot
      ---> Installing createrepo
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using createrepo with these commands:
      %  man createrepo
      % apropos createrepo
      % which createrepo
      % locate createrepo

     Where to find more information:

    Darwin Ports



    image test