ports/174181: www/cntlm: Update to version 0.92.3

KATO Tsuguru tkato432 at yahoo.com
Wed Dec 5 18:10:08 UTC 2012


>Number:         174181
>Category:       ports
>Synopsis:       www/cntlm: Update to version 0.92.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 05 18:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 0.92.3

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/www/cntlm/Makefile www/cntlm/Makefile
--- /usr/ports/www/cntlm/Makefile	2012-11-08 10:24:21.000000000 +0900
+++ www/cntlm/Makefile	2012-12-04 00:03:01.000000000 +0900
@@ -2,7 +2,7 @@
 # $FreeBSD: head/www/cntlm/Makefile 306069 2012-10-18 13:06:32Z tabthorpe $
 
 PORTNAME=	cntlm
-PORTVERSION=	0.92.2
+PORTVERSION=	0.92.3
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
 
@@ -11,23 +11,31 @@
 
 USE_RC_SUBR=	cntlm
 HAS_CONFIGURE=	yes
+USE_GMAKE=	yes
 ALL_TARGET=	cntlm
+MAKE_JOBS_SAFE=	yes
+
 MAN1=		cntlm.1
 
-.include <bsd.port.pre.mk>
+post-extract:
+	@${LN} -sf cntlm.conf ${WRKSRC}/doc/cntlm.conf.sample
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
-	    ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e \
+		's|^CC=|CC?=| ; \
+		 s| -Wno-unused-but-set-variable | | ; \
+		 s| -pedantic | | ; \
+		 s| -O3 | | ; \
+		 s|@$$(CC)|$$(CC)|' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e \
+		'/exit 1/s|^|#|' ${WRKSRC}/configure
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/cntlm ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/doc/cntlm.conf ${PREFIX}/etc/cntlm.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/doc/cntlm.1 ${PREFIX}/man/man1
-
-post-install:
-	@if [ ! -f ${PREFIX}/etc/cntlm.conf ]; then \
-	    ${CP} -p ${PREFIX}/etc/cntlm.conf.sample ${PREFIX}/etc/cntlm.conf; \
-	fi
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} cntlm ${PREFIX}/bin)
+	(cd ${WRKSRC}/doc && ${INSTALL_MAN} cntlm.1 ${MANPREFIX}/man/man1)
+	(cd ${WRKSRC}/doc && ${INSTALL_DATA} cntlm.conf.sample ${PREFIX}/etc)
+.if !exists(${PREFIX}/etc/cntlm.conf)
+	(cd ${PREFIX}/etc && ${CP} -p cntlm.conf.sample cntlm.conf)
+.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/www/cntlm/distinfo www/cntlm/distinfo
--- /usr/ports/www/cntlm/distinfo	2012-11-08 10:24:21.000000000 +0900
+++ www/cntlm/distinfo	2012-10-19 22:42:25.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (cntlm-0.92.2.tar.gz) = 755c48f620812742e43b5eb421dad763514f0804c0883c8cb55ef5fad2d6a935
-SIZE (cntlm-0.92.2.tar.gz) = 92861
+SHA256 (cntlm-0.92.3.tar.gz) = 9c3ad10924d43f7248df9ecd33cbc033afbd7ea8d9545de0d68a2782fed76298
+SIZE (cntlm-0.92.3.tar.gz) = 93075
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list