Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139221 Details for
Bug 202895
webapp.eclass lacks a sanity check for ebuilds that override webapp_pkg_setup, producing bogus warnings and broken install
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
webapp.eclass.diff
webapp.eclass.diff (text/plain), 979 bytes, created by
Jakub Moc (RETIRED)
on 2007-12-23 23:44:01 UTC
(
hide
)
Description:
webapp.eclass.diff
Filename:
MIME Type:
Creator:
Jakub Moc (RETIRED)
Created:
2007-12-23 23:44:01 UTC
Size:
979 bytes
patch
obsolete
>--- eclass/webapp.eclass 2007-01-03 21:36:52.000000000 +0100 >+++ eclass/webapp.eclass 2007-12-24 00:39:57.000000000 +0100 >@@ -33,6 +33,7 @@ > IS_UPGRADE=0 > IS_REPLACE=0 > >+SETUP_CHECK_FILE="setup_run_by_webapp_eclass" > INSTALL_CHECK_FILE="installed_by_webapp_eclass" > > ETC_CONFIG="${ROOT}/etc/vhosts/webapp-config" >@@ -323,6 +324,20 @@ > > function webapp_src_install () > { >+ >+ # sanity checks, to catch bugs in the ebuild >+ >+ if [ ! -f "${T}"/${SETUP_CHECK_FILE} ]; then >+ eerror >+ eerror "This ebuild did not call webapp_pkg_setup() at the end" >+ eerror "of the pkg_setup() function" >+ eerror >+ eerror "Please log a bug on http://bugs.gentoo.org" >+ eerror >+ die "Ebuild did not call webapp_pkg_setup() - report to http://bugs.gentoo.org" >+ fi >+ >+ > chown -R "${VHOST_DEFAULT_UID}:${VHOST_DEFAULT_GID}" "${D}/" > chmod -R u-s "${D}/" > chmod -R g-s "${D}/" >@@ -389,6 +404,8 @@ > fi > fi > fi >+ >+ touch "${T}"/${SETUP_CHECK_FILE} > } > > function webapp_getinstalltype ()
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 202895
: 139221