[MacPorts] #25656: New port: maven3

MacPorts noreply at macports.org
Sun Oct 10 06:55:19 PDT 2010


#25656: New port: maven3
---------------------------------------+------------------------------------
 Reporter:  lists@…                    |       Owner:  macports-tickets@…                   
     Type:  submission                 |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  1.9.1                                
 Keywords:                             |        Port:  maven, maven2, maven3                
---------------------------------------+------------------------------------

Comment(by lists@…):

 Replying to [comment:11 blair@…]:
 > I wasn't aware of this ticket and it's attached Portfiles.
 >
 > If people want to submit diffs against the newly updated maven2 and
 maven3
 > ports, I'll commit them.

 Blair,

 The critical patch would be fixing the permissions. Unfortunately, the
 archive was created with the JAR files having the SUID bit enabled and
 writeable by all.

 {{{
 pre-destroot {
     # Remove the extraneous Windows bat files.
     foreach f [glob -directory ${worksrcpath}/bin *.bat] {
        file delete $f
     }

     # Reduce the permissions on the distribution files.
     file attributes ${worksrcpath}/conf -permissions 0755
     file attributes ${worksrcpath}/conf/settings.xml -permissions 0644

     # Reduce the permissions on the JAR files.
     foreach f [glob -directory ${worksrcpath}/boot *.jar] {
         file attributes $f -permissions 0644
     }
     foreach f [glob -directory ${worksrcpath}/lib *.jar] {
         file attributes $f -permissions 0644
     }
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/25656#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list