Diff baikal-0.9.3 with a baikal-0.10.1
/usr/portage/www-apps/baikal/baikal-0.10.1.ebuild 2025-02-03 17:39:35.950678065 +0300 | ||
---|---|---|
15 | 15 |
REQUIRED_USE="|| ( mysql sqlite )" |
16 | 16 | |
17 | 17 |
DEPEND="app-arch/unzip" |
18 |
RDEPEND=">=dev-lang/php-6[ctype,filter,json(+),pdo,session,xml,xmlreader,xmlwriter,mysql?,sqlite?] |
|
18 |
RDEPEND=">=dev-lang/php-8.1[ctype,filter,json(+),pdo,session,xml,xmlreader,xmlwriter,mysql?,sqlite?] |
|
19 | 19 |
mysql? ( virtual/mysql ) |
20 | 20 |
sqlite? ( dev-db/sqlite ) |
21 | 21 |
virtual/httpd-php" |
... | ... | |
33 | 33 | |
34 | 34 |
einfo "Setting up container for configuration" |
35 | 35 |
dodir /etc/${PN} |
36 |
fperms o+x /etc/${PN} # allow webserver to read config |
|
36 | 37 | |
37 | 38 |
# setup config in /etc |
38 | 39 |
# we are not allowed to use straight-forward absolute symlink :( |
... | ... | |
51 | 52 | |
52 | 53 |
webapp_postinst_txt en "${FILESDIR}/postinstall-v0.7-en.txt" |
53 | 54 |
webapp_src_install |
54 | ||
55 |
if has_version www-servers/apache ; then |
|
56 |
fowners -R apache:apache /etc/${PN} |
|
57 |
elif has_version www-servers/nginx ; then |
|
58 |
fowners -R nginx:nginx /etc/${PN} |
|
59 |
else |
|
60 |
einfo "/etc/${PN} must be owned by the webserver user for baikal" |
|
61 |
fi |
|
62 | 55 |
} |