[126337] trunk/dports/sysutils/fcron/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Oct 7 20:34:15 PDT 2014


> On Oct 7, 2014, at 10:22 PM, khindenburg at macports.org wrote:
> 
> Revision
> 126337
> Author
> khindenburg at macports.org
> Date
> 2014-10-07 20:22:25 -0700 (Tue, 07 Oct 2014)
> Log Message
> 
> fcron: update to 3.2.0; add license (en/txt/gpl.txt); change to use add_users - #40467 maintainer timeout
> Modified Paths
> 
> 	• trunk/dports/sysutils/fcron/Portfile


> @@ -38,7 +39,7 @@
>  pre-destroot {
>      addgroup fcron
>      set gid [existsgroup fcron]
> -    adduser fcron shell=/bin/bash gid=${gid} \
> +    add_users fcron shell=/bin/bash gid=${gid} \
>          realname=fcronServer
>  }

add_users should be called in the main part of the portfile, outside of any phase. It takes care of creating the user and group, replacing calls to adduser and addgroup.





More information about the macports-dev mailing list