Diff gitea-1.19.1 with a gitea-1.19.3
/usr/portage/www-apps/gitea/gitea-1.19.3.ebuild 2023-10-09 14:52:35.872368511 +0300 | ||
---|---|---|
13 | 13 |
EGIT_REPO_URI="https://github.com/go-gitea/gitea.git" |
14 | 14 |
else |
15 | 15 |
SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${PV}/gitea-src-${PV}.tar.gz -> ${P}.tar.gz" |
16 |
KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" |
|
16 |
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
|
17 | 17 |
fi |
18 | 18 | |
19 | 19 |
S="${WORKDIR}/${PN}-src-${PV}" |
... | ... | |
42 | 42 |
src_prepare() { |
43 | 43 |
default |
44 | 44 | |
45 |
local sedcmds=( |
|
46 |
-e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#" |
|
47 |
-e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/gitea#" |
|
48 |
-e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#" |
|
49 |
-e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#" |
|
50 |
-e "s#^MODE = console#MODE = file#" |
|
51 |
-e "s#^LEVEL = Trace#LEVEL = Info#" |
|
52 |
-e "s#^LOG_SQL = true#LOG_SQL = false#" |
|
53 |
-e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#" |
|
54 |
) |
|
55 | ||
56 |
sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die |
|
45 |
sed -i -e "s#^MODE = console#MODE = file#" custom/conf/app.example.ini || die |
|
57 | 46 |
if use sqlite ; then |
58 | 47 |
sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die |
59 | 48 |
fi |