Opened 13 years ago

Closed 13 years ago

#31136 closed defect (fixed)

unbound @1.4.2 doesn't install using MacPorts 2.x because of wrong usage of add_users

Reported by: neverpanic (Clemens Lang) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.0.99
Keywords: haspatch Cc:
Port: unbound

Description

The unbound Portfile uses the add_users command introduced in the 2.0 release of MacPorts in post-destroot, however the right place for this keyword is outside any phase (see the squid port, which uses it correctly). MacPorts apparently ignores add_users in post-destroot and fails at the next line (xinstall) trying to use a non-existing group.

The attached patch fixes this by moving the line in question outside of the post-destroot phase.

Attachments (1)

unbound-add-users.patch (710 bytes) - added by neverpanic (Clemens Lang) 13 years ago.
Patch against the Portfile moving add_users outside post-destroot

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by neverpanic (Clemens Lang)

Attachment: unbound-add-users.patch added

Patch against the Portfile moving add_users outside post-destroot

comment:1 Changed 13 years ago by nerdling (Jeremy Lavergne)

Owner: changed from snc@… to snc@…
Status: newassigned

comment:2 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Fixed in r83586.

Note: See TracTickets for help on using tickets.