Diff conserver-8.2.6-r3 with a conserver-8.2.7_p20250129

/usr/portage/app-admin/conserver/conserver-8.2.7_p20250129.ebuild 2025-07-29 16:22:12.512447805 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 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 autotools pam ssl-cert
7 7

  
8
COMMIT_HASH="290933b4a7964d56f74d2e3c61f7045c5e0d6bfe"
8 9
DESCRIPTION="Serial Console Manager"
9 10
HOMEPAGE="https://www.conserver.com"
10
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
11
SRC_URI="https://github.com/bstansell/${PN}/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
12
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
11 13

  
12 14
LICENSE="BSD BSD-with-attribution"
13 15
SLOT="0"
14
KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86"
15
IUSE="ipv6 freeipmi kerberos pam ssl test tcpd"
16
RESTRICT="!test? ( test )"
16
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
17
IUSE="freeipmi ipv6 kerberos pam ssl tcpd"
17 18

  
18
DEPEND="net-libs/libnsl:=
19
DEPEND="
19 20
	virtual/libcrypt:=
20
	freeipmi? ( sys-libs/freeipmi:= )
21
	freeipmi? ( sys-libs/freeipmi )
21 22
	kerberos? (
22
		virtual/krb5
23 23
		net-libs/libgssglue
24
		virtual/krb5
24 25
	)
25
	ssl? ( dev-libs/openssl:0= )
26 26
	pam? ( sys-libs/pam )
27
	ssl? ( dev-libs/openssl:0= )
27 28
	tcpd? ( sys-apps/tcp-wrappers )
28 29
"
29
RDEPEND="${DEPEND}
30
	pam? ( sys-auth/pambase )"
31

  
32
DOCS=( CHANGES FAQ PROTOCOL README.md conserver/Sun-serial contrib/maketestcerts)
30
RDEPEND="${DEPEND}"
33 31

  
34
PATCHES=(
35
	"${FILESDIR}/${PN}-8.2.6-autoconf-2.70.patch" #750230
36
)
32
DOCS=( CHANGES FAQ PROTOCOL README.md conserver/Sun-serial contrib/maketestcerts )
37 33

  
38 34
src_prepare() {
39 35
	default
......
44 40

  
45 41
src_configure() {
46 42
	local myconf=(
47
		$(use_with ipv6)
48 43
		$(use_with freeipmi)
44
		$(use_with ipv6)
49 45
		$(use_with kerberos gssapi)
50
		$(use_with ssl openssl)
51 46
		$(use_with pam)
47
		$(use_with ssl openssl)
52 48
		$(use_with tcpd libwrap)
53 49
		--without-dmalloc
54 50
		--with-cffile=conserver/conserver.cf
55
		--with-logfile=/var/log/conserver.log
51
		--with-logfile="${EPREFIX}"/var/log/conserver.log
56 52
		--with-master=localhost
57
		--with-pidfile=/run/conserver.pid
53
		--with-pidfile="${EPREFIX}"/run/conserver.pid
58 54
		--with-port=7782
59 55
		--with-pwdfile=conserver/conserver.passwd
60 56
	)
61 57
	econf "${myconf[@]}"
62 58
}
63 59

  
60
src_test() {
61
	# hangs without -j1
62
	emake -j1 test
63
}
64

  
64 65
src_install() {
65 66
	emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install
66 67

  
......
86 87
	fi
87 88
}
88 89

  
89
src_test() {
90
	# hangs without -j1
91
	emake -j1 test
92
}
93

  
94 90
pkg_postinst() {
95 91
	if use ssl; then
96 92
		if [[ ! -f "${EROOT}"/etc/ssl/conserver/conserver.key ]]; then
Thank you!