[MacPorts] #17623: upx 3.03 new port
#17623: upx 3.03 new port ------------------------------------+--------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: upx | Port: ------------------------------------+--------------------------------------- Hello,[[BR]] Here is the [http://upx.sourceforge.net UPX] port I just created. -- Ticket URL: <http://trac.macports.org/ticket/17623> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port ------------------------------------+--------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: | Port: upx ------------------------------------+--------------------------------------- Changes (by macsforever2000@…): * keywords: upx => * port: => upx -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => fixed Comment: I committed the port in r43672.[[BR]] Thanks for the submission.[[BR]] I made a few changes, which I attached here. -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by cedric.luthi@…): Thanks for committing. I just have a question: does the line {{{ depends_build path:bin/perl:perl5 }}} implies that the perl5 port will be installed ? If yes, isn't it a bit overkill ? pod2XXX are in /usr/bin (at least on Leopard, can't say on Tiger). -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by mcalhoun@…): Replying to [comment:3 cedric.luthi@…]:
implies that the perl5 port will be installed ? Yes, perl5 must be installed during the build phase.
If yes, isn't it a bit overkill ? pod2XXX are in /usr/bin (at least on Leopard, can't say on Tiger). In this particular case, the system tools would almost certainly suffice, but MacPorts has a[[BR]] pretty strict [http://trac.macports.org/wiki/FAQ#WillMacPortslinktosystemlibrariesrathertha... policy] of using using its own tools and libraries.[[BR]] There are only a few exceptions (X11 for example).
-- Ticket URL: <http://trac.macports.org/ticket/17623#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by cedric.luthi@…):
In this particular case, the system tools would almost certainly suffice, but MacPorts has a[[BR]] pretty strict [http://trac.macports.org/wiki/FAQ#WillMacPortslinktosystemlibrariesrathertha... policy] of using using its own tools and libraries.[[BR]] There are only a few exceptions (X11 for example).
The policy you are referring to is about libraries, not about tools for what I understood. For libraries, I totally agree the ''MacPorts own libraries'' policy. But in this particular case, these are tools (perl scripts specifically) that are installed on the system, and perl is itself installed on the system too. I have personally installed perl with MacPorts, but I think about other people who just want to install upx thinking it should take about one minute or two and they must wait one hour because perl is installed.[[BR]] Could someone on Tiger and someone on Pather confirm that the '''pod2man''', '''pod2text''' and '''pod2html''' are installed on these systems so that we could remove this annoying dependency ? -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by mcalhoun@…): I changed the perl dependencies in Portfile2.diff.[[BR]] perl5 will no longer be installed if the programs are installed.[[BR]] If this is satisfactory, I will commit the patch. -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by cedric.luthi@…): The MacPorts Guide says:[[BR]] ''File dependencies are specifed in the form: <type>:<filename>:<port>. '''<filename> is relative to ${prefix}'''.''[[BR]] I understand that this mean /usr/bin won't be searched for <filename>, only /opt/local/bin. Am I correct or it the MacPorts Guide not accurate ?[[BR]] If /usr/bin is not searched for pod2(man|text|html), then the patch is useless and perl will be installed anyway. If /usr/bin is searched for pod2(man|text|html), then please go ahead with the patch. :-) -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by mcalhoun@…): I made the change in r43681. The dependencies section of the MacPorts needs improvement.[[BR]] bin:pod2(...):perl5 should look in /usr/bin for the binary files. The source of the misstatment in the Guide is the fact that:[[BR]] path:bin/perl:perl5 will look only for ${prefix}/bin/perl to satisfy the dependency. -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by cedric.luthi@…): Replying to [comment:9 mcalhoun@…]:
bin:pod2(...):perl5 should look in /usr/bin for the binary files.
OK, thanks for the clarification. Maybe the guide should be rephrased to something like this ?[[BR]] [[BR]] File dependencies are specifed in the form: <type>:<filename>:<port>. <filename> is relative to ${prefix}, except when <type> is bin. In this case, <filename> is searched in the PATH environment variable. -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by cedric.luthi@…): Oops, it seems you did a copy-paste error, there is two times pod2html instead of pod2html and pod2man. This is probably not a problem as pod2html and pod2man are most probably installed together, but you may want to fix it anyway ;-) -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by mcalhoun@…): Replying to [comment:11 cedric.luthi@…]:
Oops, it seems you did a copy-paste error, there is two times pod2html instead of pod2html and pod2man.
Thanks for the catch.[[BR]] Fixed in r43684.[[BR]] I'll get this right one of these days (quite a bit of effort on a closed ticket). -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17623: upx 3.03 new port -------------------------------------+-------------------------------------- Reporter: cedric.luthi@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: upx | -------------------------------------+-------------------------------------- Comment(by cedric.luthi@…): Thanks for your efforts. I hope it's definitely closed now ;-) -- Ticket URL: <http://trac.macports.org/ticket/17623#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts