Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 202895
Collapse All | Expand All

(-)eclass/webapp.eclass (+17 lines)
Lines 33-38 Link Here
33
IS_UPGRADE=0
33
IS_UPGRADE=0
34
IS_REPLACE=0
34
IS_REPLACE=0
35
35
36
SETUP_CHECK_FILE="setup_run_by_webapp_eclass"
36
INSTALL_CHECK_FILE="installed_by_webapp_eclass"
37
INSTALL_CHECK_FILE="installed_by_webapp_eclass"
37
38
38
ETC_CONFIG="${ROOT}/etc/vhosts/webapp-config"
39
ETC_CONFIG="${ROOT}/etc/vhosts/webapp-config"
Lines 323-328 Link Here
323
324
324
function webapp_src_install ()
325
function webapp_src_install ()
325
{
326
{
327
328
	# sanity checks, to catch bugs in the ebuild
329
330
	if [ ! -f "${T}"/${SETUP_CHECK_FILE} ]; then
331
		eerror
332
		eerror "This ebuild did not call webapp_pkg_setup() at the end"
333
		eerror "of the pkg_setup() function"
334
		eerror
335
		eerror "Please log a bug on http://bugs.gentoo.org"
336
		eerror
337
		die "Ebuild did not call webapp_pkg_setup() - report to http://bugs.gentoo.org"
338
	fi
339
340
326
	chown -R "${VHOST_DEFAULT_UID}:${VHOST_DEFAULT_GID}" "${D}/"
341
	chown -R "${VHOST_DEFAULT_UID}:${VHOST_DEFAULT_GID}" "${D}/"
327
	chmod -R u-s "${D}/"
342
	chmod -R u-s "${D}/"
328
	chmod -R g-s "${D}/"
343
	chmod -R g-s "${D}/"
Lines 389-394 Link Here
389
			fi
404
			fi
390
		fi
405
		fi
391
	fi
406
	fi
407
408
	touch "${T}"/${SETUP_CHECK_FILE}
392
}
409
}
393
410
394
function webapp_getinstalltype ()
411
function webapp_getinstalltype ()

Return to bug 202895