Opened 12 years ago
Closed 12 years ago
#34915 closed submission (fixed)
Create port nsrllookup
Reported by: | jessekornblum@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | ||
Port: | nsrllookup |
Description
Attached please find a Portfile for nsrllookup, part of the nsrlquery project. This program allows users to determine if files belong to the National Software Reference Library (NSRL), or any other large hash set. There is a public server at nsrl.kyr.us.
Usage: $ md5deep [FILES] | nsrllookup -s nsrl.kyr.us [Lists unknown files by default]
I agree to be the maintainer of this port.
Attachments (1)
Change History (3)
Changed 12 years ago by jessekornblum@…
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | nsrllookup added |
Status: | new → assigned |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I've committed the port in r94457. I had to make many changes to your Portfile to get it to work right; here are some suggestions for next time:
You should test your ports before you submit them. This one contained a syntax error: the first checksum line did not end with a backslash. To test your Portfile, use the terminal to "cd" to the directory the Portfile is in and run "sudo port install" (without specifying a port name).
Fetching the distfile failed. I had to adjust the master_sites line to fix that, and also add "use_bzip2 yes" since this project distributes a .tar.bz2 file, not a .tar.gz file.
"port lint" revealed that the Portfile was missing the required "platforms" variable, so I added it with the usual value of "darwin". It also showed no license was set; I added "license ISC" according to the project's homepage and the LICENSE file the distribution contains.
I added the configure.arg "--disable-silent-rules" so that we can see what's actually going on while compiling (if we look in the log or with the debug switch).
I added a post-destroot block to install the documentation files.
"port livecheck" didn't produce a result so I fixed it by adding a livecheck.regex similar to the one I often add to SourceForge-hosted ports.
You used our standard modeline, which states that the Portfile is formatted with spaces for indentation at 4 spaces per indent, but it was actually indented with tabs at 8 spaces per indent. I reformatted the Portfile using spaces at 4 spaces per indent to conform to the modeline.
Thanks.