Bug 171148 - New port: www/mod_umask Apache 2.x module to set umask
Summary: New port: www/mod_umask Apache 2.x module to set umask
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: Olli Hauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-28 23:10 UTC by gebhart
Modified: 2012-08-29 00:00 UTC (History)
0 users

See Also:


Attachments
file.shar (1.84 KB, text/plain)
2012-08-28 23:10 UTC, gebhart
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gebhart 2012-08-28 23:10:08 UTC
	New port: www/mod_umask
	Apache 2.x module to set umask of created files (eg. Uploads, mod_dav)

Fix: shar is attached, tested on FreeBSD 7, 8 and 9
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-28 23:10:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

apache@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-08-28 23:54:33 UTC
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 <gebhart@secnetix.de>

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 <gebhart@secnetix.de>
+#
+# $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 <bsd.port.mk>

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/
_______________________________________________
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"
Comment 3 Olli Hauer freebsd_committer freebsd_triage 2012-08-28 23:54:46 UTC
State Changed
From-To: open->closed

Committed, 
Thanks! 


Comment 4 Olli Hauer freebsd_committer freebsd_triage 2012-08-28 23:54:46 UTC
Responsible Changed
From-To: apache->ohauer