Opened 2 years ago

Last modified 11 months ago

#56055 accepted enhancement

Support creating MacPorts pkg/dmg by using 'pkg' and 'dmg' targets in the base builds system

Reported by: neverpanic (Clemens Lang) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone: MacPorts 2.7.0
Component: base Version:
Keywords: Cc: ctreleaven (Craig Treleaven)
Port:

Description

Do not use MacPorts port to produce the pkg/dmg, use a make pkg target in the build system instead. This would allow us to automate release creation more, since we could build a base dmg/pkg on the buildbot (#51996).

Change History (9)

comment:1 Changed 2 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven added

comment:2 Changed 2 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newaccepted

comment:3 Changed 2 years ago by ryandesign (Ryan Schmidt)

Milestone: MacPorts 2.5.0

comment:4 Changed 2 years ago by jmroot (Joshua Root)

How is implementing all this in base easier than running port pkg MacPorts in a buildbot job?

comment:5 Changed 2 years ago by ryandesign (Ryan Schmidt)

The package creation facilities of MacPorts are generic, and not suited to the specifics needed to package MacPorts itself. The MacPorts port already overrides a lot of it. Putting the code to do that into MacPorts base Makefiles moves it where it belongs. This will allow us to further extend the packaging of MacPorts base in ways that aren't as easy when MacPorts itself is controlling the process. It also allows us to package MacPorts on a machine that does not have MacPorts installed.

The PR to move the configure phase functionality of the MacPorts port to the standard_configure.sh script is https://github.com/macports/macports-base/pull/86. The Makefile portion of the changes is still in development.

comment:6 Changed 2 years ago by jmroot (Joshua Root)

I disagree. It really seems like you're reinventing the wheel here.

comment:7 Changed 2 years ago by ryandesign (Ryan Schmidt)

I'm making a better wheel. I'll upload my new work-in-progress installer somewhere to show you.

comment:8 Changed 2 years ago by ryandesign (Ryan Schmidt)

Milestone: MacPorts 2.5.0MacPorts 2.6.0

comment:9 Changed 11 months ago by jmroot (Joshua Root)

Milestone: MacPorts 2.6.0MacPorts 2.7.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.