From owner-svn-ports-head@FreeBSD.ORG Tue Aug 28 22:54:23 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D925106564A; Tue, 28 Aug 2012 22:54:23 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0E7A58FC19; Tue, 28 Aug 2012 22:54:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7SMsMTv042152; Tue, 28 Aug 2012 22:54:22 GMT (envelope-from ohauer@svn.freebsd.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7SMsMx1042147; Tue, 28 Aug 2012 22:54:22 GMT (envelope-from ohauer@svn.freebsd.org) Message-Id: <201208282254.q7SMsMx1042147@svn.freebsd.org> From: Olli Hauer Date: Tue, 28 Aug 2012 22:54:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303301 - in head/www: . mod_umask X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2012 22:54:23 -0000 Author: ohauer Date: Tue Aug 28 22:54:22 2012 New Revision: 303301 URL: http://svn.freebsd.org/changeset/ports/303301 Log: Apache 2.x module to set umask of created files mod_umask sets the Unix umask of the Apache HTTPd process after it has started. This is useful when accessing Subversion from both mod_dav_svn and via a local client with a file:// url. Without setting a proper umask the file permissions can create a repository that is not easily accessable from both. WWW: http://www.outoforder.cc/projects/httpd/mod_umask/ PR: ports/171148 Submitted by: Ralf Gebhart Added: head/www/mod_umask/ head/www/mod_umask/Makefile (contents, props changed) head/www/mod_umask/distinfo (contents, props changed) head/www/mod_umask/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Tue Aug 28 20:59:24 2012 (r303300) +++ head/www/Makefile Tue Aug 28 22:54:22 2012 (r303301) @@ -523,6 +523,7 @@ SUBDIR += mod_spdy SUBDIR += mod_tidy SUBDIR += mod_tsa + SUBDIR += mod_mask SUBDIR += mod_uid SUBDIR += mod_vhost_ldap SUBDIR += mod_vhs Added: head/www/mod_umask/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_umask/Makefile Tue Aug 28 22:54:22 2012 (r303301) @@ -0,0 +1,28 @@ +# New ports collection makefile for: mod_umask +# Date created: 2012-08-28 +# Whom: Ralf Gebhart +# +# $FreeBSD$ +# + +PORTNAME= mod_umask +PORTVERSION= 0.1.0 +CATEGORIES= www +MASTER_SITES= http://www.outoforder.cc/downloads/mod_umask/ +PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} +DIST_SUBDIR= apache2 + +MAINTAINER= gebhart@secnetix.de +COMMENT= Apache 2.x module to set umask of created files + +MAKE_JOBS_SAFE= yes + +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_APACHE= 22+ + +AP_FAST_BUILD= yes +AP_GENPLIST= yes +SRC_FILE= src/${PORTNAME}.c + +.include Added: head/www/mod_umask/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_umask/distinfo Tue Aug 28 22:54:22 2012 (r303301) @@ -0,0 +1,2 @@ +SHA256 (apache2/mod_umask-0.1.0.tar.bz2) = 2be142d562260c895de94600a56b13d8346174b5e2f8a4974adcef23249ec790 +SIZE (apache2/mod_umask-0.1.0.tar.bz2) = 182078 Added: head/www/mod_umask/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_umask/pkg-descr Tue Aug 28 22:54:22 2012 (r303301) @@ -0,0 +1,6 @@ +mod_umask sets the Unix umask of the Apache HTTPd process after it has started. +This is useful when accessing Subversion from both mod_dav_svn and via a local +client with a file:// url. Without setting a proper umask the file permissions +can create a repository that is not easily accessable from both. + +WWW: http://www.outoforder.cc/projects/httpd/mod_umask/