Opened 9 years ago

Last modified 7 years ago

#49517 new submission

Add portfile for installing sonarqube

Reported by: ldeck Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: g5pw (Aljaž Srebrnič), mkae (Marko Käning)
Port: sonarqube

Description

SonarQube 5.1.2 port submission

The attached portfile allows for installing SonarQube 5.1.2 to ${destroot}${prefix}/share/${name}.

A startup item is made available.

Note: By default SonarQube will use an h2 database. A future enhancement (recommended) would be to add the ability to choose a postgres or mysql backend.

Attachments (1)

Portfile (2.0 KB) - added by ldeck 9 years ago.

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by ldeck

Attachment: Portfile added

comment:1 Changed 8 years ago by ldeck

Cc: lachlan.deck@… added

Cc Me!

comment:2 Changed 8 years ago by ldeck

Apologies if I hadn't formatted the ticket correctly. Can this be actioned?

comment:3 Changed 8 years ago by g5pw (Aljaž Srebrnič)

Looks good to me, but I'm slightly against adding an unmaintained port. Would you like/be able to maintain it?

comment:4 Changed 8 years ago by g5pw (Aljaž Srebrnič)

Cc: g5pw@… added

comment:5 Changed 8 years ago by ldeck

I'm happy to put my name to it if preferred. I'm not currently using it, however, since the current project I'm on hasn't as yet required it yet. So I'd made the assumption that it may be generally useful as a good starting point and could be updated or improved upon by anyone.

What do you recommend?

comment:6 in reply to:  5 Changed 8 years ago by g5pw (Aljaž Srebrnič)

Replying to lachlan.deck@…:

What do you recommend?

I recommend setting yourself up as a maintainer and adding openmaintainer (I can do these changes for you), so anyone can modify/improve it if necessary. In the future, you can update the port by opening a ticket here.

comment:7 Changed 8 years ago by ldeck

Sounds good. Thanks.

comment:8 Changed 8 years ago by g5pw (Aljaž Srebrnič)

I installed this port and tried to run it, but the configuration is wrong and the program won't start. It tries to write the PID an LOG files in ${prefix}share/sonarqube/sonarqube-5.1.2/bin/macosx-universal-64/ and the normal user doesn't have permissions to write there. Even if the software is supposed to be run using sudo (is it?), I'd like to see it write pid and logfiles in appropriate directories like ${prefix}/var/run and ${prefix}/var/log.

comment:9 Changed 8 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:10 Changed 8 years ago by mkae (Marko Käning)

Any update for this?

comment:11 Changed 7 years ago by g5pw (Aljaž Srebrnič)

lachlan.deck, any thougths on my comment:8?

comment:12 Changed 7 years ago by mf2k (Frank Schima)

Cc: lachlan.deck@… removed
Version: 2.3.4
Note: See TracTickets for help on using tickets.