www-apps/forgejo: align sed with gitea

drop workaround for parralellism issue
This commit is contained in:
Guillaume Castagnino 2023-09-10 06:47:24 +02:00
parent 81c2d82e7a
commit 9d4294b697
Signed by: casta
SSH Key Fingerprint: SHA256:PtJi7zHrXiSWdLApi+BdpmmbITeLq6cI7LZtgsuAtyk
2 changed files with 2 additions and 14 deletions

View File

@ -2,5 +2,5 @@ AUX gitea.confd-r1 243 BLAKE2B 87caa8371f53f52b0a85f720342f9f358dedec9240ab78998
AUX gitea.initd-r3 802 BLAKE2B 2e33e95f7d2762986184d45b0bbb250cc5e04fffc4e4b006233b28e5b57be69eef1d83441adebe2b94681585edaf77f9da4eb97930f91e75c1b1a5cd8d137633 SHA512 5ff2e653180a0601734fcd055dfffdfdc12363736ed2e56c8576c802398b90f4025b44002cbb9a3fd1e0c2d4c169f62d460381c6c549746d3390e55fc1c677d1
AUX gitea.service-r3 732 BLAKE2B 8227349f9ffe5dbf7c59efc3b1e250bf8184a72d37958c0ce0a2d8affabaadcb6aaf271b1402c7ac127b80d534f4f72b888ccdce7aa5f7a7cf86a0efe0e719e0 SHA512 7c8aa33dcea56b6fccac23095f7b84225f1c85541cd5eb3536d2901e638c391e025bd9db28bd10c26ef91e5a8fe2d12a878040cf21d4b983858a19f2cac7d1b0
DIST forgejo-src-1.20.4-0.tar.gz 55536470 BLAKE2B d7cc2c1a056a33b07f33c2366b839dff314fc66b3b98b59738aa932416255a48637f5631e7443f1f53fe3650563269abf255906112b222fd5c430d9704a1f70d SHA512 b8861e47f700d4d4850295d0ef53b2f8255a5023e2ca48e9bc72a705b13033d0b4d8ad10279417b0a21c03ebdd1b86c25c3b8d06902b2cff4000592cc7b34283
EBUILD forgejo-1.20.4_p0.ebuild 3061 BLAKE2B 688349643f8c1891676d40db7fed2376b8c3f7fc98d95bcbe80da567f9d4698a04603b864fae3e47a96057bd8e372eacc2b9315402b75ddd76ab81f3bc6aca47 SHA512 7e340d2a35e43563e8056e34d5a456e3dbea191150e9de918a2cb527db93820d03fb72d7baab965832080b4e3a1a9497e5613d7753ed7374f5bf0cd6aad501e8
EBUILD forgejo-1.20.4_p0.ebuild 2595 BLAKE2B c45df04fa476d47fdcf7c0e0ec1ca61e35e3539b4feab6643703e3afd353b3e06860fde8a6cba92caa885da5852b82295f7b239ff42ba97607921869769361a9 SHA512 99f5f6287559752b4b051b814e564c0b5309259d1e0dbc39ae073bd1e42fda2594f01f8cdf18f824b92b6a49c14b4c6eaf23eac8445f8b858639b2adb4263feb
MISC metadata.xml 345 BLAKE2B 9b7dd9374a3839f78d481c46d943949cb2e0fa6e27cb08c713ec069364efd0f3f9d1821e8561a2c3a649ddd7ab3752d3911432631a787b7015bdefefab42df18 SHA512 51491a33348896a92696598d0e7f75da66d392d000f62a9fcd7232b6b89e049ace276238933478b2f8bb8a823154b0817414ec82b98bdeeba4f031db3d0a2383

View File

@ -44,17 +44,7 @@ RESTRICT="test"
src_prepare() {
default
local sedcmds=(
-e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
-e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/gitea#"
-e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
-e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
-e "s#^MODE = console#MODE = file#"
-e "s#^LEVEL = Trace#LEVEL = Info#"
-e "s#^LOG_SQL = true#LOG_SQL = false#"
)
sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
sed -i -e "s#^MODE = console#MODE = file#" custom/conf/app.example.ini || die
if use sqlite ; then
sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
fi
@ -81,8 +71,6 @@ src_compile() {
DRONE_TAG="${PV}"
LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[*]}"
TAGS="${gitea_tags[*]}"
# 1.20.1 has some parallelism issue, workaround for now
MAKEOPTS="${MAKEOPTS} -j1"
)
GOFLAGS=""