Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133511 Details for
Bug 195641
www-misc/execwrap-0.4 - lighttpd exec wrapper (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Updated ebuild
execwrap-0.4.ebuild (text/plain), 1.49 KB, created by
Jeremie
on 2007-10-15 08:03:26 UTC
(
hide
)
Description:
Updated ebuild
Filename:
MIME Type:
Creator:
Jeremie
Created:
2007-10-15 08:03:26 UTC
Size:
1.49 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils toolchain-funcs > >KEYWORDS="~x86" >DESCRIPTION="ExecWrap is a super-user exec wrapper for the lighttpd web-server" >HOMEPAGE="http://cyanite.org/execwrap/" >SRC_URI="http://cyanite.org/execwrap/ExecWrap-0.4.tgz" >LICENSE="BSD" >SLOT="0" >IUSE="" > >DEPEND="" >RDEPEND="www-servers/lighttpd" > >pkg_setup() { > einfo "You can manipulate several configure options of this" > einfo "ebuild through environment variables:" > einfo > einfo "PARENT_UID: UID of your lighttpd user (default: 104)" > einfo "TARGET_MIN_UID: Minimum UID, which is allowed to run scripts (default: 1000)" > einfo "TARGET_MIN_GID: Minimum GID, which is allowed to run scripts (default: 100)" > einfo "TARGET_PATH_PREFIX: Your lighttpd site web-roots (default: /var/www/light/)" > > : ${PARENT_UID:=104} > : ${TARGET_MIN_UID:=1000} > : ${TARGET_MIN_GID:=100} > : ${TARGET_PATH_PREFIX:="/var/www/"} > >} > >src_unpack() { > unpack ${A} > cd ${WORKDIR} > > sed -i -e "s:104:${PARENT_UID}:g" execwrap_config.h > sed -i -e "s:1000:${TARGET_MIN_UID}:g" execwrap_config.h > sed -i -e "s:100:${TARGET_MIN_GID}:g" execwrap_config.h > sed -i -e "s:/var/www/light/:${TARGET_PATH_PREFIX}:g" execwrap_config.h > > CC="$(tc-getCC)" >} > >src_compile() { > ${CC} ${CFLAGS} -o ${PN} ${PN}.c || die "gcc compilation failed" >} > >src_install() { > dobin ${PN} > dodoc README >} > >pkg_postinst() { > fperms 0710 "${ROOT}"usr/bin/${PN} > fowners root:lighttpd "${ROOT}"usr/bin/${PN} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 195641
:
133264
| 133511