Bug 177986 - [Maintainer update] www/mohawk 2.0.2
Summary: [Maintainer update] www/mohawk 2.0.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-20 08:30 UTC by mohawk
Modified: 2013-04-22 19:00 UTC (History)
0 users

See Also:


Attachments
mohawk_2.0.2.patch (857 bytes, patch)
2013-04-20 08:30 UTC, mohawk
no flags Details | Diff
mohawk.diff (1.67 KB, patch)
2013-04-22 10:50 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mohawk 2013-04-20 08:30:00 UTC
fix authentication.template (add dirlist)
rename check_restrict_from to in_restrict_froms 
add get_clean_uri (some path start with multi slashes, thx bapt@) 
don't use evhttp_request_get_evhttp_uri in do_dir, do_file_details, do_location 
don't check length of path 
remove unnecessary variables in *lookup functions 
fix memory leak 
rename path to fs_path in do_dir 
use path_decoded in auth_lookup and cgi_map_lookup 
bump version
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2013-04-22 09:35:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

I'll take it.
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2013-04-22 10:50:52 UTC
Hi,

Thanks for your patch.

While testing it I made a few more changes:

- Trimmed the Makefile

- put space in place of tab after WWW: in pkg-descr

Also, I removed the check for old unsupported FreeBSD versions.

Can you approve the attached patch?

-- 
Guido Falsi <madpilot@FreeBSD.org>
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2013-04-22 10:51:38 UTC
State Changed
From-To: open->feedback

Ask for maintainer approval.
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2013-04-22 14:16:34 UTC
State Changed
From-To: feedback->open

Maintainer has approved via private email.
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2013-04-22 18:58:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2013-04-22 18:58:11 UTC
Author: madpilot
Date: Mon Apr 22 17:58:03 2013
New Revision: 316250
URL: http://svnweb.freebsd.org/changeset/ports/316250

Log:
  - Update to 2.0.2
  - Remove check for unsupported FreeBSD versions
  - Trim Makefile header
  - Use space instead of tab for WWW line in pkg-descr
  
  PR:		ports/177986
  Submitted by:	mohawk <mohawk@bsdsx.fr> (maintainer)

Modified:
  head/www/mohawk/Makefile   (contents, props changed)
  head/www/mohawk/distinfo   (contents, props changed)
  head/www/mohawk/pkg-descr   (contents, props changed)

Modified: head/www/mohawk/Makefile
==============================================================================
--- head/www/mohawk/Makefile	Mon Apr 22 17:01:33 2013	(r316249)
+++ head/www/mohawk/Makefile	Mon Apr 22 17:58:03 2013	(r316250)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	mohawk
-# Date created:		2011-04-15
-# Whom:			Baptiste Daroussin <bapt@FreeBSD.org>
-#
+# Created by: Baptiste Daroussin <bapt@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	mohawk
-PORTVERSION=	2.0.1
+PORTVERSION=	2.0.2
 CATEGORIES=	www ipv6
 MASTER_SITES=	http://fossil.etoilebsd.net/mohawk/tarball/ \
 		http://fossil.bsdsx.fr/mohawk/tarball/
@@ -32,11 +28,6 @@ MAN5=	mohawk.conf.5
 MAN8=	mhtpasswd.8 \
 	mohawk.8
 
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 800502
-BROKEN=		does not build
-.endif
-
 CFLAGS+=        -I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include
 LDFLAGS+=       -L${LOCALBASE}/lib/event2
 
@@ -48,4 +39,4 @@ post-install:
 	@${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/mohawk/distinfo
==============================================================================
--- head/www/mohawk/distinfo	Mon Apr 22 17:01:33 2013	(r316249)
+++ head/www/mohawk/distinfo	Mon Apr 22 17:58:03 2013	(r316250)
@@ -1,2 +1,2 @@
-SHA256 (mohawk-2.0.1.tar.gz?uuid=2.0.1) = 8215b59d6297a4eb48c9213aa8583d6ec66961423f48448477fe4370b2f8d9d1
-SIZE (mohawk-2.0.1.tar.gz?uuid=2.0.1) = 46479
+SHA256 (mohawk-2.0.2.tar.gz?uuid=2.0.2) = 8fa238a99cb5565d4eb84c0cb583e437484cecb1d0b673f0c0ed2d77c37963cb
+SIZE (mohawk-2.0.2.tar.gz?uuid=2.0.2) = 34244

Modified: head/www/mohawk/pkg-descr
==============================================================================
--- head/www/mohawk/pkg-descr	Mon Apr 22 17:01:33 2013	(r316249)
+++ head/www/mohawk/pkg-descr	Mon Apr 22 17:58:03 2013	(r316250)
@@ -7,4 +7,4 @@ It provides the following features:
 - basic authentication
 - basic url mapping system.
 
-WWW:	http://fossil.etoilebsd.net/mohawk
+WWW: http://fossil.etoilebsd.net/mohawk
_______________________________________________
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"