Diff gsad-21.4.4 with a gsad-22.6.0

/usr/portage/net-analyzer/gsad/gsad-22.6.0.ebuild 2023-10-09 14:52:33.312368446 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6 6
inherit cmake systemd toolchain-funcs
7

  
7
#
8 8
DESCRIPTION="Greenbone Security Assistant"
9 9
HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gsad"
10 10
SRC_URI="https://github.com/greenbone/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
......
26 26
"
27 27
RDEPEND="
28 28
	${DEPEND}
29
	>=net-analyzer/gvmd-${PV}
30
	>=net-analyzer/gsa-${PV}
29
	>=net-analyzer/gvmd-22.4
30
	>=net-analyzer/gsa-22.4
31 31
	net-analyzer/ospd-openvas
32 32
"
33 33
BDEPEND="
......
57 57
		   done
58 58
		fi
59 59
	fi
60

  
61
	# Do not install the empty /run/gsad run dir. https://github.com/greenbone/gsad/pull/54
62
	sed -i "/^install.*GSAD_RUN_DIR/d" CMakeLists.txt || die
63

  
64
	# Drop Group= directive. https://github.com/greenbone/gsad/pull/55
65
	sed -i "/^Group=/d" config/gsad.service.in || die
66 60
}
67 61

  
68 62
src_configure() {
......
70 64
		"-DLOCALSTATEDIR=${EPREFIX}/var"
71 65
		"-DSYSCONFDIR=${EPREFIX}/etc"
72 66
		"-DSBINDIR=${EPREFIX}/usr/bin"
73
		"-DGSAD_PID_DIR=/run/gsad"
67
		"-DGSAD_RUN_DIR=${EPREFIX}/run/gsad"
68
		"-DGVMD_RUN_DIR=${EPREFIX}/run/gvmd"
74 69
		"-DSYSTEMD_SERVICE_DIR=$(systemd_get_systemunitdir)"
75 70
		"-DLOGROTATE_DIR=${EPREFIX}/etc/logrotate.d"
76 71
	)
......
93 88
	fi
94 89
	cmake_src_install
95 90

  
91
	systemd_install_serviced "${FILESDIR}/gsad.service.conf" \
92
			${PN}.service
93

  
96 94
	insinto /etc/gvm/sysconfig
97
	doins "${FILESDIR}/${PN}-daemon.conf"
95
	newins "${FILESDIR}/${PN}-daemon.conf" "${PN}-daemon.conf"
98 96

  
99
	newinitd "${FILESDIR}/${PN}.init" "${PN}"
97
	newinitd "${FILESDIR}/${PN}-22.init" "${PN}"
100 98
	newconfd "${FILESDIR}/${PN}-daemon.conf" "${PN}"
101 99
}
Thank you!