[MacPorts] #13972: New Port qmail-spamcontrol
#13972: New Port qmail-spamcontrol --------------------------------------+------------------------------------- Reporter: compconsultant@yahoo.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: qmail | --------------------------------------+------------------------------------- This is a port of the qmail smtp server along with the spamcontrol patches. Qmail is the second most popular MTA on the internet. Qmail has a old restrictive license, and, when combined with patches, is fairly convoluted as far as how to compile and install. So, this port tried to follow all of the conventions while still following the license. I understand the licensing has recently changed and hopefully, a future version will be simpler. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): There are many things I want to change about this port, but I'll start by committing it just as you submitted it, in r33386. Then I'll make some changes. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33387: fixed names of patchfiles; see `port lint` -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33388: don't hard-code "`/opt/local`"; MacPorts could be installed in any prefix. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33389: removed trailing whitespace in Portfile; see `port lint` -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33390: refine the readme and post-install messages -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33391: remove the comment about requiring 10.3; add an error message for users running 10.2 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33392: simplify the creation of the required empty directories -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33393: use ${name} where appropriate instead of re-typing the port name -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33394: more minor changes to the readme -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:10> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33395: simplify installation of example files with xinstall and a for loop and give the scripts an execute bit -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:11> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33396: simplify the rest of the post-destroot using xinstall too -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:12> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33398: remove unnecessary escaping in reinplace making it hard to read -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:13> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33399: turn off universal variant since it doesn't seem to work. If you can provide a solution to build this software universal, that would of course be better. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:14> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): r33400: fix livecheck -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:15> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * cc: steve@fatula.us (added) Comment: Ok! First of all thank you for your submission. I think I've made all the changes I'm going to make for now. The original version of the Portfile was 18,248 bytes, 366 lines. After all the above changes, the new Portfile is 8331 bytes, 251 lines. Much better! These questions remain: * Could you create a description for each variant please? (`port lint` reminds you to do this.) * The definition of `PATH` at the top of qmailctl includes `/bin` twice but not `/sbin` or `/usr/sbin`. Is that how it should be? I would think that since you're including `${prefix}/sbin` and `/usr/local/sbin` you would want the other `sbin` directories too. Actually, are you sure you want to include `/usr/local` directories there? Software installed using MacPorts should really not be using anything that might be in `/usr/local`. * Do the turdfiles cause problems for qmail or why are you removing them? If they do not cause a problem you should not remove them. If they do cause a problem, then you should explain this in the comment in the post- activate phase, and you should also re-examine the second line of the post-activate phase (which tries to remove `${destroot}${prefix}/var/log/qmail/smtpd/.turd_${name}`) because it has no effect: at the activate phase, there is no ${destroot} anymore. If you could attach portfile patches to address these issues that would be great. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:16> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by compconsultant@yahoo.com): Ok, don't forget as I do not see how to do this... to rename all the patch files I originally attached per your changes to .diff, and, all the other files to .in. Also, the Macports guide does not mention port lint! I had not seen that, so, I fugured it out, but, it should be in the guide. The naming convention with .diff and .in are also mentioned nowhere, should be in the guide. You can remove append-Makefile as it is not needed based on the new Portfile I will upload. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:17> MacPorts </projects/macports> Ports system for Mac OS
#13972: New Port qmail-spamcontrol ---------------------------------------+------------------------------------ Reporter: compconsultant@yahoo.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: qmail ---------------------------------------+------------------------------------ Comment (by compconsultant@yahoo.com): I changed the way the Makefile patch was done, the new way makes more sense and fits more with Macports. Also, a bug was discovered in Leopard with vfork, so, added a few new patches to work around it. Works fine now. I asked the qmail gurus, they suggested not leaving the turd files. Let me know if it is finally good! I have more ports to contribute related to qmail, so, this was a good exercise in learning. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13972#comment:18> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts