<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-guide.
</pre>
<p><a href="https://github.com/macports/macports-guide/commit/c4fca2088df4c7d2c7d509f4a7b76389e40bf7ea">https://github.com/macports/macports-guide/commit/c4fca2088df4c7d2c7d509f4a7b76389e40bf7ea</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c4fca20 guide: keywords: document installs_libs, add_users
</span>c4fca20 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c4fca2088df4c7d2c7d509f4a7b76389e40bf7ea
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat Aug 19 12:43:54 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> guide: keywords: document installs_libs, add_users
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/38440
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/64329
</span>---
guide/xml/portfile-keywords.xml | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/xml/portfile-keywords.xml b/guide/xml/portfile-keywords.xml
</span><span style='display:block; white-space:pre;color:#808080;'>index 645399c..b93da35 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/xml/portfile-keywords.xml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/xml/portfile-keywords.xml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -585,5 +585,43 @@
</span> </listitem>
</varlistentry>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ <varlistentry>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <term>installs_libs</term>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <listitem>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <para>By default, it is assumed that ports may install libraries or
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ headers that can be incorporated into their dependents. If this is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ not the case, set <code>installs_libs</code> to <code>no</code>. This
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ means that this port's dependents need not check that it is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for the same architectures as them; that it is permissible to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distribute binaries of the dependents even if their licenses conflict
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with the license of this port; and that updates to this port can never
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ result in broken dynamic linking in its dependents.</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <programlisting>installs_libs no</programlisting>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </listitem>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </varlistentry>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <varlistentry>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <term>add_users</term>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <listitem>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <para>Consists of a list of usernames and settings. At appropriate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ times during the port installation process, a user will be created for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ each username with the corresponding settings.</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <para>Settings are of the form <code>name=value</code>. A setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ applies to the username that appeared most recently before it in the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list.</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <para>Applicable options are: <code>group</code>, <code>gid</code>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (may be used instead of <code>group</code>), <code>passwd</code>,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <code>realname</code>, <code>home</code>, and <code>shell</code>.</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <programlisting>add_users squid \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ group=squid \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ realname=Squid\ Proxy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ home=${prefix}/var/squid</programlisting>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <programlisting>add_users user1 group=mygroup \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ user2 group=mygroup</programlisting>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </listitem>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </varlistentry>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> </variablelist>
</section>
</pre><pre style='margin:0'>
</pre>