Diff bitlbee-3.5.1 with a bitlbee-3.6

/usr/portage/net-im/bitlbee/bitlbee-3.6.ebuild 2019-11-20 18:09:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6 6
inherit user systemd toolchain-funcs
7 7

  
......
10 10
	inherit git-r3
11 11
else
12 12
	SRC_URI="https://get.bitlbee.org/src/${P}.tar.gz"
13
	KEYWORDS="amd64 ppc ~ppc64 x86"
13
	KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
14 14
fi
15 15

  
16 16
DESCRIPTION="irc to IM gateway that support multiple IM protocols"
......
49 49
	test? ( dev-libs/check )"
50 50

  
51 51
RDEPEND="${COMMON_DEPEND}
52
	virtual/logger
53 52
	xinetd? ( sys-apps/xinetd )"
54 53

  
55 54
pkg_setup() {
......
58 57
}
59 58

  
60 59
src_prepare() {
61
	if [[ ${PV} != "9999" ]]; then
62
		eapply \
63
			"${FILESDIR}"/${PN}-3.5-systemd-user.patch \
64
			"${FILESDIR}"/${PN}-3.5-verbose-build.patch
65
	fi
66

  
60
	[[ ${PV} != "9999" ]] && eapply "${FILESDIR}"/${PN}-3.5-systemd-user.patch
67 61
	eapply_user
68 62
}
69 63

  
......
145 139
		newins doc/bitlbee.xinetd bitlbee
146 140
	fi
147 141

  
148
	newinitd "${FILESDIR}"/bitlbee.initd-r1 bitlbee
149
	newconfd "${FILESDIR}"/bitlbee.confd-r1 bitlbee
142
	newinitd "${FILESDIR}"/bitlbee.initd-r2 bitlbee
143
	newconfd "${FILESDIR}"/bitlbee.confd-r2 bitlbee
150 144

  
151 145
	exeinto /usr/share/bitlbee
152 146
	doexe utils/{convert_purple.py,bitlbee-ctl.pl}
......
154 148

  
155 149
pkg_postinst() {
156 150
	chown -R bitlbee:bitlbee "${ROOT}"/var/lib/bitlbee
157
	[[ -d "${ROOT}"/var/run/bitlbee ]] &&
158
		chown -R bitlbee:bitlbee "${ROOT}"/var/run/bitlbee
159

  
160
	if [[ -z ${REPLACING_VERSIONS} ]]; then
161
		einfo
162
		elog "The bitlbee init script will now attempt to stop all processes owned by the"
163
		elog "bitlbee user, including per-client forks."
164
		elog
165
		elog "Tell the init script not to touch anything besides the main bitlbee process"
166
		elog "by changing the BITLBEE_STOP_ALL variable in"
167
		elog "	/etc/conf.d/bitlbee"
168
		einfo
169
	fi
170 151
}
Thank you!