[109900] trunk/dports/net
macsforever2000 at macports.org
macsforever2000 at macports.org
Wed Aug 21 08:53:52 PDT 2013
Revision: 109900
https://trac.macports.org/changeset/109900
Author: macsforever2000 at macports.org
Date: 2013-08-21 08:53:52 -0700 (Wed, 21 Aug 2013)
Log Message:
-----------
cntlm: New port. (#25796)
Added Paths:
-----------
trunk/dports/net/cntlm/
trunk/dports/net/cntlm/Portfile
trunk/dports/net/cntlm/files/
trunk/dports/net/cntlm/files/patch-Makefile.diff
Added: trunk/dports/net/cntlm/Portfile
===================================================================
--- trunk/dports/net/cntlm/Portfile (rev 0)
+++ trunk/dports/net/cntlm/Portfile 2013-08-21 15:53:52 UTC (rev 109900)
@@ -0,0 +1,44 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name cntlm
+version 0.92.3
+license GPL-2+
+categories net
+platforms darwin
+maintainers gmail.com:jsaucier
+description Cntlm is an NTLM / NTLM Session Response / \
+ NTLMv2 authenticating HTTP proxy
+long_description Cntlm integrates TCP/IP port forwarding (HTTP \
+ tunneling), SOCKS5 proxy mode, standalone proxy \
+ allowing you to browse intranet as well as \
+ Internet and to access corporate web servers \
+ with NTLM protection. There are many advanced \
+ features like NTLMv2 support, password protection, \
+ password hashing, completely mutliplatform code \
+ (running on just about every architecture and OS \
+ out there) and so much more.
+homepage http://cntlm.sourceforge.net/
+master_sites sourceforge:project/cntlm/cntlm/cntlm%20${version}
+use_bzip2 yes
+
+checksums rmd160 6655738ca5f93d15f14681d3c14bbe8ec8e6a543 \
+ sha256 7b603d6200ab0b26034e9e200fab949cc0a8e5fdd4df2c80b8fc5b1c37e7b930
+
+patchfiles patch-Makefile.diff
+
+depends_lib port:coreutils
+
+build.args SYSCONFDIR=${destroot}${prefix}/etc \
+ BINDIR=${destroot}${prefix}/sbin \
+ MANDIR=${destroot}${prefix}/share/man
+
+destroot.args ${build.args}
+
+startupitem.create yes
+startupitem.name cntlm
+startupitem.executable ${prefix}/sbin/cntlm -f
+
+notes "The Cntlm configuration file -> ${prefix}/etc/cntlm.conf"
Property changes on: trunk/dports/net/cntlm/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/net/cntlm/files/patch-Makefile.diff
===================================================================
--- trunk/dports/net/cntlm/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/net/cntlm/files/patch-Makefile.diff 2013-08-21 15:53:52 UTC (rev 109900)
@@ -0,0 +1,34 @@
+--- Makefile.old 2013-01-08 10:47:51.000000000 -0500
++++ Makefile 2013-01-08 10:48:34.000000000 -0500
+@@ -15,7 +15,7 @@
+ NAME=cntlm
+ CC=gcc
+ VER=`cat VERSION`
+-CFLAGS+=$(FLAGS) -std=c99 -Wall -Wno-unused-but-set-variable -pedantic -O3 -D__BSD_VISIBLE -D_ALL_SOURCE -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -D_REENTRANT -D_BSD_SOURCE -DVERSION=\"`cat VERSION`\"
++CFLAGS+=$(FLAGS) -std=c99 -Wall -pedantic -O3 -D__BSD_VISIBLE -D_ALL_SOURCE -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -D_REENTRANT -D_BSD_SOURCE -DVERSION=\"`cat VERSION`\"
+ OS=$(shell uname -s)
+ OSLDFLAGS=$(shell [ $(OS) = "SunOS" ] && echo "-lrt -lsocket -lnsl")
+ LDFLAGS:=-lpthread $(OSLDFLAGS)
+@@ -26,6 +26,8 @@
+ OBJS=utils.o ntlm.o xcrypt.o config.o socket.o acl.o auth.o http.o forward.o direct.o scanner.o pages.o main.o win/resources.o
+ endif
+
++all: $(OBJS)
++
+ $(NAME): configure-stamp $(OBJS)
+ @echo "Linking $@"
+ @$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)
+@@ -49,10 +51,10 @@
+ install -M 644 -f $(MANDIR)/man1 doc/$(NAME).1; \
+ install -M 600 -c $(SYSCONFDIR) doc/$(NAME).conf; \
+ elif [ "`uname -s`" = "Darwin" ]; then \
+- install -d -m 755 -s $(NAME) $(BINDIR)/$(NAME); \
+- install -d -m 644 doc/$(NAME).1 $(MANDIR)/man1/$(NAME).1; \
++ install -m 755 -s $(NAME) $(BINDIR)/$(NAME); \
++ install -m 644 doc/$(NAME).1 $(MANDIR)/man1/$(NAME).1; \
+ [ -f $(SYSCONFDIR)/$(NAME).conf -o -z "$(SYSCONFDIR)" ] \
+- || install -d -m 600 doc/$(NAME).conf $(SYSCONFDIR)/$(NAME).conf; \
++ || install -m 600 doc/$(NAME).conf $(SYSCONFDIR)/$(NAME).conf; \
+ else \
+ install -D -m 755 -s $(NAME) $(BINDIR)/$(NAME); \
+ install -D -m 644 doc/$(NAME).1 $(MANDIR)/man1/$(NAME).1; \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130821/7c923674/attachment.html>
More information about the macports-changes
mailing list