Opened 7 years ago

Last modified 3 years 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 Carsten Schmidt)
Priority: Normal Milestone: MacPorts Future
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 (10)

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

Cc: ctreleaven added

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

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

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

Milestone: MacPorts 2.5.0

comment:4 Changed 7 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 7 years ago by ryandesign (Ryan Carsten 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 7 years ago by jmroot (Joshua Root)

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

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

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

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

Milestone: MacPorts 2.5.0MacPorts 2.6.0

comment:9 Changed 5 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.6.0MacPorts 2.7.0

Ticket retargeted after milestone closed

comment:10 Changed 3 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.7.0MacPorts Future

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.