Opened 14 years ago

Closed 11 years ago

#25796 closed submission (fixed)

NEW: cntlm

Reported by: hbruinsma@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jsaucier@…
Port: cntlm

Description

Cntlm is an NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy intended to help you break free from the chains of Microsoft proprietary world. You can use a free OS and honor our noble idea, but you can't hide. Once you're behind those cold steel bars of a corporate proxy server requiring NTLM authentication, you're done with. The same even applies to 3rd party Windows applications, which don't support NTLM natively.

Attachments (5)

Portfile (990 bytes) - added by hbruinsma@… 14 years ago.
Portfile.2 (2.0 KB) - added by jsaucier@… 11 years ago.
patch-Makefile.patch (1.7 KB) - added by jsaucier@… 11 years ago.
Portfile.3 (1.9 KB) - added by jsaucier@… 11 years ago.
New version of the Portfile
Portfile.4 (1.9 KB) - added by jsaucier@… 11 years ago.
Latest version with fix requested

Download all attachments as: .zip

Change History (21)

Changed 14 years ago by hbruinsma@…

Attachment: Portfile added

comment:1 Changed 14 years ago by hbruinsma@…

Cc: hbruinsma@… added

Cc Me!

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Cc: hbruinsma@… removed
Port: cntlm added
Summary: cntlmNEW: cntlm
Version: 1.9.1

comment:3 Changed 13 years ago by jmroot (Joshua Root)

This doesn't build. It also has some other issues I can see:

  • hardcoded /opt/local should be ${prefix}
  • MANDIR should be ${prefix}/share/man (rather than ${prefix}/man)

comment:4 Changed 13 years ago by hbruinsma@…

Ok, thanks for the response! I will make an update soon, so it works again…

comment:5 Changed 11 years ago by jsaucier@…

I see that this portfile has not been updated in a while. I took the latest portfile by hbruinsma and modified it to include the corrections mentionned previously and some new items.

It compile and run fine here.

Changed 11 years ago by jsaucier@…

Attachment: Portfile.2 added

Changed 11 years ago by jsaucier@…

Attachment: patch-Makefile.patch added

comment:6 Changed 11 years ago by hbruinsma@…

Thanks!

comment:7 Changed 11 years ago by jsaucier@…

Cc: jsaucier@… added

Cc Me!

comment:8 Changed 11 years ago by jsaucier@…

Hi,

Is there anything I can do for this portfile to be accepted into Macports? I volunteer to maintain this portfile in the future if it's needed. We currently use this portfile internally and it would be easier for us if it was included into the default repository.

Thanks a lot.

comment:9 in reply to:  8 Changed 11 years ago by larryv (Lawrence Velázquez)

It’s more a matter of no one noticing or getting around to it than it is of the submission being “unacceptable”. Try posting to macports-dev to get committers’ attention.

Comments:

  • Fix master_sites to avoid redirects.
  • You can probably use “destroot.args ${build.args}” instead of repeating the same args.

comment:10 Changed 11 years ago by jsaucier@…

Thank you for your feedback. I will try to jump more often on macports-dev. I have also adjusted the ports to reflect your comment.

Thank you!

Changed 11 years ago by jsaucier@…

Attachment: Portfile.3 added

New version of the Portfile

comment:11 Changed 11 years ago by mf2k (Frank Schima)

More comments/questions:

  1. The revision line needs to be removed.
  2. What is going on with the config file? Is the port installing it directly? If so, it needs to NOT be under Macports control or else user settings will get wiped every upgrade. Better to move it to cntlm.conf.example in post-destroot and perhaps have a post activate process copy it only if it does not exist or just modify your notes line to mention to copy it.
  3. Your current notes line should be one line without the carriage returns and asterisks.

comment:12 Changed 11 years ago by jsaucier@…

1 . What do you mean to remove the revision line? If I check the MacPorts Guide, it state that the revision must be increased at each change for users to be able to upgrade the port.

2 . The Makefile of cntlm already make sure that it don't overwrite the config file if it already exist. It just copy the file if there is none present. I just upgraded my port from revision 2 to revision 3 and the configuration file stayed there correctly.

3 . I will make the change for this one. I just took one notes line from another port to do mine and it was formatted like that.

Thank you for your comment.

comment:13 in reply to:  12 Changed 11 years ago by mf2k (Frank Schima)

Replying to jsaucier@…:

1 . What do you mean to remove the revision line? If I check the MacPorts Guide, it state that the revision must be increased at each change for users to be able to upgrade the port.

It is a new port. The revision needs to be 0. revision is a Macports term to tell users to update the port if something changes and it's not the version that changed.

comment:14 Changed 11 years ago by jsaucier@…

Here is the updated copy of the Portfile. I made the change requested. Sorry for the delay, our baby is born last week!

Changed 11 years ago by jsaucier@…

Attachment: Portfile.4 added

Latest version with fix requested

comment:15 Changed 11 years ago by mf2k (Frank Schima)

Congratulations!!

Added in r109900 with minor changes:

  • Renamed patch file to patch-Makefile.diff per the guidelines.
  • minor spacing adjustments

comment:16 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.