[MacPorts] #19409: redis - Add New Port
#19409: redis - Add New Port ------------------------------------+--------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: redis ------------------------------------+--------------------------------------- Redis is a key-value pair based database where the dataset exists in memory and is persisted between session on the file-system. This is a portfile and necessary config files for a new port to be added. -- Ticket URL: <http://trac.macports.org/ticket/19409> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port ------------------------------------+--------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: redis ------------------------------------+--------------------------------------- Comment(by blb@…): A few notes: - get rid of epoch, that is only needed when the version is changed but doesn't appear (to port) to be newer - use {{{use_configure no}}} instead of {{{configure {} }}} - for the .conf files, install them as *.conf.dist (or *.conf.sample), then in post-activate copy that to just *.conf if that file isn't already present; this way the port doesn't own *.conf (and hence removes it on upgrade), only *.conf.dist; see for example [browser:trunk/dports/security/stegdetect/Portfile stegdetect] - is the only way to shutdown to use netcat? -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port ------------------------------------+--------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: redis ------------------------------------+--------------------------------------- Comment(by brianjlandau@…): I'll make the second and third changes for sure. As for the first change, since this download is based on a git commit I thought an epoch would be a good idea as it would identify changes even if it's the same "version".[[BR]] When the project is stable (the developer I believe is aiming for a 1.0 release late this summer), I think moving to downloading the "official" tarball would make sense. Until then since development is so active I thought using the git commit based tarballs would be best. As for netcat: To properly shutdown the server you need to send the text "SHUTDOWN" via TCP to the server. As far as I know the best way to do this is with netcat. If you have a better suggestion I welcome it. -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port ------------------------------------+--------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: redis ------------------------------------+--------------------------------------- Comment(by blb@…): The thing about epoch is that, once set, you can never set it to something smaller or remove it. Can you use something like '''0.091-20090422''' as the version instead, that's how some other ports do it. -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port ------------------------------------+--------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: redis ------------------------------------+--------------------------------------- Comment(by brianjlandau@…): Yeah that sounds good I'll put the date in the version instead.[[BR]] I'll submit a new file later today. -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port ------------------------------------+--------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: redis ------------------------------------+--------------------------------------- Comment(by brianjlandau@…): I think that Portfile I uploaded earlier should handle all the issues. Let me know if you need anything else. -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port ------------------------------------+--------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: redis ------------------------------------+--------------------------------------- Comment(by blb@…): One final issue, downloading doesn't work. Should it be using google in master_sites, since I don't see any downloads at the [http://github.com/antirez/redis/downloads github downloads page]? -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port ------------------------------------+--------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: redis ------------------------------------+--------------------------------------- Comment(by brianjlandau@…): I'm going to look into the best solution to this. -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port ------------------------------------+--------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: redis ------------------------------------+--------------------------------------- Comment(by brianjlandau@…): Ok I think the current port file attached is good to go. I just decided to use the current version from Google code to reduce the complexity. -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port -------------------------------------+-------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: redis | -------------------------------------+-------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Added in r50229, thanks for the work. -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port -------------------------------------+-------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: redis | -------------------------------------+-------------------------------------- Comment(by ryandesign@…): I made some changes in r50348, r50349 and r50350. -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19409: redis - Add New Port -------------------------------------+-------------------------------------- Reporter: brianjlandau@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: redis | -------------------------------------+-------------------------------------- Comment(by brianjlandau@…): Awesome thanks! -- Ticket URL: <http://trac.macports.org/ticket/19409#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts