ports/141637: patch: net/ntlmaps - remove CR/LF's
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Dec 15 12:50:04 UTC 2009
>Number: 141637
>Category: ports
>Synopsis: patch: net/ntlmaps - remove CR/LF's
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 15 12:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 8.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 8.0-RC1 FreeBSD 8.0-RC1 #41 r197738: Sun Oct 4 11:00:31 UTC 2009 simon at freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386
>Description:
net/ntlmaps installs python scripts with CR/LF's. The following patch replaces
CR/LF's with unix LF's.
>How-To-Repeat:
>Fix:
--- ntlmaps.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/ntlmaps/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 22 Aug 2009 00:31:35 -0000 1.3
+++ Makefile 15 Dec 2009 12:41:04 -0000
@@ -6,7 +6,7 @@
PORTNAME= ntlmaps
PORTVERSION= 0.9.9.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -14,11 +14,12 @@
COMMENT= A proxy that authenticates the user using the NTLM protocol
USE_PYTHON= yes
+USE_DOS2UNIX= yes
DOCS= COPYING Install.txt changelog.txt readme.txt research.txt
post-patch:
- ${REINPLACE_CMD} -e \
+ @${REINPLACE_CMD} -e \
's,^#! /usr/bin/python,#!${PYTHON_CMD},' ${WRKSRC}/main.py
@${RM} -rf ${WRKSRC}/main.py.bak
--- ntlmaps.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list