Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-11 Thread Toby Peterson
The extracted dir has a hyphen, not underscore. Looks like your shell does autocorrection. - Toby On Jun 10, 2009, at 19:13, Scott Haneda talkli...@newgeo.com wrote: Like this? worksrcdir ${name}_${version} I did, no change. If I do this: distfiles

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Jeremy Lavergne
distfiles is this by default: ${distname}${extract.suffix} distname is this by default: ${name}-${version} That is, distfiles (defined as the name of the distribution filename, not including the extract suffix) is ${name}-${version}${extract.suffix} If that hyphen really is an underscore,

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Jeremy Lavergne
On Jun 10, 2009, at 8:49 PM, Scott Haneda wrote: 1) How do I decide the category, can someone show me a list, and suggest the correct one for this? I see bind9 is in net, perhaps this should also be in net? Yes, this would make sense to be in net and then sysutils 2) Do I really need

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Scott Haneda
Thanks, so I changed it to: distname${name}_${version} I believe that is correct. But now it ignores master_sites and I am timing out on looking for the file on macports servers. namerbldnsd version 0.996b categories sysutils maintainers

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Scott Haneda
On Jun 10, 2009, at 6:01 PM, Blair Zajac wrote: Scott Haneda wrote: Hello, I have made a portfile, looking for a quick review, and any suggestions for cleanup. pre-destroot { addgroup _rbldnsd set gid [existsgroup _rbldnsd] adduser _rbldnsd gid=${gid} realname=rbldnsd

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Scott Haneda
On Jun 10, 2009, at 6:07 PM, Jeremy Lavergne wrote: On Jun 10, 2009, at 8:49 PM, Scott Haneda wrote: 1) How do I decide the category, can someone show me a list, and suggest the correct one for this? I see bind9 is in net, perhaps this should also be in net? Yes, this would make sense

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Jeremy Lavergne
If you run these commands, what is the URL it ends up using? sudo port clean --all rbldnsd sudo port -d fetch rbldnsd On Jun 10, 2009, at 9:08 PM, Scott Haneda wrote: Thanks, so I changed it to: distname${name}_${version} I believe that is correct. But now it ignores

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Jeremy Lavergne
In the destroot phase, all paths should be prefaced by ${destroot} On Jun 10, 2009, at 9:14 PM, Scott Haneda wrote: destroot { ## These perms are obviously wrong, fix them later # Install binary xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/sbin # Install man

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Jeremy Lavergne
3) How do the permissions I chose look in the destroot phase? Why is the program incapable of installing itself from --prefix=? I am not that versed in this stuff. I run ./configure and it works, if I run ./configure with the --prefix is balks at me... $./configure -help configure:

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Scott Haneda
On Jun 10, 2009, at 6:21 PM, Jeremy Lavergne wrote: If you run these commands, what is the URL it ends up using? sudo port clean --all rbldnsd sudo port -d fetch rbldnsd Seems to be working now with distname${name}_${version} Seems to take a lot longer, since it now has to time

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Scott Haneda
On Jun 10, 2009, at 6:24 PM, Jeremy Lavergne wrote: However, make sure those ${destroot} get added to the install paths that are missing them. I am not getting this, every effort I made, I get an error. destroot { # Install binary xinstall -m 0755 ${worksrcpath}/${name}

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Scott Haneda
On Jun 10, 2009, at 6:36 PM, Jeremy Lavergne wrote: However, make sure those ${destroot} get added to the install paths that are missing them. I am not getting this, every effort I made, I get an error. destroot { # Install binary xinstall -m 0755 ${worksrcpath}/${name}

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Scott Haneda
Yes. Call me officially frustrated... can someone see if this installs for them, or if they see anything obvious, as I am not: http://dl.getdropbox.com/u/340087/Drops/06.10.09/net-d93a2d96-185819.zip $sudo port -d install DEBUG: Changing to port directory: /Users/haneda/macports/net/rbldnsd

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Scott Haneda
Like this? worksrcdir ${name}_${version} I did, no change. If I do this: distfiles ${name}_${version}${extract.suffix} extract.suffix .tar.tgz Works fine, doing this, fails: distname${name}_${version} I think I should just go back to my original method,

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Bryan Blackburn
On Wed, Jun 10, 2009 at 07:13:46PM -0700, Scott Haneda said: Like this? worksrcdir ${name}_${version} No, when you set distname, worksrcdir takes on the same value, which is this case appears to be wrong (the distname uses an underscore, but the extracted directory uses a dash). So if

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Scott Haneda
On Jun 10, 2009, at 7:22 PM, Bryan Blackburn wrote: On Wed, Jun 10, 2009 at 07:13:46PM -0700, Scott Haneda said: Like this? worksrcdir ${name}_${version} No, when you set distname, worksrcdir takes on the same value, which is this case appears to be wrong (the distname uses an

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Blair Zajac
Scott Haneda wrote: Hello, I have made a portfile, looking for a quick review, and any suggestions for cleanup. 1) How do I decide the category, can someone show me a list, and suggest the correct one for this? I see bind9 is in net, perhaps this should also be in net? 2) Do I really need

Re: Looking for a portfile review before submitting (rbldnsd)

2009-06-10 Thread Blair Zajac
Jeremy Lavergne wrote: On Jun 10, 2009, at 8:49 PM, Scott Haneda wrote: 1) How do I decide the category, can someone show me a list, and suggest the correct one for this? I see bind9 is in net, perhaps this should also be in net? Yes, this would make sense to be in net and then sysutils