Сравнение dcc-1.3.158-r2 с dcc-2.3.168
/usr/portage/mail-filter/dcc/dcc-2.3.168.ebuild 2023-10-09 14:52:31.576368403 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2022 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
inherit toolchain-funcs |
|
6 |
inherit systemd toolchain-funcs |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Distributed Checksum Clearinghouse" |
9 | 9 |
HOMEPAGE="https://www.rhyolite.com/dcc/" |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="DCC GPL-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" |
|
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
|
15 | 15 |
IUSE="cgi ipv6 rrdtool milter" |
16 | 16 | |
17 | 17 |
RDEPEND=" |
... | ... | |
27 | 27 |
DEPEND="${RDEPEND}" |
28 | 28 | |
29 | 29 |
dcc_cgibin=var/www/localhost/cgi-bin/dcc |
30 |
dcc_homedir=var/dcc |
|
30 |
dcc_homedir=var/lib/dcc |
|
31 | 31 |
dcc_libexec=usr/sbin |
32 | 32 |
dcc_man=usr/share/man |
33 | 33 |
dcc_rundir=var/run/dcc |
34 | 34 | |
35 | 35 |
PATCHES=( |
36 |
"${FILESDIR}"/${PN}-1.3.140-freebsd.patch |
|
37 |
"${FILESDIR}"/${P}-fno-common.patch |
|
38 |
"${FILESDIR}"/${P}-clang16.patch |
|
39 |
"${FILESDIR}"/${P}-c2x.patch |
|
36 |
"${FILESDIR}"/${PN}-1.3.158-clang16.patch |
|
37 |
"${FILESDIR}"/${PN}-1.3.158-c2x.patch |
|
40 | 38 |
) |
41 | 39 | |
42 | 40 |
src_configure() { |
... | ... | |
73 | 71 |
local i |
74 | 72 |
for i in $@; do |
75 | 73 |
mv "${ED}/${dcc_homedir}/${i}" "${ED}"/etc/dcc || die |
76 |
dosym ../../etc/dcc/"${i}" "${dcc_homedir}/${i}" |
|
74 |
dosym ../../../etc/dcc/"${i}" "${dcc_homedir}/${i}" |
|
77 | 75 |
done |
78 | 76 |
} |
79 | 77 | |
... | ... | |
134 | 132 |
newinitd "${FILESDIR}"/dcc.initd-1.3.154 dcc |
135 | 133 |
newconfd "${FILESDIR}"/dcc.confd dcc |
136 | 134 | |
137 |
rmdir "${ED}"/var/dcc/log/ || die |
|
135 |
rmdir "${ED}"/"${dcc_homedir}"/log || die |
|
138 | 136 | |
139 |
dodoc CHANGES RESTRICTIONS |
|
137 |
dodoc CHANGES |
|
140 | 138 |
doman *.{0,8} |
139 | ||
140 |
systemd_dounit "${FILESDIR}/dccifd.service" |
|
141 | 141 |
} |