gnupg2 version 2.0.8 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    gnupg2  most recent diff


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



      # $Id: Portfile 32403 2007-12-29 13:27:49Z boeyms macports.org $

      PortSystem 1.0

      Name: gnupg2
      Version: 2.0.8
      Category: mail security
      Maintainers: waqar macports.org boeyms
      Description: GNU pretty-good-privacy package
      Long Description: GnuPG is a complete and free replacement for PGP. Because it does not use the patented IDEA algorithm, it can be used without any restrictions. GnuPG is a RFC2440 (OpenPGP) compliant application.
      Homepage: http://www.gnupg.org
      Platform: darwin freebsd sunos
      use_bzip2 yes
      distname gnupg-${version}
      master_sites gnupg:gnupg

      use_bzip2 yes
      checksums md5 fc4377ca67e1bf687eeaf22e79c0b9d1 sha1 baeb7962f9d3d4628ada78036d1f5d4480aaa2d9 rmd160 bfd8cfb48ff74834c80d09d040921e005af9550c

      post-patch {
      reinplace "s|/var|${prefix}/var|" ${worksrcpath}/sm/call-dirmngr.c
      }

      # gpg-agent is built separately from the rest of gnupg2 to enable gnupg 1.x
      # users to use gpg-agent as well. gnupg2, however, requires gpg-agent to run,
      # and so gnupg2 depends on gpg-agent.
      configure.args --disable-agent

      depends_lib port:libiconv port:gettext port:zlib port:bzip2 port:bison port:gpg-agent port:libassuan port:libksba port:libgcrypt port:libgpg-error port:pth

      patchfiles patch-configure.diff

      test.run yes
      test.dir ${worksrcpath}/tests
      test.target check

      platform darwin {
      configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3
      build.env-append MACOSX_DEPLOYMENT_TARGET=10.3
      }

      platform darwin 7 {
      configure.ldflags-append "-framework IOKit"
      }

      # See also the post-patch above.
      # Apparently we have no way of forcing gnupg2 to build without DirMngr support,
      # so we have to just hope we don't run into any problems.
      Variant: dirmngr description {Enable the use of DirMngr by gpgsm} {
      depends_lib-append port:dirnmgr
      }

      livecheck.check regex
      livecheck.url http://mirrors.rootmode.com/ftp.gnupg.org/gnupg/?O=D
      livecheck.regex gnupg-(\\d+\\.\\d+\\.\\d+)

    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/gnupg2
      % sudo port install gnupg2
      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 gnupg2
      ---> Verifying checksum for gnupg2
      ---> Extracting gnupg2
      ---> Configuring gnupg2
      ---> Building gnupg2 with target all
      ---> Staging gnupg2 into destroot
      ---> Installing gnupg2
    - 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 gnupg2 with these commands:
      %  man gnupg2
      % apropos gnupg2
      % which gnupg2
      % locate gnupg2

     Where to find more information:

    Darwin Ports



    image test