ports/171148: New port: www/mod_umask Apache 2.x module to set umask
Ralf Gebhart
gebhart at secnetix.de
Tue Aug 28 22:10:09 UTC 2012
>Number: 171148
>Category: ports
>Synopsis: New port: www/mod_umask Apache 2.x module to set umask
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 28 22:10:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Ralf Gebhart
>Release: any supported FreeBSD version
>Organization:
secnetix GmbH & Co KG
>Environment:
System: FreeBSD server1.gaga.fm 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Jan 7 20:53:56 CET 2010 gebhart at server1.omnevents.de:/usr/obj/usr/src/sys/SERVER1 i386
>Description:
New port: www/mod_umask
Apache 2.x module to set umask of created files (eg. Uploads, mod_dav)
>How-To-Repeat:
>Fix:
shar is attached, tested on FreeBSD 7, 8 and 9
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mod_umask
# mod_umask/Makefile
# mod_umask/pkg-descr
# mod_umask/distinfo
#
echo c - mod_umask
mkdir -p mod_umask > /dev/null 2>&1
echo x - mod_umask/Makefile
sed 's/^X//' >mod_umask/Makefile << '3dee246c2fb5316fde32df44300df13b'
X# New ports collection makefile for: mod_umask
X# Date created: 2012-08-28
X# Whom: Ralf Gebhart <gebhart at secnetix.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mod_umask
XPORTVERSION= 0.1.0
XCATEGORIES= www
XMASTER_SITES= http://www.outoforder.cc/downloads/mod_umask/
XPKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
X
XMAINTAINER= gebhart at secnetix.de
XCOMMENT= Apache 2.x module to set umask of created files
X
XMAKE_JOBS_SAFE= yes
X
XUSE_BZIP2= yes
XGNU_CONFIGURE= yes
XUSE_APACHE= 22+
X
XAP_FAST_BUILD= yes
XAP_GENPLIST= yes
XSRC_FILE= src/${PORTNAME}.c
X
X.include <bsd.port.mk>
3dee246c2fb5316fde32df44300df13b
echo x - mod_umask/pkg-descr
sed 's/^X//' >mod_umask/pkg-descr << 'dc272b5adaffa2325cd18d87039015c8'
Xmod_umask sets the Unix umask of the Apache HTTPd process after it has started.
XThis is useful when accessing Subversion from both mod_dav_svn and via a local
Xclient with a file:// url. Without setting a proper umask the file permissions
Xcan create a repository that is not easily accessable from both.
X
XWWW: http://www.outoforder.cc/projects/httpd/mod_umask/
dc272b5adaffa2325cd18d87039015c8
echo x - mod_umask/distinfo
sed 's/^X//' >mod_umask/distinfo << 'd27a57c7bfeb0a10af03c6b8c64d5f95'
XSHA256 (mod_umask-0.1.0.tar.bz2) = 2be142d562260c895de94600a56b13d8346174b5e2f8a4974adcef23249ec790
XSIZE (mod_umask-0.1.0.tar.bz2) = 182078
d27a57c7bfeb0a10af03c6b8c64d5f95
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list