diff options
author | ohauer <ohauer@FreeBSD.org> | 2012-08-29 06:54:22 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2012-08-29 06:54:22 +0800 |
commit | 49b69a06b328553a136a242ed915726ded673648 (patch) | |
tree | d86c68aa4a9fa58e17402e298ec9ef25024eae26 /www/mod_umask | |
parent | 57748f93a91dffafd783da93fd014bc5cd6314b9 (diff) | |
download | freebsd-ports-gnome-49b69a06b328553a136a242ed915726ded673648.tar.gz freebsd-ports-gnome-49b69a06b328553a136a242ed915726ded673648.tar.zst freebsd-ports-gnome-49b69a06b328553a136a242ed915726ded673648.zip |
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>
Diffstat (limited to 'www/mod_umask')
-rw-r--r-- | www/mod_umask/Makefile | 28 | ||||
-rw-r--r-- | www/mod_umask/distinfo | 2 | ||||
-rw-r--r-- | www/mod_umask/pkg-descr | 6 |
3 files changed, 36 insertions, 0 deletions
diff --git a/www/mod_umask/Makefile b/www/mod_umask/Makefile new file mode 100644 index 000000000000..2b62e7ff8316 --- /dev/null +++ b/www/mod_umask/Makefile @@ -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> diff --git a/www/mod_umask/distinfo b/www/mod_umask/distinfo new file mode 100644 index 000000000000..adb8c4c47d91 --- /dev/null +++ b/www/mod_umask/distinfo @@ -0,0 +1,2 @@ +SHA256 (apache2/mod_umask-0.1.0.tar.bz2) = 2be142d562260c895de94600a56b13d8346174b5e2f8a4974adcef23249ec790 +SIZE (apache2/mod_umask-0.1.0.tar.bz2) = 182078 diff --git a/www/mod_umask/pkg-descr b/www/mod_umask/pkg-descr new file mode 100644 index 000000000000..73a014207120 --- /dev/null +++ b/www/mod_umask/pkg-descr @@ -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/ |