Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133383 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]
Patch to webapp-config 1.50.16-r2 ebuild to make it work with prefixed portage
webapp-config.ebuild.patch (text/plain), 2.33 KB, created by
Dirk Tilger
on 2007-10-13 21:11:21 UTC
(
hide
)
Description:
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-13 21:11:21 UTC
Size:
2.33 KB
patch
obsolete
>--- /Volumes/localhorst/usr/portage/app-admin/webapp-config/webapp-config-1.50.16-r2.ebuild 2007-09-10 01:11:40 +0400 >+++ app-admin/webapp-config/webapp-config-1.50.16-r2.ebuild 2007-10-13 21:04:50 +0400 >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.16-r2.ebuild,v 1.1 2007/09/09 21:11:40 hollow Exp $ > >+EAPI="prefix" >+ > inherit eutils distutils > > DESCRIPTION="Gentoo's installer for web-based applications" >@@ -10,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="" >@@ -20,6 +22,7 @@ > cd "${S}" > epatch "${FILESDIR}"/${P}-apache-move.patch > epatch "${FILESDIR}"/${P}-baselayout2.patch >+ test -z "$EPREFIX" || epatch "${FILESDIR}"/${P}-prefixportage.patch > } > > src_install() { >@@ -29,10 +32,10 @@ > # 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 ${D}/etc/vhosts/ >+ cp config/webapp-config ${ED}/etc/vhosts/ > keepdir /usr/share/webapps > keepdir /var/db/webapps > dodoc examples/phpmyadmin-2.5.4-r1.ebuild AUTHORS.txt TODO.txt CHANGES.txt examples/postinstall-en.txt >@@ -60,5 +63,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