Сравнение apt-cacher-ng-3.7.4_p1-r2 с apt-cacher-ng-9999

/usr/portage/net-misc/apt-cacher-ng/apt-cacher-ng-9999.ebuild 2023-10-09 14:52:34.628368480 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=8
4
EAPI=7
5 5

  
6
inherit cmake tmpfiles
7

  
8
MY_PV="${PV/_p/-}"
9
MY_P="${PN}-debian-${MY_PV}"
6
inherit cmake git-r3 tmpfiles
10 7

  
11 8
DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software packages"
12 9
HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
13 10
	https://packages.qa.debian.org/a/apt-cacher-ng.html"
14
SRC_URI="https://salsa.debian.org/blade/${PN}/-/archive/debian/${MY_PV}/${MY_P}.tar.gz"
11
EGIT_REPO_URI="https://salsa.debian.org/blade/apt-cacher-ng.git"
12
EGIT_BRANCH="upstream/sid"
15 13

  
16 14
LICENSE="BSD-4 ZLIB public-domain"
17 15
SLOT="0"
18
KEYWORDS="~amd64 ~arm64 ~x86"
19 16
IUSE="doc fuse systemd tcpd"
20 17

  
21 18
DEPEND="acct-user/apt-cacher-ng
......
23 20
	app-arch/bzip2
24 21
	dev-libs/libevent:=[threads(+)]
25 22
	dev-libs/openssl:0=
26
	net-dns/c-ares:=
27 23
	sys-libs/zlib
28 24
	fuse? ( sys-fs/fuse:0 )
29 25
	systemd? ( sys-apps/systemd )
......
35 31
PATCHES=(
36 32
	"${FILESDIR}/${PN}-3.3.1-flags.patch"
37 33
	"${FILESDIR}/${PN}-3.5-perl-syntax.patch"
38
	"${FILESDIR}/${PN}-3.6-optional-systemd.patch"
39 34
)
40 35

  
41
S="${WORKDIR}/${MY_P}"
36
S="${WORKDIR}/${P/_*}"
42 37

  
43 38
src_prepare() {
44 39
	# Fixup systemd/CMakeLists.txt cmake version requirement
......
48 43
	# switching from mostly custom src_install to relying on build system
49 44
	# installation
50 45
	sed -e "/install/s/LIBDIR/CFGDIR/" \
51
		-e "/install.*acng\.conf/s/)$/ RENAME ${PN}.conf)/" \
52
		-e "/file/s/)$/ \"*hooks\" \"backends_debian\")/" -i conf/CMakeLists.txt || die
53
	sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" src/CMakeLists.txt || die
46
		-e '/install.*acng\.conf/s/)$/ RENAME '"${PN}"'.conf)/' \
47
		-e '/file/s/)$/ "*hooks" "backends_debian")/' -i conf/CMakeLists.txt || die
48
	sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" source/CMakeLists.txt || die
54 49

  
55 50
	cmake_src_prepare
56 51
}
Спасибо!