[MacPorts] #42728: autogen @5.17.4_0: autoopts-config produces a stray -R flag, breaks gnutls @3.1.22_0 build

MacPorts noreply at macports.org
Mon Jun 2 13:59:29 PDT 2014


#42728: autogen @5.17.4_0: autoopts-config produces a stray -R flag, breaks gnutls
@3.1.22_0 build
-----------------------------+-------------------
  Reporter:  jwhowse4@…      |      Owner:  mww@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.2.1
Resolution:                  |   Keywords:
      Port:  autogen gnutls  |
-----------------------------+-------------------

Comment (by devans@…):

 Attached is a revised version of my patch file that addresses some of
 cal's comments as well as a few more fixes.

 I've left the port configured to use the local instance of libopts rather
 than port autogen for the following reasons:
   * in most instances (since the only dependent of autogen is anjuta) this
 is the default configuration
   * therefore, the configuration uses the same instance of libopts for all
 installations
   * makes the solution of gnutls problem independent of the autogen one
 (which still needs to be fixed)
   * fewer dependencies

 I've disabled the building of libdane by default in favor of a +dane
 variant which enables this support using unbound.

 While testing, I saw that the output of configure concludes as follows:

 {{{
 configure: System files:

   Trust store pkcs11:
   Trust store file:
   Blacklist file:
   CRL file:
   Priority file:        /etc/gnutls/default-priorities
   DNSSEC root key file: /etc/unbound/root.key

 configure: WARNING:
 ***
 *** The DNSSEC root key file in /etc/unbound/root.key was not found.
 *** This file is needed for the verification of DNSSEC responses.
 *** Use the command: unbound-anchor -a "/etc/unbound/root.key"
 *** to generate or update it.
 ***
 }}}

 The revised port includes configuration items that properly set the
 defaults for the priority file and the DNSSEC root key file to use the
 MacPorts prefix.  In addition, notes are added if the +dane variant is
 selected and the default DNSSEC root key file does not exist, explaining
 how to create it using the command 'unbound-anchor'.  This is just the
 text from the end of configure which is generally invisible to the end
 user.

 Port unbound currently does not create this key file during installation
 or when running the unbound daemon (#43881).

 Finally, I note that there is no default path for the following files:
 {{{
  Trust store pkcs11
  Trust store file
  Blacklist file
  CRL file
 }}}

 This doesn't necessarily break gnutls, it just means that the dependent
 package needs to specify these file paths programmatically when needed.
 There are corresponding configuration items for these defaults which might
 be set to something reasonable for a default configuration but I'm not
 sure at the moment what these might be and whether that is really
 necessary or not.

-- 
Ticket URL: <https://trac.macports.org/ticket/42728#comment:27>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list