Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133976 Details for
Bug 195771
webapp-config patch to make it work with prefixed portage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch to webapp-config 1.50.16-r2 ebuild to make it work with prefixed portage
webapp-config.ebuild.patch (text/plain), 1.91 KB, created by
Dirk Tilger
on 2007-10-20 18:16:53 UTC
(
hide
)
Description:
Updated patch to webapp-config 1.50.16-r2 ebuild to make it work with prefixed portage
Filename:
MIME Type:
Creator:
Dirk Tilger
Created:
2007-10-20 18:16:53 UTC
Size:
1.91 KB
patch
obsolete
>--- /tmp/webapp-config-1.50.16-r2.ebuild 2007-10-20 22:05:14 +0400 >+++ app-admin/webapp-config/webapp-config-1.50.16-r2.ebuild 2007-10-20 19:39:09 +0400 >@@ -12,7 +12,7 @@ > > LICENSE="GPL-2" > SLOT="0" >-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" >+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-macos" > IUSE="" > > DEPEND="" >@@ -22,6 +22,13 @@ > cd "${S}" > epatch "${FILESDIR}"/${P}-apache-move.patch > epatch "${FILESDIR}"/${P}-baselayout2.patch >+ test -z "${EPREFIX}" || epatch "${FILESDIR}"/${P}-prefixportage.patch >+ eprefixify \ >+ WebappConfig/config.py \ >+ WebappConfig/db.py \ >+ WebappConfig/sandbox.py \ >+ WebappConfig/wrapper.py \ >+ sbin/webapp-cleaner > } > > src_install() { >@@ -31,7 +38,7 @@ > # distutils does not provide for specifying two different script install > # locations. Since we only install one script here the following should > # be ok >- distutils_src_install --install-scripts="/usr/sbin" >+ distutils_src_install --install-scripts="${EPREFIX}/usr/sbin" > > dodir /etc/vhosts > cp config/webapp-config ${ED}/etc/vhosts/ >@@ -62,5 +69,17 @@ > elog "config files in /etc/vhosts/webapp-config before you emerge any" > elog "packages that use webapp-config." > echo >+ if test ! -z "${EPREFIX}"; then >+ elog "If you receive error messages similar to the following..." >+ elog "'You did specify an invalid group value for the variable \"vhost_default_gid\"'" >+ elog "... then you have to edit ${EPREFIX}/etc/vhosts/webapp-config to" >+ elog "contain only user and group names present on the system." >+ echo >+ elog "If you receive error messages similar to..." >+ elog "Fatal error: The user for the server type \"Apache\" does not exist!" >+ elog "...you need to create the user/group accounts for the webserver." >+ elog "The dscl and niload commands assist you on the command line in doing this." >+ echo >+ fi > epause 5 > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195771
:
133383
|
133384
|
133975
| 133976 |
133977