Ticket #31136: unbound-add-users.patch

File unbound-add-users.patch, 710 bytes (added by neverpanic (Clemens Lang), 13 years ago)

Patch against the Portfile moving add_users outside post-destroot

  • Portfile

     
    3434
    3535configure.args-append   --with-pidfile=${prefix}/var/run/${name}/${name}.pid
    3636
     37add_users ${unbounduser} group=${unboundgroup} home=/dev/null realname=Unbound\ Resolver
     38
    3739post-destroot {
    38     add_users ${unbounduser} group=${unboundgroup} home=/dev/null realname=Unbound\ Resolver
    3940    xinstall -o ${unbounduser} -g ${unboundgroup} -m 755 -d ${destroot}${prefix}/var/run/${name}
    4041    move ${destroot}${prefix}/etc/${name}/${name}.conf ${destroot}${prefix}/etc/${name}/${name}.conf-dist
    4142    touch ${destroot}${prefix}/var/run/${name}/${name}.pid