Opened 11 years ago

Last modified 11 years ago

#40305 new submission

New port: portitude

Reported by: pierreetienne.meunier@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: cooljeanius (Eric Gallager)
Port:

Description

Portitude is for the moment a helper to add other macports repositories, in particular for specific packages, like in debian/ubuntu, and still benefit from all the macports system (in particular, signed packages and safety).

Attachments (1)

Portfile (920 bytes) - added by pierreetienne.meunier@… 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Some feedback/nitpicks just from looking at it:

  • "sysutils" isn't a portgroup, it's a category. Perhaps you meant to use the ocaml 1.0 portgroup instead?
  • speaking of categories, you should probably append the "macports" category while you're at it
  • use_parallel_build yes is the default
  • those destroot.args look like they will skip the destroot and install straight into you prefix
  • when using use_configure no, be sure to be UsingTheRightCompiler and all that other stuff that goes along with that

Also at a more general level, I'd been kind of hoping MacPorts base would include something like this for a while now. I suppose having a port that does the same would be good, too, though...

comment:2 Changed 11 years ago by pierreetienne.meunier@…

I did not know that MacPorts base wanted something like that, but anyway, I believe it is simpler as a port for just testing the idea, and whenever it is ready to be merged, I can take care of it.

One of the problems is, I find it quite insecure right now, and making it more secure would require macports to switch to gpg signatures instead (or in addition) of certificates (like in debian, where you can tell people trusting your gpg key: "I've downloaded things from there, it works").

  • categories, parallel_build: Ok, thanks. Please find a new version of my portfile attached.
  • destroot.args: no, my Makefile uses $(DESTDIR) before.
  • compiler: my files are all compatible with all versions of ocaml from 1.0.
Last edited 11 years ago by pierreetienne.meunier@… (previous) (diff)

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

I did not know that MacPorts base wanted something like that,

Well it's not so much that MacPorts base itself wants it, it's more like I myself wanted something like it in MacPorts base.

One of the problems is, I find it quite insecure right now, and making it more secure would require macports to switch to gpg signatures instead (or in addition) of certificates (like in debian, where you can tell people trusting your gpg key: "I've downloaded things from there, it works").

I don't think that MacPorts is going to do this, but you're welcome to file a separate enhancement ticket against base requesting this feature.
Edit: that might actually be #30562

Attachment Portfile​ added

The ocaml PortGroup already adds a dependency on the ocaml port for you.

Last edited 11 years ago by cooljeanius (Eric Gallager) (previous) (diff)

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Changed 11 years ago by pierreetienne.meunier@…

Attachment: Portfile added
Note: See TracTickets for help on using tickets.