Сравнение cgit-1.2.3-r201 с cgit-1.2.3-r202

/usr/portage/www-apps/cgit/cgit-1.2.3-r202.ebuild 2023-10-09 14:52:35.868368511 +0300
9 9

  
10 10
WEBAPP_MANUAL_SLOT="yes"
11 11

  
12
inherit lua-single python-single-r1 toolchain-funcs webapp
12
inherit lua-single python-single-r1 tmpfiles toolchain-funcs webapp
13 13

  
14 14
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
15 15

  
......
22 22

  
23 23
LICENSE="GPL-2"
24 24
SLOT="0"
25
KEYWORDS="amd64 arm ~riscv x86"
25
KEYWORDS="~amd64 ~arm ~riscv ~x86"
26 26
IUSE="doc +highlight +lua test"
27 27
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) ${PYTHON_REQUIRED_USE}"
28 28
RESTRICT="!test? ( test )"
......
91 91
	webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
92 92
	webapp_src_install
93 93

  
94
	keepdir "${CGIT_CACHEDIR}"
95
	fowners ${PN}:${PN} "${CGIT_CACHEDIR}"
96
	fperms 700 "${CGIT_CACHEDIR}"
94
	cat > cgit.conf <<-EOT || die
95
		d ${CGIT_CACHEDIR} 0700 cgit cgit -
96
	EOT
97
	dotmpfiles cgit.conf
98

  
97 99
	python_fix_shebang .
98 100
}
99 101

  
......
103 105

  
104 106
pkg_postinst() {
105 107
	webapp_pkg_postinst
106
	ewarn "If you intend to run cgit using web server's user"
107
	ewarn "you should change ${CGIT_CACHEDIR} permissions."
108
	tmpfiles_process cgit.conf
109
	ewarn "The cgit cache is enabled using the cache-size setting in cgitrc."
110
	ewarn "If enabling the cache and running cgit using the web server's user"
111
	ewarn "you should copy ${EROOT}/usr/lib/tmpfiles.d/cgit.conf"
112
	ewarn "to ${EROOT}/etc/tmpfiles.d/ and edit, changing the ownership fields."
113
	ewarn "If you use the cache-root setting in cgitrc to specify a cache directory"
114
	ewarn "other than ${CGIT_CACHEDIR} edit the path in cgit.conf."
108 115
}
Спасибо!