From mohawk@bsdsx.fr  Wed Jun  5 20:26:23 2013
Return-Path: <mohawk@bsdsx.fr>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id DE5D8B72
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 Jun 2013 20:26:23 +0000 (UTC)
	(envelope-from mohawk@bsdsx.fr)
Received: from mx2.bsdsx.fr (unknown [IPv6:2a02:27d0:100:f205:a642::9])
	by mx1.freebsd.org (Postfix) with ESMTP id 881F61F5C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 Jun 2013 20:26:23 +0000 (UTC)
Received: from mx2.bsdsx.fr (localhost [127.0.0.9])
	by mx2.bsdsx.fr (8.14.5/8.14.5) with ESMTP id r55KQFlB043544
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 5 Jun 2013 22:26:16 +0200 (CEST)
	(envelope-from mohawk@mx2.bsdsx.fr)
Received: (from mohawk@localhost)
	by mx2.bsdsx.fr (8.14.5/8.14.5/Submit) id r55KQFN7043543;
	Wed, 5 Jun 2013 22:26:15 +0200 (CEST)
	(envelope-from mohawk)
Message-Id: <201306052026.r55KQFN7043543@mx2.bsdsx.fr>
Date: Wed, 5 Jun 2013 22:26:15 +0200 (CEST)
From: mohawk <mohawk@bsdsx.fr>
Reply-To: mohawk <mohawk@bsdsx.fr>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [Maintainer update] www/mohawk 2.0.5
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         179350
>Category:       ports
>Synopsis:       [Maintainer update] www/mohawk 2.0.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 05 20:30:00 UTC 2013
>Closed-Date:    Thu Jun 06 11:04:35 UTC 2013
>Last-Modified:  Thu Jun  6 11:10:01 UTC 2013
>Originator:     mohawk
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD mx2.bsdsx.fr 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	use Makefile.inc
	fix 32/64 bits getrusage
	fix examples (chroot, path)
	use SLIST when is possible
	fix mohawk namespace
	remove restrict_froms 
	add grant_access, based on the patch submitted by Jeremie Le Hen <jeremie@le-hen.org>
	improve do_log
	check FreeBSD version
	bump version
>How-To-Repeat:
	
>Fix:

diff -ruN mohawk.orig/Makefile mohawk/Makefile
--- mohawk.orig/Makefile	2013-06-03 21:09:41.000000000 +0200
+++ mohawk/Makefile	2013-06-05 21:38:18.000000000 +0200
@@ -2,11 +2,10 @@
 # $FreeBSD: www/mohawk/Makefile 316250 2013-04-22 17:58:03Z madpilot $
 
 PORTNAME=	mohawk
-PORTVERSION=	2.0.2
+PORTVERSION=	2.0.5
 CATEGORIES=	www ipv6
 MASTER_SITES=	http://fossil.etoilebsd.net/mohawk/tarball/ \
 		http://fossil.bsdsx.fr/mohawk/tarball/
-DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}?uuid=${PORTVERSION}
 
 MAINTAINER=	mohawk@bsdsx.fr
 COMMENT=	Simple and lightweight HTTP daemon
diff -ruN mohawk.orig/distinfo mohawk/distinfo
--- mohawk.orig/distinfo	2013-06-03 21:09:41.000000000 +0200
+++ mohawk/distinfo	2013-06-05 21:38:35.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (mohawk-2.0.2.tar.gz?uuid=2.0.2) = 8fa238a99cb5565d4eb84c0cb583e437484cecb1d0b673f0c0ed2d77c37963cb
-SIZE (mohawk-2.0.2.tar.gz?uuid=2.0.2) = 34244
+SHA256 (mohawk-2.0.5.tar.gz) = 6698f065347c29f102ddd57125f3eb20bacb3c483deecae59fb7f6287d005a04
+SIZE (mohawk-2.0.5.tar.gz) = 36380

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Wed Jun 5 23:15:37 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179350 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Thu Jun 6 11:04:33 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179350 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179350: commit references a PR
Date: Thu,  6 Jun 2013 11:04:26 +0000 (UTC)

 Author: wg
 Date: Thu Jun  6 11:04:18 2013
 New Revision: 320082
 URL: http://svnweb.freebsd.org/changeset/ports/320082
 
 Log:
   - Update to 2.0.5 [1]
   - NOPORTEXAMPLES -> PORT_OPTIONS:MEXAMPLES
   - Unmute install commands
   
   PR:		ports/179350 [1]
   Submitted by:	mohawk <mohawk@bsdsx.fr> (maintainer) [1]
   Approved by:	culot / jpaetzel (mentors, implicit)
 
 Modified:
   head/www/mohawk/Makefile
   head/www/mohawk/distinfo
 
 Modified: head/www/mohawk/Makefile
 ==============================================================================
 --- head/www/mohawk/Makefile	Thu Jun  6 10:59:41 2013	(r320081)
 +++ head/www/mohawk/Makefile	Thu Jun  6 11:04:18 2013	(r320082)
 @@ -2,11 +2,10 @@
  # $FreeBSD$
  
  PORTNAME=	mohawk
 -PORTVERSION=	2.0.2
 +PORTVERSION=	2.0.5
  CATEGORIES=	www ipv6
  MASTER_SITES=	http://fossil.etoilebsd.net/mohawk/tarball/ \
  		http://fossil.bsdsx.fr/mohawk/tarball/
 -DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}?uuid=${PORTVERSION}
  
  MAINTAINER=	mohawk@bsdsx.fr
  COMMENT=	Simple and lightweight HTTP daemon
 @@ -31,12 +30,14 @@ MAN8=	mhtpasswd.8 \
  CFLAGS+=        -I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include
  LDFLAGS+=       -L${LOCALBASE}/lib/event2
  
 +.include <bsd.port.options.mk>
 +
  post-install:
 -	@${INSTALL_DATA} ${WRKSRC}/examples/minimal.conf ${PREFIX}/etc/mohawk.conf.sample
 -	@${INSTALL_SCRIPT} ${WRKSRC}/mhtpasswd.sh ${PREFIX}/bin/mhtpasswd
 -.if !defined(NOPORTEXAMPLES)
 +	${INSTALL_DATA} ${WRKSRC}/examples/minimal.conf ${PREFIX}/etc/mohawk.conf.sample
 +	${INSTALL_SCRIPT} ${WRKSRC}/mhtpasswd.sh ${PREFIX}/bin/mhtpasswd
 +.if ${PORT_OPTIONS:MEXAMPLES}
  	@${MKDIR} ${EXAMPLESDIR}
 -	@${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${EXAMPLESDIR}
 +	${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${EXAMPLESDIR}
  .endif
  
  .include <bsd.port.mk>
 
 Modified: head/www/mohawk/distinfo
 ==============================================================================
 --- head/www/mohawk/distinfo	Thu Jun  6 10:59:41 2013	(r320081)
 +++ head/www/mohawk/distinfo	Thu Jun  6 11:04:18 2013	(r320082)
 @@ -1,2 +1,2 @@
 -SHA256 (mohawk-2.0.2.tar.gz?uuid=2.0.2) = 8fa238a99cb5565d4eb84c0cb583e437484cecb1d0b673f0c0ed2d77c37963cb
 -SIZE (mohawk-2.0.2.tar.gz?uuid=2.0.2) = 34244
 +SHA256 (mohawk-2.0.5.tar.gz) = 6698f065347c29f102ddd57125f3eb20bacb3c483deecae59fb7f6287d005a04
 +SIZE (mohawk-2.0.5.tar.gz) = 36380
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
