[macports-ports] 01/02: New port for wallet @1.3

Ryan Schmidt ryandesign at macports.org
Sat Nov 5 01:40:48 PDT 2016


> On Nov 2, 2016, at 8:06 PM, Clemens Lang <neverpanic at users.noreply.github.com> wrote:
> 
> Clemens Lang (neverpanic) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/a2792f4120bbf7fc5b7f771930da83895fd504f1
> 
> commit a2792f4120bbf7fc5b7f771930da83895fd504f1
> 
> Author: A. Karl Kornel <akkornel at stanford.edu>
> AuthorDate: Mon Oct 31 12:42:00 2016 -0700
> 
> 
>     New port for wallet @1.3


> diff --git a/net/wallet/Portfile b/net/wallet/Portfile


> +    # We have some post-activation setup that the user needs to do.
> 
> +    notes-append "
> 
> +Before using the Wallet server, you will need to choose a database
> 
> +backend to use.  MySQL, Postgres, and SQLite are known to work.
> 
> +Then you will need to install the p5-datetime-format-* and p5-dbd-*
> 
> +ports that match the database backend you chose.
> 
> +
> 
> +If you want to support getting keytabs through Wallet, then your KDC
> 
> +will need to have the wallet port installed with the +kdc variant.
> 
> +
> 
> +Other Perl modules may be required, depending on what you want to
> 
> +support.  Read ${prefix}/share/doc/wallet/setup
> 
> +for additional server configuration instructions.
> 
> +
> 
> +Wallet server runs via remctl, so be sure that remctld is running,
> 
> +and is configured correctly!
> 
> +"
> 



> +    # We have soe post-activation setup that the user needs to do.

Typo (soe => some)


> 
> +    notes-append "
> 
> +To configure your KDC to generate keytabs for the Wallet server,
> 
> +you will need to configure etc/krb5kdc/allow-extract, as well as
> 
> +/etc/remctl/acl/keytab.  This uses remctl, so remctld must also
> 
> +be running and configured properly.
> 
> +"

You should not use newlines in notes, unless you actually want the user to see a newline there, for example if you are starting a new paragraph or are constructing a list of items.

When you're just making a paragraph of text, use a single long line, which MacPorts will word wrap to the user's terminal width.

You can wrap that long line in the portfile by using a backslash before a newline:

    notes-append "
To configure your KDC to generate keytabs for the Wallet server,\
you will need to configure etc/krb5kdc/allow-extract, as well as\
/etc/remctl/acl/keytab.  This uses remctl, so remctld must also\
be running and configured properly.
"

Make sure there is no space before the backslash.



More information about the macports-dev mailing list