[MacPorts] #17114: New Port: HAProxy
#17114: New Port: HAProxy ---------------------------------+------------------------------------------ Reporter: sam@samgranieri.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: haproxy | Port: ---------------------------------+------------------------------------------ I like using HA Proxy and decided to write my first portfile for it. However, I need some help on the portfile. I've tried building it two ways: 1. {{{make -f Makefile.osx}}} 1. {{{make TARGET=osx}}} Here's the build log from {{{make -f Makefile.osx}}} http://pastie.org/309129 And here's the build log from {{{make TARGET=osx}}} http://pastie.org/309138 The two builds do not output the same text when the user types {{{haproxy -v}}} Build #1 {{{ sam@sam.local(master)> haproxy -v HA-Proxy version Copyright 2000-2008 Willy Tarreau <w@1wt.eu> }}} Build #2 {{{ sam@sam.local(master)> haproxy -v HA-Proxy version 1.3.15.6 2008/11/04 Copyright 2000-2008 Willy Tarreau <w@1wt.eu> }}} By looking at the build log I can see that build #2 sets the correct date. {{{-DCONFIG_HAPROXY_VERSION=\"1.3.15.6\" -DCONFIG_HAPROXY_DATE=\"2008/11/04\"}}} Would I need to make a patch to Makefile.osx, or possibly use the macports reinplace function to get the correct output? Any guidance would be much appreciated, and thank you Willy for some great software! -- Ticket URL: <http://trac.macports.org/ticket/17114> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17114: New Port: HAProxy ----------------------------------+----------------------------------------- Reporter: sam@samgranieri.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: haproxy | ----------------------------------+----------------------------------------- Changes (by blb@macports.org): * keywords: haproxy => * port: => haproxy Comment: What is the problem with using TARGET=osx, looking at the main Makefile, that seems to be the supported method for building haproxy? Also, would you mind being the maintainer for the port? Finally, you can add a {{{platform i386}}} section and set CPU=i686 to get the optimizations, like so: {{{ platform i386 { build.target-append CPU=i686 } }}} -- Ticket URL: <http://trac.macports.org/ticket/17114#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17114: New Port: HAProxy ----------------------------------+----------------------------------------- Reporter: sam@samgranieri.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: haproxy | ----------------------------------+----------------------------------------- Comment(by sam@samgranieri.com): Sure, I'll be the maintainer. I'll go with the TARGET=osx instructions, and I also added the cpu optimization for i386. -- Ticket URL: <http://trac.macports.org/ticket/17114#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17114: New Port: HAProxy ----------------------------------+----------------------------------------- Reporter: sam@samgranieri.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: haproxy | ----------------------------------+----------------------------------------- Changes (by blb@macports.org): * status: new => closed * resolution: => fixed Comment: Added in r41609, thanks. Note that I removed the distname entry since what you listed is actually the default (${name}-${version}), and put your email as maintainer (in the obfuscated form we use). -- Ticket URL: <http://trac.macports.org/ticket/17114#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts